Home | History | Annotate | Download | only in dropbear
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.59.
      4 #
      5 # Copyright (C) 2003 Free Software Foundation, Inc.
      6 # This configure script is free software; the Free Software Foundation
      7 # gives unlimited permission to copy, distribute and modify it.
      8 ## --------------------- ##
      9 ## M4sh Initialization.  ##
     10 ## --------------------- ##
     11 
     12 # Be Bourne compatible
     13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     14   emulate sh
     15   NULLCMD=:
     16   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     17   # is contrary to our usage.  Disable this feature.
     18   alias -g '${1+"$@"}'='"$@"'
     19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     20   set -o posix
     21 fi
     22 DUALCASE=1; export DUALCASE # for MKS sh
     23 
     24 # Support unset when possible.
     25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     26   as_unset=unset
     27 else
     28   as_unset=false
     29 fi
     30 
     31 
     32 # Work around bugs in pre-3.0 UWIN ksh.
     33 $as_unset ENV MAIL MAILPATH
     34 PS1='$ '
     35 PS2='> '
     36 PS4='+ '
     37 
     38 # NLS nuisances.
     39 for as_var in \
     40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     42   LC_TELEPHONE LC_TIME
     43 do
     44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     45     eval $as_var=C; export $as_var
     46   else
     47     $as_unset $as_var
     48   fi
     49 done
     50 
     51 # Required to use basename.
     52 if expr a : '\(a\)' >/dev/null 2>&1; then
     53   as_expr=expr
     54 else
     55   as_expr=false
     56 fi
     57 
     58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     59   as_basename=basename
     60 else
     61   as_basename=false
     62 fi
     63 
     64 
     65 # Name of the executable.
     66 as_me=`$as_basename "$0" ||
     67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     68 	 X"$0" : 'X\(//\)$' \| \
     69 	 X"$0" : 'X\(/\)$' \| \
     70 	 .     : '\(.\)' 2>/dev/null ||
     71 echo X/"$0" |
     72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
     73   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
     74   	  /^X\/\(\/\).*/{ s//\1/; q; }
     75   	  s/.*/./; q'`
     76 
     77 
     78 # PATH needs CR, and LINENO needs CR and PATH.
     79 # Avoid depending upon Character Ranges.
     80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     83 as_cr_digits='0123456789'
     84 as_cr_alnum=$as_cr_Letters$as_cr_digits
     85 
     86 # The user is always right.
     87 if test "${PATH_SEPARATOR+set}" != set; then
     88   echo "#! /bin/sh" >conf$$.sh
     89   echo  "exit 0"   >>conf$$.sh
     90   chmod +x conf$$.sh
     91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     92     PATH_SEPARATOR=';'
     93   else
     94     PATH_SEPARATOR=:
     95   fi
     96   rm -f conf$$.sh
     97 fi
     98 
     99 
    100   as_lineno_1=$LINENO
    101   as_lineno_2=$LINENO
    102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    103   test "x$as_lineno_1" != "x$as_lineno_2" &&
    104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    105   # Find who we are.  Look in the path if we contain no path at all
    106   # relative or not.
    107   case $0 in
    108     *[\\/]* ) as_myself=$0 ;;
    109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    110 for as_dir in $PATH
    111 do
    112   IFS=$as_save_IFS
    113   test -z "$as_dir" && as_dir=.
    114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    115 done
    116 
    117        ;;
    118   esac
    119   # We did not find ourselves, most probably we were run as `sh COMMAND'
    120   # in which case we are not to be found in the path.
    121   if test "x$as_myself" = x; then
    122     as_myself=$0
    123   fi
    124   if test ! -f "$as_myself"; then
    125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
    126    { (exit 1); exit 1; }; }
    127   fi
    128   case $CONFIG_SHELL in
    129   '')
    130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    132 do
    133   IFS=$as_save_IFS
    134   test -z "$as_dir" && as_dir=.
    135   for as_base in sh bash ksh sh5; do
    136 	 case $as_dir in
    137 	 /*)
    138 	   if ("$as_dir/$as_base" -c '
    139   as_lineno_1=$LINENO
    140   as_lineno_2=$LINENO
    141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    142   test "x$as_lineno_1" != "x$as_lineno_2" &&
    143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    144 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    145 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    146 	     CONFIG_SHELL=$as_dir/$as_base
    147 	     export CONFIG_SHELL
    148 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    149 	   fi;;
    150 	 esac
    151        done
    152 done
    153 ;;
    154   esac
    155 
    156   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    157   # uniformly replaced by the line number.  The first 'sed' inserts a
    158   # line-number line before each line; the second 'sed' does the real
    159   # work.  The second script uses 'N' to pair each line-number line
    160   # with the numbered line, and appends trailing '-' during
    161   # substitution so that $LINENO is not a special case at line end.
    162   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    164   sed '=' <$as_myself |
    165     sed '
    166       N
    167       s,$,-,
    168       : loop
    169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
    170       t loop
    171       s,-$,,
    172       s,^['$as_cr_digits']*\n,,
    173     ' >$as_me.lineno &&
    174   chmod +x $as_me.lineno ||
    175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    176    { (exit 1); exit 1; }; }
    177 
    178   # Don't try to exec as it changes $[0], causing all sort of problems
    179   # (the dirname of $[0] is not the place where we might find the
    180   # original and so on.  Autoconf is especially sensible to this).
    181   . ./$as_me.lineno
    182   # Exit status is that of the last command.
    183   exit
    184 }
    185 
    186 
    187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    188   *c*,-n*) ECHO_N= ECHO_C='
    189 ' ECHO_T='	' ;;
    190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    192 esac
    193 
    194 if expr a : '\(a\)' >/dev/null 2>&1; then
    195   as_expr=expr
    196 else
    197   as_expr=false
    198 fi
    199 
    200 rm -f conf$$ conf$$.exe conf$$.file
    201 echo >conf$$.file
    202 if ln -s conf$$.file conf$$ 2>/dev/null; then
    203   # We could just check for DJGPP; but this test a) works b) is more generic
    204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    205   if test -f conf$$.exe; then
    206     # Don't use ln at all; we don't have any links
    207     as_ln_s='cp -p'
    208   else
    209     as_ln_s='ln -s'
    210   fi
    211 elif ln conf$$.file conf$$ 2>/dev/null; then
    212   as_ln_s=ln
    213 else
    214   as_ln_s='cp -p'
    215 fi
    216 rm -f conf$$ conf$$.exe conf$$.file
    217 
    218 if mkdir -p . 2>/dev/null; then
    219   as_mkdir_p=:
    220 else
    221   test -d ./-p && rmdir ./-p
    222   as_mkdir_p=false
    223 fi
    224 
    225 as_executable_p="test -f"
    226 
    227 # Sed expression to map a string onto a valid CPP name.
    228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    229 
    230 # Sed expression to map a string onto a valid variable name.
    231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    232 
    233 
    234 # IFS
    235 # We need space, tab and new line, in precisely that order.
    236 as_nl='
    237 '
    238 IFS=" 	$as_nl"
    239 
    240 # CDPATH.
    241 $as_unset CDPATH
    242 
    243 
    244 # Name of the host.
    245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    246 # so uname gets run too.
    247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    248 
    249 exec 6>&1
    250 
    251 #
    252 # Initializations.
    253 #
    254 ac_default_prefix=/usr/local
    255 ac_config_libobj_dir=.
    256 cross_compiling=no
    257 subdirs=
    258 MFLAGS=
    259 MAKEFLAGS=
    260 SHELL=${CONFIG_SHELL-/bin/sh}
    261 
    262 # Maximum number of lines to put in a shell here document.
    263 # This variable seems obsolete.  It should probably be removed, and
    264 # only ac_max_sed_lines should be used.
    265 : ${ac_max_here_lines=38}
    266 
    267 # Identity of this package.
    268 PACKAGE_NAME=
    269 PACKAGE_TARNAME=
    270 PACKAGE_VERSION=
    271 PACKAGE_STRING=
    272 PACKAGE_BUGREPORT=
    273 
    274 ac_unique_file="buffer.c"
    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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT SET_MAKE LD build build_cpu build_vendor build_os host host_cpu host_vendor host_os AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP INSTALL ac_ct_INSTALL CPP EGREP 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 this package 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 
    834 System types:
    835   --build=BUILD     configure for building on BUILD [guessed]
    836   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
    837 _ACEOF
    838 fi
    839 
    840 if test -n "$ac_init_help"; then
    841 
    842   cat <<\_ACEOF
    843 
    844 Optional Features:
    845   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    846   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
    847   --disable-largefile     omit support for large files
    848   --disable-zlib          Don't include zlib support
    849   --enable-pam          Try to include PAM support
    850   --disable-openpty       Don't use openpty, use alternative method
    851   --disable-syslog        Don't include syslog support
    852   --disable-shadow        Don't use shadow passwords (if available)
    853   --disable-lastlog       Disable use of lastlog even if detected no
    854   --disable-utmp          Disable use of utmp even if detected no
    855   --disable-utmpx         Disable use of utmpx even if detected no
    856   --disable-wtmp          Disable use of wtmp even if detected no
    857   --disable-wtmpx         Disable use of wtmpx even if detected no
    858   --disable-loginfunc     Disable use of login() etc. no
    859   --disable-pututline     Disable use of pututline() etc. (uwtmp) no
    860   --disable-pututxline    Disable use of pututxline() etc. (uwtmpx) no
    861 
    862 Optional Packages:
    863   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
    864   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    865   --with-zlib=PATH        Use zlib in PATH
    866   --with-pam=PATH        Use pam in PATH
    867   --with-lastlog=FILE|DIR specify lastlog location common locations
    868 
    869 Some influential environment variables:
    870   CC          C compiler command
    871   CFLAGS      C compiler flags
    872   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    873               nonstandard directory <lib dir>
    874   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
    875               headers in a nonstandard directory <include dir>
    876   CPP         C preprocessor
    877 
    878 Use these variables to override the choices made by `configure' or to help
    879 it to find libraries and programs with nonstandard names/locations.
    880 
    881 _ACEOF
    882 fi
    883 
    884 if test "$ac_init_help" = "recursive"; then
    885   # If there are subdirs, report their specific --help.
    886   ac_popdir=`pwd`
    887   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    888     test -d $ac_dir || continue
    889     ac_builddir=.
    890 
    891 if test "$ac_dir" != .; then
    892   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    893   # A "../" for each directory in $ac_dir_suffix.
    894   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    895 else
    896   ac_dir_suffix= ac_top_builddir=
    897 fi
    898 
    899 case $srcdir in
    900   .)  # No --srcdir option.  We are building in place.
    901     ac_srcdir=.
    902     if test -z "$ac_top_builddir"; then
    903        ac_top_srcdir=.
    904     else
    905        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    906     fi ;;
    907   [\\/]* | ?:[\\/]* )  # Absolute path.
    908     ac_srcdir=$srcdir$ac_dir_suffix;
    909     ac_top_srcdir=$srcdir ;;
    910   *) # Relative path.
    911     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    912     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    913 esac
    914 
    915 # Do not use `cd foo && pwd` to compute absolute paths, because
    916 # the directories may not exist.
    917 case `pwd` in
    918 .) ac_abs_builddir="$ac_dir";;
    919 *)
    920   case "$ac_dir" in
    921   .) ac_abs_builddir=`pwd`;;
    922   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    923   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    924   esac;;
    925 esac
    926 case $ac_abs_builddir in
    927 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    928 *)
    929   case ${ac_top_builddir}. in
    930   .) ac_abs_top_builddir=$ac_abs_builddir;;
    931   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    932   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    933   esac;;
    934 esac
    935 case $ac_abs_builddir in
    936 .) ac_abs_srcdir=$ac_srcdir;;
    937 *)
    938   case $ac_srcdir in
    939   .) ac_abs_srcdir=$ac_abs_builddir;;
    940   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    941   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    942   esac;;
    943 esac
    944 case $ac_abs_builddir in
    945 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    946 *)
    947   case $ac_top_srcdir in
    948   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    949   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    950   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    951   esac;;
    952 esac
    953 
    954     cd $ac_dir
    955     # Check for guested configure; otherwise get Cygnus style configure.
    956     if test -f $ac_srcdir/configure.gnu; then
    957       echo
    958       $SHELL $ac_srcdir/configure.gnu  --help=recursive
    959     elif test -f $ac_srcdir/configure; then
    960       echo
    961       $SHELL $ac_srcdir/configure  --help=recursive
    962     elif test -f $ac_srcdir/configure.ac ||
    963 	   test -f $ac_srcdir/configure.in; then
    964       echo
    965       $ac_configure --help
    966     else
    967       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    968     fi
    969     cd $ac_popdir
    970   done
    971 fi
    972 
    973 test -n "$ac_init_help" && exit 0
    974 if $ac_init_version; then
    975   cat <<\_ACEOF
    976 
    977 Copyright (C) 2003 Free Software Foundation, Inc.
    978 This configure script is free software; the Free Software Foundation
    979 gives unlimited permission to copy, distribute and modify it.
    980 _ACEOF
    981   exit 0
    982 fi
    983 exec 5>config.log
    984 cat >&5 <<_ACEOF
    985 This file contains any messages produced by compilers while
    986 running configure, to aid debugging if configure makes a mistake.
    987 
    988 It was created by $as_me, which was
    989 generated by GNU Autoconf 2.59.  Invocation command line was
    990 
    991   $ $0 $@
    992 
    993 _ACEOF
    994 {
    995 cat <<_ASUNAME
    996 ## --------- ##
    997 ## Platform. ##
    998 ## --------- ##
    999 
   1000 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1001 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1002 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1003 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1004 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1005 
   1006 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1007 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1008 
   1009 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1010 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1011 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1012 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
   1013 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1014 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1015 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1016 
   1017 _ASUNAME
   1018 
   1019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1020 for as_dir in $PATH
   1021 do
   1022   IFS=$as_save_IFS
   1023   test -z "$as_dir" && as_dir=.
   1024   echo "PATH: $as_dir"
   1025 done
   1026 
   1027 } >&5
   1028 
   1029 cat >&5 <<_ACEOF
   1030 
   1031 
   1032 ## ----------- ##
   1033 ## Core tests. ##
   1034 ## ----------- ##
   1035 
   1036 _ACEOF
   1037 
   1038 
   1039 # Keep a trace of the command line.
   1040 # Strip out --no-create and --no-recursion so they do not pile up.
   1041 # Strip out --silent because we don't want to record it for future runs.
   1042 # Also quote any args containing shell meta-characters.
   1043 # Make two passes to allow for proper duplicate-argument suppression.
   1044 ac_configure_args=
   1045 ac_configure_args0=
   1046 ac_configure_args1=
   1047 ac_sep=
   1048 ac_must_keep_next=false
   1049 for ac_pass in 1 2
   1050 do
   1051   for ac_arg
   1052   do
   1053     case $ac_arg in
   1054     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1055     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1056     | -silent | --silent | --silen | --sile | --sil)
   1057       continue ;;
   1058     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
   1059       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1060     esac
   1061     case $ac_pass in
   1062     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1063     2)
   1064       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1065       if test $ac_must_keep_next = true; then
   1066 	ac_must_keep_next=false # Got value, back to normal.
   1067       else
   1068 	case $ac_arg in
   1069 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1070 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1071 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1072 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1073 	    case "$ac_configure_args0 " in
   1074 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1075 	    esac
   1076 	    ;;
   1077 	  -* ) ac_must_keep_next=true ;;
   1078 	esac
   1079       fi
   1080       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
   1081       # Get rid of the leading space.
   1082       ac_sep=" "
   1083       ;;
   1084     esac
   1085   done
   1086 done
   1087 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1088 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1089 
   1090 # When interrupted or exit'd, cleanup temporary files, and complete
   1091 # config.log.  We remove comments because anyway the quotes in there
   1092 # would cause problems or look ugly.
   1093 # WARNING: Be sure not to use single quotes in there, as some shells,
   1094 # such as our DU 5.0 friend, will then `close' the trap.
   1095 trap 'exit_status=$?
   1096   # Save into config.log some information that might help in debugging.
   1097   {
   1098     echo
   1099 
   1100     cat <<\_ASBOX
   1101 ## ---------------- ##
   1102 ## Cache variables. ##
   1103 ## ---------------- ##
   1104 _ASBOX
   1105     echo
   1106     # The following way of writing the cache mishandles newlines in values,
   1107 {
   1108   (set) 2>&1 |
   1109     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
   1110     *ac_space=\ *)
   1111       sed -n \
   1112 	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
   1113 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
   1114       ;;
   1115     *)
   1116       sed -n \
   1117 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
   1118       ;;
   1119     esac;
   1120 }
   1121     echo
   1122 
   1123     cat <<\_ASBOX
   1124 ## ----------------- ##
   1125 ## Output variables. ##
   1126 ## ----------------- ##
   1127 _ASBOX
   1128     echo
   1129     for ac_var in $ac_subst_vars
   1130     do
   1131       eval ac_val=$`echo $ac_var`
   1132       echo "$ac_var='"'"'$ac_val'"'"'"
   1133     done | sort
   1134     echo
   1135 
   1136     if test -n "$ac_subst_files"; then
   1137       cat <<\_ASBOX
   1138 ## ------------- ##
   1139 ## Output files. ##
   1140 ## ------------- ##
   1141 _ASBOX
   1142       echo
   1143       for ac_var in $ac_subst_files
   1144       do
   1145 	eval ac_val=$`echo $ac_var`
   1146 	echo "$ac_var='"'"'$ac_val'"'"'"
   1147       done | sort
   1148       echo
   1149     fi
   1150 
   1151     if test -s confdefs.h; then
   1152       cat <<\_ASBOX
   1153 ## ----------- ##
   1154 ## confdefs.h. ##
   1155 ## ----------- ##
   1156 _ASBOX
   1157       echo
   1158       sed "/^$/d" confdefs.h | sort
   1159       echo
   1160     fi
   1161     test "$ac_signal" != 0 &&
   1162       echo "$as_me: caught signal $ac_signal"
   1163     echo "$as_me: exit $exit_status"
   1164   } >&5
   1165   rm -f core *.core &&
   1166   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
   1167     exit $exit_status
   1168      ' 0
   1169 for ac_signal in 1 2 13 15; do
   1170   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1171 done
   1172 ac_signal=0
   1173 
   1174 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1175 rm -rf conftest* confdefs.h
   1176 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
   1177 echo >confdefs.h
   1178 
   1179 # Predefined preprocessor variables.
   1180 
   1181 cat >>confdefs.h <<_ACEOF
   1182 #define PACKAGE_NAME "$PACKAGE_NAME"
   1183 _ACEOF
   1184 
   1185 
   1186 cat >>confdefs.h <<_ACEOF
   1187 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1188 _ACEOF
   1189 
   1190 
   1191 cat >>confdefs.h <<_ACEOF
   1192 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1193 _ACEOF
   1194 
   1195 
   1196 cat >>confdefs.h <<_ACEOF
   1197 #define PACKAGE_STRING "$PACKAGE_STRING"
   1198 _ACEOF
   1199 
   1200 
   1201 cat >>confdefs.h <<_ACEOF
   1202 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1203 _ACEOF
   1204 
   1205 
   1206 # Let the site file select an alternate cache file if it wants to.
   1207 # Prefer explicitly selected file to automatically selected ones.
   1208 if test -z "$CONFIG_SITE"; then
   1209   if test "x$prefix" != xNONE; then
   1210     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
   1211   else
   1212     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   1213   fi
   1214 fi
   1215 for ac_site_file in $CONFIG_SITE; do
   1216   if test -r "$ac_site_file"; then
   1217     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1218 echo "$as_me: loading site script $ac_site_file" >&6;}
   1219     sed 's/^/| /' "$ac_site_file" >&5
   1220     . "$ac_site_file"
   1221   fi
   1222 done
   1223 
   1224 if test -r "$cache_file"; then
   1225   # Some versions of bash will fail to source /dev/null (special
   1226   # files actually), so we avoid doing that.
   1227   if test -f "$cache_file"; then
   1228     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1229 echo "$as_me: loading cache $cache_file" >&6;}
   1230     case $cache_file in
   1231       [\\/]* | ?:[\\/]* ) . $cache_file;;
   1232       *)                      . ./$cache_file;;
   1233     esac
   1234   fi
   1235 else
   1236   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1237 echo "$as_me: creating cache $cache_file" >&6;}
   1238   >$cache_file
   1239 fi
   1240 
   1241 # Check that the precious variables saved in the cache have kept the same
   1242 # value.
   1243 ac_cache_corrupted=false
   1244 for ac_var in `(set) 2>&1 |
   1245 	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
   1246   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1247   eval ac_new_set=\$ac_env_${ac_var}_set
   1248   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
   1249   eval ac_new_val="\$ac_env_${ac_var}_value"
   1250   case $ac_old_set,$ac_new_set in
   1251     set,)
   1252       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1253 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1254       ac_cache_corrupted=: ;;
   1255     ,set)
   1256       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1257 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1258       ac_cache_corrupted=: ;;
   1259     ,);;
   1260     *)
   1261       if test "x$ac_old_val" != "x$ac_new_val"; then
   1262 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1263 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1264 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   1265 echo "$as_me:   former value:  $ac_old_val" >&2;}
   1266 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   1267 echo "$as_me:   current value: $ac_new_val" >&2;}
   1268 	ac_cache_corrupted=:
   1269       fi;;
   1270   esac
   1271   # Pass precious variables to config.status.
   1272   if test "$ac_new_set" = set; then
   1273     case $ac_new_val in
   1274     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
   1275       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1276     *) ac_arg=$ac_var=$ac_new_val ;;
   1277     esac
   1278     case " $ac_configure_args " in
   1279       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1280       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1281     esac
   1282   fi
   1283 done
   1284 if $ac_cache_corrupted; then
   1285   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1286 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1287   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1288 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1289    { (exit 1); exit 1; }; }
   1290 fi
   1291 
   1292 ac_ext=c
   1293 ac_cpp='$CPP $CPPFLAGS'
   1294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1297 
   1298 
   1299 
   1300 
   1301 
   1302 
   1303 
   1304 
   1305 
   1306 
   1307 
   1308 
   1309 
   1310 
   1311 
   1312 
   1313 
   1314 
   1315 
   1316 
   1317 OLDCFLAGS=$CFLAGS
   1318 # Checks for programs.
   1319 ac_ext=c
   1320 ac_cpp='$CPP $CPPFLAGS'
   1321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1324 if test -n "$ac_tool_prefix"; then
   1325   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   1326 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   1327 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1329 if test "${ac_cv_prog_CC+set}" = set; then
   1330   echo $ECHO_N "(cached) $ECHO_C" >&6
   1331 else
   1332   if test -n "$CC"; then
   1333   ac_cv_prog_CC="$CC" # Let the user override the test.
   1334 else
   1335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1336 for as_dir in $PATH
   1337 do
   1338   IFS=$as_save_IFS
   1339   test -z "$as_dir" && as_dir=.
   1340   for ac_exec_ext in '' $ac_executable_extensions; do
   1341   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1342     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   1343     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1344     break 2
   1345   fi
   1346 done
   1347 done
   1348 
   1349 fi
   1350 fi
   1351 CC=$ac_cv_prog_CC
   1352 if test -n "$CC"; then
   1353   echo "$as_me:$LINENO: result: $CC" >&5
   1354 echo "${ECHO_T}$CC" >&6
   1355 else
   1356   echo "$as_me:$LINENO: result: no" >&5
   1357 echo "${ECHO_T}no" >&6
   1358 fi
   1359 
   1360 fi
   1361 if test -z "$ac_cv_prog_CC"; then
   1362   ac_ct_CC=$CC
   1363   # Extract the first word of "gcc", so it can be a program name with args.
   1364 set dummy gcc; ac_word=$2
   1365 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1367 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   1368   echo $ECHO_N "(cached) $ECHO_C" >&6
   1369 else
   1370   if test -n "$ac_ct_CC"; then
   1371   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   1372 else
   1373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1374 for as_dir in $PATH
   1375 do
   1376   IFS=$as_save_IFS
   1377   test -z "$as_dir" && as_dir=.
   1378   for ac_exec_ext in '' $ac_executable_extensions; do
   1379   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1380     ac_cv_prog_ac_ct_CC="gcc"
   1381     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1382     break 2
   1383   fi
   1384 done
   1385 done
   1386 
   1387 fi
   1388 fi
   1389 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   1390 if test -n "$ac_ct_CC"; then
   1391   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   1392 echo "${ECHO_T}$ac_ct_CC" >&6
   1393 else
   1394   echo "$as_me:$LINENO: result: no" >&5
   1395 echo "${ECHO_T}no" >&6
   1396 fi
   1397 
   1398   CC=$ac_ct_CC
   1399 else
   1400   CC="$ac_cv_prog_CC"
   1401 fi
   1402 
   1403 if test -z "$CC"; then
   1404   if test -n "$ac_tool_prefix"; then
   1405   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   1406 set dummy ${ac_tool_prefix}cc; ac_word=$2
   1407 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1409 if test "${ac_cv_prog_CC+set}" = set; then
   1410   echo $ECHO_N "(cached) $ECHO_C" >&6
   1411 else
   1412   if test -n "$CC"; then
   1413   ac_cv_prog_CC="$CC" # Let the user override the test.
   1414 else
   1415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1416 for as_dir in $PATH
   1417 do
   1418   IFS=$as_save_IFS
   1419   test -z "$as_dir" && as_dir=.
   1420   for ac_exec_ext in '' $ac_executable_extensions; do
   1421   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1422     ac_cv_prog_CC="${ac_tool_prefix}cc"
   1423     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1424     break 2
   1425   fi
   1426 done
   1427 done
   1428 
   1429 fi
   1430 fi
   1431 CC=$ac_cv_prog_CC
   1432 if test -n "$CC"; then
   1433   echo "$as_me:$LINENO: result: $CC" >&5
   1434 echo "${ECHO_T}$CC" >&6
   1435 else
   1436   echo "$as_me:$LINENO: result: no" >&5
   1437 echo "${ECHO_T}no" >&6
   1438 fi
   1439 
   1440 fi
   1441 if test -z "$ac_cv_prog_CC"; then
   1442   ac_ct_CC=$CC
   1443   # Extract the first word of "cc", so it can be a program name with args.
   1444 set dummy cc; ac_word=$2
   1445 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1447 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   1448   echo $ECHO_N "(cached) $ECHO_C" >&6
   1449 else
   1450   if test -n "$ac_ct_CC"; then
   1451   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   1452 else
   1453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1454 for as_dir in $PATH
   1455 do
   1456   IFS=$as_save_IFS
   1457   test -z "$as_dir" && as_dir=.
   1458   for ac_exec_ext in '' $ac_executable_extensions; do
   1459   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1460     ac_cv_prog_ac_ct_CC="cc"
   1461     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1462     break 2
   1463   fi
   1464 done
   1465 done
   1466 
   1467 fi
   1468 fi
   1469 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   1470 if test -n "$ac_ct_CC"; then
   1471   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   1472 echo "${ECHO_T}$ac_ct_CC" >&6
   1473 else
   1474   echo "$as_me:$LINENO: result: no" >&5
   1475 echo "${ECHO_T}no" >&6
   1476 fi
   1477 
   1478   CC=$ac_ct_CC
   1479 else
   1480   CC="$ac_cv_prog_CC"
   1481 fi
   1482 
   1483 fi
   1484 if test -z "$CC"; then
   1485   # Extract the first word of "cc", so it can be a program name with args.
   1486 set dummy cc; ac_word=$2
   1487 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1489 if test "${ac_cv_prog_CC+set}" = set; then
   1490   echo $ECHO_N "(cached) $ECHO_C" >&6
   1491 else
   1492   if test -n "$CC"; then
   1493   ac_cv_prog_CC="$CC" # Let the user override the test.
   1494 else
   1495   ac_prog_rejected=no
   1496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1497 for as_dir in $PATH
   1498 do
   1499   IFS=$as_save_IFS
   1500   test -z "$as_dir" && as_dir=.
   1501   for ac_exec_ext in '' $ac_executable_extensions; do
   1502   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1503     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   1504        ac_prog_rejected=yes
   1505        continue
   1506      fi
   1507     ac_cv_prog_CC="cc"
   1508     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1509     break 2
   1510   fi
   1511 done
   1512 done
   1513 
   1514 if test $ac_prog_rejected = yes; then
   1515   # We found a bogon in the path, so make sure we never use it.
   1516   set dummy $ac_cv_prog_CC
   1517   shift
   1518   if test $# != 0; then
   1519     # We chose a different compiler from the bogus one.
   1520     # However, it has the same basename, so the bogon will be chosen
   1521     # first if we set CC to just the basename; use the full file name.
   1522     shift
   1523     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   1524   fi
   1525 fi
   1526 fi
   1527 fi
   1528 CC=$ac_cv_prog_CC
   1529 if test -n "$CC"; then
   1530   echo "$as_me:$LINENO: result: $CC" >&5
   1531 echo "${ECHO_T}$CC" >&6
   1532 else
   1533   echo "$as_me:$LINENO: result: no" >&5
   1534 echo "${ECHO_T}no" >&6
   1535 fi
   1536 
   1537 fi
   1538 if test -z "$CC"; then
   1539   if test -n "$ac_tool_prefix"; then
   1540   for ac_prog in cl
   1541   do
   1542     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   1543 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   1544 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1546 if test "${ac_cv_prog_CC+set}" = set; then
   1547   echo $ECHO_N "(cached) $ECHO_C" >&6
   1548 else
   1549   if test -n "$CC"; then
   1550   ac_cv_prog_CC="$CC" # Let the user override the test.
   1551 else
   1552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1553 for as_dir in $PATH
   1554 do
   1555   IFS=$as_save_IFS
   1556   test -z "$as_dir" && as_dir=.
   1557   for ac_exec_ext in '' $ac_executable_extensions; do
   1558   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1559     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   1560     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1561     break 2
   1562   fi
   1563 done
   1564 done
   1565 
   1566 fi
   1567 fi
   1568 CC=$ac_cv_prog_CC
   1569 if test -n "$CC"; then
   1570   echo "$as_me:$LINENO: result: $CC" >&5
   1571 echo "${ECHO_T}$CC" >&6
   1572 else
   1573   echo "$as_me:$LINENO: result: no" >&5
   1574 echo "${ECHO_T}no" >&6
   1575 fi
   1576 
   1577     test -n "$CC" && break
   1578   done
   1579 fi
   1580 if test -z "$CC"; then
   1581   ac_ct_CC=$CC
   1582   for ac_prog in cl
   1583 do
   1584   # Extract the first word of "$ac_prog", so it can be a program name with args.
   1585 set dummy $ac_prog; ac_word=$2
   1586 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1588 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   1589   echo $ECHO_N "(cached) $ECHO_C" >&6
   1590 else
   1591   if test -n "$ac_ct_CC"; then
   1592   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   1593 else
   1594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1595 for as_dir in $PATH
   1596 do
   1597   IFS=$as_save_IFS
   1598   test -z "$as_dir" && as_dir=.
   1599   for ac_exec_ext in '' $ac_executable_extensions; do
   1600   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1601     ac_cv_prog_ac_ct_CC="$ac_prog"
   1602     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1603     break 2
   1604   fi
   1605 done
   1606 done
   1607 
   1608 fi
   1609 fi
   1610 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   1611 if test -n "$ac_ct_CC"; then
   1612   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   1613 echo "${ECHO_T}$ac_ct_CC" >&6
   1614 else
   1615   echo "$as_me:$LINENO: result: no" >&5
   1616 echo "${ECHO_T}no" >&6
   1617 fi
   1618 
   1619   test -n "$ac_ct_CC" && break
   1620 done
   1621 
   1622   CC=$ac_ct_CC
   1623 fi
   1624 
   1625 fi
   1626 
   1627 
   1628 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   1629 See \`config.log' for more details." >&5
   1630 echo "$as_me: error: no acceptable C compiler found in \$PATH
   1631 See \`config.log' for more details." >&2;}
   1632    { (exit 1); exit 1; }; }
   1633 
   1634 # Provide some information about the compiler.
   1635 echo "$as_me:$LINENO:" \
   1636      "checking for C compiler version" >&5
   1637 ac_compiler=`set X $ac_compile; echo $2`
   1638 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
   1639   (eval $ac_compiler --version </dev/null >&5) 2>&5
   1640   ac_status=$?
   1641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1642   (exit $ac_status); }
   1643 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
   1644   (eval $ac_compiler -v </dev/null >&5) 2>&5
   1645   ac_status=$?
   1646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1647   (exit $ac_status); }
   1648 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
   1649   (eval $ac_compiler -V </dev/null >&5) 2>&5
   1650   ac_status=$?
   1651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1652   (exit $ac_status); }
   1653 
   1654 cat >conftest.$ac_ext <<_ACEOF
   1655 /* confdefs.h.  */
   1656 _ACEOF
   1657 cat confdefs.h >>conftest.$ac_ext
   1658 cat >>conftest.$ac_ext <<_ACEOF
   1659 /* end confdefs.h.  */
   1660 
   1661 int
   1662 main ()
   1663 {
   1664 
   1665   ;
   1666   return 0;
   1667 }
   1668 _ACEOF
   1669 ac_clean_files_save=$ac_clean_files
   1670 ac_clean_files="$ac_clean_files a.out a.exe b.out"
   1671 # Try to create an executable without -o first, disregard a.out.
   1672 # It will help us diagnose broken compilers, and finding out an intuition
   1673 # of exeext.
   1674 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   1675 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
   1676 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   1677 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
   1678   (eval $ac_link_default) 2>&5
   1679   ac_status=$?
   1680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1681   (exit $ac_status); }; then
   1682   # Find the output, starting from the most likely.  This scheme is
   1683 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
   1684 # resort.
   1685 
   1686 # Be careful to initialize this variable, since it used to be cached.
   1687 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
   1688 ac_cv_exeext=
   1689 # b.out is created by i960 compilers.
   1690 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
   1691 do
   1692   test -f "$ac_file" || continue
   1693   case $ac_file in
   1694     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
   1695 	;;
   1696     conftest.$ac_ext )
   1697 	# This is the source file.
   1698 	;;
   1699     [ab].out )
   1700 	# We found the default executable, but exeext='' is most
   1701 	# certainly right.
   1702 	break;;
   1703     *.* )
   1704 	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   1705 	# FIXME: I believe we export ac_cv_exeext for Libtool,
   1706 	# but it would be cool to find out if it's true.  Does anybody
   1707 	# maintain Libtool? --akim.
   1708 	export ac_cv_exeext
   1709 	break;;
   1710     * )
   1711 	break;;
   1712   esac
   1713 done
   1714 else
   1715   echo "$as_me: failed program was:" >&5
   1716 sed 's/^/| /' conftest.$ac_ext >&5
   1717 
   1718 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   1719 See \`config.log' for more details." >&5
   1720 echo "$as_me: error: C compiler cannot create executables
   1721 See \`config.log' for more details." >&2;}
   1722    { (exit 77); exit 77; }; }
   1723 fi
   1724 
   1725 ac_exeext=$ac_cv_exeext
   1726 echo "$as_me:$LINENO: result: $ac_file" >&5
   1727 echo "${ECHO_T}$ac_file" >&6
   1728 
   1729 # Check the compiler produces executables we can run.  If not, either
   1730 # the compiler is broken, or we cross compile.
   1731 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   1732 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
   1733 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   1734 # If not cross compiling, check that we can run a simple program.
   1735 if test "$cross_compiling" != yes; then
   1736   if { ac_try='./$ac_file'
   1737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1738   (eval $ac_try) 2>&5
   1739   ac_status=$?
   1740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1741   (exit $ac_status); }; }; then
   1742     cross_compiling=no
   1743   else
   1744     if test "$cross_compiling" = maybe; then
   1745 	cross_compiling=yes
   1746     else
   1747 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   1748 If you meant to cross compile, use \`--host'.
   1749 See \`config.log' for more details." >&5
   1750 echo "$as_me: error: cannot run C compiled programs.
   1751 If you meant to cross compile, use \`--host'.
   1752 See \`config.log' for more details." >&2;}
   1753    { (exit 1); exit 1; }; }
   1754     fi
   1755   fi
   1756 fi
   1757 echo "$as_me:$LINENO: result: yes" >&5
   1758 echo "${ECHO_T}yes" >&6
   1759 
   1760 rm -f a.out a.exe conftest$ac_cv_exeext b.out
   1761 ac_clean_files=$ac_clean_files_save
   1762 # Check the compiler produces executables we can run.  If not, either
   1763 # the compiler is broken, or we cross compile.
   1764 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   1765 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
   1766 echo "$as_me:$LINENO: result: $cross_compiling" >&5
   1767 echo "${ECHO_T}$cross_compiling" >&6
   1768 
   1769 echo "$as_me:$LINENO: checking for suffix of executables" >&5
   1770 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
   1771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   1772   (eval $ac_link) 2>&5
   1773   ac_status=$?
   1774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1775   (exit $ac_status); }; then
   1776   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   1777 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   1778 # work properly (i.e., refer to `conftest.exe'), while it won't with
   1779 # `rm'.
   1780 for ac_file in conftest.exe conftest conftest.*; do
   1781   test -f "$ac_file" || continue
   1782   case $ac_file in
   1783     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
   1784     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   1785 	  export ac_cv_exeext
   1786 	  break;;
   1787     * ) break;;
   1788   esac
   1789 done
   1790 else
   1791   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   1792 See \`config.log' for more details." >&5
   1793 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   1794 See \`config.log' for more details." >&2;}
   1795    { (exit 1); exit 1; }; }
   1796 fi
   1797 
   1798 rm -f conftest$ac_cv_exeext
   1799 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   1800 echo "${ECHO_T}$ac_cv_exeext" >&6
   1801 
   1802 rm -f conftest.$ac_ext
   1803 EXEEXT=$ac_cv_exeext
   1804 ac_exeext=$EXEEXT
   1805 echo "$as_me:$LINENO: checking for suffix of object files" >&5
   1806 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
   1807 if test "${ac_cv_objext+set}" = set; then
   1808   echo $ECHO_N "(cached) $ECHO_C" >&6
   1809 else
   1810   cat >conftest.$ac_ext <<_ACEOF
   1811 /* confdefs.h.  */
   1812 _ACEOF
   1813 cat confdefs.h >>conftest.$ac_ext
   1814 cat >>conftest.$ac_ext <<_ACEOF
   1815 /* end confdefs.h.  */
   1816 
   1817 int
   1818 main ()
   1819 {
   1820 
   1821   ;
   1822   return 0;
   1823 }
   1824 _ACEOF
   1825 rm -f conftest.o conftest.obj
   1826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   1827   (eval $ac_compile) 2>&5
   1828   ac_status=$?
   1829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1830   (exit $ac_status); }; then
   1831   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
   1832   case $ac_file in
   1833     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
   1834     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   1835        break;;
   1836   esac
   1837 done
   1838 else
   1839   echo "$as_me: failed program was:" >&5
   1840 sed 's/^/| /' conftest.$ac_ext >&5
   1841 
   1842 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   1843 See \`config.log' for more details." >&5
   1844 echo "$as_me: error: cannot compute suffix of object files: cannot compile
   1845 See \`config.log' for more details." >&2;}
   1846    { (exit 1); exit 1; }; }
   1847 fi
   1848 
   1849 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   1850 fi
   1851 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   1852 echo "${ECHO_T}$ac_cv_objext" >&6
   1853 OBJEXT=$ac_cv_objext
   1854 ac_objext=$OBJEXT
   1855 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   1856 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
   1857 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   1858   echo $ECHO_N "(cached) $ECHO_C" >&6
   1859 else
   1860   cat >conftest.$ac_ext <<_ACEOF
   1861 /* confdefs.h.  */
   1862 _ACEOF
   1863 cat confdefs.h >>conftest.$ac_ext
   1864 cat >>conftest.$ac_ext <<_ACEOF
   1865 /* end confdefs.h.  */
   1866 
   1867 int
   1868 main ()
   1869 {
   1870 #ifndef __GNUC__
   1871        choke me
   1872 #endif
   1873 
   1874   ;
   1875   return 0;
   1876 }
   1877 _ACEOF
   1878 rm -f conftest.$ac_objext
   1879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   1880   (eval $ac_compile) 2>conftest.er1
   1881   ac_status=$?
   1882   grep -v '^ *+' conftest.er1 >conftest.err
   1883   rm -f conftest.er1
   1884   cat conftest.err >&5
   1885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1886   (exit $ac_status); } &&
   1887 	 { ac_try='test -z "$ac_c_werror_flag"
   1888 			 || test ! -s conftest.err'
   1889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1890   (eval $ac_try) 2>&5
   1891   ac_status=$?
   1892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1893   (exit $ac_status); }; } &&
   1894 	 { ac_try='test -s conftest.$ac_objext'
   1895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1896   (eval $ac_try) 2>&5
   1897   ac_status=$?
   1898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1899   (exit $ac_status); }; }; then
   1900   ac_compiler_gnu=yes
   1901 else
   1902   echo "$as_me: failed program was:" >&5
   1903 sed 's/^/| /' conftest.$ac_ext >&5
   1904 
   1905 ac_compiler_gnu=no
   1906 fi
   1907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   1908 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   1909 
   1910 fi
   1911 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   1912 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
   1913 GCC=`test $ac_compiler_gnu = yes && echo yes`
   1914 ac_test_CFLAGS=${CFLAGS+set}
   1915 ac_save_CFLAGS=$CFLAGS
   1916 CFLAGS="-g"
   1917 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   1918 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
   1919 if test "${ac_cv_prog_cc_g+set}" = set; then
   1920   echo $ECHO_N "(cached) $ECHO_C" >&6
   1921 else
   1922   cat >conftest.$ac_ext <<_ACEOF
   1923 /* confdefs.h.  */
   1924 _ACEOF
   1925 cat confdefs.h >>conftest.$ac_ext
   1926 cat >>conftest.$ac_ext <<_ACEOF
   1927 /* end confdefs.h.  */
   1928 
   1929 int
   1930 main ()
   1931 {
   1932 
   1933   ;
   1934   return 0;
   1935 }
   1936 _ACEOF
   1937 rm -f conftest.$ac_objext
   1938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   1939   (eval $ac_compile) 2>conftest.er1
   1940   ac_status=$?
   1941   grep -v '^ *+' conftest.er1 >conftest.err
   1942   rm -f conftest.er1
   1943   cat conftest.err >&5
   1944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1945   (exit $ac_status); } &&
   1946 	 { ac_try='test -z "$ac_c_werror_flag"
   1947 			 || test ! -s conftest.err'
   1948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1949   (eval $ac_try) 2>&5
   1950   ac_status=$?
   1951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1952   (exit $ac_status); }; } &&
   1953 	 { ac_try='test -s conftest.$ac_objext'
   1954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   1955   (eval $ac_try) 2>&5
   1956   ac_status=$?
   1957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1958   (exit $ac_status); }; }; then
   1959   ac_cv_prog_cc_g=yes
   1960 else
   1961   echo "$as_me: failed program was:" >&5
   1962 sed 's/^/| /' conftest.$ac_ext >&5
   1963 
   1964 ac_cv_prog_cc_g=no
   1965 fi
   1966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   1967 fi
   1968 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   1969 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
   1970 if test "$ac_test_CFLAGS" = set; then
   1971   CFLAGS=$ac_save_CFLAGS
   1972 elif test $ac_cv_prog_cc_g = yes; then
   1973   if test "$GCC" = yes; then
   1974     CFLAGS="-g -O2"
   1975   else
   1976     CFLAGS="-g"
   1977   fi
   1978 else
   1979   if test "$GCC" = yes; then
   1980     CFLAGS="-O2"
   1981   else
   1982     CFLAGS=
   1983   fi
   1984 fi
   1985 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
   1986 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
   1987 if test "${ac_cv_prog_cc_stdc+set}" = set; then
   1988   echo $ECHO_N "(cached) $ECHO_C" >&6
   1989 else
   1990   ac_cv_prog_cc_stdc=no
   1991 ac_save_CC=$CC
   1992 cat >conftest.$ac_ext <<_ACEOF
   1993 /* confdefs.h.  */
   1994 _ACEOF
   1995 cat confdefs.h >>conftest.$ac_ext
   1996 cat >>conftest.$ac_ext <<_ACEOF
   1997 /* end confdefs.h.  */
   1998 #include <stdarg.h>
   1999 #include <stdio.h>
   2000 #include <sys/types.h>
   2001 #include <sys/stat.h>
   2002 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   2003 struct buf { int x; };
   2004 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   2005 static char *e (p, i)
   2006      char **p;
   2007      int i;
   2008 {
   2009   return p[i];
   2010 }
   2011 static char *f (char * (*g) (char **, int), char **p, ...)
   2012 {
   2013   char *s;
   2014   va_list v;
   2015   va_start (v,p);
   2016   s = g (p, va_arg (v,int));
   2017   va_end (v);
   2018   return s;
   2019 }
   2020 
   2021 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2022    function prototypes and stuff, but not '\xHH' hex character constants.
   2023    These don't provoke an error unfortunately, instead are silently treated
   2024    as 'x'.  The following induces an error, until -std1 is added to get
   2025    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   2026    array size at least.  It's necessary to write '\x00'==0 to get something
   2027    that's true only with -std1.  */
   2028 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   2029 
   2030 int test (int i, double x);
   2031 struct s1 {int (*f) (int a);};
   2032 struct s2 {int (*f) (double a);};
   2033 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   2034 int argc;
   2035 char **argv;
   2036 int
   2037 main ()
   2038 {
   2039 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   2040   ;
   2041   return 0;
   2042 }
   2043 _ACEOF
   2044 # Don't try gcc -ansi; that turns off useful extensions and
   2045 # breaks some systems' header files.
   2046 # AIX			-qlanglvl=ansi
   2047 # Ultrix and OSF/1	-std1
   2048 # HP-UX 10.20 and later	-Ae
   2049 # HP-UX older versions	-Aa -D_HPUX_SOURCE
   2050 # SVR4			-Xc -D__EXTENSIONS__
   2051 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   2052 do
   2053   CC="$ac_save_CC $ac_arg"
   2054   rm -f conftest.$ac_objext
   2055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2056   (eval $ac_compile) 2>conftest.er1
   2057   ac_status=$?
   2058   grep -v '^ *+' conftest.er1 >conftest.err
   2059   rm -f conftest.er1
   2060   cat conftest.err >&5
   2061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2062   (exit $ac_status); } &&
   2063 	 { ac_try='test -z "$ac_c_werror_flag"
   2064 			 || test ! -s conftest.err'
   2065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2066   (eval $ac_try) 2>&5
   2067   ac_status=$?
   2068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2069   (exit $ac_status); }; } &&
   2070 	 { ac_try='test -s conftest.$ac_objext'
   2071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2072   (eval $ac_try) 2>&5
   2073   ac_status=$?
   2074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2075   (exit $ac_status); }; }; then
   2076   ac_cv_prog_cc_stdc=$ac_arg
   2077 break
   2078 else
   2079   echo "$as_me: failed program was:" >&5
   2080 sed 's/^/| /' conftest.$ac_ext >&5
   2081 
   2082 fi
   2083 rm -f conftest.err conftest.$ac_objext
   2084 done
   2085 rm -f conftest.$ac_ext conftest.$ac_objext
   2086 CC=$ac_save_CC
   2087 
   2088 fi
   2089 
   2090 case "x$ac_cv_prog_cc_stdc" in
   2091   x|xno)
   2092     echo "$as_me:$LINENO: result: none needed" >&5
   2093 echo "${ECHO_T}none needed" >&6 ;;
   2094   *)
   2095     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
   2096 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
   2097     CC="$CC $ac_cv_prog_cc_stdc" ;;
   2098 esac
   2099 
   2100 # Some people use a C++ compiler to compile C.  Since we use `exit',
   2101 # in C++ we need to declare it.  In case someone uses the same compiler
   2102 # for both compiling C and C++ we need to have the C++ compiler decide
   2103 # the declaration of exit, since it's the most demanding environment.
   2104 cat >conftest.$ac_ext <<_ACEOF
   2105 #ifndef __cplusplus
   2106   choke me
   2107 #endif
   2108 _ACEOF
   2109 rm -f conftest.$ac_objext
   2110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2111   (eval $ac_compile) 2>conftest.er1
   2112   ac_status=$?
   2113   grep -v '^ *+' conftest.er1 >conftest.err
   2114   rm -f conftest.er1
   2115   cat conftest.err >&5
   2116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2117   (exit $ac_status); } &&
   2118 	 { ac_try='test -z "$ac_c_werror_flag"
   2119 			 || test ! -s conftest.err'
   2120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2121   (eval $ac_try) 2>&5
   2122   ac_status=$?
   2123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2124   (exit $ac_status); }; } &&
   2125 	 { ac_try='test -s conftest.$ac_objext'
   2126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2127   (eval $ac_try) 2>&5
   2128   ac_status=$?
   2129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2130   (exit $ac_status); }; }; then
   2131   for ac_declaration in \
   2132    '' \
   2133    'extern "C" void std::exit (int) throw (); using std::exit;' \
   2134    'extern "C" void std::exit (int); using std::exit;' \
   2135    'extern "C" void exit (int) throw ();' \
   2136    'extern "C" void exit (int);' \
   2137    'void exit (int);'
   2138 do
   2139   cat >conftest.$ac_ext <<_ACEOF
   2140 /* confdefs.h.  */
   2141 _ACEOF
   2142 cat confdefs.h >>conftest.$ac_ext
   2143 cat >>conftest.$ac_ext <<_ACEOF
   2144 /* end confdefs.h.  */
   2145 $ac_declaration
   2146 #include <stdlib.h>
   2147 int
   2148 main ()
   2149 {
   2150 exit (42);
   2151   ;
   2152   return 0;
   2153 }
   2154 _ACEOF
   2155 rm -f conftest.$ac_objext
   2156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2157   (eval $ac_compile) 2>conftest.er1
   2158   ac_status=$?
   2159   grep -v '^ *+' conftest.er1 >conftest.err
   2160   rm -f conftest.er1
   2161   cat conftest.err >&5
   2162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2163   (exit $ac_status); } &&
   2164 	 { ac_try='test -z "$ac_c_werror_flag"
   2165 			 || test ! -s conftest.err'
   2166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2167   (eval $ac_try) 2>&5
   2168   ac_status=$?
   2169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2170   (exit $ac_status); }; } &&
   2171 	 { ac_try='test -s conftest.$ac_objext'
   2172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2173   (eval $ac_try) 2>&5
   2174   ac_status=$?
   2175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2176   (exit $ac_status); }; }; then
   2177   :
   2178 else
   2179   echo "$as_me: failed program was:" >&5
   2180 sed 's/^/| /' conftest.$ac_ext >&5
   2181 
   2182 continue
   2183 fi
   2184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2185   cat >conftest.$ac_ext <<_ACEOF
   2186 /* confdefs.h.  */
   2187 _ACEOF
   2188 cat confdefs.h >>conftest.$ac_ext
   2189 cat >>conftest.$ac_ext <<_ACEOF
   2190 /* end confdefs.h.  */
   2191 $ac_declaration
   2192 int
   2193 main ()
   2194 {
   2195 exit (42);
   2196   ;
   2197   return 0;
   2198 }
   2199 _ACEOF
   2200 rm -f conftest.$ac_objext
   2201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2202   (eval $ac_compile) 2>conftest.er1
   2203   ac_status=$?
   2204   grep -v '^ *+' conftest.er1 >conftest.err
   2205   rm -f conftest.er1
   2206   cat conftest.err >&5
   2207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2208   (exit $ac_status); } &&
   2209 	 { ac_try='test -z "$ac_c_werror_flag"
   2210 			 || test ! -s conftest.err'
   2211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2212   (eval $ac_try) 2>&5
   2213   ac_status=$?
   2214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2215   (exit $ac_status); }; } &&
   2216 	 { ac_try='test -s conftest.$ac_objext'
   2217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2218   (eval $ac_try) 2>&5
   2219   ac_status=$?
   2220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2221   (exit $ac_status); }; }; then
   2222   break
   2223 else
   2224   echo "$as_me: failed program was:" >&5
   2225 sed 's/^/| /' conftest.$ac_ext >&5
   2226 
   2227 fi
   2228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2229 done
   2230 rm -f conftest*
   2231 if test -n "$ac_declaration"; then
   2232   echo '#ifdef __cplusplus' >>confdefs.h
   2233   echo $ac_declaration      >>confdefs.h
   2234   echo '#endif'             >>confdefs.h
   2235 fi
   2236 
   2237 else
   2238   echo "$as_me: failed program was:" >&5
   2239 sed 's/^/| /' conftest.$ac_ext >&5
   2240 
   2241 fi
   2242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2243 ac_ext=c
   2244 ac_cpp='$CPP $CPPFLAGS'
   2245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2248 
   2249 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2250 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
   2251 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
   2252 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
   2253   echo $ECHO_N "(cached) $ECHO_C" >&6
   2254 else
   2255   cat >conftest.make <<\_ACEOF
   2256 all:
   2257 	@echo 'ac_maketemp="$(MAKE)"'
   2258 _ACEOF
   2259 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2260 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
   2261 if test -n "$ac_maketemp"; then
   2262   eval ac_cv_prog_make_${ac_make}_set=yes
   2263 else
   2264   eval ac_cv_prog_make_${ac_make}_set=no
   2265 fi
   2266 rm -f conftest.make
   2267 fi
   2268 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
   2269   echo "$as_me:$LINENO: result: yes" >&5
   2270 echo "${ECHO_T}yes" >&6
   2271   SET_MAKE=
   2272 else
   2273   echo "$as_me:$LINENO: result: no" >&5
   2274 echo "${ECHO_T}no" >&6
   2275   SET_MAKE="MAKE=${MAKE-make}"
   2276 fi
   2277 
   2278 
   2279 if test -z "$LD" ; then
   2280 	LD=$CC
   2281 fi
   2282 
   2283 
   2284 if test -z "$OLDCFLAGS" && test "$GCC" = "yes"; then
   2285 	{ echo "$as_me:$LINENO: No \$CFLAGS set... using \"-Os -W -Wall\" for GCC" >&5
   2286 echo "$as_me: No \$CFLAGS set... using \"-Os -W -Wall\" for GCC" >&6;}
   2287 	CFLAGS="-Os -W -Wall"
   2288 fi
   2289 
   2290 # large file support is useful for scp
   2291 
   2292 # Check whether --enable-largefile or --disable-largefile was given.
   2293 if test "${enable_largefile+set}" = set; then
   2294   enableval="$enable_largefile"
   2295 
   2296 fi;
   2297 if test "$enable_largefile" != no; then
   2298 
   2299   echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
   2300 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
   2301 if test "${ac_cv_sys_largefile_CC+set}" = set; then
   2302   echo $ECHO_N "(cached) $ECHO_C" >&6
   2303 else
   2304   ac_cv_sys_largefile_CC=no
   2305      if test "$GCC" != yes; then
   2306        ac_save_CC=$CC
   2307        while :; do
   2308      	 # IRIX 6.2 and later do not support large files by default,
   2309      	 # so use the C compiler's -n32 option if that helps.
   2310 	 cat >conftest.$ac_ext <<_ACEOF
   2311 /* confdefs.h.  */
   2312 _ACEOF
   2313 cat confdefs.h >>conftest.$ac_ext
   2314 cat >>conftest.$ac_ext <<_ACEOF
   2315 /* end confdefs.h.  */
   2316 #include <sys/types.h>
   2317  /* Check that off_t can represent 2**63 - 1 correctly.
   2318     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   2319     since some C++ compilers masquerading as C compilers
   2320     incorrectly reject 9223372036854775807.  */
   2321 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   2322   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   2323 		       && LARGE_OFF_T % 2147483647 == 1)
   2324 		      ? 1 : -1];
   2325 int
   2326 main ()
   2327 {
   2328 
   2329   ;
   2330   return 0;
   2331 }
   2332 _ACEOF
   2333      	 rm -f conftest.$ac_objext
   2334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2335   (eval $ac_compile) 2>conftest.er1
   2336   ac_status=$?
   2337   grep -v '^ *+' conftest.er1 >conftest.err
   2338   rm -f conftest.er1
   2339   cat conftest.err >&5
   2340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2341   (exit $ac_status); } &&
   2342 	 { ac_try='test -z "$ac_c_werror_flag"
   2343 			 || test ! -s conftest.err'
   2344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2345   (eval $ac_try) 2>&5
   2346   ac_status=$?
   2347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2348   (exit $ac_status); }; } &&
   2349 	 { ac_try='test -s conftest.$ac_objext'
   2350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2351   (eval $ac_try) 2>&5
   2352   ac_status=$?
   2353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2354   (exit $ac_status); }; }; then
   2355   break
   2356 else
   2357   echo "$as_me: failed program was:" >&5
   2358 sed 's/^/| /' conftest.$ac_ext >&5
   2359 
   2360 fi
   2361 rm -f conftest.err conftest.$ac_objext
   2362      	 CC="$CC -n32"
   2363      	 rm -f conftest.$ac_objext
   2364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2365   (eval $ac_compile) 2>conftest.er1
   2366   ac_status=$?
   2367   grep -v '^ *+' conftest.er1 >conftest.err
   2368   rm -f conftest.er1
   2369   cat conftest.err >&5
   2370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2371   (exit $ac_status); } &&
   2372 	 { ac_try='test -z "$ac_c_werror_flag"
   2373 			 || test ! -s conftest.err'
   2374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2375   (eval $ac_try) 2>&5
   2376   ac_status=$?
   2377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2378   (exit $ac_status); }; } &&
   2379 	 { ac_try='test -s conftest.$ac_objext'
   2380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2381   (eval $ac_try) 2>&5
   2382   ac_status=$?
   2383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2384   (exit $ac_status); }; }; then
   2385   ac_cv_sys_largefile_CC=' -n32'; break
   2386 else
   2387   echo "$as_me: failed program was:" >&5
   2388 sed 's/^/| /' conftest.$ac_ext >&5
   2389 
   2390 fi
   2391 rm -f conftest.err conftest.$ac_objext
   2392 	 break
   2393        done
   2394        CC=$ac_save_CC
   2395        rm -f conftest.$ac_ext
   2396     fi
   2397 fi
   2398 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
   2399 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
   2400   if test "$ac_cv_sys_largefile_CC" != no; then
   2401     CC=$CC$ac_cv_sys_largefile_CC
   2402   fi
   2403 
   2404   echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   2405 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
   2406 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
   2407   echo $ECHO_N "(cached) $ECHO_C" >&6
   2408 else
   2409   while :; do
   2410   ac_cv_sys_file_offset_bits=no
   2411   cat >conftest.$ac_ext <<_ACEOF
   2412 /* confdefs.h.  */
   2413 _ACEOF
   2414 cat confdefs.h >>conftest.$ac_ext
   2415 cat >>conftest.$ac_ext <<_ACEOF
   2416 /* end confdefs.h.  */
   2417 #include <sys/types.h>
   2418  /* Check that off_t can represent 2**63 - 1 correctly.
   2419     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   2420     since some C++ compilers masquerading as C compilers
   2421     incorrectly reject 9223372036854775807.  */
   2422 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   2423   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   2424 		       && LARGE_OFF_T % 2147483647 == 1)
   2425 		      ? 1 : -1];
   2426 int
   2427 main ()
   2428 {
   2429 
   2430   ;
   2431   return 0;
   2432 }
   2433 _ACEOF
   2434 rm -f conftest.$ac_objext
   2435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2436   (eval $ac_compile) 2>conftest.er1
   2437   ac_status=$?
   2438   grep -v '^ *+' conftest.er1 >conftest.err
   2439   rm -f conftest.er1
   2440   cat conftest.err >&5
   2441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2442   (exit $ac_status); } &&
   2443 	 { ac_try='test -z "$ac_c_werror_flag"
   2444 			 || test ! -s conftest.err'
   2445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2446   (eval $ac_try) 2>&5
   2447   ac_status=$?
   2448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2449   (exit $ac_status); }; } &&
   2450 	 { ac_try='test -s conftest.$ac_objext'
   2451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2452   (eval $ac_try) 2>&5
   2453   ac_status=$?
   2454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2455   (exit $ac_status); }; }; then
   2456   break
   2457 else
   2458   echo "$as_me: failed program was:" >&5
   2459 sed 's/^/| /' conftest.$ac_ext >&5
   2460 
   2461 fi
   2462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2463   cat >conftest.$ac_ext <<_ACEOF
   2464 /* confdefs.h.  */
   2465 _ACEOF
   2466 cat confdefs.h >>conftest.$ac_ext
   2467 cat >>conftest.$ac_ext <<_ACEOF
   2468 /* end confdefs.h.  */
   2469 #define _FILE_OFFSET_BITS 64
   2470 #include <sys/types.h>
   2471  /* Check that off_t can represent 2**63 - 1 correctly.
   2472     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   2473     since some C++ compilers masquerading as C compilers
   2474     incorrectly reject 9223372036854775807.  */
   2475 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   2476   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   2477 		       && LARGE_OFF_T % 2147483647 == 1)
   2478 		      ? 1 : -1];
   2479 int
   2480 main ()
   2481 {
   2482 
   2483   ;
   2484   return 0;
   2485 }
   2486 _ACEOF
   2487 rm -f conftest.$ac_objext
   2488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2489   (eval $ac_compile) 2>conftest.er1
   2490   ac_status=$?
   2491   grep -v '^ *+' conftest.er1 >conftest.err
   2492   rm -f conftest.er1
   2493   cat conftest.err >&5
   2494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2495   (exit $ac_status); } &&
   2496 	 { ac_try='test -z "$ac_c_werror_flag"
   2497 			 || test ! -s conftest.err'
   2498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2499   (eval $ac_try) 2>&5
   2500   ac_status=$?
   2501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2502   (exit $ac_status); }; } &&
   2503 	 { ac_try='test -s conftest.$ac_objext'
   2504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2505   (eval $ac_try) 2>&5
   2506   ac_status=$?
   2507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2508   (exit $ac_status); }; }; then
   2509   ac_cv_sys_file_offset_bits=64; break
   2510 else
   2511   echo "$as_me: failed program was:" >&5
   2512 sed 's/^/| /' conftest.$ac_ext >&5
   2513 
   2514 fi
   2515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2516   break
   2517 done
   2518 fi
   2519 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
   2520 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
   2521 if test "$ac_cv_sys_file_offset_bits" != no; then
   2522 
   2523 cat >>confdefs.h <<_ACEOF
   2524 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
   2525 _ACEOF
   2526 
   2527 fi
   2528 rm -f conftest*
   2529   echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
   2530 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
   2531 if test "${ac_cv_sys_large_files+set}" = set; then
   2532   echo $ECHO_N "(cached) $ECHO_C" >&6
   2533 else
   2534   while :; do
   2535   ac_cv_sys_large_files=no
   2536   cat >conftest.$ac_ext <<_ACEOF
   2537 /* confdefs.h.  */
   2538 _ACEOF
   2539 cat confdefs.h >>conftest.$ac_ext
   2540 cat >>conftest.$ac_ext <<_ACEOF
   2541 /* end confdefs.h.  */
   2542 #include <sys/types.h>
   2543  /* Check that off_t can represent 2**63 - 1 correctly.
   2544     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   2545     since some C++ compilers masquerading as C compilers
   2546     incorrectly reject 9223372036854775807.  */
   2547 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   2548   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   2549 		       && LARGE_OFF_T % 2147483647 == 1)
   2550 		      ? 1 : -1];
   2551 int
   2552 main ()
   2553 {
   2554 
   2555   ;
   2556   return 0;
   2557 }
   2558 _ACEOF
   2559 rm -f conftest.$ac_objext
   2560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2561   (eval $ac_compile) 2>conftest.er1
   2562   ac_status=$?
   2563   grep -v '^ *+' conftest.er1 >conftest.err
   2564   rm -f conftest.er1
   2565   cat conftest.err >&5
   2566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2567   (exit $ac_status); } &&
   2568 	 { ac_try='test -z "$ac_c_werror_flag"
   2569 			 || test ! -s conftest.err'
   2570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2571   (eval $ac_try) 2>&5
   2572   ac_status=$?
   2573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2574   (exit $ac_status); }; } &&
   2575 	 { ac_try='test -s conftest.$ac_objext'
   2576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2577   (eval $ac_try) 2>&5
   2578   ac_status=$?
   2579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2580   (exit $ac_status); }; }; then
   2581   break
   2582 else
   2583   echo "$as_me: failed program was:" >&5
   2584 sed 's/^/| /' conftest.$ac_ext >&5
   2585 
   2586 fi
   2587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2588   cat >conftest.$ac_ext <<_ACEOF
   2589 /* confdefs.h.  */
   2590 _ACEOF
   2591 cat confdefs.h >>conftest.$ac_ext
   2592 cat >>conftest.$ac_ext <<_ACEOF
   2593 /* end confdefs.h.  */
   2594 #define _LARGE_FILES 1
   2595 #include <sys/types.h>
   2596  /* Check that off_t can represent 2**63 - 1 correctly.
   2597     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   2598     since some C++ compilers masquerading as C compilers
   2599     incorrectly reject 9223372036854775807.  */
   2600 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   2601   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   2602 		       && LARGE_OFF_T % 2147483647 == 1)
   2603 		      ? 1 : -1];
   2604 int
   2605 main ()
   2606 {
   2607 
   2608   ;
   2609   return 0;
   2610 }
   2611 _ACEOF
   2612 rm -f conftest.$ac_objext
   2613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2614   (eval $ac_compile) 2>conftest.er1
   2615   ac_status=$?
   2616   grep -v '^ *+' conftest.er1 >conftest.err
   2617   rm -f conftest.er1
   2618   cat conftest.err >&5
   2619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2620   (exit $ac_status); } &&
   2621 	 { ac_try='test -z "$ac_c_werror_flag"
   2622 			 || test ! -s conftest.err'
   2623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2624   (eval $ac_try) 2>&5
   2625   ac_status=$?
   2626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2627   (exit $ac_status); }; } &&
   2628 	 { ac_try='test -s conftest.$ac_objext'
   2629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2630   (eval $ac_try) 2>&5
   2631   ac_status=$?
   2632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2633   (exit $ac_status); }; }; then
   2634   ac_cv_sys_large_files=1; break
   2635 else
   2636   echo "$as_me: failed program was:" >&5
   2637 sed 's/^/| /' conftest.$ac_ext >&5
   2638 
   2639 fi
   2640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2641   break
   2642 done
   2643 fi
   2644 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
   2645 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
   2646 if test "$ac_cv_sys_large_files" != no; then
   2647 
   2648 cat >>confdefs.h <<_ACEOF
   2649 #define _LARGE_FILES $ac_cv_sys_large_files
   2650 _ACEOF
   2651 
   2652 fi
   2653 rm -f conftest*
   2654 fi
   2655 
   2656 
   2657 # Host specific options
   2658 # this isn't a definitive list of hosts, they are just added as required
   2659 ac_aux_dir=
   2660 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
   2661   if test -f $ac_dir/install-sh; then
   2662     ac_aux_dir=$ac_dir
   2663     ac_install_sh="$ac_aux_dir/install-sh -c"
   2664     break
   2665   elif test -f $ac_dir/install.sh; then
   2666     ac_aux_dir=$ac_dir
   2667     ac_install_sh="$ac_aux_dir/install.sh -c"
   2668     break
   2669   elif test -f $ac_dir/shtool; then
   2670     ac_aux_dir=$ac_dir
   2671     ac_install_sh="$ac_aux_dir/shtool install -c"
   2672     break
   2673   fi
   2674 done
   2675 if test -z "$ac_aux_dir"; then
   2676   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
   2677 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
   2678    { (exit 1); exit 1; }; }
   2679 fi
   2680 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
   2681 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
   2682 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
   2683 
   2684 # Make sure we can run config.sub.
   2685 $ac_config_sub sun4 >/dev/null 2>&1 ||
   2686   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
   2687 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
   2688    { (exit 1); exit 1; }; }
   2689 
   2690 echo "$as_me:$LINENO: checking build system type" >&5
   2691 echo $ECHO_N "checking build system type... $ECHO_C" >&6
   2692 if test "${ac_cv_build+set}" = set; then
   2693   echo $ECHO_N "(cached) $ECHO_C" >&6
   2694 else
   2695   ac_cv_build_alias=$build_alias
   2696 test -z "$ac_cv_build_alias" &&
   2697   ac_cv_build_alias=`$ac_config_guess`
   2698 test -z "$ac_cv_build_alias" &&
   2699   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   2700 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   2701    { (exit 1); exit 1; }; }
   2702 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
   2703   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
   2704 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
   2705    { (exit 1); exit 1; }; }
   2706 
   2707 fi
   2708 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   2709 echo "${ECHO_T}$ac_cv_build" >&6
   2710 build=$ac_cv_build
   2711 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
   2712 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
   2713 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
   2714 
   2715 
   2716 echo "$as_me:$LINENO: checking host system type" >&5
   2717 echo $ECHO_N "checking host system type... $ECHO_C" >&6
   2718 if test "${ac_cv_host+set}" = set; then
   2719   echo $ECHO_N "(cached) $ECHO_C" >&6
   2720 else
   2721   ac_cv_host_alias=$host_alias
   2722 test -z "$ac_cv_host_alias" &&
   2723   ac_cv_host_alias=$ac_cv_build_alias
   2724 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
   2725   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
   2726 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
   2727    { (exit 1); exit 1; }; }
   2728 
   2729 fi
   2730 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   2731 echo "${ECHO_T}$ac_cv_host" >&6
   2732 host=$ac_cv_host
   2733 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
   2734 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
   2735 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
   2736 
   2737 
   2738 
   2739 case "$host" in
   2740 
   2741 *-*-linux*)
   2742 	no_ptmx_check=1
   2743 	;;
   2744 
   2745 *-*-solaris*)
   2746 	CFLAGS="$CFLAGS -I/usr/local/include"
   2747 	LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib"
   2748 	conf_lastlog_location="/var/adm/lastlog"
   2749 	echo "$as_me:$LINENO: checking for obsolete utmp and wtmp in solaris2.x" >&5
   2750 echo $ECHO_N "checking for obsolete utmp and wtmp in solaris2.x... $ECHO_C" >&6
   2751 	sol2ver=`echo "$host"| sed -e 's/.*[0-9]\.//'`
   2752 	if test "$sol2ver" -ge 8; then
   2753 		echo "$as_me:$LINENO: result: yes" >&5
   2754 echo "${ECHO_T}yes" >&6
   2755 
   2756 cat >>confdefs.h <<\_ACEOF
   2757 #define DISABLE_UTMP
   2758 _ACEOF
   2759 
   2760 
   2761 cat >>confdefs.h <<\_ACEOF
   2762 #define DISABLE_WTMP
   2763 _ACEOF
   2764 
   2765 	else
   2766 		echo "$as_me:$LINENO: result: no" >&5
   2767 echo "${ECHO_T}no" >&6
   2768 	fi
   2769 	echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
   2770 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
   2771 if test "${ac_cv_lib_socket_socket+set}" = set; then
   2772   echo $ECHO_N "(cached) $ECHO_C" >&6
   2773 else
   2774   ac_check_lib_save_LIBS=$LIBS
   2775 LIBS="-lsocket  $LIBS"
   2776 cat >conftest.$ac_ext <<_ACEOF
   2777 /* confdefs.h.  */
   2778 _ACEOF
   2779 cat confdefs.h >>conftest.$ac_ext
   2780 cat >>conftest.$ac_ext <<_ACEOF
   2781 /* end confdefs.h.  */
   2782 
   2783 /* Override any gcc2 internal prototype to avoid an error.  */
   2784 #ifdef __cplusplus
   2785 extern "C"
   2786 #endif
   2787 /* We use char because int might match the return type of a gcc2
   2788    builtin and then its argument prototype would still apply.  */
   2789 char socket ();
   2790 int
   2791 main ()
   2792 {
   2793 socket ();
   2794   ;
   2795   return 0;
   2796 }
   2797 _ACEOF
   2798 rm -f conftest.$ac_objext conftest$ac_exeext
   2799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   2800   (eval $ac_link) 2>conftest.er1
   2801   ac_status=$?
   2802   grep -v '^ *+' conftest.er1 >conftest.err
   2803   rm -f conftest.er1
   2804   cat conftest.err >&5
   2805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2806   (exit $ac_status); } &&
   2807 	 { ac_try='test -z "$ac_c_werror_flag"
   2808 			 || test ! -s conftest.err'
   2809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2810   (eval $ac_try) 2>&5
   2811   ac_status=$?
   2812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2813   (exit $ac_status); }; } &&
   2814 	 { ac_try='test -s conftest$ac_exeext'
   2815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2816   (eval $ac_try) 2>&5
   2817   ac_status=$?
   2818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2819   (exit $ac_status); }; }; then
   2820   ac_cv_lib_socket_socket=yes
   2821 else
   2822   echo "$as_me: failed program was:" >&5
   2823 sed 's/^/| /' conftest.$ac_ext >&5
   2824 
   2825 ac_cv_lib_socket_socket=no
   2826 fi
   2827 rm -f conftest.err conftest.$ac_objext \
   2828       conftest$ac_exeext conftest.$ac_ext
   2829 LIBS=$ac_check_lib_save_LIBS
   2830 fi
   2831 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
   2832 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
   2833 if test $ac_cv_lib_socket_socket = yes; then
   2834   LIBS="$LIBS -lsocket"
   2835 fi
   2836 
   2837 	echo "$as_me:$LINENO: checking for yp_match in -lnsl" >&5
   2838 echo $ECHO_N "checking for yp_match in -lnsl... $ECHO_C" >&6
   2839 if test "${ac_cv_lib_nsl_yp_match+set}" = set; then
   2840   echo $ECHO_N "(cached) $ECHO_C" >&6
   2841 else
   2842   ac_check_lib_save_LIBS=$LIBS
   2843 LIBS="-lnsl  $LIBS"
   2844 cat >conftest.$ac_ext <<_ACEOF
   2845 /* confdefs.h.  */
   2846 _ACEOF
   2847 cat confdefs.h >>conftest.$ac_ext
   2848 cat >>conftest.$ac_ext <<_ACEOF
   2849 /* end confdefs.h.  */
   2850 
   2851 /* Override any gcc2 internal prototype to avoid an error.  */
   2852 #ifdef __cplusplus
   2853 extern "C"
   2854 #endif
   2855 /* We use char because int might match the return type of a gcc2
   2856    builtin and then its argument prototype would still apply.  */
   2857 char yp_match ();
   2858 int
   2859 main ()
   2860 {
   2861 yp_match ();
   2862   ;
   2863   return 0;
   2864 }
   2865 _ACEOF
   2866 rm -f conftest.$ac_objext conftest$ac_exeext
   2867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   2868   (eval $ac_link) 2>conftest.er1
   2869   ac_status=$?
   2870   grep -v '^ *+' conftest.er1 >conftest.err
   2871   rm -f conftest.er1
   2872   cat conftest.err >&5
   2873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2874   (exit $ac_status); } &&
   2875 	 { ac_try='test -z "$ac_c_werror_flag"
   2876 			 || test ! -s conftest.err'
   2877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2878   (eval $ac_try) 2>&5
   2879   ac_status=$?
   2880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2881   (exit $ac_status); }; } &&
   2882 	 { ac_try='test -s conftest$ac_exeext'
   2883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2884   (eval $ac_try) 2>&5
   2885   ac_status=$?
   2886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2887   (exit $ac_status); }; }; then
   2888   ac_cv_lib_nsl_yp_match=yes
   2889 else
   2890   echo "$as_me: failed program was:" >&5
   2891 sed 's/^/| /' conftest.$ac_ext >&5
   2892 
   2893 ac_cv_lib_nsl_yp_match=no
   2894 fi
   2895 rm -f conftest.err conftest.$ac_objext \
   2896       conftest$ac_exeext conftest.$ac_ext
   2897 LIBS=$ac_check_lib_save_LIBS
   2898 fi
   2899 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_yp_match" >&5
   2900 echo "${ECHO_T}$ac_cv_lib_nsl_yp_match" >&6
   2901 if test $ac_cv_lib_nsl_yp_match = yes; then
   2902   LIBS="$LIBS -lnsl"
   2903 fi
   2904 
   2905 	;;
   2906 
   2907 *-*-aix*)
   2908 
   2909 cat >>confdefs.h <<\_ACEOF
   2910 #define AIX
   2911 _ACEOF
   2912 
   2913 	# OpenSSH thinks it's broken. If it isn't, let me know.
   2914 
   2915 cat >>confdefs.h <<\_ACEOF
   2916 #define BROKEN_GETADDRINFO
   2917 _ACEOF
   2918 
   2919 	;;
   2920 
   2921 *-*-hpux*)
   2922 	LIBS="$LIBS -lsec"
   2923 	# It's probably broken.
   2924 
   2925 cat >>confdefs.h <<\_ACEOF
   2926 #define BROKEN_GETADDRINFO
   2927 _ACEOF
   2928 
   2929 	;;
   2930 *-dec-osf*)
   2931 
   2932 cat >>confdefs.h <<\_ACEOF
   2933 #define BROKEN_GETADDRINFO
   2934 _ACEOF
   2935 
   2936 	;;
   2937 esac
   2938 
   2939 if test -n "$ac_tool_prefix"; then
   2940   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   2941 set dummy ${ac_tool_prefix}ar; ac_word=$2
   2942 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2944 if test "${ac_cv_prog_AR+set}" = set; then
   2945   echo $ECHO_N "(cached) $ECHO_C" >&6
   2946 else
   2947   if test -n "$AR"; then
   2948   ac_cv_prog_AR="$AR" # Let the user override the test.
   2949 else
   2950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2951 for as_dir in $PATH
   2952 do
   2953   IFS=$as_save_IFS
   2954   test -z "$as_dir" && as_dir=.
   2955   for ac_exec_ext in '' $ac_executable_extensions; do
   2956   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2957     ac_cv_prog_AR="${ac_tool_prefix}ar"
   2958     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2959     break 2
   2960   fi
   2961 done
   2962 done
   2963 
   2964 fi
   2965 fi
   2966 AR=$ac_cv_prog_AR
   2967 if test -n "$AR"; then
   2968   echo "$as_me:$LINENO: result: $AR" >&5
   2969 echo "${ECHO_T}$AR" >&6
   2970 else
   2971   echo "$as_me:$LINENO: result: no" >&5
   2972 echo "${ECHO_T}no" >&6
   2973 fi
   2974 
   2975 fi
   2976 if test -z "$ac_cv_prog_AR"; then
   2977   ac_ct_AR=$AR
   2978   # Extract the first word of "ar", so it can be a program name with args.
   2979 set dummy ar; ac_word=$2
   2980 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2982 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   2983   echo $ECHO_N "(cached) $ECHO_C" >&6
   2984 else
   2985   if test -n "$ac_ct_AR"; then
   2986   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   2987 else
   2988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2989 for as_dir in $PATH
   2990 do
   2991   IFS=$as_save_IFS
   2992   test -z "$as_dir" && as_dir=.
   2993   for ac_exec_ext in '' $ac_executable_extensions; do
   2994   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2995     ac_cv_prog_ac_ct_AR="ar"
   2996     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2997     break 2
   2998   fi
   2999 done
   3000 done
   3001 
   3002   test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR=":"
   3003 fi
   3004 fi
   3005 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   3006 if test -n "$ac_ct_AR"; then
   3007   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   3008 echo "${ECHO_T}$ac_ct_AR" >&6
   3009 else
   3010   echo "$as_me:$LINENO: result: no" >&5
   3011 echo "${ECHO_T}no" >&6
   3012 fi
   3013 
   3014   AR=$ac_ct_AR
   3015 else
   3016   AR="$ac_cv_prog_AR"
   3017 fi
   3018 
   3019 if test -n "$ac_tool_prefix"; then
   3020   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   3021 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   3022 echo "$as_me:$LINENO: checking for $ac_word" >&5
   3023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3024 if test "${ac_cv_prog_RANLIB+set}" = set; then
   3025   echo $ECHO_N "(cached) $ECHO_C" >&6
   3026 else
   3027   if test -n "$RANLIB"; then
   3028   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   3029 else
   3030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3031 for as_dir in $PATH
   3032 do
   3033   IFS=$as_save_IFS
   3034   test -z "$as_dir" && as_dir=.
   3035   for ac_exec_ext in '' $ac_executable_extensions; do
   3036   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3037     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   3038     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3039     break 2
   3040   fi
   3041 done
   3042 done
   3043 
   3044 fi
   3045 fi
   3046 RANLIB=$ac_cv_prog_RANLIB
   3047 if test -n "$RANLIB"; then
   3048   echo "$as_me:$LINENO: result: $RANLIB" >&5
   3049 echo "${ECHO_T}$RANLIB" >&6
   3050 else
   3051   echo "$as_me:$LINENO: result: no" >&5
   3052 echo "${ECHO_T}no" >&6
   3053 fi
   3054 
   3055 fi
   3056 if test -z "$ac_cv_prog_RANLIB"; then
   3057   ac_ct_RANLIB=$RANLIB
   3058   # Extract the first word of "ranlib", so it can be a program name with args.
   3059 set dummy ranlib; ac_word=$2
   3060 echo "$as_me:$LINENO: checking for $ac_word" >&5
   3061 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3062 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   3063   echo $ECHO_N "(cached) $ECHO_C" >&6
   3064 else
   3065   if test -n "$ac_ct_RANLIB"; then
   3066   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   3067 else
   3068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3069 for as_dir in $PATH
   3070 do
   3071   IFS=$as_save_IFS
   3072   test -z "$as_dir" && as_dir=.
   3073   for ac_exec_ext in '' $ac_executable_extensions; do
   3074   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3075     ac_cv_prog_ac_ct_RANLIB="ranlib"
   3076     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3077     break 2
   3078   fi
   3079 done
   3080 done
   3081 
   3082   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
   3083 fi
   3084 fi
   3085 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   3086 if test -n "$ac_ct_RANLIB"; then
   3087   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   3088 echo "${ECHO_T}$ac_ct_RANLIB" >&6
   3089 else
   3090   echo "$as_me:$LINENO: result: no" >&5
   3091 echo "${ECHO_T}no" >&6
   3092 fi
   3093 
   3094   RANLIB=$ac_ct_RANLIB
   3095 else
   3096   RANLIB="$ac_cv_prog_RANLIB"
   3097 fi
   3098 
   3099 if test -n "$ac_tool_prefix"; then
   3100   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3101 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3102 echo "$as_me:$LINENO: checking for $ac_word" >&5
   3103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3104 if test "${ac_cv_prog_STRIP+set}" = set; then
   3105   echo $ECHO_N "(cached) $ECHO_C" >&6
   3106 else
   3107   if test -n "$STRIP"; then
   3108   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3109 else
   3110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3111 for as_dir in $PATH
   3112 do
   3113   IFS=$as_save_IFS
   3114   test -z "$as_dir" && as_dir=.
   3115   for ac_exec_ext in '' $ac_executable_extensions; do
   3116   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3117     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3118     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3119     break 2
   3120   fi
   3121 done
   3122 done
   3123 
   3124 fi
   3125 fi
   3126 STRIP=$ac_cv_prog_STRIP
   3127 if test -n "$STRIP"; then
   3128   echo "$as_me:$LINENO: result: $STRIP" >&5
   3129 echo "${ECHO_T}$STRIP" >&6
   3130 else
   3131   echo "$as_me:$LINENO: result: no" >&5
   3132 echo "${ECHO_T}no" >&6
   3133 fi
   3134 
   3135 fi
   3136 if test -z "$ac_cv_prog_STRIP"; then
   3137   ac_ct_STRIP=$STRIP
   3138   # Extract the first word of "strip", so it can be a program name with args.
   3139 set dummy strip; ac_word=$2
   3140 echo "$as_me:$LINENO: checking for $ac_word" >&5
   3141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3142 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   3143   echo $ECHO_N "(cached) $ECHO_C" >&6
   3144 else
   3145   if test -n "$ac_ct_STRIP"; then
   3146   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3147 else
   3148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3149 for as_dir in $PATH
   3150 do
   3151   IFS=$as_save_IFS
   3152   test -z "$as_dir" && as_dir=.
   3153   for ac_exec_ext in '' $ac_executable_extensions; do
   3154   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3155     ac_cv_prog_ac_ct_STRIP="strip"
   3156     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3157     break 2
   3158   fi
   3159 done
   3160 done
   3161 
   3162   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
   3163 fi
   3164 fi
   3165 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3166 if test -n "$ac_ct_STRIP"; then
   3167   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   3168 echo "${ECHO_T}$ac_ct_STRIP" >&6
   3169 else
   3170   echo "$as_me:$LINENO: result: no" >&5
   3171 echo "${ECHO_T}no" >&6
   3172 fi
   3173 
   3174   STRIP=$ac_ct_STRIP
   3175 else
   3176   STRIP="$ac_cv_prog_STRIP"
   3177 fi
   3178 
   3179 if test -n "$ac_tool_prefix"; then
   3180   # Extract the first word of "${ac_tool_prefix}install", so it can be a program name with args.
   3181 set dummy ${ac_tool_prefix}install; ac_word=$2
   3182 echo "$as_me:$LINENO: checking for $ac_word" >&5
   3183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3184 if test "${ac_cv_prog_INSTALL+set}" = set; then
   3185   echo $ECHO_N "(cached) $ECHO_C" >&6
   3186 else
   3187   if test -n "$INSTALL"; then
   3188   ac_cv_prog_INSTALL="$INSTALL" # Let the user override the test.
   3189 else
   3190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3191 for as_dir in $PATH
   3192 do
   3193   IFS=$as_save_IFS
   3194   test -z "$as_dir" && as_dir=.
   3195   for ac_exec_ext in '' $ac_executable_extensions; do
   3196   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3197     ac_cv_prog_INSTALL="${ac_tool_prefix}install"
   3198     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3199     break 2
   3200   fi
   3201 done
   3202 done
   3203 
   3204 fi
   3205 fi
   3206 INSTALL=$ac_cv_prog_INSTALL
   3207 if test -n "$INSTALL"; then
   3208   echo "$as_me:$LINENO: result: $INSTALL" >&5
   3209 echo "${ECHO_T}$INSTALL" >&6
   3210 else
   3211   echo "$as_me:$LINENO: result: no" >&5
   3212 echo "${ECHO_T}no" >&6
   3213 fi
   3214 
   3215 fi
   3216 if test -z "$ac_cv_prog_INSTALL"; then
   3217   ac_ct_INSTALL=$INSTALL
   3218   # Extract the first word of "install", so it can be a program name with args.
   3219 set dummy install; ac_word=$2
   3220 echo "$as_me:$LINENO: checking for $ac_word" >&5
   3221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3222 if test "${ac_cv_prog_ac_ct_INSTALL+set}" = set; then
   3223   echo $ECHO_N "(cached) $ECHO_C" >&6
   3224 else
   3225   if test -n "$ac_ct_INSTALL"; then
   3226   ac_cv_prog_ac_ct_INSTALL="$ac_ct_INSTALL" # Let the user override the test.
   3227 else
   3228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3229 for as_dir in $PATH
   3230 do
   3231   IFS=$as_save_IFS
   3232   test -z "$as_dir" && as_dir=.
   3233   for ac_exec_ext in '' $ac_executable_extensions; do
   3234   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3235     ac_cv_prog_ac_ct_INSTALL="install"
   3236     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3237     break 2
   3238   fi
   3239 done
   3240 done
   3241 
   3242   test -z "$ac_cv_prog_ac_ct_INSTALL" && ac_cv_prog_ac_ct_INSTALL=":"
   3243 fi
   3244 fi
   3245 ac_ct_INSTALL=$ac_cv_prog_ac_ct_INSTALL
   3246 if test -n "$ac_ct_INSTALL"; then
   3247   echo "$as_me:$LINENO: result: $ac_ct_INSTALL" >&5
   3248 echo "${ECHO_T}$ac_ct_INSTALL" >&6
   3249 else
   3250   echo "$as_me:$LINENO: result: no" >&5
   3251 echo "${ECHO_T}no" >&6
   3252 fi
   3253 
   3254   INSTALL=$ac_ct_INSTALL
   3255 else
   3256   INSTALL="$ac_cv_prog_INSTALL"
   3257 fi
   3258 
   3259 
   3260 ac_ext=c
   3261 ac_cpp='$CPP $CPPFLAGS'
   3262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3265 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   3266 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
   3267 # On Suns, sometimes $CPP names a directory.
   3268 if test -n "$CPP" && test -d "$CPP"; then
   3269   CPP=
   3270 fi
   3271 if test -z "$CPP"; then
   3272   if test "${ac_cv_prog_CPP+set}" = set; then
   3273   echo $ECHO_N "(cached) $ECHO_C" >&6
   3274 else
   3275       # Double quotes because CPP needs to be expanded
   3276     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3277     do
   3278       ac_preproc_ok=false
   3279 for ac_c_preproc_warn_flag in '' yes
   3280 do
   3281   # Use a header file that comes with gcc, so configuring glibc
   3282   # with a fresh cross-compiler works.
   3283   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3284   # <limits.h> exists even on freestanding compilers.
   3285   # On the NeXT, cc -E runs the code through the compiler's parser,
   3286   # not just through cpp. "Syntax error" is here to catch this case.
   3287   cat >conftest.$ac_ext <<_ACEOF
   3288 /* confdefs.h.  */
   3289 _ACEOF
   3290 cat confdefs.h >>conftest.$ac_ext
   3291 cat >>conftest.$ac_ext <<_ACEOF
   3292 /* end confdefs.h.  */
   3293 #ifdef __STDC__
   3294 # include <limits.h>
   3295 #else
   3296 # include <assert.h>
   3297 #endif
   3298 		     Syntax error
   3299 _ACEOF
   3300 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   3301   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   3302   ac_status=$?
   3303   grep -v '^ *+' conftest.er1 >conftest.err
   3304   rm -f conftest.er1
   3305   cat conftest.err >&5
   3306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3307   (exit $ac_status); } >/dev/null; then
   3308   if test -s conftest.err; then
   3309     ac_cpp_err=$ac_c_preproc_warn_flag
   3310     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   3311   else
   3312     ac_cpp_err=
   3313   fi
   3314 else
   3315   ac_cpp_err=yes
   3316 fi
   3317 if test -z "$ac_cpp_err"; then
   3318   :
   3319 else
   3320   echo "$as_me: failed program was:" >&5
   3321 sed 's/^/| /' conftest.$ac_ext >&5
   3322 
   3323   # Broken: fails on valid input.
   3324 continue
   3325 fi
   3326 rm -f conftest.err conftest.$ac_ext
   3327 
   3328   # OK, works on sane cases.  Now check whether non-existent headers
   3329   # can be detected and how.
   3330   cat >conftest.$ac_ext <<_ACEOF
   3331 /* confdefs.h.  */
   3332 _ACEOF
   3333 cat confdefs.h >>conftest.$ac_ext
   3334 cat >>conftest.$ac_ext <<_ACEOF
   3335 /* end confdefs.h.  */
   3336 #include <ac_nonexistent.h>
   3337 _ACEOF
   3338 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   3339   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   3340   ac_status=$?
   3341   grep -v '^ *+' conftest.er1 >conftest.err
   3342   rm -f conftest.er1
   3343   cat conftest.err >&5
   3344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3345   (exit $ac_status); } >/dev/null; then
   3346   if test -s conftest.err; then
   3347     ac_cpp_err=$ac_c_preproc_warn_flag
   3348     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   3349   else
   3350     ac_cpp_err=
   3351   fi
   3352 else
   3353   ac_cpp_err=yes
   3354 fi
   3355 if test -z "$ac_cpp_err"; then
   3356   # Broken: success on invalid input.
   3357 continue
   3358 else
   3359   echo "$as_me: failed program was:" >&5
   3360 sed 's/^/| /' conftest.$ac_ext >&5
   3361 
   3362   # Passes both tests.
   3363 ac_preproc_ok=:
   3364 break
   3365 fi
   3366 rm -f conftest.err conftest.$ac_ext
   3367 
   3368 done
   3369 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3370 rm -f conftest.err conftest.$ac_ext
   3371 if $ac_preproc_ok; then
   3372   break
   3373 fi
   3374 
   3375     done
   3376     ac_cv_prog_CPP=$CPP
   3377 
   3378 fi
   3379   CPP=$ac_cv_prog_CPP
   3380 else
   3381   ac_cv_prog_CPP=$CPP
   3382 fi
   3383 echo "$as_me:$LINENO: result: $CPP" >&5
   3384 echo "${ECHO_T}$CPP" >&6
   3385 ac_preproc_ok=false
   3386 for ac_c_preproc_warn_flag in '' yes
   3387 do
   3388   # Use a header file that comes with gcc, so configuring glibc
   3389   # with a fresh cross-compiler works.
   3390   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3391   # <limits.h> exists even on freestanding compilers.
   3392   # On the NeXT, cc -E runs the code through the compiler's parser,
   3393   # not just through cpp. "Syntax error" is here to catch this case.
   3394   cat >conftest.$ac_ext <<_ACEOF
   3395 /* confdefs.h.  */
   3396 _ACEOF
   3397 cat confdefs.h >>conftest.$ac_ext
   3398 cat >>conftest.$ac_ext <<_ACEOF
   3399 /* end confdefs.h.  */
   3400 #ifdef __STDC__
   3401 # include <limits.h>
   3402 #else
   3403 # include <assert.h>
   3404 #endif
   3405 		     Syntax error
   3406 _ACEOF
   3407 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   3408   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   3409   ac_status=$?
   3410   grep -v '^ *+' conftest.er1 >conftest.err
   3411   rm -f conftest.er1
   3412   cat conftest.err >&5
   3413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3414   (exit $ac_status); } >/dev/null; then
   3415   if test -s conftest.err; then
   3416     ac_cpp_err=$ac_c_preproc_warn_flag
   3417     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   3418   else
   3419     ac_cpp_err=
   3420   fi
   3421 else
   3422   ac_cpp_err=yes
   3423 fi
   3424 if test -z "$ac_cpp_err"; then
   3425   :
   3426 else
   3427   echo "$as_me: failed program was:" >&5
   3428 sed 's/^/| /' conftest.$ac_ext >&5
   3429 
   3430   # Broken: fails on valid input.
   3431 continue
   3432 fi
   3433 rm -f conftest.err conftest.$ac_ext
   3434 
   3435   # OK, works on sane cases.  Now check whether non-existent headers
   3436   # can be detected and how.
   3437   cat >conftest.$ac_ext <<_ACEOF
   3438 /* confdefs.h.  */
   3439 _ACEOF
   3440 cat confdefs.h >>conftest.$ac_ext
   3441 cat >>conftest.$ac_ext <<_ACEOF
   3442 /* end confdefs.h.  */
   3443 #include <ac_nonexistent.h>
   3444 _ACEOF
   3445 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   3446   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   3447   ac_status=$?
   3448   grep -v '^ *+' conftest.er1 >conftest.err
   3449   rm -f conftest.er1
   3450   cat conftest.err >&5
   3451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3452   (exit $ac_status); } >/dev/null; then
   3453   if test -s conftest.err; then
   3454     ac_cpp_err=$ac_c_preproc_warn_flag
   3455     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   3456   else
   3457     ac_cpp_err=
   3458   fi
   3459 else
   3460   ac_cpp_err=yes
   3461 fi
   3462 if test -z "$ac_cpp_err"; then
   3463   # Broken: success on invalid input.
   3464 continue
   3465 else
   3466   echo "$as_me: failed program was:" >&5
   3467 sed 's/^/| /' conftest.$ac_ext >&5
   3468 
   3469   # Passes both tests.
   3470 ac_preproc_ok=:
   3471 break
   3472 fi
   3473 rm -f conftest.err conftest.$ac_ext
   3474 
   3475 done
   3476 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3477 rm -f conftest.err conftest.$ac_ext
   3478 if $ac_preproc_ok; then
   3479   :
   3480 else
   3481   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   3482 See \`config.log' for more details." >&5
   3483 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   3484 See \`config.log' for more details." >&2;}
   3485    { (exit 1); exit 1; }; }
   3486 fi
   3487 
   3488 ac_ext=c
   3489 ac_cpp='$CPP $CPPFLAGS'
   3490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3493 
   3494 
   3495 echo "$as_me:$LINENO: checking for egrep" >&5
   3496 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
   3497 if test "${ac_cv_prog_egrep+set}" = set; then
   3498   echo $ECHO_N "(cached) $ECHO_C" >&6
   3499 else
   3500   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
   3501     then ac_cv_prog_egrep='grep -E'
   3502     else ac_cv_prog_egrep='egrep'
   3503     fi
   3504 fi
   3505 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
   3506 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
   3507  EGREP=$ac_cv_prog_egrep
   3508 
   3509 
   3510 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   3511 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
   3512 if test "${ac_cv_header_stdc+set}" = set; then
   3513   echo $ECHO_N "(cached) $ECHO_C" >&6
   3514 else
   3515   cat >conftest.$ac_ext <<_ACEOF
   3516 /* confdefs.h.  */
   3517 _ACEOF
   3518 cat confdefs.h >>conftest.$ac_ext
   3519 cat >>conftest.$ac_ext <<_ACEOF
   3520 /* end confdefs.h.  */
   3521 #include <stdlib.h>
   3522 #include <stdarg.h>
   3523 #include <string.h>
   3524 #include <float.h>
   3525 
   3526 int
   3527 main ()
   3528 {
   3529 
   3530   ;
   3531   return 0;
   3532 }
   3533 _ACEOF
   3534 rm -f conftest.$ac_objext
   3535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3536   (eval $ac_compile) 2>conftest.er1
   3537   ac_status=$?
   3538   grep -v '^ *+' conftest.er1 >conftest.err
   3539   rm -f conftest.er1
   3540   cat conftest.err >&5
   3541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3542   (exit $ac_status); } &&
   3543 	 { ac_try='test -z "$ac_c_werror_flag"
   3544 			 || test ! -s conftest.err'
   3545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3546   (eval $ac_try) 2>&5
   3547   ac_status=$?
   3548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3549   (exit $ac_status); }; } &&
   3550 	 { ac_try='test -s conftest.$ac_objext'
   3551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3552   (eval $ac_try) 2>&5
   3553   ac_status=$?
   3554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3555   (exit $ac_status); }; }; then
   3556   ac_cv_header_stdc=yes
   3557 else
   3558   echo "$as_me: failed program was:" >&5
   3559 sed 's/^/| /' conftest.$ac_ext >&5
   3560 
   3561 ac_cv_header_stdc=no
   3562 fi
   3563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3564 
   3565 if test $ac_cv_header_stdc = yes; then
   3566   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3567   cat >conftest.$ac_ext <<_ACEOF
   3568 /* confdefs.h.  */
   3569 _ACEOF
   3570 cat confdefs.h >>conftest.$ac_ext
   3571 cat >>conftest.$ac_ext <<_ACEOF
   3572 /* end confdefs.h.  */
   3573 #include <string.h>
   3574 
   3575 _ACEOF
   3576 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3577   $EGREP "memchr" >/dev/null 2>&1; then
   3578   :
   3579 else
   3580   ac_cv_header_stdc=no
   3581 fi
   3582 rm -f conftest*
   3583 
   3584 fi
   3585 
   3586 if test $ac_cv_header_stdc = yes; then
   3587   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3588   cat >conftest.$ac_ext <<_ACEOF
   3589 /* confdefs.h.  */
   3590 _ACEOF
   3591 cat confdefs.h >>conftest.$ac_ext
   3592 cat >>conftest.$ac_ext <<_ACEOF
   3593 /* end confdefs.h.  */
   3594 #include <stdlib.h>
   3595 
   3596 _ACEOF
   3597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3598   $EGREP "free" >/dev/null 2>&1; then
   3599   :
   3600 else
   3601   ac_cv_header_stdc=no
   3602 fi
   3603 rm -f conftest*
   3604 
   3605 fi
   3606 
   3607 if test $ac_cv_header_stdc = yes; then
   3608   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3609   if test "$cross_compiling" = yes; then
   3610   :
   3611 else
   3612   cat >conftest.$ac_ext <<_ACEOF
   3613 /* confdefs.h.  */
   3614 _ACEOF
   3615 cat confdefs.h >>conftest.$ac_ext
   3616 cat >>conftest.$ac_ext <<_ACEOF
   3617 /* end confdefs.h.  */
   3618 #include <ctype.h>
   3619 #if ((' ' & 0x0FF) == 0x020)
   3620 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3621 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3622 #else
   3623 # define ISLOWER(c) \
   3624 		   (('a' <= (c) && (c) <= 'i') \
   3625 		     || ('j' <= (c) && (c) <= 'r') \
   3626 		     || ('s' <= (c) && (c) <= 'z'))
   3627 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3628 #endif
   3629 
   3630 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3631 int
   3632 main ()
   3633 {
   3634   int i;
   3635   for (i = 0; i < 256; i++)
   3636     if (XOR (islower (i), ISLOWER (i))
   3637 	|| toupper (i) != TOUPPER (i))
   3638       exit(2);
   3639   exit (0);
   3640 }
   3641 _ACEOF
   3642 rm -f conftest$ac_exeext
   3643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   3644   (eval $ac_link) 2>&5
   3645   ac_status=$?
   3646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3647   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   3648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3649   (eval $ac_try) 2>&5
   3650   ac_status=$?
   3651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3652   (exit $ac_status); }; }; then
   3653   :
   3654 else
   3655   echo "$as_me: program exited with status $ac_status" >&5
   3656 echo "$as_me: failed program was:" >&5
   3657 sed 's/^/| /' conftest.$ac_ext >&5
   3658 
   3659 ( exit $ac_status )
   3660 ac_cv_header_stdc=no
   3661 fi
   3662 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   3663 fi
   3664 fi
   3665 fi
   3666 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   3667 echo "${ECHO_T}$ac_cv_header_stdc" >&6
   3668 if test $ac_cv_header_stdc = yes; then
   3669 
   3670 cat >>confdefs.h <<\_ACEOF
   3671 #define STDC_HEADERS 1
   3672 _ACEOF
   3673 
   3674 fi
   3675 
   3676 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3677 
   3678 
   3679 
   3680 
   3681 
   3682 
   3683 
   3684 
   3685 
   3686 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3687 		  inttypes.h stdint.h unistd.h
   3688 do
   3689 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3690 echo "$as_me:$LINENO: checking for $ac_header" >&5
   3691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   3692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   3693   echo $ECHO_N "(cached) $ECHO_C" >&6
   3694 else
   3695   cat >conftest.$ac_ext <<_ACEOF
   3696 /* confdefs.h.  */
   3697 _ACEOF
   3698 cat confdefs.h >>conftest.$ac_ext
   3699 cat >>conftest.$ac_ext <<_ACEOF
   3700 /* end confdefs.h.  */
   3701 $ac_includes_default
   3702 
   3703 #include <$ac_header>
   3704 _ACEOF
   3705 rm -f conftest.$ac_objext
   3706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3707   (eval $ac_compile) 2>conftest.er1
   3708   ac_status=$?
   3709   grep -v '^ *+' conftest.er1 >conftest.err
   3710   rm -f conftest.er1
   3711   cat conftest.err >&5
   3712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3713   (exit $ac_status); } &&
   3714 	 { ac_try='test -z "$ac_c_werror_flag"
   3715 			 || test ! -s conftest.err'
   3716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3717   (eval $ac_try) 2>&5
   3718   ac_status=$?
   3719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3720   (exit $ac_status); }; } &&
   3721 	 { ac_try='test -s conftest.$ac_objext'
   3722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3723   (eval $ac_try) 2>&5
   3724   ac_status=$?
   3725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3726   (exit $ac_status); }; }; then
   3727   eval "$as_ac_Header=yes"
   3728 else
   3729   echo "$as_me: failed program was:" >&5
   3730 sed 's/^/| /' conftest.$ac_ext >&5
   3731 
   3732 eval "$as_ac_Header=no"
   3733 fi
   3734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3735 fi
   3736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   3737 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   3738 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   3739   cat >>confdefs.h <<_ACEOF
   3740 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3741 _ACEOF
   3742 
   3743 fi
   3744 
   3745 done
   3746 
   3747 
   3748 echo "$as_me:$LINENO: checking whether __UCLIBC__ is declared" >&5
   3749 echo $ECHO_N "checking whether __UCLIBC__ is declared... $ECHO_C" >&6
   3750 if test "${ac_cv_have_decl___UCLIBC__+set}" = set; then
   3751   echo $ECHO_N "(cached) $ECHO_C" >&6
   3752 else
   3753   cat >conftest.$ac_ext <<_ACEOF
   3754 /* confdefs.h.  */
   3755 _ACEOF
   3756 cat confdefs.h >>conftest.$ac_ext
   3757 cat >>conftest.$ac_ext <<_ACEOF
   3758 /* end confdefs.h.  */
   3759 $ac_includes_default
   3760 int
   3761 main ()
   3762 {
   3763 #ifndef __UCLIBC__
   3764   char *p = (char *) __UCLIBC__;
   3765 #endif
   3766 
   3767   ;
   3768   return 0;
   3769 }
   3770 _ACEOF
   3771 rm -f conftest.$ac_objext
   3772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3773   (eval $ac_compile) 2>conftest.er1
   3774   ac_status=$?
   3775   grep -v '^ *+' conftest.er1 >conftest.err
   3776   rm -f conftest.er1
   3777   cat conftest.err >&5
   3778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3779   (exit $ac_status); } &&
   3780 	 { ac_try='test -z "$ac_c_werror_flag"
   3781 			 || test ! -s conftest.err'
   3782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3783   (eval $ac_try) 2>&5
   3784   ac_status=$?
   3785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3786   (exit $ac_status); }; } &&
   3787 	 { ac_try='test -s conftest.$ac_objext'
   3788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3789   (eval $ac_try) 2>&5
   3790   ac_status=$?
   3791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3792   (exit $ac_status); }; }; then
   3793   ac_cv_have_decl___UCLIBC__=yes
   3794 else
   3795   echo "$as_me: failed program was:" >&5
   3796 sed 's/^/| /' conftest.$ac_ext >&5
   3797 
   3798 ac_cv_have_decl___UCLIBC__=no
   3799 fi
   3800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3801 fi
   3802 echo "$as_me:$LINENO: result: $ac_cv_have_decl___UCLIBC__" >&5
   3803 echo "${ECHO_T}$ac_cv_have_decl___UCLIBC__" >&6
   3804 if test $ac_cv_have_decl___UCLIBC__ = yes; then
   3805 
   3806 	no_loginfunc_check=1
   3807 	{ echo "$as_me:$LINENO: Using uClibc - login() and logout() probably don't work, so we won't use them." >&5
   3808 echo "$as_me: Using uClibc - login() and logout() probably don't work, so we won't use them." >&6;}
   3809 
   3810 fi
   3811 
   3812 
   3813 # Checks for libraries.
   3814 echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
   3815 echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
   3816 if test "${ac_cv_lib_crypt_crypt+set}" = set; then
   3817   echo $ECHO_N "(cached) $ECHO_C" >&6
   3818 else
   3819   ac_check_lib_save_LIBS=$LIBS
   3820 LIBS="-lcrypt  $LIBS"
   3821 cat >conftest.$ac_ext <<_ACEOF
   3822 /* confdefs.h.  */
   3823 _ACEOF
   3824 cat confdefs.h >>conftest.$ac_ext
   3825 cat >>conftest.$ac_ext <<_ACEOF
   3826 /* end confdefs.h.  */
   3827 
   3828 /* Override any gcc2 internal prototype to avoid an error.  */
   3829 #ifdef __cplusplus
   3830 extern "C"
   3831 #endif
   3832 /* We use char because int might match the return type of a gcc2
   3833    builtin and then its argument prototype would still apply.  */
   3834 char crypt ();
   3835 int
   3836 main ()
   3837 {
   3838 crypt ();
   3839   ;
   3840   return 0;
   3841 }
   3842 _ACEOF
   3843 rm -f conftest.$ac_objext conftest$ac_exeext
   3844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   3845   (eval $ac_link) 2>conftest.er1
   3846   ac_status=$?
   3847   grep -v '^ *+' conftest.er1 >conftest.err
   3848   rm -f conftest.er1
   3849   cat conftest.err >&5
   3850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3851   (exit $ac_status); } &&
   3852 	 { ac_try='test -z "$ac_c_werror_flag"
   3853 			 || test ! -s conftest.err'
   3854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3855   (eval $ac_try) 2>&5
   3856   ac_status=$?
   3857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3858   (exit $ac_status); }; } &&
   3859 	 { ac_try='test -s conftest$ac_exeext'
   3860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3861   (eval $ac_try) 2>&5
   3862   ac_status=$?
   3863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3864   (exit $ac_status); }; }; then
   3865   ac_cv_lib_crypt_crypt=yes
   3866 else
   3867   echo "$as_me: failed program was:" >&5
   3868 sed 's/^/| /' conftest.$ac_ext >&5
   3869 
   3870 ac_cv_lib_crypt_crypt=no
   3871 fi
   3872 rm -f conftest.err conftest.$ac_objext \
   3873       conftest$ac_exeext conftest.$ac_ext
   3874 LIBS=$ac_check_lib_save_LIBS
   3875 fi
   3876 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
   3877 echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
   3878 if test $ac_cv_lib_crypt_crypt = yes; then
   3879   LIBS="$LIBS -lcrypt"
   3880 fi
   3881 
   3882 
   3883 # Check if zlib is needed
   3884 
   3885 # Check whether --with-zlib or --without-zlib was given.
   3886 if test "${with_zlib+set}" = set; then
   3887   withval="$with_zlib"
   3888 
   3889 		# option is given
   3890 		if test -d "$withval/lib"; then
   3891 			LDFLAGS="-L${withval}/lib ${LDFLAGS}"
   3892 		else
   3893 			LDFLAGS="-L${withval} ${LDFLAGS}"
   3894 		fi
   3895 		if test -d "$withval/include"; then
   3896 			CPPFLAGS="-I${withval}/include ${CPPFLAGS}"
   3897 		else
   3898 			CPPFLAGS="-I${withval} ${CPPFLAGS}"
   3899 		fi
   3900 
   3901 
   3902 fi;
   3903 
   3904 # Check whether --enable-zlib or --disable-zlib was given.
   3905 if test "${enable_zlib+set}" = set; then
   3906   enableval="$enable_zlib"
   3907 
   3908 		if test "x$enableval" = "xno"; then
   3909 
   3910 cat >>confdefs.h <<\_ACEOF
   3911 #define DISABLE_ZLIB
   3912 _ACEOF
   3913 
   3914 			{ echo "$as_me:$LINENO: Disabling zlib" >&5
   3915 echo "$as_me: Disabling zlib" >&6;}
   3916 		else
   3917 
   3918 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
   3919 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
   3920 if test "${ac_cv_lib_z_deflate+set}" = set; then
   3921   echo $ECHO_N "(cached) $ECHO_C" >&6
   3922 else
   3923   ac_check_lib_save_LIBS=$LIBS
   3924 LIBS="-lz  $LIBS"
   3925 cat >conftest.$ac_ext <<_ACEOF
   3926 /* confdefs.h.  */
   3927 _ACEOF
   3928 cat confdefs.h >>conftest.$ac_ext
   3929 cat >>conftest.$ac_ext <<_ACEOF
   3930 /* end confdefs.h.  */
   3931 
   3932 /* Override any gcc2 internal prototype to avoid an error.  */
   3933 #ifdef __cplusplus
   3934 extern "C"
   3935 #endif
   3936 /* We use char because int might match the return type of a gcc2
   3937    builtin and then its argument prototype would still apply.  */
   3938 char deflate ();
   3939 int
   3940 main ()
   3941 {
   3942 deflate ();
   3943   ;
   3944   return 0;
   3945 }
   3946 _ACEOF
   3947 rm -f conftest.$ac_objext conftest$ac_exeext
   3948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   3949   (eval $ac_link) 2>conftest.er1
   3950   ac_status=$?
   3951   grep -v '^ *+' conftest.er1 >conftest.err
   3952   rm -f conftest.er1
   3953   cat conftest.err >&5
   3954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3955   (exit $ac_status); } &&
   3956 	 { ac_try='test -z "$ac_c_werror_flag"
   3957 			 || test ! -s conftest.err'
   3958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3959   (eval $ac_try) 2>&5
   3960   ac_status=$?
   3961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3962   (exit $ac_status); }; } &&
   3963 	 { ac_try='test -s conftest$ac_exeext'
   3964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3965   (eval $ac_try) 2>&5
   3966   ac_status=$?
   3967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3968   (exit $ac_status); }; }; then
   3969   ac_cv_lib_z_deflate=yes
   3970 else
   3971   echo "$as_me: failed program was:" >&5
   3972 sed 's/^/| /' conftest.$ac_ext >&5
   3973 
   3974 ac_cv_lib_z_deflate=no
   3975 fi
   3976 rm -f conftest.err conftest.$ac_objext \
   3977       conftest$ac_exeext conftest.$ac_ext
   3978 LIBS=$ac_check_lib_save_LIBS
   3979 fi
   3980 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
   3981 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
   3982 if test $ac_cv_lib_z_deflate = yes; then
   3983   cat >>confdefs.h <<_ACEOF
   3984 #define HAVE_LIBZ 1
   3985 _ACEOF
   3986 
   3987   LIBS="-lz $LIBS"
   3988 
   3989 else
   3990   { { echo "$as_me:$LINENO: error: *** zlib missing - install first or check config.log ***" >&5
   3991 echo "$as_me: error: *** zlib missing - install first or check config.log ***" >&2;}
   3992    { (exit 1); exit 1; }; }
   3993 fi
   3994 
   3995 			{ echo "$as_me:$LINENO: Enabling zlib" >&5
   3996 echo "$as_me: Enabling zlib" >&6;}
   3997 		fi
   3998 
   3999 else
   4000 
   4001 		# if not disabled, check for zlib
   4002 
   4003 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
   4004 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
   4005 if test "${ac_cv_lib_z_deflate+set}" = set; then
   4006   echo $ECHO_N "(cached) $ECHO_C" >&6
   4007 else
   4008   ac_check_lib_save_LIBS=$LIBS
   4009 LIBS="-lz  $LIBS"
   4010 cat >conftest.$ac_ext <<_ACEOF
   4011 /* confdefs.h.  */
   4012 _ACEOF
   4013 cat confdefs.h >>conftest.$ac_ext
   4014 cat >>conftest.$ac_ext <<_ACEOF
   4015 /* end confdefs.h.  */
   4016 
   4017 /* Override any gcc2 internal prototype to avoid an error.  */
   4018 #ifdef __cplusplus
   4019 extern "C"
   4020 #endif
   4021 /* We use char because int might match the return type of a gcc2
   4022    builtin and then its argument prototype would still apply.  */
   4023 char deflate ();
   4024 int
   4025 main ()
   4026 {
   4027 deflate ();
   4028   ;
   4029   return 0;
   4030 }
   4031 _ACEOF
   4032 rm -f conftest.$ac_objext conftest$ac_exeext
   4033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4034   (eval $ac_link) 2>conftest.er1
   4035   ac_status=$?
   4036   grep -v '^ *+' conftest.er1 >conftest.err
   4037   rm -f conftest.er1
   4038   cat conftest.err >&5
   4039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4040   (exit $ac_status); } &&
   4041 	 { ac_try='test -z "$ac_c_werror_flag"
   4042 			 || test ! -s conftest.err'
   4043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4044   (eval $ac_try) 2>&5
   4045   ac_status=$?
   4046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4047   (exit $ac_status); }; } &&
   4048 	 { ac_try='test -s conftest$ac_exeext'
   4049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4050   (eval $ac_try) 2>&5
   4051   ac_status=$?
   4052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4053   (exit $ac_status); }; }; then
   4054   ac_cv_lib_z_deflate=yes
   4055 else
   4056   echo "$as_me: failed program was:" >&5
   4057 sed 's/^/| /' conftest.$ac_ext >&5
   4058 
   4059 ac_cv_lib_z_deflate=no
   4060 fi
   4061 rm -f conftest.err conftest.$ac_objext \
   4062       conftest$ac_exeext conftest.$ac_ext
   4063 LIBS=$ac_check_lib_save_LIBS
   4064 fi
   4065 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
   4066 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
   4067 if test $ac_cv_lib_z_deflate = yes; then
   4068   cat >>confdefs.h <<_ACEOF
   4069 #define HAVE_LIBZ 1
   4070 _ACEOF
   4071 
   4072   LIBS="-lz $LIBS"
   4073 
   4074 else
   4075   { { echo "$as_me:$LINENO: error: *** zlib missing - install first or check config.log ***" >&5
   4076 echo "$as_me: error: *** zlib missing - install first or check config.log ***" >&2;}
   4077    { (exit 1); exit 1; }; }
   4078 fi
   4079 
   4080 		{ echo "$as_me:$LINENO: Enabling zlib" >&5
   4081 echo "$as_me: Enabling zlib" >&6;}
   4082 
   4083 
   4084 fi;
   4085 
   4086 # Check if pam is needed
   4087 
   4088 # Check whether --with-pam or --without-pam was given.
   4089 if test "${with_pam+set}" = set; then
   4090   withval="$with_pam"
   4091 
   4092 		# option is given
   4093 		if test -d "$withval/lib"; then
   4094 			LDFLAGS="-L${withval}/lib ${LDFLAGS}"
   4095 		else
   4096 			LDFLAGS="-L${withval} ${LDFLAGS}"
   4097 		fi
   4098 		if test -d "$withval/include"; then
   4099 			CPPFLAGS="-I${withval}/include ${CPPFLAGS}"
   4100 		else
   4101 			CPPFLAGS="-I${withval} ${CPPFLAGS}"
   4102 		fi
   4103 
   4104 
   4105 fi;
   4106 
   4107 
   4108 # Check whether --enable-pam or --disable-pam was given.
   4109 if test "${enable_pam+set}" = set; then
   4110   enableval="$enable_pam"
   4111 
   4112 		if test "x$enableval" = "xyes"; then
   4113 
   4114 echo "$as_me:$LINENO: checking for pam_authenticate in -lpam" >&5
   4115 echo $ECHO_N "checking for pam_authenticate in -lpam... $ECHO_C" >&6
   4116 if test "${ac_cv_lib_pam_pam_authenticate+set}" = set; then
   4117   echo $ECHO_N "(cached) $ECHO_C" >&6
   4118 else
   4119   ac_check_lib_save_LIBS=$LIBS
   4120 LIBS="-lpam  $LIBS"
   4121 cat >conftest.$ac_ext <<_ACEOF
   4122 /* confdefs.h.  */
   4123 _ACEOF
   4124 cat confdefs.h >>conftest.$ac_ext
   4125 cat >>conftest.$ac_ext <<_ACEOF
   4126 /* end confdefs.h.  */
   4127 
   4128 /* Override any gcc2 internal prototype to avoid an error.  */
   4129 #ifdef __cplusplus
   4130 extern "C"
   4131 #endif
   4132 /* We use char because int might match the return type of a gcc2
   4133    builtin and then its argument prototype would still apply.  */
   4134 char pam_authenticate ();
   4135 int
   4136 main ()
   4137 {
   4138 pam_authenticate ();
   4139   ;
   4140   return 0;
   4141 }
   4142 _ACEOF
   4143 rm -f conftest.$ac_objext conftest$ac_exeext
   4144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4145   (eval $ac_link) 2>conftest.er1
   4146   ac_status=$?
   4147   grep -v '^ *+' conftest.er1 >conftest.err
   4148   rm -f conftest.er1
   4149   cat conftest.err >&5
   4150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4151   (exit $ac_status); } &&
   4152 	 { ac_try='test -z "$ac_c_werror_flag"
   4153 			 || test ! -s conftest.err'
   4154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4155   (eval $ac_try) 2>&5
   4156   ac_status=$?
   4157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4158   (exit $ac_status); }; } &&
   4159 	 { ac_try='test -s conftest$ac_exeext'
   4160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4161   (eval $ac_try) 2>&5
   4162   ac_status=$?
   4163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4164   (exit $ac_status); }; }; then
   4165   ac_cv_lib_pam_pam_authenticate=yes
   4166 else
   4167   echo "$as_me: failed program was:" >&5
   4168 sed 's/^/| /' conftest.$ac_ext >&5
   4169 
   4170 ac_cv_lib_pam_pam_authenticate=no
   4171 fi
   4172 rm -f conftest.err conftest.$ac_objext \
   4173       conftest$ac_exeext conftest.$ac_ext
   4174 LIBS=$ac_check_lib_save_LIBS
   4175 fi
   4176 echo "$as_me:$LINENO: result: $ac_cv_lib_pam_pam_authenticate" >&5
   4177 echo "${ECHO_T}$ac_cv_lib_pam_pam_authenticate" >&6
   4178 if test $ac_cv_lib_pam_pam_authenticate = yes; then
   4179   cat >>confdefs.h <<_ACEOF
   4180 #define HAVE_LIBPAM 1
   4181 _ACEOF
   4182 
   4183   LIBS="-lpam $LIBS"
   4184 
   4185 else
   4186   { { echo "$as_me:$LINENO: error: *** PAM missing - install first or check config.log ***" >&5
   4187 echo "$as_me: error: *** PAM missing - install first or check config.log ***" >&2;}
   4188    { (exit 1); exit 1; }; }
   4189 fi
   4190 
   4191 			{ echo "$as_me:$LINENO: Enabling PAM" >&5
   4192 echo "$as_me: Enabling PAM" >&6;}
   4193 		else
   4194 
   4195 cat >>confdefs.h <<\_ACEOF
   4196 #define DISABLE_PAM
   4197 _ACEOF
   4198 
   4199 			{ echo "$as_me:$LINENO: Disabling PAM" >&5
   4200 echo "$as_me: Disabling PAM" >&6;}
   4201 		fi
   4202 
   4203 else
   4204 
   4205 		# disable it by default
   4206 
   4207 cat >>confdefs.h <<\_ACEOF
   4208 #define DISABLE_PAM
   4209 _ACEOF
   4210 
   4211 		{ echo "$as_me:$LINENO: Disabling PAM" >&5
   4212 echo "$as_me: Disabling PAM" >&6;}
   4213 
   4214 
   4215 fi;
   4216 
   4217 # Check whether --enable-openpty or --disable-openpty was given.
   4218 if test "${enable_openpty+set}" = set; then
   4219   enableval="$enable_openpty"
   4220 
   4221 		if test "x$enableval" = "xno"; then
   4222 			{ echo "$as_me:$LINENO: Not using openpty" >&5
   4223 echo "$as_me: Not using openpty" >&6;}
   4224 		else
   4225 			{ echo "$as_me:$LINENO: Using openpty if available" >&5
   4226 echo "$as_me: Using openpty if available" >&6;}
   4227 			echo "$as_me:$LINENO: checking for library containing openpty" >&5
   4228 echo $ECHO_N "checking for library containing openpty... $ECHO_C" >&6
   4229 if test "${ac_cv_search_openpty+set}" = set; then
   4230   echo $ECHO_N "(cached) $ECHO_C" >&6
   4231 else
   4232   ac_func_search_save_LIBS=$LIBS
   4233 ac_cv_search_openpty=no
   4234 cat >conftest.$ac_ext <<_ACEOF
   4235 /* confdefs.h.  */
   4236 _ACEOF
   4237 cat confdefs.h >>conftest.$ac_ext
   4238 cat >>conftest.$ac_ext <<_ACEOF
   4239 /* end confdefs.h.  */
   4240 
   4241 /* Override any gcc2 internal prototype to avoid an error.  */
   4242 #ifdef __cplusplus
   4243 extern "C"
   4244 #endif
   4245 /* We use char because int might match the return type of a gcc2
   4246    builtin and then its argument prototype would still apply.  */
   4247 char openpty ();
   4248 int
   4249 main ()
   4250 {
   4251 openpty ();
   4252   ;
   4253   return 0;
   4254 }
   4255 _ACEOF
   4256 rm -f conftest.$ac_objext conftest$ac_exeext
   4257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4258   (eval $ac_link) 2>conftest.er1
   4259   ac_status=$?
   4260   grep -v '^ *+' conftest.er1 >conftest.err
   4261   rm -f conftest.er1
   4262   cat conftest.err >&5
   4263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4264   (exit $ac_status); } &&
   4265 	 { ac_try='test -z "$ac_c_werror_flag"
   4266 			 || test ! -s conftest.err'
   4267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4268   (eval $ac_try) 2>&5
   4269   ac_status=$?
   4270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4271   (exit $ac_status); }; } &&
   4272 	 { ac_try='test -s conftest$ac_exeext'
   4273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4274   (eval $ac_try) 2>&5
   4275   ac_status=$?
   4276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4277   (exit $ac_status); }; }; then
   4278   ac_cv_search_openpty="none required"
   4279 else
   4280   echo "$as_me: failed program was:" >&5
   4281 sed 's/^/| /' conftest.$ac_ext >&5
   4282 
   4283 fi
   4284 rm -f conftest.err conftest.$ac_objext \
   4285       conftest$ac_exeext conftest.$ac_ext
   4286 if test "$ac_cv_search_openpty" = no; then
   4287   for ac_lib in util; do
   4288     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   4289     cat >conftest.$ac_ext <<_ACEOF
   4290 /* confdefs.h.  */
   4291 _ACEOF
   4292 cat confdefs.h >>conftest.$ac_ext
   4293 cat >>conftest.$ac_ext <<_ACEOF
   4294 /* end confdefs.h.  */
   4295 
   4296 /* Override any gcc2 internal prototype to avoid an error.  */
   4297 #ifdef __cplusplus
   4298 extern "C"
   4299 #endif
   4300 /* We use char because int might match the return type of a gcc2
   4301    builtin and then its argument prototype would still apply.  */
   4302 char openpty ();
   4303 int
   4304 main ()
   4305 {
   4306 openpty ();
   4307   ;
   4308   return 0;
   4309 }
   4310 _ACEOF
   4311 rm -f conftest.$ac_objext conftest$ac_exeext
   4312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4313   (eval $ac_link) 2>conftest.er1
   4314   ac_status=$?
   4315   grep -v '^ *+' conftest.er1 >conftest.err
   4316   rm -f conftest.er1
   4317   cat conftest.err >&5
   4318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4319   (exit $ac_status); } &&
   4320 	 { ac_try='test -z "$ac_c_werror_flag"
   4321 			 || test ! -s conftest.err'
   4322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4323   (eval $ac_try) 2>&5
   4324   ac_status=$?
   4325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4326   (exit $ac_status); }; } &&
   4327 	 { ac_try='test -s conftest$ac_exeext'
   4328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4329   (eval $ac_try) 2>&5
   4330   ac_status=$?
   4331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4332   (exit $ac_status); }; }; then
   4333   ac_cv_search_openpty="-l$ac_lib"
   4334 break
   4335 else
   4336   echo "$as_me: failed program was:" >&5
   4337 sed 's/^/| /' conftest.$ac_ext >&5
   4338 
   4339 fi
   4340 rm -f conftest.err conftest.$ac_objext \
   4341       conftest$ac_exeext conftest.$ac_ext
   4342   done
   4343 fi
   4344 LIBS=$ac_func_search_save_LIBS
   4345 fi
   4346 echo "$as_me:$LINENO: result: $ac_cv_search_openpty" >&5
   4347 echo "${ECHO_T}$ac_cv_search_openpty" >&6
   4348 if test "$ac_cv_search_openpty" != no; then
   4349   test "$ac_cv_search_openpty" = "none required" || LIBS="$ac_cv_search_openpty $LIBS"
   4350 
   4351 cat >>confdefs.h <<\_ACEOF
   4352 #define HAVE_OPENPTY
   4353 _ACEOF
   4354 
   4355 fi
   4356 
   4357 		fi
   4358 
   4359 else
   4360 
   4361 		{ echo "$as_me:$LINENO: Using openpty if available" >&5
   4362 echo "$as_me: Using openpty if available" >&6;}
   4363 		echo "$as_me:$LINENO: checking for library containing openpty" >&5
   4364 echo $ECHO_N "checking for library containing openpty... $ECHO_C" >&6
   4365 if test "${ac_cv_search_openpty+set}" = set; then
   4366   echo $ECHO_N "(cached) $ECHO_C" >&6
   4367 else
   4368   ac_func_search_save_LIBS=$LIBS
   4369 ac_cv_search_openpty=no
   4370 cat >conftest.$ac_ext <<_ACEOF
   4371 /* confdefs.h.  */
   4372 _ACEOF
   4373 cat confdefs.h >>conftest.$ac_ext
   4374 cat >>conftest.$ac_ext <<_ACEOF
   4375 /* end confdefs.h.  */
   4376 
   4377 /* Override any gcc2 internal prototype to avoid an error.  */
   4378 #ifdef __cplusplus
   4379 extern "C"
   4380 #endif
   4381 /* We use char because int might match the return type of a gcc2
   4382    builtin and then its argument prototype would still apply.  */
   4383 char openpty ();
   4384 int
   4385 main ()
   4386 {
   4387 openpty ();
   4388   ;
   4389   return 0;
   4390 }
   4391 _ACEOF
   4392 rm -f conftest.$ac_objext conftest$ac_exeext
   4393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4394   (eval $ac_link) 2>conftest.er1
   4395   ac_status=$?
   4396   grep -v '^ *+' conftest.er1 >conftest.err
   4397   rm -f conftest.er1
   4398   cat conftest.err >&5
   4399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4400   (exit $ac_status); } &&
   4401 	 { ac_try='test -z "$ac_c_werror_flag"
   4402 			 || test ! -s conftest.err'
   4403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4404   (eval $ac_try) 2>&5
   4405   ac_status=$?
   4406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4407   (exit $ac_status); }; } &&
   4408 	 { ac_try='test -s conftest$ac_exeext'
   4409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4410   (eval $ac_try) 2>&5
   4411   ac_status=$?
   4412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4413   (exit $ac_status); }; }; then
   4414   ac_cv_search_openpty="none required"
   4415 else
   4416   echo "$as_me: failed program was:" >&5
   4417 sed 's/^/| /' conftest.$ac_ext >&5
   4418 
   4419 fi
   4420 rm -f conftest.err conftest.$ac_objext \
   4421       conftest$ac_exeext conftest.$ac_ext
   4422 if test "$ac_cv_search_openpty" = no; then
   4423   for ac_lib in util; do
   4424     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   4425     cat >conftest.$ac_ext <<_ACEOF
   4426 /* confdefs.h.  */
   4427 _ACEOF
   4428 cat confdefs.h >>conftest.$ac_ext
   4429 cat >>conftest.$ac_ext <<_ACEOF
   4430 /* end confdefs.h.  */
   4431 
   4432 /* Override any gcc2 internal prototype to avoid an error.  */
   4433 #ifdef __cplusplus
   4434 extern "C"
   4435 #endif
   4436 /* We use char because int might match the return type of a gcc2
   4437    builtin and then its argument prototype would still apply.  */
   4438 char openpty ();
   4439 int
   4440 main ()
   4441 {
   4442 openpty ();
   4443   ;
   4444   return 0;
   4445 }
   4446 _ACEOF
   4447 rm -f conftest.$ac_objext conftest$ac_exeext
   4448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4449   (eval $ac_link) 2>conftest.er1
   4450   ac_status=$?
   4451   grep -v '^ *+' conftest.er1 >conftest.err
   4452   rm -f conftest.er1
   4453   cat conftest.err >&5
   4454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4455   (exit $ac_status); } &&
   4456 	 { ac_try='test -z "$ac_c_werror_flag"
   4457 			 || test ! -s conftest.err'
   4458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4459   (eval $ac_try) 2>&5
   4460   ac_status=$?
   4461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4462   (exit $ac_status); }; } &&
   4463 	 { ac_try='test -s conftest$ac_exeext'
   4464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4465   (eval $ac_try) 2>&5
   4466   ac_status=$?
   4467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4468   (exit $ac_status); }; }; then
   4469   ac_cv_search_openpty="-l$ac_lib"
   4470 break
   4471 else
   4472   echo "$as_me: failed program was:" >&5
   4473 sed 's/^/| /' conftest.$ac_ext >&5
   4474 
   4475 fi
   4476 rm -f conftest.err conftest.$ac_objext \
   4477       conftest$ac_exeext conftest.$ac_ext
   4478   done
   4479 fi
   4480 LIBS=$ac_func_search_save_LIBS
   4481 fi
   4482 echo "$as_me:$LINENO: result: $ac_cv_search_openpty" >&5
   4483 echo "${ECHO_T}$ac_cv_search_openpty" >&6
   4484 if test "$ac_cv_search_openpty" != no; then
   4485   test "$ac_cv_search_openpty" = "none required" || LIBS="$ac_cv_search_openpty $LIBS"
   4486   cat >>confdefs.h <<\_ACEOF
   4487 #define HAVE_OPENPTY 1
   4488 _ACEOF
   4489 
   4490 fi
   4491 
   4492 
   4493 
   4494 fi;
   4495 
   4496 
   4497 # Check whether --enable-syslog or --disable-syslog was given.
   4498 if test "${enable_syslog+set}" = set; then
   4499   enableval="$enable_syslog"
   4500 
   4501 		if test "x$enableval" = "xno"; then
   4502 
   4503 cat >>confdefs.h <<\_ACEOF
   4504 #define DISABLE_SYSLOG
   4505 _ACEOF
   4506 
   4507 			{ echo "$as_me:$LINENO: Disabling syslog" >&5
   4508 echo "$as_me: Disabling syslog" >&6;}
   4509 		else
   4510 			{ echo "$as_me:$LINENO: Enabling syslog" >&5
   4511 echo "$as_me: Enabling syslog" >&6;}
   4512 		fi
   4513 
   4514 else
   4515 
   4516 		{ echo "$as_me:$LINENO: Enabling syslog" >&5
   4517 echo "$as_me: Enabling syslog" >&6;}
   4518 
   4519 
   4520 fi;
   4521 
   4522 # Check whether --enable-shadow or --disable-shadow was given.
   4523 if test "${enable_shadow+set}" = set; then
   4524   enableval="$enable_shadow"
   4525 
   4526 		if test "x$enableval" = "xno"; then
   4527 			{ echo "$as_me:$LINENO: Not using shadow passwords" >&5
   4528 echo "$as_me: Not using shadow passwords" >&6;}
   4529 		else
   4530 
   4531 for ac_header in shadow.h
   4532 do
   4533 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4534 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   4535   echo "$as_me:$LINENO: checking for $ac_header" >&5
   4536 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   4537 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   4538   echo $ECHO_N "(cached) $ECHO_C" >&6
   4539 fi
   4540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   4541 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   4542 else
   4543   # Is the header compilable?
   4544 echo "$as_me:$LINENO: checking $ac_header usability" >&5
   4545 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   4546 cat >conftest.$ac_ext <<_ACEOF
   4547 /* confdefs.h.  */
   4548 _ACEOF
   4549 cat confdefs.h >>conftest.$ac_ext
   4550 cat >>conftest.$ac_ext <<_ACEOF
   4551 /* end confdefs.h.  */
   4552 $ac_includes_default
   4553 #include <$ac_header>
   4554 _ACEOF
   4555 rm -f conftest.$ac_objext
   4556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4557   (eval $ac_compile) 2>conftest.er1
   4558   ac_status=$?
   4559   grep -v '^ *+' conftest.er1 >conftest.err
   4560   rm -f conftest.er1
   4561   cat conftest.err >&5
   4562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4563   (exit $ac_status); } &&
   4564 	 { ac_try='test -z "$ac_c_werror_flag"
   4565 			 || test ! -s conftest.err'
   4566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4567   (eval $ac_try) 2>&5
   4568   ac_status=$?
   4569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4570   (exit $ac_status); }; } &&
   4571 	 { ac_try='test -s conftest.$ac_objext'
   4572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4573   (eval $ac_try) 2>&5
   4574   ac_status=$?
   4575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4576   (exit $ac_status); }; }; then
   4577   ac_header_compiler=yes
   4578 else
   4579   echo "$as_me: failed program was:" >&5
   4580 sed 's/^/| /' conftest.$ac_ext >&5
   4581 
   4582 ac_header_compiler=no
   4583 fi
   4584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4585 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   4586 echo "${ECHO_T}$ac_header_compiler" >&6
   4587 
   4588 # Is the header present?
   4589 echo "$as_me:$LINENO: checking $ac_header presence" >&5
   4590 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   4591 cat >conftest.$ac_ext <<_ACEOF
   4592 /* confdefs.h.  */
   4593 _ACEOF
   4594 cat confdefs.h >>conftest.$ac_ext
   4595 cat >>conftest.$ac_ext <<_ACEOF
   4596 /* end confdefs.h.  */
   4597 #include <$ac_header>
   4598 _ACEOF
   4599 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   4600   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4601   ac_status=$?
   4602   grep -v '^ *+' conftest.er1 >conftest.err
   4603   rm -f conftest.er1
   4604   cat conftest.err >&5
   4605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4606   (exit $ac_status); } >/dev/null; then
   4607   if test -s conftest.err; then
   4608     ac_cpp_err=$ac_c_preproc_warn_flag
   4609     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4610   else
   4611     ac_cpp_err=
   4612   fi
   4613 else
   4614   ac_cpp_err=yes
   4615 fi
   4616 if test -z "$ac_cpp_err"; then
   4617   ac_header_preproc=yes
   4618 else
   4619   echo "$as_me: failed program was:" >&5
   4620 sed 's/^/| /' conftest.$ac_ext >&5
   4621 
   4622   ac_header_preproc=no
   4623 fi
   4624 rm -f conftest.err conftest.$ac_ext
   4625 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   4626 echo "${ECHO_T}$ac_header_preproc" >&6
   4627 
   4628 # So?  What about this header?
   4629 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   4630   yes:no: )
   4631     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   4632 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   4633     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   4634 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   4635     ac_header_preproc=yes
   4636     ;;
   4637   no:yes:* )
   4638     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   4639 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   4640     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   4641 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   4642     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   4643 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   4644     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   4645 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   4646     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   4647 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   4648     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   4649 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   4650     (
   4651       cat <<\_ASBOX
   4652 ## ------------------------------------------ ##
   4653 ## Report this to the AC_PACKAGE_NAME lists.  ##
   4654 ## ------------------------------------------ ##
   4655 _ASBOX
   4656     ) |
   4657       sed "s/^/$as_me: WARNING:     /" >&2
   4658     ;;
   4659 esac
   4660 echo "$as_me:$LINENO: checking for $ac_header" >&5
   4661 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   4662 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   4663   echo $ECHO_N "(cached) $ECHO_C" >&6
   4664 else
   4665   eval "$as_ac_Header=\$ac_header_preproc"
   4666 fi
   4667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   4668 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   4669 
   4670 fi
   4671 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   4672   cat >>confdefs.h <<_ACEOF
   4673 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4674 _ACEOF
   4675 
   4676 fi
   4677 
   4678 done
   4679 
   4680 			{ echo "$as_me:$LINENO: Using shadow passwords if available" >&5
   4681 echo "$as_me: Using shadow passwords if available" >&6;}
   4682 		fi
   4683 
   4684 else
   4685 
   4686 
   4687 for ac_header in shadow.h
   4688 do
   4689 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4690 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   4691   echo "$as_me:$LINENO: checking for $ac_header" >&5
   4692 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   4693 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   4694   echo $ECHO_N "(cached) $ECHO_C" >&6
   4695 fi
   4696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   4697 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   4698 else
   4699   # Is the header compilable?
   4700 echo "$as_me:$LINENO: checking $ac_header usability" >&5
   4701 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   4702 cat >conftest.$ac_ext <<_ACEOF
   4703 /* confdefs.h.  */
   4704 _ACEOF
   4705 cat confdefs.h >>conftest.$ac_ext
   4706 cat >>conftest.$ac_ext <<_ACEOF
   4707 /* end confdefs.h.  */
   4708 $ac_includes_default
   4709 #include <$ac_header>
   4710 _ACEOF
   4711 rm -f conftest.$ac_objext
   4712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4713   (eval $ac_compile) 2>conftest.er1
   4714   ac_status=$?
   4715   grep -v '^ *+' conftest.er1 >conftest.err
   4716   rm -f conftest.er1
   4717   cat conftest.err >&5
   4718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4719   (exit $ac_status); } &&
   4720 	 { ac_try='test -z "$ac_c_werror_flag"
   4721 			 || test ! -s conftest.err'
   4722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4723   (eval $ac_try) 2>&5
   4724   ac_status=$?
   4725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4726   (exit $ac_status); }; } &&
   4727 	 { ac_try='test -s conftest.$ac_objext'
   4728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4729   (eval $ac_try) 2>&5
   4730   ac_status=$?
   4731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4732   (exit $ac_status); }; }; then
   4733   ac_header_compiler=yes
   4734 else
   4735   echo "$as_me: failed program was:" >&5
   4736 sed 's/^/| /' conftest.$ac_ext >&5
   4737 
   4738 ac_header_compiler=no
   4739 fi
   4740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4741 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   4742 echo "${ECHO_T}$ac_header_compiler" >&6
   4743 
   4744 # Is the header present?
   4745 echo "$as_me:$LINENO: checking $ac_header presence" >&5
   4746 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   4747 cat >conftest.$ac_ext <<_ACEOF
   4748 /* confdefs.h.  */
   4749 _ACEOF
   4750 cat confdefs.h >>conftest.$ac_ext
   4751 cat >>conftest.$ac_ext <<_ACEOF
   4752 /* end confdefs.h.  */
   4753 #include <$ac_header>
   4754 _ACEOF
   4755 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   4756   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4757   ac_status=$?
   4758   grep -v '^ *+' conftest.er1 >conftest.err
   4759   rm -f conftest.er1
   4760   cat conftest.err >&5
   4761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4762   (exit $ac_status); } >/dev/null; then
   4763   if test -s conftest.err; then
   4764     ac_cpp_err=$ac_c_preproc_warn_flag
   4765     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4766   else
   4767     ac_cpp_err=
   4768   fi
   4769 else
   4770   ac_cpp_err=yes
   4771 fi
   4772 if test -z "$ac_cpp_err"; then
   4773   ac_header_preproc=yes
   4774 else
   4775   echo "$as_me: failed program was:" >&5
   4776 sed 's/^/| /' conftest.$ac_ext >&5
   4777 
   4778   ac_header_preproc=no
   4779 fi
   4780 rm -f conftest.err conftest.$ac_ext
   4781 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   4782 echo "${ECHO_T}$ac_header_preproc" >&6
   4783 
   4784 # So?  What about this header?
   4785 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   4786   yes:no: )
   4787     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   4788 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   4789     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   4790 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   4791     ac_header_preproc=yes
   4792     ;;
   4793   no:yes:* )
   4794     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   4795 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   4796     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   4797 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   4798     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   4799 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   4800     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   4801 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   4802     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   4803 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   4804     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   4805 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   4806     (
   4807       cat <<\_ASBOX
   4808 ## ------------------------------------------ ##
   4809 ## Report this to the AC_PACKAGE_NAME lists.  ##
   4810 ## ------------------------------------------ ##
   4811 _ASBOX
   4812     ) |
   4813       sed "s/^/$as_me: WARNING:     /" >&2
   4814     ;;
   4815 esac
   4816 echo "$as_me:$LINENO: checking for $ac_header" >&5
   4817 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   4818 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   4819   echo $ECHO_N "(cached) $ECHO_C" >&6
   4820 else
   4821   eval "$as_ac_Header=\$ac_header_preproc"
   4822 fi
   4823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   4824 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   4825 
   4826 fi
   4827 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   4828   cat >>confdefs.h <<_ACEOF
   4829 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4830 _ACEOF
   4831 
   4832 fi
   4833 
   4834 done
   4835 
   4836 		{ echo "$as_me:$LINENO: Using shadow passwords if available" >&5
   4837 echo "$as_me: Using shadow passwords if available" >&6;}
   4838 
   4839 
   4840 fi;
   4841 
   4842 
   4843 # Checks for header files.
   4844 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4845 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
   4846 if test "${ac_cv_header_stdc+set}" = set; then
   4847   echo $ECHO_N "(cached) $ECHO_C" >&6
   4848 else
   4849   cat >conftest.$ac_ext <<_ACEOF
   4850 /* confdefs.h.  */
   4851 _ACEOF
   4852 cat confdefs.h >>conftest.$ac_ext
   4853 cat >>conftest.$ac_ext <<_ACEOF
   4854 /* end confdefs.h.  */
   4855 #include <stdlib.h>
   4856 #include <stdarg.h>
   4857 #include <string.h>
   4858 #include <float.h>
   4859 
   4860 int
   4861 main ()
   4862 {
   4863 
   4864   ;
   4865   return 0;
   4866 }
   4867 _ACEOF
   4868 rm -f conftest.$ac_objext
   4869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4870   (eval $ac_compile) 2>conftest.er1
   4871   ac_status=$?
   4872   grep -v '^ *+' conftest.er1 >conftest.err
   4873   rm -f conftest.er1
   4874   cat conftest.err >&5
   4875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4876   (exit $ac_status); } &&
   4877 	 { ac_try='test -z "$ac_c_werror_flag"
   4878 			 || test ! -s conftest.err'
   4879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4880   (eval $ac_try) 2>&5
   4881   ac_status=$?
   4882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4883   (exit $ac_status); }; } &&
   4884 	 { ac_try='test -s conftest.$ac_objext'
   4885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4886   (eval $ac_try) 2>&5
   4887   ac_status=$?
   4888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4889   (exit $ac_status); }; }; then
   4890   ac_cv_header_stdc=yes
   4891 else
   4892   echo "$as_me: failed program was:" >&5
   4893 sed 's/^/| /' conftest.$ac_ext >&5
   4894 
   4895 ac_cv_header_stdc=no
   4896 fi
   4897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4898 
   4899 if test $ac_cv_header_stdc = yes; then
   4900   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4901   cat >conftest.$ac_ext <<_ACEOF
   4902 /* confdefs.h.  */
   4903 _ACEOF
   4904 cat confdefs.h >>conftest.$ac_ext
   4905 cat >>conftest.$ac_ext <<_ACEOF
   4906 /* end confdefs.h.  */
   4907 #include <string.h>
   4908 
   4909 _ACEOF
   4910 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4911   $EGREP "memchr" >/dev/null 2>&1; then
   4912   :
   4913 else
   4914   ac_cv_header_stdc=no
   4915 fi
   4916 rm -f conftest*
   4917 
   4918 fi
   4919 
   4920 if test $ac_cv_header_stdc = yes; then
   4921   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4922   cat >conftest.$ac_ext <<_ACEOF
   4923 /* confdefs.h.  */
   4924 _ACEOF
   4925 cat confdefs.h >>conftest.$ac_ext
   4926 cat >>conftest.$ac_ext <<_ACEOF
   4927 /* end confdefs.h.  */
   4928 #include <stdlib.h>
   4929 
   4930 _ACEOF
   4931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4932   $EGREP "free" >/dev/null 2>&1; then
   4933   :
   4934 else
   4935   ac_cv_header_stdc=no
   4936 fi
   4937 rm -f conftest*
   4938 
   4939 fi
   4940 
   4941 if test $ac_cv_header_stdc = yes; then
   4942   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4943   if test "$cross_compiling" = yes; then
   4944   :
   4945 else
   4946   cat >conftest.$ac_ext <<_ACEOF
   4947 /* confdefs.h.  */
   4948 _ACEOF
   4949 cat confdefs.h >>conftest.$ac_ext
   4950 cat >>conftest.$ac_ext <<_ACEOF
   4951 /* end confdefs.h.  */
   4952 #include <ctype.h>
   4953 #if ((' ' & 0x0FF) == 0x020)
   4954 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4955 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4956 #else
   4957 # define ISLOWER(c) \
   4958 		   (('a' <= (c) && (c) <= 'i') \
   4959 		     || ('j' <= (c) && (c) <= 'r') \
   4960 		     || ('s' <= (c) && (c) <= 'z'))
   4961 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4962 #endif
   4963 
   4964 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4965 int
   4966 main ()
   4967 {
   4968   int i;
   4969   for (i = 0; i < 256; i++)
   4970     if (XOR (islower (i), ISLOWER (i))
   4971 	|| toupper (i) != TOUPPER (i))
   4972       exit(2);
   4973   exit (0);
   4974 }
   4975 _ACEOF
   4976 rm -f conftest$ac_exeext
   4977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4978   (eval $ac_link) 2>&5
   4979   ac_status=$?
   4980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4981   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   4982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4983   (eval $ac_try) 2>&5
   4984   ac_status=$?
   4985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4986   (exit $ac_status); }; }; then
   4987   :
   4988 else
   4989   echo "$as_me: program exited with status $ac_status" >&5
   4990 echo "$as_me: failed program was:" >&5
   4991 sed 's/^/| /' conftest.$ac_ext >&5
   4992 
   4993 ( exit $ac_status )
   4994 ac_cv_header_stdc=no
   4995 fi
   4996 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   4997 fi
   4998 fi
   4999 fi
   5000 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   5001 echo "${ECHO_T}$ac_cv_header_stdc" >&6
   5002 if test $ac_cv_header_stdc = yes; then
   5003 
   5004 cat >>confdefs.h <<\_ACEOF
   5005 #define STDC_HEADERS 1
   5006 _ACEOF
   5007 
   5008 fi
   5009 
   5010 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
   5011 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
   5012 if test "${ac_cv_header_sys_wait_h+set}" = set; then
   5013   echo $ECHO_N "(cached) $ECHO_C" >&6
   5014 else
   5015   cat >conftest.$ac_ext <<_ACEOF
   5016 /* confdefs.h.  */
   5017 _ACEOF
   5018 cat confdefs.h >>conftest.$ac_ext
   5019 cat >>conftest.$ac_ext <<_ACEOF
   5020 /* end confdefs.h.  */
   5021 #include <sys/types.h>
   5022 #include <sys/wait.h>
   5023 #ifndef WEXITSTATUS
   5024 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
   5025 #endif
   5026 #ifndef WIFEXITED
   5027 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
   5028 #endif
   5029 
   5030 int
   5031 main ()
   5032 {
   5033   int s;
   5034   wait (&s);
   5035   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
   5036   ;
   5037   return 0;
   5038 }
   5039 _ACEOF
   5040 rm -f conftest.$ac_objext
   5041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5042   (eval $ac_compile) 2>conftest.er1
   5043   ac_status=$?
   5044   grep -v '^ *+' conftest.er1 >conftest.err
   5045   rm -f conftest.er1
   5046   cat conftest.err >&5
   5047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5048   (exit $ac_status); } &&
   5049 	 { ac_try='test -z "$ac_c_werror_flag"
   5050 			 || test ! -s conftest.err'
   5051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5052   (eval $ac_try) 2>&5
   5053   ac_status=$?
   5054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5055   (exit $ac_status); }; } &&
   5056 	 { ac_try='test -s conftest.$ac_objext'
   5057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5058   (eval $ac_try) 2>&5
   5059   ac_status=$?
   5060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5061   (exit $ac_status); }; }; then
   5062   ac_cv_header_sys_wait_h=yes
   5063 else
   5064   echo "$as_me: failed program was:" >&5
   5065 sed 's/^/| /' conftest.$ac_ext >&5
   5066 
   5067 ac_cv_header_sys_wait_h=no
   5068 fi
   5069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5070 fi
   5071 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
   5072 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
   5073 if test $ac_cv_header_sys_wait_h = yes; then
   5074 
   5075 cat >>confdefs.h <<\_ACEOF
   5076 #define HAVE_SYS_WAIT_H 1
   5077 _ACEOF
   5078 
   5079 fi
   5080 
   5081 
   5082 
   5083 
   5084 
   5085 
   5086 
   5087 
   5088 
   5089 
   5090 
   5091 
   5092 
   5093 
   5094 
   5095 
   5096 
   5097 
   5098 
   5099 
   5100 
   5101 
   5102 
   5103 
   5104 
   5105 
   5106 
   5107 for ac_header in fcntl.h limits.h netinet/in.h netinet/tcp.h stdlib.h string.h sys/socket.h sys/time.h termios.h unistd.h crypt.h pty.h ioctl.h libutil.h libgen.h inttypes.h stropts.h utmp.h utmpx.h lastlog.h paths.h util.h netdb.h security/pam_appl.h pam/pam_appl.h netinet/in_systm.h
   5108 do
   5109 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   5111   echo "$as_me:$LINENO: checking for $ac_header" >&5
   5112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   5113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   5114   echo $ECHO_N "(cached) $ECHO_C" >&6
   5115 fi
   5116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   5117 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   5118 else
   5119   # Is the header compilable?
   5120 echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5121 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   5122 cat >conftest.$ac_ext <<_ACEOF
   5123 /* confdefs.h.  */
   5124 _ACEOF
   5125 cat confdefs.h >>conftest.$ac_ext
   5126 cat >>conftest.$ac_ext <<_ACEOF
   5127 /* end confdefs.h.  */
   5128 $ac_includes_default
   5129 #include <$ac_header>
   5130 _ACEOF
   5131 rm -f conftest.$ac_objext
   5132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5133   (eval $ac_compile) 2>conftest.er1
   5134   ac_status=$?
   5135   grep -v '^ *+' conftest.er1 >conftest.err
   5136   rm -f conftest.er1
   5137   cat conftest.err >&5
   5138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5139   (exit $ac_status); } &&
   5140 	 { ac_try='test -z "$ac_c_werror_flag"
   5141 			 || test ! -s conftest.err'
   5142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5143   (eval $ac_try) 2>&5
   5144   ac_status=$?
   5145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5146   (exit $ac_status); }; } &&
   5147 	 { ac_try='test -s conftest.$ac_objext'
   5148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5149   (eval $ac_try) 2>&5
   5150   ac_status=$?
   5151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5152   (exit $ac_status); }; }; then
   5153   ac_header_compiler=yes
   5154 else
   5155   echo "$as_me: failed program was:" >&5
   5156 sed 's/^/| /' conftest.$ac_ext >&5
   5157 
   5158 ac_header_compiler=no
   5159 fi
   5160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5161 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5162 echo "${ECHO_T}$ac_header_compiler" >&6
   5163 
   5164 # Is the header present?
   5165 echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5166 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   5167 cat >conftest.$ac_ext <<_ACEOF
   5168 /* confdefs.h.  */
   5169 _ACEOF
   5170 cat confdefs.h >>conftest.$ac_ext
   5171 cat >>conftest.$ac_ext <<_ACEOF
   5172 /* end confdefs.h.  */
   5173 #include <$ac_header>
   5174 _ACEOF
   5175 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   5176   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   5177   ac_status=$?
   5178   grep -v '^ *+' conftest.er1 >conftest.err
   5179   rm -f conftest.er1
   5180   cat conftest.err >&5
   5181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5182   (exit $ac_status); } >/dev/null; then
   5183   if test -s conftest.err; then
   5184     ac_cpp_err=$ac_c_preproc_warn_flag
   5185     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   5186   else
   5187     ac_cpp_err=
   5188   fi
   5189 else
   5190   ac_cpp_err=yes
   5191 fi
   5192 if test -z "$ac_cpp_err"; then
   5193   ac_header_preproc=yes
   5194 else
   5195   echo "$as_me: failed program was:" >&5
   5196 sed 's/^/| /' conftest.$ac_ext >&5
   5197 
   5198   ac_header_preproc=no
   5199 fi
   5200 rm -f conftest.err conftest.$ac_ext
   5201 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5202 echo "${ECHO_T}$ac_header_preproc" >&6
   5203 
   5204 # So?  What about this header?
   5205 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5206   yes:no: )
   5207     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5208 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5209     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5210 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5211     ac_header_preproc=yes
   5212     ;;
   5213   no:yes:* )
   5214     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5215 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5216     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5217 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5218     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5219 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5220     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5221 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5222     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5223 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5224     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5225 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5226     (
   5227       cat <<\_ASBOX
   5228 ## ------------------------------------------ ##
   5229 ## Report this to the AC_PACKAGE_NAME lists.  ##
   5230 ## ------------------------------------------ ##
   5231 _ASBOX
   5232     ) |
   5233       sed "s/^/$as_me: WARNING:     /" >&2
   5234     ;;
   5235 esac
   5236 echo "$as_me:$LINENO: checking for $ac_header" >&5
   5237 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   5238 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   5239   echo $ECHO_N "(cached) $ECHO_C" >&6
   5240 else
   5241   eval "$as_ac_Header=\$ac_header_preproc"
   5242 fi
   5243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   5244 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   5245 
   5246 fi
   5247 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5248   cat >>confdefs.h <<_ACEOF
   5249 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5250 _ACEOF
   5251 
   5252 fi
   5253 
   5254 done
   5255 
   5256 
   5257 # Checks for typedefs, structures, and compiler characteristics.
   5258 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
   5259 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
   5260 if test "${ac_cv_c_const+set}" = set; then
   5261   echo $ECHO_N "(cached) $ECHO_C" >&6
   5262 else
   5263   cat >conftest.$ac_ext <<_ACEOF
   5264 /* confdefs.h.  */
   5265 _ACEOF
   5266 cat confdefs.h >>conftest.$ac_ext
   5267 cat >>conftest.$ac_ext <<_ACEOF
   5268 /* end confdefs.h.  */
   5269 
   5270 int
   5271 main ()
   5272 {
   5273 /* FIXME: Include the comments suggested by Paul. */
   5274 #ifndef __cplusplus
   5275   /* Ultrix mips cc rejects this.  */
   5276   typedef int charset[2];
   5277   const charset x;
   5278   /* SunOS 4.1.1 cc rejects this.  */
   5279   char const *const *ccp;
   5280   char **p;
   5281   /* NEC SVR4.0.2 mips cc rejects this.  */
   5282   struct point {int x, y;};
   5283   static struct point const zero = {0,0};
   5284   /* AIX XL C 1.02.0.0 rejects this.
   5285      It does not let you subtract one const X* pointer from another in
   5286      an arm of an if-expression whose if-part is not a constant
   5287      expression */
   5288   const char *g = "string";
   5289   ccp = &g + (g ? g-g : 0);
   5290   /* HPUX 7.0 cc rejects these. */
   5291   ++ccp;
   5292   p = (char**) ccp;
   5293   ccp = (char const *const *) p;
   5294   { /* SCO 3.2v4 cc rejects this.  */
   5295     char *t;
   5296     char const *s = 0 ? (char *) 0 : (char const *) 0;
   5297 
   5298     *t++ = 0;
   5299   }
   5300   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
   5301     int x[] = {25, 17};
   5302     const int *foo = &x[0];
   5303     ++foo;
   5304   }
   5305   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
   5306     typedef const int *iptr;
   5307     iptr p = 0;
   5308     ++p;
   5309   }
   5310   { /* AIX XL C 1.02.0.0 rejects this saying
   5311        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
   5312     struct s { int j; const int *ap[3]; };
   5313     struct s *b; b->j = 5;
   5314   }
   5315   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
   5316     const int foo = 10;
   5317   }
   5318 #endif
   5319 
   5320   ;
   5321   return 0;
   5322 }
   5323 _ACEOF
   5324 rm -f conftest.$ac_objext
   5325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5326   (eval $ac_compile) 2>conftest.er1
   5327   ac_status=$?
   5328   grep -v '^ *+' conftest.er1 >conftest.err
   5329   rm -f conftest.er1
   5330   cat conftest.err >&5
   5331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5332   (exit $ac_status); } &&
   5333 	 { ac_try='test -z "$ac_c_werror_flag"
   5334 			 || test ! -s conftest.err'
   5335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5336   (eval $ac_try) 2>&5
   5337   ac_status=$?
   5338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5339   (exit $ac_status); }; } &&
   5340 	 { ac_try='test -s conftest.$ac_objext'
   5341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5342   (eval $ac_try) 2>&5
   5343   ac_status=$?
   5344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5345   (exit $ac_status); }; }; then
   5346   ac_cv_c_const=yes
   5347 else
   5348   echo "$as_me: failed program was:" >&5
   5349 sed 's/^/| /' conftest.$ac_ext >&5
   5350 
   5351 ac_cv_c_const=no
   5352 fi
   5353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5354 fi
   5355 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
   5356 echo "${ECHO_T}$ac_cv_c_const" >&6
   5357 if test $ac_cv_c_const = no; then
   5358 
   5359 cat >>confdefs.h <<\_ACEOF
   5360 #define const
   5361 _ACEOF
   5362 
   5363 fi
   5364 
   5365 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
   5366 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
   5367 if test "${ac_cv_type_uid_t+set}" = set; then
   5368   echo $ECHO_N "(cached) $ECHO_C" >&6
   5369 else
   5370   cat >conftest.$ac_ext <<_ACEOF
   5371 /* confdefs.h.  */
   5372 _ACEOF
   5373 cat confdefs.h >>conftest.$ac_ext
   5374 cat >>conftest.$ac_ext <<_ACEOF
   5375 /* end confdefs.h.  */
   5376 #include <sys/types.h>
   5377 
   5378 _ACEOF
   5379 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5380   $EGREP "uid_t" >/dev/null 2>&1; then
   5381   ac_cv_type_uid_t=yes
   5382 else
   5383   ac_cv_type_uid_t=no
   5384 fi
   5385 rm -f conftest*
   5386 
   5387 fi
   5388 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
   5389 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
   5390 if test $ac_cv_type_uid_t = no; then
   5391 
   5392 cat >>confdefs.h <<\_ACEOF
   5393 #define uid_t int
   5394 _ACEOF
   5395 
   5396 
   5397 cat >>confdefs.h <<\_ACEOF
   5398 #define gid_t int
   5399 _ACEOF
   5400 
   5401 fi
   5402 
   5403 echo "$as_me:$LINENO: checking for mode_t" >&5
   5404 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
   5405 if test "${ac_cv_type_mode_t+set}" = set; then
   5406   echo $ECHO_N "(cached) $ECHO_C" >&6
   5407 else
   5408   cat >conftest.$ac_ext <<_ACEOF
   5409 /* confdefs.h.  */
   5410 _ACEOF
   5411 cat confdefs.h >>conftest.$ac_ext
   5412 cat >>conftest.$ac_ext <<_ACEOF
   5413 /* end confdefs.h.  */
   5414 $ac_includes_default
   5415 int
   5416 main ()
   5417 {
   5418 if ((mode_t *) 0)
   5419   return 0;
   5420 if (sizeof (mode_t))
   5421   return 0;
   5422   ;
   5423   return 0;
   5424 }
   5425 _ACEOF
   5426 rm -f conftest.$ac_objext
   5427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5428   (eval $ac_compile) 2>conftest.er1
   5429   ac_status=$?
   5430   grep -v '^ *+' conftest.er1 >conftest.err
   5431   rm -f conftest.er1
   5432   cat conftest.err >&5
   5433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5434   (exit $ac_status); } &&
   5435 	 { ac_try='test -z "$ac_c_werror_flag"
   5436 			 || test ! -s conftest.err'
   5437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5438   (eval $ac_try) 2>&5
   5439   ac_status=$?
   5440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5441   (exit $ac_status); }; } &&
   5442 	 { ac_try='test -s conftest.$ac_objext'
   5443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5444   (eval $ac_try) 2>&5
   5445   ac_status=$?
   5446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5447   (exit $ac_status); }; }; then
   5448   ac_cv_type_mode_t=yes
   5449 else
   5450   echo "$as_me: failed program was:" >&5
   5451 sed 's/^/| /' conftest.$ac_ext >&5
   5452 
   5453 ac_cv_type_mode_t=no
   5454 fi
   5455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5456 fi
   5457 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
   5458 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
   5459 if test $ac_cv_type_mode_t = yes; then
   5460   :
   5461 else
   5462 
   5463 cat >>confdefs.h <<_ACEOF
   5464 #define mode_t int
   5465 _ACEOF
   5466 
   5467 fi
   5468 
   5469 echo "$as_me:$LINENO: checking for pid_t" >&5
   5470 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
   5471 if test "${ac_cv_type_pid_t+set}" = set; then
   5472   echo $ECHO_N "(cached) $ECHO_C" >&6
   5473 else
   5474   cat >conftest.$ac_ext <<_ACEOF
   5475 /* confdefs.h.  */
   5476 _ACEOF
   5477 cat confdefs.h >>conftest.$ac_ext
   5478 cat >>conftest.$ac_ext <<_ACEOF
   5479 /* end confdefs.h.  */
   5480 $ac_includes_default
   5481 int
   5482 main ()
   5483 {
   5484 if ((pid_t *) 0)
   5485   return 0;
   5486 if (sizeof (pid_t))
   5487   return 0;
   5488   ;
   5489   return 0;
   5490 }
   5491 _ACEOF
   5492 rm -f conftest.$ac_objext
   5493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5494   (eval $ac_compile) 2>conftest.er1
   5495   ac_status=$?
   5496   grep -v '^ *+' conftest.er1 >conftest.err
   5497   rm -f conftest.er1
   5498   cat conftest.err >&5
   5499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5500   (exit $ac_status); } &&
   5501 	 { ac_try='test -z "$ac_c_werror_flag"
   5502 			 || test ! -s conftest.err'
   5503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5504   (eval $ac_try) 2>&5
   5505   ac_status=$?
   5506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5507   (exit $ac_status); }; } &&
   5508 	 { ac_try='test -s conftest.$ac_objext'
   5509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5510   (eval $ac_try) 2>&5
   5511   ac_status=$?
   5512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5513   (exit $ac_status); }; }; then
   5514   ac_cv_type_pid_t=yes
   5515 else
   5516   echo "$as_me: failed program was:" >&5
   5517 sed 's/^/| /' conftest.$ac_ext >&5
   5518 
   5519 ac_cv_type_pid_t=no
   5520 fi
   5521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5522 fi
   5523 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
   5524 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
   5525 if test $ac_cv_type_pid_t = yes; then
   5526   :
   5527 else
   5528 
   5529 cat >>confdefs.h <<_ACEOF
   5530 #define pid_t int
   5531 _ACEOF
   5532 
   5533 fi
   5534 
   5535 echo "$as_me:$LINENO: checking for size_t" >&5
   5536 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
   5537 if test "${ac_cv_type_size_t+set}" = set; then
   5538   echo $ECHO_N "(cached) $ECHO_C" >&6
   5539 else
   5540   cat >conftest.$ac_ext <<_ACEOF
   5541 /* confdefs.h.  */
   5542 _ACEOF
   5543 cat confdefs.h >>conftest.$ac_ext
   5544 cat >>conftest.$ac_ext <<_ACEOF
   5545 /* end confdefs.h.  */
   5546 $ac_includes_default
   5547 int
   5548 main ()
   5549 {
   5550 if ((size_t *) 0)
   5551   return 0;
   5552 if (sizeof (size_t))
   5553   return 0;
   5554   ;
   5555   return 0;
   5556 }
   5557 _ACEOF
   5558 rm -f conftest.$ac_objext
   5559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5560   (eval $ac_compile) 2>conftest.er1
   5561   ac_status=$?
   5562   grep -v '^ *+' conftest.er1 >conftest.err
   5563   rm -f conftest.er1
   5564   cat conftest.err >&5
   5565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5566   (exit $ac_status); } &&
   5567 	 { ac_try='test -z "$ac_c_werror_flag"
   5568 			 || test ! -s conftest.err'
   5569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5570   (eval $ac_try) 2>&5
   5571   ac_status=$?
   5572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5573   (exit $ac_status); }; } &&
   5574 	 { ac_try='test -s conftest.$ac_objext'
   5575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5576   (eval $ac_try) 2>&5
   5577   ac_status=$?
   5578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5579   (exit $ac_status); }; }; then
   5580   ac_cv_type_size_t=yes
   5581 else
   5582   echo "$as_me: failed program was:" >&5
   5583 sed 's/^/| /' conftest.$ac_ext >&5
   5584 
   5585 ac_cv_type_size_t=no
   5586 fi
   5587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5588 fi
   5589 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
   5590 echo "${ECHO_T}$ac_cv_type_size_t" >&6
   5591 if test $ac_cv_type_size_t = yes; then
   5592   :
   5593 else
   5594 
   5595 cat >>confdefs.h <<_ACEOF
   5596 #define size_t unsigned
   5597 _ACEOF
   5598 
   5599 fi
   5600 
   5601 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
   5602 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
   5603 if test "${ac_cv_header_time+set}" = set; then
   5604   echo $ECHO_N "(cached) $ECHO_C" >&6
   5605 else
   5606   cat >conftest.$ac_ext <<_ACEOF
   5607 /* confdefs.h.  */
   5608 _ACEOF
   5609 cat confdefs.h >>conftest.$ac_ext
   5610 cat >>conftest.$ac_ext <<_ACEOF
   5611 /* end confdefs.h.  */
   5612 #include <sys/types.h>
   5613 #include <sys/time.h>
   5614 #include <time.h>
   5615 
   5616 int
   5617 main ()
   5618 {
   5619 if ((struct tm *) 0)
   5620 return 0;
   5621   ;
   5622   return 0;
   5623 }
   5624 _ACEOF
   5625 rm -f conftest.$ac_objext
   5626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5627   (eval $ac_compile) 2>conftest.er1
   5628   ac_status=$?
   5629   grep -v '^ *+' conftest.er1 >conftest.err
   5630   rm -f conftest.er1
   5631   cat conftest.err >&5
   5632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5633   (exit $ac_status); } &&
   5634 	 { ac_try='test -z "$ac_c_werror_flag"
   5635 			 || test ! -s conftest.err'
   5636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5637   (eval $ac_try) 2>&5
   5638   ac_status=$?
   5639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5640   (exit $ac_status); }; } &&
   5641 	 { ac_try='test -s conftest.$ac_objext'
   5642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5643   (eval $ac_try) 2>&5
   5644   ac_status=$?
   5645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5646   (exit $ac_status); }; }; then
   5647   ac_cv_header_time=yes
   5648 else
   5649   echo "$as_me: failed program was:" >&5
   5650 sed 's/^/| /' conftest.$ac_ext >&5
   5651 
   5652 ac_cv_header_time=no
   5653 fi
   5654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5655 fi
   5656 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
   5657 echo "${ECHO_T}$ac_cv_header_time" >&6
   5658 if test $ac_cv_header_time = yes; then
   5659 
   5660 cat >>confdefs.h <<\_ACEOF
   5661 #define TIME_WITH_SYS_TIME 1
   5662 _ACEOF
   5663 
   5664 fi
   5665 
   5666 
   5667 echo "$as_me:$LINENO: checking for uint16_t" >&5
   5668 echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6
   5669 if test "${ac_cv_type_uint16_t+set}" = set; then
   5670   echo $ECHO_N "(cached) $ECHO_C" >&6
   5671 else
   5672   cat >conftest.$ac_ext <<_ACEOF
   5673 /* confdefs.h.  */
   5674 _ACEOF
   5675 cat confdefs.h >>conftest.$ac_ext
   5676 cat >>conftest.$ac_ext <<_ACEOF
   5677 /* end confdefs.h.  */
   5678 $ac_includes_default
   5679 int
   5680 main ()
   5681 {
   5682 if ((uint16_t *) 0)
   5683   return 0;
   5684 if (sizeof (uint16_t))
   5685   return 0;
   5686   ;
   5687   return 0;
   5688 }
   5689 _ACEOF
   5690 rm -f conftest.$ac_objext
   5691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5692   (eval $ac_compile) 2>conftest.er1
   5693   ac_status=$?
   5694   grep -v '^ *+' conftest.er1 >conftest.err
   5695   rm -f conftest.er1
   5696   cat conftest.err >&5
   5697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5698   (exit $ac_status); } &&
   5699 	 { ac_try='test -z "$ac_c_werror_flag"
   5700 			 || test ! -s conftest.err'
   5701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5702   (eval $ac_try) 2>&5
   5703   ac_status=$?
   5704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5705   (exit $ac_status); }; } &&
   5706 	 { ac_try='test -s conftest.$ac_objext'
   5707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5708   (eval $ac_try) 2>&5
   5709   ac_status=$?
   5710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5711   (exit $ac_status); }; }; then
   5712   ac_cv_type_uint16_t=yes
   5713 else
   5714   echo "$as_me: failed program was:" >&5
   5715 sed 's/^/| /' conftest.$ac_ext >&5
   5716 
   5717 ac_cv_type_uint16_t=no
   5718 fi
   5719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5720 fi
   5721 echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
   5722 echo "${ECHO_T}$ac_cv_type_uint16_t" >&6
   5723 if test $ac_cv_type_uint16_t = yes; then
   5724 
   5725 cat >>confdefs.h <<_ACEOF
   5726 #define HAVE_UINT16_T 1
   5727 _ACEOF
   5728 
   5729 
   5730 fi
   5731 echo "$as_me:$LINENO: checking for u_int16_t" >&5
   5732 echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
   5733 if test "${ac_cv_type_u_int16_t+set}" = set; then
   5734   echo $ECHO_N "(cached) $ECHO_C" >&6
   5735 else
   5736   cat >conftest.$ac_ext <<_ACEOF
   5737 /* confdefs.h.  */
   5738 _ACEOF
   5739 cat confdefs.h >>conftest.$ac_ext
   5740 cat >>conftest.$ac_ext <<_ACEOF
   5741 /* end confdefs.h.  */
   5742 $ac_includes_default
   5743 int
   5744 main ()
   5745 {
   5746 if ((u_int16_t *) 0)
   5747   return 0;
   5748 if (sizeof (u_int16_t))
   5749   return 0;
   5750   ;
   5751   return 0;
   5752 }
   5753 _ACEOF
   5754 rm -f conftest.$ac_objext
   5755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5756   (eval $ac_compile) 2>conftest.er1
   5757   ac_status=$?
   5758   grep -v '^ *+' conftest.er1 >conftest.err
   5759   rm -f conftest.er1
   5760   cat conftest.err >&5
   5761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5762   (exit $ac_status); } &&
   5763 	 { ac_try='test -z "$ac_c_werror_flag"
   5764 			 || test ! -s conftest.err'
   5765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5766   (eval $ac_try) 2>&5
   5767   ac_status=$?
   5768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5769   (exit $ac_status); }; } &&
   5770 	 { ac_try='test -s conftest.$ac_objext'
   5771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5772   (eval $ac_try) 2>&5
   5773   ac_status=$?
   5774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5775   (exit $ac_status); }; }; then
   5776   ac_cv_type_u_int16_t=yes
   5777 else
   5778   echo "$as_me: failed program was:" >&5
   5779 sed 's/^/| /' conftest.$ac_ext >&5
   5780 
   5781 ac_cv_type_u_int16_t=no
   5782 fi
   5783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5784 fi
   5785 echo "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5
   5786 echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6
   5787 if test $ac_cv_type_u_int16_t = yes; then
   5788 
   5789 cat >>confdefs.h <<_ACEOF
   5790 #define HAVE_U_INT16_T 1
   5791 _ACEOF
   5792 
   5793 
   5794 fi
   5795 echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
   5796 echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
   5797 if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
   5798   echo $ECHO_N "(cached) $ECHO_C" >&6
   5799 else
   5800   cat >conftest.$ac_ext <<_ACEOF
   5801 /* confdefs.h.  */
   5802 _ACEOF
   5803 cat confdefs.h >>conftest.$ac_ext
   5804 cat >>conftest.$ac_ext <<_ACEOF
   5805 /* end confdefs.h.  */
   5806 $ac_includes_default
   5807 int
   5808 main ()
   5809 {
   5810 if ((struct sockaddr_storage *) 0)
   5811   return 0;
   5812 if (sizeof (struct sockaddr_storage))
   5813   return 0;
   5814   ;
   5815   return 0;
   5816 }
   5817 _ACEOF
   5818 rm -f conftest.$ac_objext
   5819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5820   (eval $ac_compile) 2>conftest.er1
   5821   ac_status=$?
   5822   grep -v '^ *+' conftest.er1 >conftest.err
   5823   rm -f conftest.er1
   5824   cat conftest.err >&5
   5825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5826   (exit $ac_status); } &&
   5827 	 { ac_try='test -z "$ac_c_werror_flag"
   5828 			 || test ! -s conftest.err'
   5829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5830   (eval $ac_try) 2>&5
   5831   ac_status=$?
   5832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5833   (exit $ac_status); }; } &&
   5834 	 { ac_try='test -s conftest.$ac_objext'
   5835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5836   (eval $ac_try) 2>&5
   5837   ac_status=$?
   5838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5839   (exit $ac_status); }; }; then
   5840   ac_cv_type_struct_sockaddr_storage=yes
   5841 else
   5842   echo "$as_me: failed program was:" >&5
   5843 sed 's/^/| /' conftest.$ac_ext >&5
   5844 
   5845 ac_cv_type_struct_sockaddr_storage=no
   5846 fi
   5847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5848 fi
   5849 echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_storage" >&5
   5850 echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6
   5851 if test $ac_cv_type_struct_sockaddr_storage = yes; then
   5852 
   5853 cat >>confdefs.h <<_ACEOF
   5854 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
   5855 _ACEOF
   5856 
   5857 
   5858 fi
   5859 
   5860 echo "$as_me:$LINENO: checking for socklen_t" >&5
   5861 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
   5862 if test "${ac_cv_type_socklen_t+set}" = set; then
   5863   echo $ECHO_N "(cached) $ECHO_C" >&6
   5864 else
   5865   cat >conftest.$ac_ext <<_ACEOF
   5866 /* confdefs.h.  */
   5867 _ACEOF
   5868 cat confdefs.h >>conftest.$ac_ext
   5869 cat >>conftest.$ac_ext <<_ACEOF
   5870 /* end confdefs.h.  */
   5871 #include <sys/types.h>
   5872 	#include <sys/socket.h>
   5873 
   5874 int
   5875 main ()
   5876 {
   5877 if ((socklen_t *) 0)
   5878   return 0;
   5879 if (sizeof (socklen_t))
   5880   return 0;
   5881   ;
   5882   return 0;
   5883 }
   5884 _ACEOF
   5885 rm -f conftest.$ac_objext
   5886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5887   (eval $ac_compile) 2>conftest.er1
   5888   ac_status=$?
   5889   grep -v '^ *+' conftest.er1 >conftest.err
   5890   rm -f conftest.er1
   5891   cat conftest.err >&5
   5892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5893   (exit $ac_status); } &&
   5894 	 { ac_try='test -z "$ac_c_werror_flag"
   5895 			 || test ! -s conftest.err'
   5896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5897   (eval $ac_try) 2>&5
   5898   ac_status=$?
   5899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5900   (exit $ac_status); }; } &&
   5901 	 { ac_try='test -s conftest.$ac_objext'
   5902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5903   (eval $ac_try) 2>&5
   5904   ac_status=$?
   5905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5906   (exit $ac_status); }; }; then
   5907   ac_cv_type_socklen_t=yes
   5908 else
   5909   echo "$as_me: failed program was:" >&5
   5910 sed 's/^/| /' conftest.$ac_ext >&5
   5911 
   5912 ac_cv_type_socklen_t=no
   5913 fi
   5914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5915 fi
   5916 echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
   5917 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
   5918 if test $ac_cv_type_socklen_t = yes; then
   5919   :
   5920 else
   5921 
   5922 	echo "$as_me:$LINENO: checking for socklen_t equivalent" >&5
   5923 echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6
   5924 	if test "${curl_cv_socklen_t_equiv+set}" = set; then
   5925   echo $ECHO_N "(cached) $ECHO_C" >&6
   5926 else
   5927 
   5928 	# Systems have either "struct sockaddr *" or
   5929 	# "void *" as the second argument to getpeername
   5930 	curl_cv_socklen_t_equiv=
   5931 	for arg2 in "struct sockaddr" void; do
   5932 		for t in int size_t unsigned long "unsigned long"; do
   5933 		cat >conftest.$ac_ext <<_ACEOF
   5934 /* confdefs.h.  */
   5935 _ACEOF
   5936 cat confdefs.h >>conftest.$ac_ext
   5937 cat >>conftest.$ac_ext <<_ACEOF
   5938 /* end confdefs.h.  */
   5939 
   5940 			#include <sys/types.h>
   5941 			#include <sys/socket.h>
   5942 
   5943 			int getpeername (int, $arg2 *, $t *);
   5944 
   5945 int
   5946 main ()
   5947 {
   5948 
   5949 			$t len;
   5950 			getpeername(0,0,&len);
   5951 
   5952   ;
   5953   return 0;
   5954 }
   5955 _ACEOF
   5956 rm -f conftest.$ac_objext
   5957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5958   (eval $ac_compile) 2>conftest.er1
   5959   ac_status=$?
   5960   grep -v '^ *+' conftest.er1 >conftest.err
   5961   rm -f conftest.er1
   5962   cat conftest.err >&5
   5963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5964   (exit $ac_status); } &&
   5965 	 { ac_try='test -z "$ac_c_werror_flag"
   5966 			 || test ! -s conftest.err'
   5967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5968   (eval $ac_try) 2>&5
   5969   ac_status=$?
   5970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5971   (exit $ac_status); }; } &&
   5972 	 { ac_try='test -s conftest.$ac_objext'
   5973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5974   (eval $ac_try) 2>&5
   5975   ac_status=$?
   5976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5977   (exit $ac_status); }; }; then
   5978 
   5979 			curl_cv_socklen_t_equiv="$t"
   5980 			break
   5981 
   5982 else
   5983   echo "$as_me: failed program was:" >&5
   5984 sed 's/^/| /' conftest.$ac_ext >&5
   5985 
   5986 fi
   5987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5988 		done
   5989 	done
   5990 
   5991 	if test "x$curl_cv_socklen_t_equiv" = x; then
   5992 		{ { echo "$as_me:$LINENO: error: Cannot find a type to use in place of socklen_t" >&5
   5993 echo "$as_me: error: Cannot find a type to use in place of socklen_t" >&2;}
   5994    { (exit 1); exit 1; }; }
   5995 	fi
   5996 
   5997 fi
   5998 
   5999 	echo "$as_me:$LINENO: result: $curl_cv_socklen_t_equiv" >&5
   6000 echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6
   6001 
   6002 cat >>confdefs.h <<_ACEOF
   6003 #define socklen_t $curl_cv_socklen_t_equiv
   6004 _ACEOF
   6005 
   6006 fi
   6007 
   6008 
   6009 # for the fake-rfc2553 stuff - straight from OpenSSH
   6010 
   6011 echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
   6012 echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
   6013 if test "${ac_cv_have_struct_sockaddr_storage+set}" = set; then
   6014   echo $ECHO_N "(cached) $ECHO_C" >&6
   6015 else
   6016 
   6017 	cat >conftest.$ac_ext <<_ACEOF
   6018 /* confdefs.h.  */
   6019 _ACEOF
   6020 cat confdefs.h >>conftest.$ac_ext
   6021 cat >>conftest.$ac_ext <<_ACEOF
   6022 /* end confdefs.h.  */
   6023 
   6024 #include <sys/types.h>
   6025 #include <sys/socket.h>
   6026 
   6027 int
   6028 main ()
   6029 {
   6030  struct sockaddr_storage s;
   6031   ;
   6032   return 0;
   6033 }
   6034 _ACEOF
   6035 rm -f conftest.$ac_objext
   6036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6037   (eval $ac_compile) 2>conftest.er1
   6038   ac_status=$?
   6039   grep -v '^ *+' conftest.er1 >conftest.err
   6040   rm -f conftest.er1
   6041   cat conftest.err >&5
   6042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6043   (exit $ac_status); } &&
   6044 	 { ac_try='test -z "$ac_c_werror_flag"
   6045 			 || test ! -s conftest.err'
   6046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6047   (eval $ac_try) 2>&5
   6048   ac_status=$?
   6049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6050   (exit $ac_status); }; } &&
   6051 	 { ac_try='test -s conftest.$ac_objext'
   6052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6053   (eval $ac_try) 2>&5
   6054   ac_status=$?
   6055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6056   (exit $ac_status); }; }; then
   6057    ac_cv_have_struct_sockaddr_storage="yes"
   6058 else
   6059   echo "$as_me: failed program was:" >&5
   6060 sed 's/^/| /' conftest.$ac_ext >&5
   6061 
   6062  ac_cv_have_struct_sockaddr_storage="no"
   6063 
   6064 fi
   6065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6066 
   6067 fi
   6068 echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_storage" >&5
   6069 echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6
   6070 if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then
   6071 	cat >>confdefs.h <<\_ACEOF
   6072 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
   6073 _ACEOF
   6074 
   6075 fi
   6076 
   6077 echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5
   6078 echo $ECHO_N "checking for struct sockaddr_in6... $ECHO_C" >&6
   6079 if test "${ac_cv_have_struct_sockaddr_in6+set}" = set; then
   6080   echo $ECHO_N "(cached) $ECHO_C" >&6
   6081 else
   6082 
   6083 	cat >conftest.$ac_ext <<_ACEOF
   6084 /* confdefs.h.  */
   6085 _ACEOF
   6086 cat confdefs.h >>conftest.$ac_ext
   6087 cat >>conftest.$ac_ext <<_ACEOF
   6088 /* end confdefs.h.  */
   6089 
   6090 #include <sys/types.h>
   6091 #include <netinet/in.h>
   6092 
   6093 int
   6094 main ()
   6095 {
   6096  struct sockaddr_in6 s; s.sin6_family = 0;
   6097   ;
   6098   return 0;
   6099 }
   6100 _ACEOF
   6101 rm -f conftest.$ac_objext
   6102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6103   (eval $ac_compile) 2>conftest.er1
   6104   ac_status=$?
   6105   grep -v '^ *+' conftest.er1 >conftest.err
   6106   rm -f conftest.er1
   6107   cat conftest.err >&5
   6108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6109   (exit $ac_status); } &&
   6110 	 { ac_try='test -z "$ac_c_werror_flag"
   6111 			 || test ! -s conftest.err'
   6112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6113   (eval $ac_try) 2>&5
   6114   ac_status=$?
   6115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6116   (exit $ac_status); }; } &&
   6117 	 { ac_try='test -s conftest.$ac_objext'
   6118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6119   (eval $ac_try) 2>&5
   6120   ac_status=$?
   6121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6122   (exit $ac_status); }; }; then
   6123    ac_cv_have_struct_sockaddr_in6="yes"
   6124 else
   6125   echo "$as_me: failed program was:" >&5
   6126 sed 's/^/| /' conftest.$ac_ext >&5
   6127 
   6128  ac_cv_have_struct_sockaddr_in6="no"
   6129 
   6130 fi
   6131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6132 
   6133 fi
   6134 echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_in6" >&5
   6135 echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6
   6136 if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then
   6137 
   6138 cat >>confdefs.h <<\_ACEOF
   6139 #define HAVE_STRUCT_SOCKADDR_IN6
   6140 _ACEOF
   6141 
   6142 fi
   6143 
   6144 echo "$as_me:$LINENO: checking for struct in6_addr" >&5
   6145 echo $ECHO_N "checking for struct in6_addr... $ECHO_C" >&6
   6146 if test "${ac_cv_have_struct_in6_addr+set}" = set; then
   6147   echo $ECHO_N "(cached) $ECHO_C" >&6
   6148 else
   6149 
   6150 	cat >conftest.$ac_ext <<_ACEOF
   6151 /* confdefs.h.  */
   6152 _ACEOF
   6153 cat confdefs.h >>conftest.$ac_ext
   6154 cat >>conftest.$ac_ext <<_ACEOF
   6155 /* end confdefs.h.  */
   6156 
   6157 #include <sys/types.h>
   6158 #include <netinet/in.h>
   6159 
   6160 int
   6161 main ()
   6162 {
   6163  struct in6_addr s; s.s6_addr[0] = 0;
   6164   ;
   6165   return 0;
   6166 }
   6167 _ACEOF
   6168 rm -f conftest.$ac_objext
   6169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6170   (eval $ac_compile) 2>conftest.er1
   6171   ac_status=$?
   6172   grep -v '^ *+' conftest.er1 >conftest.err
   6173   rm -f conftest.er1
   6174   cat conftest.err >&5
   6175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6176   (exit $ac_status); } &&
   6177 	 { ac_try='test -z "$ac_c_werror_flag"
   6178 			 || test ! -s conftest.err'
   6179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6180   (eval $ac_try) 2>&5
   6181   ac_status=$?
   6182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6183   (exit $ac_status); }; } &&
   6184 	 { ac_try='test -s conftest.$ac_objext'
   6185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6186   (eval $ac_try) 2>&5
   6187   ac_status=$?
   6188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6189   (exit $ac_status); }; }; then
   6190    ac_cv_have_struct_in6_addr="yes"
   6191 else
   6192   echo "$as_me: failed program was:" >&5
   6193 sed 's/^/| /' conftest.$ac_ext >&5
   6194 
   6195  ac_cv_have_struct_in6_addr="no"
   6196 
   6197 fi
   6198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6199 
   6200 fi
   6201 echo "$as_me:$LINENO: result: $ac_cv_have_struct_in6_addr" >&5
   6202 echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6
   6203 if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then
   6204 
   6205 cat >>confdefs.h <<\_ACEOF
   6206 #define HAVE_STRUCT_IN6_ADDR
   6207 _ACEOF
   6208 
   6209 fi
   6210 
   6211 echo "$as_me:$LINENO: checking for struct addrinfo" >&5
   6212 echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
   6213 if test "${ac_cv_have_struct_addrinfo+set}" = set; then
   6214   echo $ECHO_N "(cached) $ECHO_C" >&6
   6215 else
   6216 
   6217 	cat >conftest.$ac_ext <<_ACEOF
   6218 /* confdefs.h.  */
   6219 _ACEOF
   6220 cat confdefs.h >>conftest.$ac_ext
   6221 cat >>conftest.$ac_ext <<_ACEOF
   6222 /* end confdefs.h.  */
   6223 
   6224 #include <sys/types.h>
   6225 #include <sys/socket.h>
   6226 #include <netdb.h>
   6227 
   6228 int
   6229 main ()
   6230 {
   6231  struct addrinfo s; s.ai_flags = AI_PASSIVE;
   6232   ;
   6233   return 0;
   6234 }
   6235 _ACEOF
   6236 rm -f conftest.$ac_objext
   6237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6238   (eval $ac_compile) 2>conftest.er1
   6239   ac_status=$?
   6240   grep -v '^ *+' conftest.er1 >conftest.err
   6241   rm -f conftest.er1
   6242   cat conftest.err >&5
   6243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6244   (exit $ac_status); } &&
   6245 	 { ac_try='test -z "$ac_c_werror_flag"
   6246 			 || test ! -s conftest.err'
   6247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6248   (eval $ac_try) 2>&5
   6249   ac_status=$?
   6250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6251   (exit $ac_status); }; } &&
   6252 	 { ac_try='test -s conftest.$ac_objext'
   6253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6254   (eval $ac_try) 2>&5
   6255   ac_status=$?
   6256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6257   (exit $ac_status); }; }; then
   6258    ac_cv_have_struct_addrinfo="yes"
   6259 else
   6260   echo "$as_me: failed program was:" >&5
   6261 sed 's/^/| /' conftest.$ac_ext >&5
   6262 
   6263  ac_cv_have_struct_addrinfo="no"
   6264 
   6265 fi
   6266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6267 
   6268 fi
   6269 echo "$as_me:$LINENO: result: $ac_cv_have_struct_addrinfo" >&5
   6270 echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6
   6271 if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then
   6272 
   6273 cat >>confdefs.h <<\_ACEOF
   6274 #define HAVE_STRUCT_ADDRINFO
   6275 _ACEOF
   6276 
   6277 fi
   6278 
   6279 
   6280 # IRIX has a const char return value for gai_strerror()
   6281 
   6282 for ac_func in gai_strerror
   6283 do
   6284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   6285 echo "$as_me:$LINENO: checking for $ac_func" >&5
   6286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   6287 if eval "test \"\${$as_ac_var+set}\" = set"; then
   6288   echo $ECHO_N "(cached) $ECHO_C" >&6
   6289 else
   6290   cat >conftest.$ac_ext <<_ACEOF
   6291 /* confdefs.h.  */
   6292 _ACEOF
   6293 cat confdefs.h >>conftest.$ac_ext
   6294 cat >>conftest.$ac_ext <<_ACEOF
   6295 /* end confdefs.h.  */
   6296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   6297    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   6298 #define $ac_func innocuous_$ac_func
   6299 
   6300 /* System header to define __stub macros and hopefully few prototypes,
   6301     which can conflict with char $ac_func (); below.
   6302     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6303     <limits.h> exists even on freestanding compilers.  */
   6304 
   6305 #ifdef __STDC__
   6306 # include <limits.h>
   6307 #else
   6308 # include <assert.h>
   6309 #endif
   6310 
   6311 #undef $ac_func
   6312 
   6313 /* Override any gcc2 internal prototype to avoid an error.  */
   6314 #ifdef __cplusplus
   6315 extern "C"
   6316 {
   6317 #endif
   6318 /* We use char because int might match the return type of a gcc2
   6319    builtin and then its argument prototype would still apply.  */
   6320 char $ac_func ();
   6321 /* The GNU C library defines this for functions which it implements
   6322     to always fail with ENOSYS.  Some functions are actually named
   6323     something starting with __ and the normal name is an alias.  */
   6324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   6325 choke me
   6326 #else
   6327 char (*f) () = $ac_func;
   6328 #endif
   6329 #ifdef __cplusplus
   6330 }
   6331 #endif
   6332 
   6333 int
   6334 main ()
   6335 {
   6336 return f != $ac_func;
   6337   ;
   6338   return 0;
   6339 }
   6340 _ACEOF
   6341 rm -f conftest.$ac_objext conftest$ac_exeext
   6342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6343   (eval $ac_link) 2>conftest.er1
   6344   ac_status=$?
   6345   grep -v '^ *+' conftest.er1 >conftest.err
   6346   rm -f conftest.er1
   6347   cat conftest.err >&5
   6348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6349   (exit $ac_status); } &&
   6350 	 { ac_try='test -z "$ac_c_werror_flag"
   6351 			 || test ! -s conftest.err'
   6352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6353   (eval $ac_try) 2>&5
   6354   ac_status=$?
   6355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6356   (exit $ac_status); }; } &&
   6357 	 { ac_try='test -s conftest$ac_exeext'
   6358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6359   (eval $ac_try) 2>&5
   6360   ac_status=$?
   6361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6362   (exit $ac_status); }; }; then
   6363   eval "$as_ac_var=yes"
   6364 else
   6365   echo "$as_me: failed program was:" >&5
   6366 sed 's/^/| /' conftest.$ac_ext >&5
   6367 
   6368 eval "$as_ac_var=no"
   6369 fi
   6370 rm -f conftest.err conftest.$ac_objext \
   6371       conftest$ac_exeext conftest.$ac_ext
   6372 fi
   6373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   6374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   6375 if test `eval echo '${'$as_ac_var'}'` = yes; then
   6376   cat >>confdefs.h <<_ACEOF
   6377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   6378 _ACEOF
   6379 
   6380 	cat >>confdefs.h <<\_ACEOF
   6381 #define HAVE_GAI_STRERROR 1
   6382 _ACEOF
   6383 
   6384 	cat >conftest.$ac_ext <<_ACEOF
   6385 /* confdefs.h.  */
   6386 _ACEOF
   6387 cat confdefs.h >>conftest.$ac_ext
   6388 cat >>conftest.$ac_ext <<_ACEOF
   6389 /* end confdefs.h.  */
   6390 
   6391 #include <sys/types.h>
   6392 #include <sys/socket.h>
   6393 #include <netdb.h>
   6394 
   6395 const char *gai_strerror(int);
   6396 int
   6397 main ()
   6398 {
   6399 
   6400 char *str;
   6401 
   6402 str = gai_strerror(0);
   6403   ;
   6404   return 0;
   6405 }
   6406 _ACEOF
   6407 rm -f conftest.$ac_objext
   6408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6409   (eval $ac_compile) 2>conftest.er1
   6410   ac_status=$?
   6411   grep -v '^ *+' conftest.er1 >conftest.err
   6412   rm -f conftest.er1
   6413   cat conftest.err >&5
   6414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6415   (exit $ac_status); } &&
   6416 	 { ac_try='test -z "$ac_c_werror_flag"
   6417 			 || test ! -s conftest.err'
   6418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6419   (eval $ac_try) 2>&5
   6420   ac_status=$?
   6421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6422   (exit $ac_status); }; } &&
   6423 	 { ac_try='test -s conftest.$ac_objext'
   6424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6425   (eval $ac_try) 2>&5
   6426   ac_status=$?
   6427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6428   (exit $ac_status); }; }; then
   6429 
   6430 
   6431 cat >>confdefs.h <<\_ACEOF
   6432 #define HAVE_CONST_GAI_STRERROR_PROTO 1
   6433 _ACEOF
   6434 
   6435 else
   6436   echo "$as_me: failed program was:" >&5
   6437 sed 's/^/| /' conftest.$ac_ext >&5
   6438 
   6439 fi
   6440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6441 fi
   6442 done
   6443 
   6444 
   6445 # for loginrec.c
   6446 
   6447 echo "$as_me:$LINENO: checking for struct utmp.ut_host" >&5
   6448 echo $ECHO_N "checking for struct utmp.ut_host... $ECHO_C" >&6
   6449 if test "${ac_cv_member_struct_utmp_ut_host+set}" = set; then
   6450   echo $ECHO_N "(cached) $ECHO_C" >&6
   6451 else
   6452   cat >conftest.$ac_ext <<_ACEOF
   6453 /* confdefs.h.  */
   6454 _ACEOF
   6455 cat confdefs.h >>conftest.$ac_ext
   6456 cat >>conftest.$ac_ext <<_ACEOF
   6457 /* end confdefs.h.  */
   6458 
   6459 #include <sys/types.h>
   6460 #if HAVE_UTMP_H
   6461 #include <utmp.h>
   6462 #endif
   6463 
   6464 
   6465 int
   6466 main ()
   6467 {
   6468 static struct utmp ac_aggr;
   6469 if (ac_aggr.ut_host)
   6470 return 0;
   6471   ;
   6472   return 0;
   6473 }
   6474 _ACEOF
   6475 rm -f conftest.$ac_objext
   6476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6477   (eval $ac_compile) 2>conftest.er1
   6478   ac_status=$?
   6479   grep -v '^ *+' conftest.er1 >conftest.err
   6480   rm -f conftest.er1
   6481   cat conftest.err >&5
   6482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6483   (exit $ac_status); } &&
   6484 	 { ac_try='test -z "$ac_c_werror_flag"
   6485 			 || test ! -s conftest.err'
   6486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6487   (eval $ac_try) 2>&5
   6488   ac_status=$?
   6489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6490   (exit $ac_status); }; } &&
   6491 	 { ac_try='test -s conftest.$ac_objext'
   6492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6493   (eval $ac_try) 2>&5
   6494   ac_status=$?
   6495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6496   (exit $ac_status); }; }; then
   6497   ac_cv_member_struct_utmp_ut_host=yes
   6498 else
   6499   echo "$as_me: failed program was:" >&5
   6500 sed 's/^/| /' conftest.$ac_ext >&5
   6501 
   6502 cat >conftest.$ac_ext <<_ACEOF
   6503 /* confdefs.h.  */
   6504 _ACEOF
   6505 cat confdefs.h >>conftest.$ac_ext
   6506 cat >>conftest.$ac_ext <<_ACEOF
   6507 /* end confdefs.h.  */
   6508 
   6509 #include <sys/types.h>
   6510 #if HAVE_UTMP_H
   6511 #include <utmp.h>
   6512 #endif
   6513 
   6514 
   6515 int
   6516 main ()
   6517 {
   6518 static struct utmp ac_aggr;
   6519 if (sizeof ac_aggr.ut_host)
   6520 return 0;
   6521   ;
   6522   return 0;
   6523 }
   6524 _ACEOF
   6525 rm -f conftest.$ac_objext
   6526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6527   (eval $ac_compile) 2>conftest.er1
   6528   ac_status=$?
   6529   grep -v '^ *+' conftest.er1 >conftest.err
   6530   rm -f conftest.er1
   6531   cat conftest.err >&5
   6532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6533   (exit $ac_status); } &&
   6534 	 { ac_try='test -z "$ac_c_werror_flag"
   6535 			 || test ! -s conftest.err'
   6536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6537   (eval $ac_try) 2>&5
   6538   ac_status=$?
   6539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6540   (exit $ac_status); }; } &&
   6541 	 { ac_try='test -s conftest.$ac_objext'
   6542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6543   (eval $ac_try) 2>&5
   6544   ac_status=$?
   6545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6546   (exit $ac_status); }; }; then
   6547   ac_cv_member_struct_utmp_ut_host=yes
   6548 else
   6549   echo "$as_me: failed program was:" >&5
   6550 sed 's/^/| /' conftest.$ac_ext >&5
   6551 
   6552 ac_cv_member_struct_utmp_ut_host=no
   6553 fi
   6554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6555 fi
   6556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6557 fi
   6558 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_host" >&5
   6559 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_host" >&6
   6560 if test $ac_cv_member_struct_utmp_ut_host = yes; then
   6561 
   6562 cat >>confdefs.h <<_ACEOF
   6563 #define HAVE_STRUCT_UTMP_UT_HOST 1
   6564 _ACEOF
   6565 
   6566 
   6567 fi
   6568 echo "$as_me:$LINENO: checking for struct utmp.ut_pid" >&5
   6569 echo $ECHO_N "checking for struct utmp.ut_pid... $ECHO_C" >&6
   6570 if test "${ac_cv_member_struct_utmp_ut_pid+set}" = set; then
   6571   echo $ECHO_N "(cached) $ECHO_C" >&6
   6572 else
   6573   cat >conftest.$ac_ext <<_ACEOF
   6574 /* confdefs.h.  */
   6575 _ACEOF
   6576 cat confdefs.h >>conftest.$ac_ext
   6577 cat >>conftest.$ac_ext <<_ACEOF
   6578 /* end confdefs.h.  */
   6579 
   6580 #include <sys/types.h>
   6581 #if HAVE_UTMP_H
   6582 #include <utmp.h>
   6583 #endif
   6584 
   6585 
   6586 int
   6587 main ()
   6588 {
   6589 static struct utmp ac_aggr;
   6590 if (ac_aggr.ut_pid)
   6591 return 0;
   6592   ;
   6593   return 0;
   6594 }
   6595 _ACEOF
   6596 rm -f conftest.$ac_objext
   6597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6598   (eval $ac_compile) 2>conftest.er1
   6599   ac_status=$?
   6600   grep -v '^ *+' conftest.er1 >conftest.err
   6601   rm -f conftest.er1
   6602   cat conftest.err >&5
   6603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6604   (exit $ac_status); } &&
   6605 	 { ac_try='test -z "$ac_c_werror_flag"
   6606 			 || test ! -s conftest.err'
   6607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6608   (eval $ac_try) 2>&5
   6609   ac_status=$?
   6610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6611   (exit $ac_status); }; } &&
   6612 	 { ac_try='test -s conftest.$ac_objext'
   6613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6614   (eval $ac_try) 2>&5
   6615   ac_status=$?
   6616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6617   (exit $ac_status); }; }; then
   6618   ac_cv_member_struct_utmp_ut_pid=yes
   6619 else
   6620   echo "$as_me: failed program was:" >&5
   6621 sed 's/^/| /' conftest.$ac_ext >&5
   6622 
   6623 cat >conftest.$ac_ext <<_ACEOF
   6624 /* confdefs.h.  */
   6625 _ACEOF
   6626 cat confdefs.h >>conftest.$ac_ext
   6627 cat >>conftest.$ac_ext <<_ACEOF
   6628 /* end confdefs.h.  */
   6629 
   6630 #include <sys/types.h>
   6631 #if HAVE_UTMP_H
   6632 #include <utmp.h>
   6633 #endif
   6634 
   6635 
   6636 int
   6637 main ()
   6638 {
   6639 static struct utmp ac_aggr;
   6640 if (sizeof ac_aggr.ut_pid)
   6641 return 0;
   6642   ;
   6643   return 0;
   6644 }
   6645 _ACEOF
   6646 rm -f conftest.$ac_objext
   6647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6648   (eval $ac_compile) 2>conftest.er1
   6649   ac_status=$?
   6650   grep -v '^ *+' conftest.er1 >conftest.err
   6651   rm -f conftest.er1
   6652   cat conftest.err >&5
   6653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6654   (exit $ac_status); } &&
   6655 	 { ac_try='test -z "$ac_c_werror_flag"
   6656 			 || test ! -s conftest.err'
   6657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6658   (eval $ac_try) 2>&5
   6659   ac_status=$?
   6660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6661   (exit $ac_status); }; } &&
   6662 	 { ac_try='test -s conftest.$ac_objext'
   6663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6664   (eval $ac_try) 2>&5
   6665   ac_status=$?
   6666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6667   (exit $ac_status); }; }; then
   6668   ac_cv_member_struct_utmp_ut_pid=yes
   6669 else
   6670   echo "$as_me: failed program was:" >&5
   6671 sed 's/^/| /' conftest.$ac_ext >&5
   6672 
   6673 ac_cv_member_struct_utmp_ut_pid=no
   6674 fi
   6675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6676 fi
   6677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6678 fi
   6679 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_pid" >&5
   6680 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_pid" >&6
   6681 if test $ac_cv_member_struct_utmp_ut_pid = yes; then
   6682 
   6683 cat >>confdefs.h <<_ACEOF
   6684 #define HAVE_STRUCT_UTMP_UT_PID 1
   6685 _ACEOF
   6686 
   6687 
   6688 fi
   6689 echo "$as_me:$LINENO: checking for struct utmp.ut_type" >&5
   6690 echo $ECHO_N "checking for struct utmp.ut_type... $ECHO_C" >&6
   6691 if test "${ac_cv_member_struct_utmp_ut_type+set}" = set; then
   6692   echo $ECHO_N "(cached) $ECHO_C" >&6
   6693 else
   6694   cat >conftest.$ac_ext <<_ACEOF
   6695 /* confdefs.h.  */
   6696 _ACEOF
   6697 cat confdefs.h >>conftest.$ac_ext
   6698 cat >>conftest.$ac_ext <<_ACEOF
   6699 /* end confdefs.h.  */
   6700 
   6701 #include <sys/types.h>
   6702 #if HAVE_UTMP_H
   6703 #include <utmp.h>
   6704 #endif
   6705 
   6706 
   6707 int
   6708 main ()
   6709 {
   6710 static struct utmp ac_aggr;
   6711 if (ac_aggr.ut_type)
   6712 return 0;
   6713   ;
   6714   return 0;
   6715 }
   6716 _ACEOF
   6717 rm -f conftest.$ac_objext
   6718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6719   (eval $ac_compile) 2>conftest.er1
   6720   ac_status=$?
   6721   grep -v '^ *+' conftest.er1 >conftest.err
   6722   rm -f conftest.er1
   6723   cat conftest.err >&5
   6724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6725   (exit $ac_status); } &&
   6726 	 { ac_try='test -z "$ac_c_werror_flag"
   6727 			 || test ! -s conftest.err'
   6728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6729   (eval $ac_try) 2>&5
   6730   ac_status=$?
   6731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6732   (exit $ac_status); }; } &&
   6733 	 { ac_try='test -s conftest.$ac_objext'
   6734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6735   (eval $ac_try) 2>&5
   6736   ac_status=$?
   6737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6738   (exit $ac_status); }; }; then
   6739   ac_cv_member_struct_utmp_ut_type=yes
   6740 else
   6741   echo "$as_me: failed program was:" >&5
   6742 sed 's/^/| /' conftest.$ac_ext >&5
   6743 
   6744 cat >conftest.$ac_ext <<_ACEOF
   6745 /* confdefs.h.  */
   6746 _ACEOF
   6747 cat confdefs.h >>conftest.$ac_ext
   6748 cat >>conftest.$ac_ext <<_ACEOF
   6749 /* end confdefs.h.  */
   6750 
   6751 #include <sys/types.h>
   6752 #if HAVE_UTMP_H
   6753 #include <utmp.h>
   6754 #endif
   6755 
   6756 
   6757 int
   6758 main ()
   6759 {
   6760 static struct utmp ac_aggr;
   6761 if (sizeof ac_aggr.ut_type)
   6762 return 0;
   6763   ;
   6764   return 0;
   6765 }
   6766 _ACEOF
   6767 rm -f conftest.$ac_objext
   6768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6769   (eval $ac_compile) 2>conftest.er1
   6770   ac_status=$?
   6771   grep -v '^ *+' conftest.er1 >conftest.err
   6772   rm -f conftest.er1
   6773   cat conftest.err >&5
   6774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6775   (exit $ac_status); } &&
   6776 	 { ac_try='test -z "$ac_c_werror_flag"
   6777 			 || test ! -s conftest.err'
   6778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6779   (eval $ac_try) 2>&5
   6780   ac_status=$?
   6781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6782   (exit $ac_status); }; } &&
   6783 	 { ac_try='test -s conftest.$ac_objext'
   6784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6785   (eval $ac_try) 2>&5
   6786   ac_status=$?
   6787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6788   (exit $ac_status); }; }; then
   6789   ac_cv_member_struct_utmp_ut_type=yes
   6790 else
   6791   echo "$as_me: failed program was:" >&5
   6792 sed 's/^/| /' conftest.$ac_ext >&5
   6793 
   6794 ac_cv_member_struct_utmp_ut_type=no
   6795 fi
   6796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6797 fi
   6798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6799 fi
   6800 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_type" >&5
   6801 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_type" >&6
   6802 if test $ac_cv_member_struct_utmp_ut_type = yes; then
   6803 
   6804 cat >>confdefs.h <<_ACEOF
   6805 #define HAVE_STRUCT_UTMP_UT_TYPE 1
   6806 _ACEOF
   6807 
   6808 
   6809 fi
   6810 echo "$as_me:$LINENO: checking for struct utmp.ut_tv" >&5
   6811 echo $ECHO_N "checking for struct utmp.ut_tv... $ECHO_C" >&6
   6812 if test "${ac_cv_member_struct_utmp_ut_tv+set}" = set; then
   6813   echo $ECHO_N "(cached) $ECHO_C" >&6
   6814 else
   6815   cat >conftest.$ac_ext <<_ACEOF
   6816 /* confdefs.h.  */
   6817 _ACEOF
   6818 cat confdefs.h >>conftest.$ac_ext
   6819 cat >>conftest.$ac_ext <<_ACEOF
   6820 /* end confdefs.h.  */
   6821 
   6822 #include <sys/types.h>
   6823 #if HAVE_UTMP_H
   6824 #include <utmp.h>
   6825 #endif
   6826 
   6827 
   6828 int
   6829 main ()
   6830 {
   6831 static struct utmp ac_aggr;
   6832 if (ac_aggr.ut_tv)
   6833 return 0;
   6834   ;
   6835   return 0;
   6836 }
   6837 _ACEOF
   6838 rm -f conftest.$ac_objext
   6839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6840   (eval $ac_compile) 2>conftest.er1
   6841   ac_status=$?
   6842   grep -v '^ *+' conftest.er1 >conftest.err
   6843   rm -f conftest.er1
   6844   cat conftest.err >&5
   6845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6846   (exit $ac_status); } &&
   6847 	 { ac_try='test -z "$ac_c_werror_flag"
   6848 			 || test ! -s conftest.err'
   6849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6850   (eval $ac_try) 2>&5
   6851   ac_status=$?
   6852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6853   (exit $ac_status); }; } &&
   6854 	 { ac_try='test -s conftest.$ac_objext'
   6855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6856   (eval $ac_try) 2>&5
   6857   ac_status=$?
   6858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6859   (exit $ac_status); }; }; then
   6860   ac_cv_member_struct_utmp_ut_tv=yes
   6861 else
   6862   echo "$as_me: failed program was:" >&5
   6863 sed 's/^/| /' conftest.$ac_ext >&5
   6864 
   6865 cat >conftest.$ac_ext <<_ACEOF
   6866 /* confdefs.h.  */
   6867 _ACEOF
   6868 cat confdefs.h >>conftest.$ac_ext
   6869 cat >>conftest.$ac_ext <<_ACEOF
   6870 /* end confdefs.h.  */
   6871 
   6872 #include <sys/types.h>
   6873 #if HAVE_UTMP_H
   6874 #include <utmp.h>
   6875 #endif
   6876 
   6877 
   6878 int
   6879 main ()
   6880 {
   6881 static struct utmp ac_aggr;
   6882 if (sizeof ac_aggr.ut_tv)
   6883 return 0;
   6884   ;
   6885   return 0;
   6886 }
   6887 _ACEOF
   6888 rm -f conftest.$ac_objext
   6889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6890   (eval $ac_compile) 2>conftest.er1
   6891   ac_status=$?
   6892   grep -v '^ *+' conftest.er1 >conftest.err
   6893   rm -f conftest.er1
   6894   cat conftest.err >&5
   6895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6896   (exit $ac_status); } &&
   6897 	 { ac_try='test -z "$ac_c_werror_flag"
   6898 			 || test ! -s conftest.err'
   6899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6900   (eval $ac_try) 2>&5
   6901   ac_status=$?
   6902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6903   (exit $ac_status); }; } &&
   6904 	 { ac_try='test -s conftest.$ac_objext'
   6905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6906   (eval $ac_try) 2>&5
   6907   ac_status=$?
   6908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6909   (exit $ac_status); }; }; then
   6910   ac_cv_member_struct_utmp_ut_tv=yes
   6911 else
   6912   echo "$as_me: failed program was:" >&5
   6913 sed 's/^/| /' conftest.$ac_ext >&5
   6914 
   6915 ac_cv_member_struct_utmp_ut_tv=no
   6916 fi
   6917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6918 fi
   6919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6920 fi
   6921 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_tv" >&5
   6922 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_tv" >&6
   6923 if test $ac_cv_member_struct_utmp_ut_tv = yes; then
   6924 
   6925 cat >>confdefs.h <<_ACEOF
   6926 #define HAVE_STRUCT_UTMP_UT_TV 1
   6927 _ACEOF
   6928 
   6929 
   6930 fi
   6931 echo "$as_me:$LINENO: checking for struct utmp.ut_id" >&5
   6932 echo $ECHO_N "checking for struct utmp.ut_id... $ECHO_C" >&6
   6933 if test "${ac_cv_member_struct_utmp_ut_id+set}" = set; then
   6934   echo $ECHO_N "(cached) $ECHO_C" >&6
   6935 else
   6936   cat >conftest.$ac_ext <<_ACEOF
   6937 /* confdefs.h.  */
   6938 _ACEOF
   6939 cat confdefs.h >>conftest.$ac_ext
   6940 cat >>conftest.$ac_ext <<_ACEOF
   6941 /* end confdefs.h.  */
   6942 
   6943 #include <sys/types.h>
   6944 #if HAVE_UTMP_H
   6945 #include <utmp.h>
   6946 #endif
   6947 
   6948 
   6949 int
   6950 main ()
   6951 {
   6952 static struct utmp ac_aggr;
   6953 if (ac_aggr.ut_id)
   6954 return 0;
   6955   ;
   6956   return 0;
   6957 }
   6958 _ACEOF
   6959 rm -f conftest.$ac_objext
   6960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6961   (eval $ac_compile) 2>conftest.er1
   6962   ac_status=$?
   6963   grep -v '^ *+' conftest.er1 >conftest.err
   6964   rm -f conftest.er1
   6965   cat conftest.err >&5
   6966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6967   (exit $ac_status); } &&
   6968 	 { ac_try='test -z "$ac_c_werror_flag"
   6969 			 || test ! -s conftest.err'
   6970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6971   (eval $ac_try) 2>&5
   6972   ac_status=$?
   6973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6974   (exit $ac_status); }; } &&
   6975 	 { ac_try='test -s conftest.$ac_objext'
   6976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6977   (eval $ac_try) 2>&5
   6978   ac_status=$?
   6979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6980   (exit $ac_status); }; }; then
   6981   ac_cv_member_struct_utmp_ut_id=yes
   6982 else
   6983   echo "$as_me: failed program was:" >&5
   6984 sed 's/^/| /' conftest.$ac_ext >&5
   6985 
   6986 cat >conftest.$ac_ext <<_ACEOF
   6987 /* confdefs.h.  */
   6988 _ACEOF
   6989 cat confdefs.h >>conftest.$ac_ext
   6990 cat >>conftest.$ac_ext <<_ACEOF
   6991 /* end confdefs.h.  */
   6992 
   6993 #include <sys/types.h>
   6994 #if HAVE_UTMP_H
   6995 #include <utmp.h>
   6996 #endif
   6997 
   6998 
   6999 int
   7000 main ()
   7001 {
   7002 static struct utmp ac_aggr;
   7003 if (sizeof ac_aggr.ut_id)
   7004 return 0;
   7005   ;
   7006   return 0;
   7007 }
   7008 _ACEOF
   7009 rm -f conftest.$ac_objext
   7010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7011   (eval $ac_compile) 2>conftest.er1
   7012   ac_status=$?
   7013   grep -v '^ *+' conftest.er1 >conftest.err
   7014   rm -f conftest.er1
   7015   cat conftest.err >&5
   7016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7017   (exit $ac_status); } &&
   7018 	 { ac_try='test -z "$ac_c_werror_flag"
   7019 			 || test ! -s conftest.err'
   7020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7021   (eval $ac_try) 2>&5
   7022   ac_status=$?
   7023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7024   (exit $ac_status); }; } &&
   7025 	 { ac_try='test -s conftest.$ac_objext'
   7026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7027   (eval $ac_try) 2>&5
   7028   ac_status=$?
   7029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7030   (exit $ac_status); }; }; then
   7031   ac_cv_member_struct_utmp_ut_id=yes
   7032 else
   7033   echo "$as_me: failed program was:" >&5
   7034 sed 's/^/| /' conftest.$ac_ext >&5
   7035 
   7036 ac_cv_member_struct_utmp_ut_id=no
   7037 fi
   7038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7039 fi
   7040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7041 fi
   7042 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_id" >&5
   7043 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_id" >&6
   7044 if test $ac_cv_member_struct_utmp_ut_id = yes; then
   7045 
   7046 cat >>confdefs.h <<_ACEOF
   7047 #define HAVE_STRUCT_UTMP_UT_ID 1
   7048 _ACEOF
   7049 
   7050 
   7051 fi
   7052 echo "$as_me:$LINENO: checking for struct utmp.ut_addr" >&5
   7053 echo $ECHO_N "checking for struct utmp.ut_addr... $ECHO_C" >&6
   7054 if test "${ac_cv_member_struct_utmp_ut_addr+set}" = set; then
   7055   echo $ECHO_N "(cached) $ECHO_C" >&6
   7056 else
   7057   cat >conftest.$ac_ext <<_ACEOF
   7058 /* confdefs.h.  */
   7059 _ACEOF
   7060 cat confdefs.h >>conftest.$ac_ext
   7061 cat >>conftest.$ac_ext <<_ACEOF
   7062 /* end confdefs.h.  */
   7063 
   7064 #include <sys/types.h>
   7065 #if HAVE_UTMP_H
   7066 #include <utmp.h>
   7067 #endif
   7068 
   7069 
   7070 int
   7071 main ()
   7072 {
   7073 static struct utmp ac_aggr;
   7074 if (ac_aggr.ut_addr)
   7075 return 0;
   7076   ;
   7077   return 0;
   7078 }
   7079 _ACEOF
   7080 rm -f conftest.$ac_objext
   7081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7082   (eval $ac_compile) 2>conftest.er1
   7083   ac_status=$?
   7084   grep -v '^ *+' conftest.er1 >conftest.err
   7085   rm -f conftest.er1
   7086   cat conftest.err >&5
   7087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7088   (exit $ac_status); } &&
   7089 	 { ac_try='test -z "$ac_c_werror_flag"
   7090 			 || test ! -s conftest.err'
   7091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7092   (eval $ac_try) 2>&5
   7093   ac_status=$?
   7094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7095   (exit $ac_status); }; } &&
   7096 	 { ac_try='test -s conftest.$ac_objext'
   7097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7098   (eval $ac_try) 2>&5
   7099   ac_status=$?
   7100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7101   (exit $ac_status); }; }; then
   7102   ac_cv_member_struct_utmp_ut_addr=yes
   7103 else
   7104   echo "$as_me: failed program was:" >&5
   7105 sed 's/^/| /' conftest.$ac_ext >&5
   7106 
   7107 cat >conftest.$ac_ext <<_ACEOF
   7108 /* confdefs.h.  */
   7109 _ACEOF
   7110 cat confdefs.h >>conftest.$ac_ext
   7111 cat >>conftest.$ac_ext <<_ACEOF
   7112 /* end confdefs.h.  */
   7113 
   7114 #include <sys/types.h>
   7115 #if HAVE_UTMP_H
   7116 #include <utmp.h>
   7117 #endif
   7118 
   7119 
   7120 int
   7121 main ()
   7122 {
   7123 static struct utmp ac_aggr;
   7124 if (sizeof ac_aggr.ut_addr)
   7125 return 0;
   7126   ;
   7127   return 0;
   7128 }
   7129 _ACEOF
   7130 rm -f conftest.$ac_objext
   7131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7132   (eval $ac_compile) 2>conftest.er1
   7133   ac_status=$?
   7134   grep -v '^ *+' conftest.er1 >conftest.err
   7135   rm -f conftest.er1
   7136   cat conftest.err >&5
   7137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7138   (exit $ac_status); } &&
   7139 	 { ac_try='test -z "$ac_c_werror_flag"
   7140 			 || test ! -s conftest.err'
   7141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7142   (eval $ac_try) 2>&5
   7143   ac_status=$?
   7144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7145   (exit $ac_status); }; } &&
   7146 	 { ac_try='test -s conftest.$ac_objext'
   7147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7148   (eval $ac_try) 2>&5
   7149   ac_status=$?
   7150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7151   (exit $ac_status); }; }; then
   7152   ac_cv_member_struct_utmp_ut_addr=yes
   7153 else
   7154   echo "$as_me: failed program was:" >&5
   7155 sed 's/^/| /' conftest.$ac_ext >&5
   7156 
   7157 ac_cv_member_struct_utmp_ut_addr=no
   7158 fi
   7159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7160 fi
   7161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7162 fi
   7163 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_addr" >&5
   7164 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_addr" >&6
   7165 if test $ac_cv_member_struct_utmp_ut_addr = yes; then
   7166 
   7167 cat >>confdefs.h <<_ACEOF
   7168 #define HAVE_STRUCT_UTMP_UT_ADDR 1
   7169 _ACEOF
   7170 
   7171 
   7172 fi
   7173 echo "$as_me:$LINENO: checking for struct utmp.ut_addr_v6" >&5
   7174 echo $ECHO_N "checking for struct utmp.ut_addr_v6... $ECHO_C" >&6
   7175 if test "${ac_cv_member_struct_utmp_ut_addr_v6+set}" = set; then
   7176   echo $ECHO_N "(cached) $ECHO_C" >&6
   7177 else
   7178   cat >conftest.$ac_ext <<_ACEOF
   7179 /* confdefs.h.  */
   7180 _ACEOF
   7181 cat confdefs.h >>conftest.$ac_ext
   7182 cat >>conftest.$ac_ext <<_ACEOF
   7183 /* end confdefs.h.  */
   7184 
   7185 #include <sys/types.h>
   7186 #if HAVE_UTMP_H
   7187 #include <utmp.h>
   7188 #endif
   7189 
   7190 
   7191 int
   7192 main ()
   7193 {
   7194 static struct utmp ac_aggr;
   7195 if (ac_aggr.ut_addr_v6)
   7196 return 0;
   7197   ;
   7198   return 0;
   7199 }
   7200 _ACEOF
   7201 rm -f conftest.$ac_objext
   7202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7203   (eval $ac_compile) 2>conftest.er1
   7204   ac_status=$?
   7205   grep -v '^ *+' conftest.er1 >conftest.err
   7206   rm -f conftest.er1
   7207   cat conftest.err >&5
   7208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7209   (exit $ac_status); } &&
   7210 	 { ac_try='test -z "$ac_c_werror_flag"
   7211 			 || test ! -s conftest.err'
   7212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7213   (eval $ac_try) 2>&5
   7214   ac_status=$?
   7215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7216   (exit $ac_status); }; } &&
   7217 	 { ac_try='test -s conftest.$ac_objext'
   7218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7219   (eval $ac_try) 2>&5
   7220   ac_status=$?
   7221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7222   (exit $ac_status); }; }; then
   7223   ac_cv_member_struct_utmp_ut_addr_v6=yes
   7224 else
   7225   echo "$as_me: failed program was:" >&5
   7226 sed 's/^/| /' conftest.$ac_ext >&5
   7227 
   7228 cat >conftest.$ac_ext <<_ACEOF
   7229 /* confdefs.h.  */
   7230 _ACEOF
   7231 cat confdefs.h >>conftest.$ac_ext
   7232 cat >>conftest.$ac_ext <<_ACEOF
   7233 /* end confdefs.h.  */
   7234 
   7235 #include <sys/types.h>
   7236 #if HAVE_UTMP_H
   7237 #include <utmp.h>
   7238 #endif
   7239 
   7240 
   7241 int
   7242 main ()
   7243 {
   7244 static struct utmp ac_aggr;
   7245 if (sizeof ac_aggr.ut_addr_v6)
   7246 return 0;
   7247   ;
   7248   return 0;
   7249 }
   7250 _ACEOF
   7251 rm -f conftest.$ac_objext
   7252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7253   (eval $ac_compile) 2>conftest.er1
   7254   ac_status=$?
   7255   grep -v '^ *+' conftest.er1 >conftest.err
   7256   rm -f conftest.er1
   7257   cat conftest.err >&5
   7258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7259   (exit $ac_status); } &&
   7260 	 { ac_try='test -z "$ac_c_werror_flag"
   7261 			 || test ! -s conftest.err'
   7262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7263   (eval $ac_try) 2>&5
   7264   ac_status=$?
   7265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7266   (exit $ac_status); }; } &&
   7267 	 { ac_try='test -s conftest.$ac_objext'
   7268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7269   (eval $ac_try) 2>&5
   7270   ac_status=$?
   7271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7272   (exit $ac_status); }; }; then
   7273   ac_cv_member_struct_utmp_ut_addr_v6=yes
   7274 else
   7275   echo "$as_me: failed program was:" >&5
   7276 sed 's/^/| /' conftest.$ac_ext >&5
   7277 
   7278 ac_cv_member_struct_utmp_ut_addr_v6=no
   7279 fi
   7280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7281 fi
   7282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7283 fi
   7284 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_addr_v6" >&5
   7285 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_addr_v6" >&6
   7286 if test $ac_cv_member_struct_utmp_ut_addr_v6 = yes; then
   7287 
   7288 cat >>confdefs.h <<_ACEOF
   7289 #define HAVE_STRUCT_UTMP_UT_ADDR_V6 1
   7290 _ACEOF
   7291 
   7292 
   7293 fi
   7294 echo "$as_me:$LINENO: checking for struct utmp.ut_exit" >&5
   7295 echo $ECHO_N "checking for struct utmp.ut_exit... $ECHO_C" >&6
   7296 if test "${ac_cv_member_struct_utmp_ut_exit+set}" = set; then
   7297   echo $ECHO_N "(cached) $ECHO_C" >&6
   7298 else
   7299   cat >conftest.$ac_ext <<_ACEOF
   7300 /* confdefs.h.  */
   7301 _ACEOF
   7302 cat confdefs.h >>conftest.$ac_ext
   7303 cat >>conftest.$ac_ext <<_ACEOF
   7304 /* end confdefs.h.  */
   7305 
   7306 #include <sys/types.h>
   7307 #if HAVE_UTMP_H
   7308 #include <utmp.h>
   7309 #endif
   7310 
   7311 
   7312 int
   7313 main ()
   7314 {
   7315 static struct utmp ac_aggr;
   7316 if (ac_aggr.ut_exit)
   7317 return 0;
   7318   ;
   7319   return 0;
   7320 }
   7321 _ACEOF
   7322 rm -f conftest.$ac_objext
   7323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7324   (eval $ac_compile) 2>conftest.er1
   7325   ac_status=$?
   7326   grep -v '^ *+' conftest.er1 >conftest.err
   7327   rm -f conftest.er1
   7328   cat conftest.err >&5
   7329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7330   (exit $ac_status); } &&
   7331 	 { ac_try='test -z "$ac_c_werror_flag"
   7332 			 || test ! -s conftest.err'
   7333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7334   (eval $ac_try) 2>&5
   7335   ac_status=$?
   7336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7337   (exit $ac_status); }; } &&
   7338 	 { ac_try='test -s conftest.$ac_objext'
   7339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7340   (eval $ac_try) 2>&5
   7341   ac_status=$?
   7342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7343   (exit $ac_status); }; }; then
   7344   ac_cv_member_struct_utmp_ut_exit=yes
   7345 else
   7346   echo "$as_me: failed program was:" >&5
   7347 sed 's/^/| /' conftest.$ac_ext >&5
   7348 
   7349 cat >conftest.$ac_ext <<_ACEOF
   7350 /* confdefs.h.  */
   7351 _ACEOF
   7352 cat confdefs.h >>conftest.$ac_ext
   7353 cat >>conftest.$ac_ext <<_ACEOF
   7354 /* end confdefs.h.  */
   7355 
   7356 #include <sys/types.h>
   7357 #if HAVE_UTMP_H
   7358 #include <utmp.h>
   7359 #endif
   7360 
   7361 
   7362 int
   7363 main ()
   7364 {
   7365 static struct utmp ac_aggr;
   7366 if (sizeof ac_aggr.ut_exit)
   7367 return 0;
   7368   ;
   7369   return 0;
   7370 }
   7371 _ACEOF
   7372 rm -f conftest.$ac_objext
   7373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7374   (eval $ac_compile) 2>conftest.er1
   7375   ac_status=$?
   7376   grep -v '^ *+' conftest.er1 >conftest.err
   7377   rm -f conftest.er1
   7378   cat conftest.err >&5
   7379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7380   (exit $ac_status); } &&
   7381 	 { ac_try='test -z "$ac_c_werror_flag"
   7382 			 || test ! -s conftest.err'
   7383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7384   (eval $ac_try) 2>&5
   7385   ac_status=$?
   7386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7387   (exit $ac_status); }; } &&
   7388 	 { ac_try='test -s conftest.$ac_objext'
   7389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7390   (eval $ac_try) 2>&5
   7391   ac_status=$?
   7392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7393   (exit $ac_status); }; }; then
   7394   ac_cv_member_struct_utmp_ut_exit=yes
   7395 else
   7396   echo "$as_me: failed program was:" >&5
   7397 sed 's/^/| /' conftest.$ac_ext >&5
   7398 
   7399 ac_cv_member_struct_utmp_ut_exit=no
   7400 fi
   7401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7402 fi
   7403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7404 fi
   7405 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_exit" >&5
   7406 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_exit" >&6
   7407 if test $ac_cv_member_struct_utmp_ut_exit = yes; then
   7408 
   7409 cat >>confdefs.h <<_ACEOF
   7410 #define HAVE_STRUCT_UTMP_UT_EXIT 1
   7411 _ACEOF
   7412 
   7413 
   7414 fi
   7415 echo "$as_me:$LINENO: checking for struct utmp.ut_time" >&5
   7416 echo $ECHO_N "checking for struct utmp.ut_time... $ECHO_C" >&6
   7417 if test "${ac_cv_member_struct_utmp_ut_time+set}" = set; then
   7418   echo $ECHO_N "(cached) $ECHO_C" >&6
   7419 else
   7420   cat >conftest.$ac_ext <<_ACEOF
   7421 /* confdefs.h.  */
   7422 _ACEOF
   7423 cat confdefs.h >>conftest.$ac_ext
   7424 cat >>conftest.$ac_ext <<_ACEOF
   7425 /* end confdefs.h.  */
   7426 
   7427 #include <sys/types.h>
   7428 #if HAVE_UTMP_H
   7429 #include <utmp.h>
   7430 #endif
   7431 
   7432 
   7433 int
   7434 main ()
   7435 {
   7436 static struct utmp ac_aggr;
   7437 if (ac_aggr.ut_time)
   7438 return 0;
   7439   ;
   7440   return 0;
   7441 }
   7442 _ACEOF
   7443 rm -f conftest.$ac_objext
   7444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7445   (eval $ac_compile) 2>conftest.er1
   7446   ac_status=$?
   7447   grep -v '^ *+' conftest.er1 >conftest.err
   7448   rm -f conftest.er1
   7449   cat conftest.err >&5
   7450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7451   (exit $ac_status); } &&
   7452 	 { ac_try='test -z "$ac_c_werror_flag"
   7453 			 || test ! -s conftest.err'
   7454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7455   (eval $ac_try) 2>&5
   7456   ac_status=$?
   7457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7458   (exit $ac_status); }; } &&
   7459 	 { ac_try='test -s conftest.$ac_objext'
   7460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7461   (eval $ac_try) 2>&5
   7462   ac_status=$?
   7463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7464   (exit $ac_status); }; }; then
   7465   ac_cv_member_struct_utmp_ut_time=yes
   7466 else
   7467   echo "$as_me: failed program was:" >&5
   7468 sed 's/^/| /' conftest.$ac_ext >&5
   7469 
   7470 cat >conftest.$ac_ext <<_ACEOF
   7471 /* confdefs.h.  */
   7472 _ACEOF
   7473 cat confdefs.h >>conftest.$ac_ext
   7474 cat >>conftest.$ac_ext <<_ACEOF
   7475 /* end confdefs.h.  */
   7476 
   7477 #include <sys/types.h>
   7478 #if HAVE_UTMP_H
   7479 #include <utmp.h>
   7480 #endif
   7481 
   7482 
   7483 int
   7484 main ()
   7485 {
   7486 static struct utmp ac_aggr;
   7487 if (sizeof ac_aggr.ut_time)
   7488 return 0;
   7489   ;
   7490   return 0;
   7491 }
   7492 _ACEOF
   7493 rm -f conftest.$ac_objext
   7494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7495   (eval $ac_compile) 2>conftest.er1
   7496   ac_status=$?
   7497   grep -v '^ *+' conftest.er1 >conftest.err
   7498   rm -f conftest.er1
   7499   cat conftest.err >&5
   7500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7501   (exit $ac_status); } &&
   7502 	 { ac_try='test -z "$ac_c_werror_flag"
   7503 			 || test ! -s conftest.err'
   7504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7505   (eval $ac_try) 2>&5
   7506   ac_status=$?
   7507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7508   (exit $ac_status); }; } &&
   7509 	 { ac_try='test -s conftest.$ac_objext'
   7510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7511   (eval $ac_try) 2>&5
   7512   ac_status=$?
   7513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7514   (exit $ac_status); }; }; then
   7515   ac_cv_member_struct_utmp_ut_time=yes
   7516 else
   7517   echo "$as_me: failed program was:" >&5
   7518 sed 's/^/| /' conftest.$ac_ext >&5
   7519 
   7520 ac_cv_member_struct_utmp_ut_time=no
   7521 fi
   7522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7523 fi
   7524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7525 fi
   7526 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_time" >&5
   7527 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_time" >&6
   7528 if test $ac_cv_member_struct_utmp_ut_time = yes; then
   7529 
   7530 cat >>confdefs.h <<_ACEOF
   7531 #define HAVE_STRUCT_UTMP_UT_TIME 1
   7532 _ACEOF
   7533 
   7534 
   7535 fi
   7536 
   7537 
   7538 echo "$as_me:$LINENO: checking for struct utmpx.ut_host" >&5
   7539 echo $ECHO_N "checking for struct utmpx.ut_host... $ECHO_C" >&6
   7540 if test "${ac_cv_member_struct_utmpx_ut_host+set}" = set; then
   7541   echo $ECHO_N "(cached) $ECHO_C" >&6
   7542 else
   7543   cat >conftest.$ac_ext <<_ACEOF
   7544 /* confdefs.h.  */
   7545 _ACEOF
   7546 cat confdefs.h >>conftest.$ac_ext
   7547 cat >>conftest.$ac_ext <<_ACEOF
   7548 /* end confdefs.h.  */
   7549 
   7550 #include <sys/types.h>
   7551 #include <sys/socket.h>
   7552 #if HAVE_UTMPX_H
   7553 #include <utmpx.h>
   7554 #endif
   7555 
   7556 
   7557 int
   7558 main ()
   7559 {
   7560 static struct utmpx ac_aggr;
   7561 if (ac_aggr.ut_host)
   7562 return 0;
   7563   ;
   7564   return 0;
   7565 }
   7566 _ACEOF
   7567 rm -f conftest.$ac_objext
   7568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7569   (eval $ac_compile) 2>conftest.er1
   7570   ac_status=$?
   7571   grep -v '^ *+' conftest.er1 >conftest.err
   7572   rm -f conftest.er1
   7573   cat conftest.err >&5
   7574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7575   (exit $ac_status); } &&
   7576 	 { ac_try='test -z "$ac_c_werror_flag"
   7577 			 || test ! -s conftest.err'
   7578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7579   (eval $ac_try) 2>&5
   7580   ac_status=$?
   7581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7582   (exit $ac_status); }; } &&
   7583 	 { ac_try='test -s conftest.$ac_objext'
   7584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7585   (eval $ac_try) 2>&5
   7586   ac_status=$?
   7587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7588   (exit $ac_status); }; }; then
   7589   ac_cv_member_struct_utmpx_ut_host=yes
   7590 else
   7591   echo "$as_me: failed program was:" >&5
   7592 sed 's/^/| /' conftest.$ac_ext >&5
   7593 
   7594 cat >conftest.$ac_ext <<_ACEOF
   7595 /* confdefs.h.  */
   7596 _ACEOF
   7597 cat confdefs.h >>conftest.$ac_ext
   7598 cat >>conftest.$ac_ext <<_ACEOF
   7599 /* end confdefs.h.  */
   7600 
   7601 #include <sys/types.h>
   7602 #include <sys/socket.h>
   7603 #if HAVE_UTMPX_H
   7604 #include <utmpx.h>
   7605 #endif
   7606 
   7607 
   7608 int
   7609 main ()
   7610 {
   7611 static struct utmpx ac_aggr;
   7612 if (sizeof ac_aggr.ut_host)
   7613 return 0;
   7614   ;
   7615   return 0;
   7616 }
   7617 _ACEOF
   7618 rm -f conftest.$ac_objext
   7619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7620   (eval $ac_compile) 2>conftest.er1
   7621   ac_status=$?
   7622   grep -v '^ *+' conftest.er1 >conftest.err
   7623   rm -f conftest.er1
   7624   cat conftest.err >&5
   7625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7626   (exit $ac_status); } &&
   7627 	 { ac_try='test -z "$ac_c_werror_flag"
   7628 			 || test ! -s conftest.err'
   7629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7630   (eval $ac_try) 2>&5
   7631   ac_status=$?
   7632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7633   (exit $ac_status); }; } &&
   7634 	 { ac_try='test -s conftest.$ac_objext'
   7635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7636   (eval $ac_try) 2>&5
   7637   ac_status=$?
   7638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7639   (exit $ac_status); }; }; then
   7640   ac_cv_member_struct_utmpx_ut_host=yes
   7641 else
   7642   echo "$as_me: failed program was:" >&5
   7643 sed 's/^/| /' conftest.$ac_ext >&5
   7644 
   7645 ac_cv_member_struct_utmpx_ut_host=no
   7646 fi
   7647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7648 fi
   7649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7650 fi
   7651 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_host" >&5
   7652 echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_host" >&6
   7653 if test $ac_cv_member_struct_utmpx_ut_host = yes; then
   7654 
   7655 cat >>confdefs.h <<_ACEOF
   7656 #define HAVE_STRUCT_UTMPX_UT_HOST 1
   7657 _ACEOF
   7658 
   7659 
   7660 fi
   7661 echo "$as_me:$LINENO: checking for struct utmpx.ut_syslen" >&5
   7662 echo $ECHO_N "checking for struct utmpx.ut_syslen... $ECHO_C" >&6
   7663 if test "${ac_cv_member_struct_utmpx_ut_syslen+set}" = set; then
   7664   echo $ECHO_N "(cached) $ECHO_C" >&6
   7665 else
   7666   cat >conftest.$ac_ext <<_ACEOF
   7667 /* confdefs.h.  */
   7668 _ACEOF
   7669 cat confdefs.h >>conftest.$ac_ext
   7670 cat >>conftest.$ac_ext <<_ACEOF
   7671 /* end confdefs.h.  */
   7672 
   7673 #include <sys/types.h>
   7674 #include <sys/socket.h>
   7675 #if HAVE_UTMPX_H
   7676 #include <utmpx.h>
   7677 #endif
   7678 
   7679 
   7680 int
   7681 main ()
   7682 {
   7683 static struct utmpx ac_aggr;
   7684 if (ac_aggr.ut_syslen)
   7685 return 0;
   7686   ;
   7687   return 0;
   7688 }
   7689 _ACEOF
   7690 rm -f conftest.$ac_objext
   7691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7692   (eval $ac_compile) 2>conftest.er1
   7693   ac_status=$?
   7694   grep -v '^ *+' conftest.er1 >conftest.err
   7695   rm -f conftest.er1
   7696   cat conftest.err >&5
   7697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7698   (exit $ac_status); } &&
   7699 	 { ac_try='test -z "$ac_c_werror_flag"
   7700 			 || test ! -s conftest.err'
   7701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7702   (eval $ac_try) 2>&5
   7703   ac_status=$?
   7704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7705   (exit $ac_status); }; } &&
   7706 	 { ac_try='test -s conftest.$ac_objext'
   7707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7708   (eval $ac_try) 2>&5
   7709   ac_status=$?
   7710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7711   (exit $ac_status); }; }; then
   7712   ac_cv_member_struct_utmpx_ut_syslen=yes
   7713 else
   7714   echo "$as_me: failed program was:" >&5
   7715 sed 's/^/| /' conftest.$ac_ext >&5
   7716 
   7717 cat >conftest.$ac_ext <<_ACEOF
   7718 /* confdefs.h.  */
   7719 _ACEOF
   7720 cat confdefs.h >>conftest.$ac_ext
   7721 cat >>conftest.$ac_ext <<_ACEOF
   7722 /* end confdefs.h.  */
   7723 
   7724 #include <sys/types.h>
   7725 #include <sys/socket.h>
   7726 #if HAVE_UTMPX_H
   7727 #include <utmpx.h>
   7728 #endif
   7729 
   7730 
   7731 int
   7732 main ()
   7733 {
   7734 static struct utmpx ac_aggr;
   7735 if (sizeof ac_aggr.ut_syslen)
   7736 return 0;
   7737   ;
   7738   return 0;
   7739 }
   7740 _ACEOF
   7741 rm -f conftest.$ac_objext
   7742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7743   (eval $ac_compile) 2>conftest.er1
   7744   ac_status=$?
   7745   grep -v '^ *+' conftest.er1 >conftest.err
   7746   rm -f conftest.er1
   7747   cat conftest.err >&5
   7748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7749   (exit $ac_status); } &&
   7750 	 { ac_try='test -z "$ac_c_werror_flag"
   7751 			 || test ! -s conftest.err'
   7752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7753   (eval $ac_try) 2>&5
   7754   ac_status=$?
   7755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7756   (exit $ac_status); }; } &&
   7757 	 { ac_try='test -s conftest.$ac_objext'
   7758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7759   (eval $ac_try) 2>&5
   7760   ac_status=$?
   7761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7762   (exit $ac_status); }; }; then
   7763   ac_cv_member_struct_utmpx_ut_syslen=yes
   7764 else
   7765   echo "$as_me: failed program was:" >&5
   7766 sed 's/^/| /' conftest.$ac_ext >&5
   7767 
   7768 ac_cv_member_struct_utmpx_ut_syslen=no
   7769 fi
   7770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7771 fi
   7772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7773 fi
   7774 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_syslen" >&5
   7775 echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_syslen" >&6
   7776 if test $ac_cv_member_struct_utmpx_ut_syslen = yes; then
   7777 
   7778 cat >>confdefs.h <<_ACEOF
   7779 #define HAVE_STRUCT_UTMPX_UT_SYSLEN 1
   7780 _ACEOF
   7781 
   7782 
   7783 fi
   7784 echo "$as_me:$LINENO: checking for struct utmpx.ut_type" >&5
   7785 echo $ECHO_N "checking for struct utmpx.ut_type... $ECHO_C" >&6
   7786 if test "${ac_cv_member_struct_utmpx_ut_type+set}" = set; then
   7787   echo $ECHO_N "(cached) $ECHO_C" >&6
   7788 else
   7789   cat >conftest.$ac_ext <<_ACEOF
   7790 /* confdefs.h.  */
   7791 _ACEOF
   7792 cat confdefs.h >>conftest.$ac_ext
   7793 cat >>conftest.$ac_ext <<_ACEOF
   7794 /* end confdefs.h.  */
   7795 
   7796 #include <sys/types.h>
   7797 #include <sys/socket.h>
   7798 #if HAVE_UTMPX_H
   7799 #include <utmpx.h>
   7800 #endif
   7801 
   7802 
   7803 int
   7804 main ()
   7805 {
   7806 static struct utmpx ac_aggr;
   7807 if (ac_aggr.ut_type)
   7808 return 0;
   7809   ;
   7810   return 0;
   7811 }
   7812 _ACEOF
   7813 rm -f conftest.$ac_objext
   7814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7815   (eval $ac_compile) 2>conftest.er1
   7816   ac_status=$?
   7817   grep -v '^ *+' conftest.er1 >conftest.err
   7818   rm -f conftest.er1
   7819   cat conftest.err >&5
   7820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7821   (exit $ac_status); } &&
   7822 	 { ac_try='test -z "$ac_c_werror_flag"
   7823 			 || test ! -s conftest.err'
   7824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7825   (eval $ac_try) 2>&5
   7826   ac_status=$?
   7827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7828   (exit $ac_status); }; } &&
   7829 	 { ac_try='test -s conftest.$ac_objext'
   7830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7831   (eval $ac_try) 2>&5
   7832   ac_status=$?
   7833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7834   (exit $ac_status); }; }; then
   7835   ac_cv_member_struct_utmpx_ut_type=yes
   7836 else
   7837   echo "$as_me: failed program was:" >&5
   7838 sed 's/^/| /' conftest.$ac_ext >&5
   7839 
   7840 cat >conftest.$ac_ext <<_ACEOF
   7841 /* confdefs.h.  */
   7842 _ACEOF
   7843 cat confdefs.h >>conftest.$ac_ext
   7844 cat >>conftest.$ac_ext <<_ACEOF
   7845 /* end confdefs.h.  */
   7846 
   7847 #include <sys/types.h>
   7848 #include <sys/socket.h>
   7849 #if HAVE_UTMPX_H
   7850 #include <utmpx.h>
   7851 #endif
   7852 
   7853 
   7854 int
   7855 main ()
   7856 {
   7857 static struct utmpx ac_aggr;
   7858 if (sizeof ac_aggr.ut_type)
   7859 return 0;
   7860   ;
   7861   return 0;
   7862 }
   7863 _ACEOF
   7864 rm -f conftest.$ac_objext
   7865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7866   (eval $ac_compile) 2>conftest.er1
   7867   ac_status=$?
   7868   grep -v '^ *+' conftest.er1 >conftest.err
   7869   rm -f conftest.er1
   7870   cat conftest.err >&5
   7871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7872   (exit $ac_status); } &&
   7873 	 { ac_try='test -z "$ac_c_werror_flag"
   7874 			 || test ! -s conftest.err'
   7875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7876   (eval $ac_try) 2>&5
   7877   ac_status=$?
   7878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7879   (exit $ac_status); }; } &&
   7880 	 { ac_try='test -s conftest.$ac_objext'
   7881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7882   (eval $ac_try) 2>&5
   7883   ac_status=$?
   7884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7885   (exit $ac_status); }; }; then
   7886   ac_cv_member_struct_utmpx_ut_type=yes
   7887 else
   7888   echo "$as_me: failed program was:" >&5
   7889 sed 's/^/| /' conftest.$ac_ext >&5
   7890 
   7891 ac_cv_member_struct_utmpx_ut_type=no
   7892 fi
   7893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7894 fi
   7895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7896 fi
   7897 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_type" >&5
   7898 echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_type" >&6
   7899 if test $ac_cv_member_struct_utmpx_ut_type = yes; then
   7900 
   7901 cat >>confdefs.h <<_ACEOF
   7902 #define HAVE_STRUCT_UTMPX_UT_TYPE 1
   7903 _ACEOF
   7904 
   7905 
   7906 fi
   7907 echo "$as_me:$LINENO: checking for struct utmpx.ut_id" >&5
   7908 echo $ECHO_N "checking for struct utmpx.ut_id... $ECHO_C" >&6
   7909 if test "${ac_cv_member_struct_utmpx_ut_id+set}" = set; then
   7910   echo $ECHO_N "(cached) $ECHO_C" >&6
   7911 else
   7912   cat >conftest.$ac_ext <<_ACEOF
   7913 /* confdefs.h.  */
   7914 _ACEOF
   7915 cat confdefs.h >>conftest.$ac_ext
   7916 cat >>conftest.$ac_ext <<_ACEOF
   7917 /* end confdefs.h.  */
   7918 
   7919 #include <sys/types.h>
   7920 #include <sys/socket.h>
   7921 #if HAVE_UTMPX_H
   7922 #include <utmpx.h>
   7923 #endif
   7924 
   7925 
   7926 int
   7927 main ()
   7928 {
   7929 static struct utmpx ac_aggr;
   7930 if (ac_aggr.ut_id)
   7931 return 0;
   7932   ;
   7933   return 0;
   7934 }
   7935 _ACEOF
   7936 rm -f conftest.$ac_objext
   7937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7938   (eval $ac_compile) 2>conftest.er1
   7939   ac_status=$?
   7940   grep -v '^ *+' conftest.er1 >conftest.err
   7941   rm -f conftest.er1
   7942   cat conftest.err >&5
   7943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7944   (exit $ac_status); } &&
   7945 	 { ac_try='test -z "$ac_c_werror_flag"
   7946 			 || test ! -s conftest.err'
   7947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7948   (eval $ac_try) 2>&5
   7949   ac_status=$?
   7950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7951   (exit $ac_status); }; } &&
   7952 	 { ac_try='test -s conftest.$ac_objext'
   7953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7954   (eval $ac_try) 2>&5
   7955   ac_status=$?
   7956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7957   (exit $ac_status); }; }; then
   7958   ac_cv_member_struct_utmpx_ut_id=yes
   7959 else
   7960   echo "$as_me: failed program was:" >&5
   7961 sed 's/^/| /' conftest.$ac_ext >&5
   7962 
   7963 cat >conftest.$ac_ext <<_ACEOF
   7964 /* confdefs.h.  */
   7965 _ACEOF
   7966 cat confdefs.h >>conftest.$ac_ext
   7967 cat >>conftest.$ac_ext <<_ACEOF
   7968 /* end confdefs.h.  */
   7969 
   7970 #include <sys/types.h>
   7971 #include <sys/socket.h>
   7972 #if HAVE_UTMPX_H
   7973 #include <utmpx.h>
   7974 #endif
   7975 
   7976 
   7977 int
   7978 main ()
   7979 {
   7980 static struct utmpx ac_aggr;
   7981 if (sizeof ac_aggr.ut_id)
   7982 return 0;
   7983   ;
   7984   return 0;
   7985 }
   7986 _ACEOF
   7987 rm -f conftest.$ac_objext
   7988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7989   (eval $ac_compile) 2>conftest.er1
   7990   ac_status=$?
   7991   grep -v '^ *+' conftest.er1 >conftest.err
   7992   rm -f conftest.er1
   7993   cat conftest.err >&5
   7994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7995   (exit $ac_status); } &&
   7996 	 { ac_try='test -z "$ac_c_werror_flag"
   7997 			 || test ! -s conftest.err'
   7998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7999   (eval $ac_try) 2>&5
   8000   ac_status=$?
   8001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8002   (exit $ac_status); }; } &&
   8003 	 { ac_try='test -s conftest.$ac_objext'
   8004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8005   (eval $ac_try) 2>&5
   8006   ac_status=$?
   8007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8008   (exit $ac_status); }; }; then
   8009   ac_cv_member_struct_utmpx_ut_id=yes
   8010 else
   8011   echo "$as_me: failed program was:" >&5
   8012 sed 's/^/| /' conftest.$ac_ext >&5
   8013 
   8014 ac_cv_member_struct_utmpx_ut_id=no
   8015 fi
   8016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8017 fi
   8018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8019 fi
   8020 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_id" >&5
   8021 echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_id" >&6
   8022 if test $ac_cv_member_struct_utmpx_ut_id = yes; then
   8023 
   8024 cat >>confdefs.h <<_ACEOF
   8025 #define HAVE_STRUCT_UTMPX_UT_ID 1
   8026 _ACEOF
   8027 
   8028 
   8029 fi
   8030 echo "$as_me:$LINENO: checking for struct utmpx.ut_addr" >&5
   8031 echo $ECHO_N "checking for struct utmpx.ut_addr... $ECHO_C" >&6
   8032 if test "${ac_cv_member_struct_utmpx_ut_addr+set}" = set; then
   8033   echo $ECHO_N "(cached) $ECHO_C" >&6
   8034 else
   8035   cat >conftest.$ac_ext <<_ACEOF
   8036 /* confdefs.h.  */
   8037 _ACEOF
   8038 cat confdefs.h >>conftest.$ac_ext
   8039 cat >>conftest.$ac_ext <<_ACEOF
   8040 /* end confdefs.h.  */
   8041 
   8042 #include <sys/types.h>
   8043 #include <sys/socket.h>
   8044 #if HAVE_UTMPX_H
   8045 #include <utmpx.h>
   8046 #endif
   8047 
   8048 
   8049 int
   8050 main ()
   8051 {
   8052 static struct utmpx ac_aggr;
   8053 if (ac_aggr.ut_addr)
   8054 return 0;
   8055   ;
   8056   return 0;
   8057 }
   8058 _ACEOF
   8059 rm -f conftest.$ac_objext
   8060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8061   (eval $ac_compile) 2>conftest.er1
   8062   ac_status=$?
   8063   grep -v '^ *+' conftest.er1 >conftest.err
   8064   rm -f conftest.er1
   8065   cat conftest.err >&5
   8066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8067   (exit $ac_status); } &&
   8068 	 { ac_try='test -z "$ac_c_werror_flag"
   8069 			 || test ! -s conftest.err'
   8070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8071   (eval $ac_try) 2>&5
   8072   ac_status=$?
   8073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8074   (exit $ac_status); }; } &&
   8075 	 { ac_try='test -s conftest.$ac_objext'
   8076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8077   (eval $ac_try) 2>&5
   8078   ac_status=$?
   8079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8080   (exit $ac_status); }; }; then
   8081   ac_cv_member_struct_utmpx_ut_addr=yes
   8082 else
   8083   echo "$as_me: failed program was:" >&5
   8084 sed 's/^/| /' conftest.$ac_ext >&5
   8085 
   8086 cat >conftest.$ac_ext <<_ACEOF
   8087 /* confdefs.h.  */
   8088 _ACEOF
   8089 cat confdefs.h >>conftest.$ac_ext
   8090 cat >>conftest.$ac_ext <<_ACEOF
   8091 /* end confdefs.h.  */
   8092 
   8093 #include <sys/types.h>
   8094 #include <sys/socket.h>
   8095 #if HAVE_UTMPX_H
   8096 #include <utmpx.h>
   8097 #endif
   8098 
   8099 
   8100 int
   8101 main ()
   8102 {
   8103 static struct utmpx ac_aggr;
   8104 if (sizeof ac_aggr.ut_addr)
   8105 return 0;
   8106   ;
   8107   return 0;
   8108 }
   8109 _ACEOF
   8110 rm -f conftest.$ac_objext
   8111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8112   (eval $ac_compile) 2>conftest.er1
   8113   ac_status=$?
   8114   grep -v '^ *+' conftest.er1 >conftest.err
   8115   rm -f conftest.er1
   8116   cat conftest.err >&5
   8117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8118   (exit $ac_status); } &&
   8119 	 { ac_try='test -z "$ac_c_werror_flag"
   8120 			 || test ! -s conftest.err'
   8121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8122   (eval $ac_try) 2>&5
   8123   ac_status=$?
   8124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8125   (exit $ac_status); }; } &&
   8126 	 { ac_try='test -s conftest.$ac_objext'
   8127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8128   (eval $ac_try) 2>&5
   8129   ac_status=$?
   8130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8131   (exit $ac_status); }; }; then
   8132   ac_cv_member_struct_utmpx_ut_addr=yes
   8133 else
   8134   echo "$as_me: failed program was:" >&5
   8135 sed 's/^/| /' conftest.$ac_ext >&5
   8136 
   8137 ac_cv_member_struct_utmpx_ut_addr=no
   8138 fi
   8139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8140 fi
   8141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8142 fi
   8143 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_addr" >&5
   8144 echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_addr" >&6
   8145 if test $ac_cv_member_struct_utmpx_ut_addr = yes; then
   8146 
   8147 cat >>confdefs.h <<_ACEOF
   8148 #define HAVE_STRUCT_UTMPX_UT_ADDR 1
   8149 _ACEOF
   8150 
   8151 
   8152 fi
   8153 echo "$as_me:$LINENO: checking for struct utmpx.ut_addr_v6" >&5
   8154 echo $ECHO_N "checking for struct utmpx.ut_addr_v6... $ECHO_C" >&6
   8155 if test "${ac_cv_member_struct_utmpx_ut_addr_v6+set}" = set; then
   8156   echo $ECHO_N "(cached) $ECHO_C" >&6
   8157 else
   8158   cat >conftest.$ac_ext <<_ACEOF
   8159 /* confdefs.h.  */
   8160 _ACEOF
   8161 cat confdefs.h >>conftest.$ac_ext
   8162 cat >>conftest.$ac_ext <<_ACEOF
   8163 /* end confdefs.h.  */
   8164 
   8165 #include <sys/types.h>
   8166 #include <sys/socket.h>
   8167 #if HAVE_UTMPX_H
   8168 #include <utmpx.h>
   8169 #endif
   8170 
   8171 
   8172 int
   8173 main ()
   8174 {
   8175 static struct utmpx ac_aggr;
   8176 if (ac_aggr.ut_addr_v6)
   8177 return 0;
   8178   ;
   8179   return 0;
   8180 }
   8181 _ACEOF
   8182 rm -f conftest.$ac_objext
   8183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8184   (eval $ac_compile) 2>conftest.er1
   8185   ac_status=$?
   8186   grep -v '^ *+' conftest.er1 >conftest.err
   8187   rm -f conftest.er1
   8188   cat conftest.err >&5
   8189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8190   (exit $ac_status); } &&
   8191 	 { ac_try='test -z "$ac_c_werror_flag"
   8192 			 || test ! -s conftest.err'
   8193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8194   (eval $ac_try) 2>&5
   8195   ac_status=$?
   8196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8197   (exit $ac_status); }; } &&
   8198 	 { ac_try='test -s conftest.$ac_objext'
   8199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8200   (eval $ac_try) 2>&5
   8201   ac_status=$?
   8202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8203   (exit $ac_status); }; }; then
   8204   ac_cv_member_struct_utmpx_ut_addr_v6=yes
   8205 else
   8206   echo "$as_me: failed program was:" >&5
   8207 sed 's/^/| /' conftest.$ac_ext >&5
   8208 
   8209 cat >conftest.$ac_ext <<_ACEOF
   8210 /* confdefs.h.  */
   8211 _ACEOF
   8212 cat confdefs.h >>conftest.$ac_ext
   8213 cat >>conftest.$ac_ext <<_ACEOF
   8214 /* end confdefs.h.  */
   8215 
   8216 #include <sys/types.h>
   8217 #include <sys/socket.h>
   8218 #if HAVE_UTMPX_H
   8219 #include <utmpx.h>
   8220 #endif
   8221 
   8222 
   8223 int
   8224 main ()
   8225 {
   8226 static struct utmpx ac_aggr;
   8227 if (sizeof ac_aggr.ut_addr_v6)
   8228 return 0;
   8229   ;
   8230   return 0;
   8231 }
   8232 _ACEOF
   8233 rm -f conftest.$ac_objext
   8234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8235   (eval $ac_compile) 2>conftest.er1
   8236   ac_status=$?
   8237   grep -v '^ *+' conftest.er1 >conftest.err
   8238   rm -f conftest.er1
   8239   cat conftest.err >&5
   8240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8241   (exit $ac_status); } &&
   8242 	 { ac_try='test -z "$ac_c_werror_flag"
   8243 			 || test ! -s conftest.err'
   8244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8245   (eval $ac_try) 2>&5
   8246   ac_status=$?
   8247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8248   (exit $ac_status); }; } &&
   8249 	 { ac_try='test -s conftest.$ac_objext'
   8250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8251   (eval $ac_try) 2>&5
   8252   ac_status=$?
   8253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8254   (exit $ac_status); }; }; then
   8255   ac_cv_member_struct_utmpx_ut_addr_v6=yes
   8256 else
   8257   echo "$as_me: failed program was:" >&5
   8258 sed 's/^/| /' conftest.$ac_ext >&5
   8259 
   8260 ac_cv_member_struct_utmpx_ut_addr_v6=no
   8261 fi
   8262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8263 fi
   8264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8265 fi
   8266 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_addr_v6" >&5
   8267 echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_addr_v6" >&6
   8268 if test $ac_cv_member_struct_utmpx_ut_addr_v6 = yes; then
   8269 
   8270 cat >>confdefs.h <<_ACEOF
   8271 #define HAVE_STRUCT_UTMPX_UT_ADDR_V6 1
   8272 _ACEOF
   8273 
   8274 
   8275 fi
   8276 echo "$as_me:$LINENO: checking for struct utmpx.ut_time" >&5
   8277 echo $ECHO_N "checking for struct utmpx.ut_time... $ECHO_C" >&6
   8278 if test "${ac_cv_member_struct_utmpx_ut_time+set}" = set; then
   8279   echo $ECHO_N "(cached) $ECHO_C" >&6
   8280 else
   8281   cat >conftest.$ac_ext <<_ACEOF
   8282 /* confdefs.h.  */
   8283 _ACEOF
   8284 cat confdefs.h >>conftest.$ac_ext
   8285 cat >>conftest.$ac_ext <<_ACEOF
   8286 /* end confdefs.h.  */
   8287 
   8288 #include <sys/types.h>
   8289 #include <sys/socket.h>
   8290 #if HAVE_UTMPX_H
   8291 #include <utmpx.h>
   8292 #endif
   8293 
   8294 
   8295 int
   8296 main ()
   8297 {
   8298 static struct utmpx ac_aggr;
   8299 if (ac_aggr.ut_time)
   8300 return 0;
   8301   ;
   8302   return 0;
   8303 }
   8304 _ACEOF
   8305 rm -f conftest.$ac_objext
   8306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8307   (eval $ac_compile) 2>conftest.er1
   8308   ac_status=$?
   8309   grep -v '^ *+' conftest.er1 >conftest.err
   8310   rm -f conftest.er1
   8311   cat conftest.err >&5
   8312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8313   (exit $ac_status); } &&
   8314 	 { ac_try='test -z "$ac_c_werror_flag"
   8315 			 || test ! -s conftest.err'
   8316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8317   (eval $ac_try) 2>&5
   8318   ac_status=$?
   8319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8320   (exit $ac_status); }; } &&
   8321 	 { ac_try='test -s conftest.$ac_objext'
   8322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8323   (eval $ac_try) 2>&5
   8324   ac_status=$?
   8325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8326   (exit $ac_status); }; }; then
   8327   ac_cv_member_struct_utmpx_ut_time=yes
   8328 else
   8329   echo "$as_me: failed program was:" >&5
   8330 sed 's/^/| /' conftest.$ac_ext >&5
   8331 
   8332 cat >conftest.$ac_ext <<_ACEOF
   8333 /* confdefs.h.  */
   8334 _ACEOF
   8335 cat confdefs.h >>conftest.$ac_ext
   8336 cat >>conftest.$ac_ext <<_ACEOF
   8337 /* end confdefs.h.  */
   8338 
   8339 #include <sys/types.h>
   8340 #include <sys/socket.h>
   8341 #if HAVE_UTMPX_H
   8342 #include <utmpx.h>
   8343 #endif
   8344 
   8345 
   8346 int
   8347 main ()
   8348 {
   8349 static struct utmpx ac_aggr;
   8350 if (sizeof ac_aggr.ut_time)
   8351 return 0;
   8352   ;
   8353   return 0;
   8354 }
   8355 _ACEOF
   8356 rm -f conftest.$ac_objext
   8357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8358   (eval $ac_compile) 2>conftest.er1
   8359   ac_status=$?
   8360   grep -v '^ *+' conftest.er1 >conftest.err
   8361   rm -f conftest.er1
   8362   cat conftest.err >&5
   8363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8364   (exit $ac_status); } &&
   8365 	 { ac_try='test -z "$ac_c_werror_flag"
   8366 			 || test ! -s conftest.err'
   8367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8368   (eval $ac_try) 2>&5
   8369   ac_status=$?
   8370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8371   (exit $ac_status); }; } &&
   8372 	 { ac_try='test -s conftest.$ac_objext'
   8373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8374   (eval $ac_try) 2>&5
   8375   ac_status=$?
   8376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8377   (exit $ac_status); }; }; then
   8378   ac_cv_member_struct_utmpx_ut_time=yes
   8379 else
   8380   echo "$as_me: failed program was:" >&5
   8381 sed 's/^/| /' conftest.$ac_ext >&5
   8382 
   8383 ac_cv_member_struct_utmpx_ut_time=no
   8384 fi
   8385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8386 fi
   8387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8388 fi
   8389 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_time" >&5
   8390 echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_time" >&6
   8391 if test $ac_cv_member_struct_utmpx_ut_time = yes; then
   8392 
   8393 cat >>confdefs.h <<_ACEOF
   8394 #define HAVE_STRUCT_UTMPX_UT_TIME 1
   8395 _ACEOF
   8396 
   8397 
   8398 fi
   8399 echo "$as_me:$LINENO: checking for struct utmpx.ut_tv" >&5
   8400 echo $ECHO_N "checking for struct utmpx.ut_tv... $ECHO_C" >&6
   8401 if test "${ac_cv_member_struct_utmpx_ut_tv+set}" = set; then
   8402   echo $ECHO_N "(cached) $ECHO_C" >&6
   8403 else
   8404   cat >conftest.$ac_ext <<_ACEOF
   8405 /* confdefs.h.  */
   8406 _ACEOF
   8407 cat confdefs.h >>conftest.$ac_ext
   8408 cat >>conftest.$ac_ext <<_ACEOF
   8409 /* end confdefs.h.  */
   8410 
   8411 #include <sys/types.h>
   8412 #include <sys/socket.h>
   8413 #if HAVE_UTMPX_H
   8414 #include <utmpx.h>
   8415 #endif
   8416 
   8417 
   8418 int
   8419 main ()
   8420 {
   8421 static struct utmpx ac_aggr;
   8422 if (ac_aggr.ut_tv)
   8423 return 0;
   8424   ;
   8425   return 0;
   8426 }
   8427 _ACEOF
   8428 rm -f conftest.$ac_objext
   8429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8430   (eval $ac_compile) 2>conftest.er1
   8431   ac_status=$?
   8432   grep -v '^ *+' conftest.er1 >conftest.err
   8433   rm -f conftest.er1
   8434   cat conftest.err >&5
   8435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8436   (exit $ac_status); } &&
   8437 	 { ac_try='test -z "$ac_c_werror_flag"
   8438 			 || test ! -s conftest.err'
   8439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8440   (eval $ac_try) 2>&5
   8441   ac_status=$?
   8442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8443   (exit $ac_status); }; } &&
   8444 	 { ac_try='test -s conftest.$ac_objext'
   8445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8446   (eval $ac_try) 2>&5
   8447   ac_status=$?
   8448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8449   (exit $ac_status); }; }; then
   8450   ac_cv_member_struct_utmpx_ut_tv=yes
   8451 else
   8452   echo "$as_me: failed program was:" >&5
   8453 sed 's/^/| /' conftest.$ac_ext >&5
   8454 
   8455 cat >conftest.$ac_ext <<_ACEOF
   8456 /* confdefs.h.  */
   8457 _ACEOF
   8458 cat confdefs.h >>conftest.$ac_ext
   8459 cat >>conftest.$ac_ext <<_ACEOF
   8460 /* end confdefs.h.  */
   8461 
   8462 #include <sys/types.h>
   8463 #include <sys/socket.h>
   8464 #if HAVE_UTMPX_H
   8465 #include <utmpx.h>
   8466 #endif
   8467 
   8468 
   8469 int
   8470 main ()
   8471 {
   8472 static struct utmpx ac_aggr;
   8473 if (sizeof ac_aggr.ut_tv)
   8474 return 0;
   8475   ;
   8476   return 0;
   8477 }
   8478 _ACEOF
   8479 rm -f conftest.$ac_objext
   8480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8481   (eval $ac_compile) 2>conftest.er1
   8482   ac_status=$?
   8483   grep -v '^ *+' conftest.er1 >conftest.err
   8484   rm -f conftest.er1
   8485   cat conftest.err >&5
   8486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8487   (exit $ac_status); } &&
   8488 	 { ac_try='test -z "$ac_c_werror_flag"
   8489 			 || test ! -s conftest.err'
   8490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8491   (eval $ac_try) 2>&5
   8492   ac_status=$?
   8493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8494   (exit $ac_status); }; } &&
   8495 	 { ac_try='test -s conftest.$ac_objext'
   8496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8497   (eval $ac_try) 2>&5
   8498   ac_status=$?
   8499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8500   (exit $ac_status); }; }; then
   8501   ac_cv_member_struct_utmpx_ut_tv=yes
   8502 else
   8503   echo "$as_me: failed program was:" >&5
   8504 sed 's/^/| /' conftest.$ac_ext >&5
   8505 
   8506 ac_cv_member_struct_utmpx_ut_tv=no
   8507 fi
   8508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8509 fi
   8510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8511 fi
   8512 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_tv" >&5
   8513 echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_tv" >&6
   8514 if test $ac_cv_member_struct_utmpx_ut_tv = yes; then
   8515 
   8516 cat >>confdefs.h <<_ACEOF
   8517 #define HAVE_STRUCT_UTMPX_UT_TV 1
   8518 _ACEOF
   8519 
   8520 
   8521 fi
   8522 
   8523 
   8524 echo "$as_me:$LINENO: checking for struct sockaddr_storage.ss_family" >&5
   8525 echo $ECHO_N "checking for struct sockaddr_storage.ss_family... $ECHO_C" >&6
   8526 if test "${ac_cv_member_struct_sockaddr_storage_ss_family+set}" = set; then
   8527   echo $ECHO_N "(cached) $ECHO_C" >&6
   8528 else
   8529   cat >conftest.$ac_ext <<_ACEOF
   8530 /* confdefs.h.  */
   8531 _ACEOF
   8532 cat confdefs.h >>conftest.$ac_ext
   8533 cat >>conftest.$ac_ext <<_ACEOF
   8534 /* end confdefs.h.  */
   8535 
   8536 #include <sys/types.h>
   8537 #include <sys/socket.h>
   8538 
   8539 
   8540 int
   8541 main ()
   8542 {
   8543 static struct sockaddr_storage ac_aggr;
   8544 if (ac_aggr.ss_family)
   8545 return 0;
   8546   ;
   8547   return 0;
   8548 }
   8549 _ACEOF
   8550 rm -f conftest.$ac_objext
   8551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8552   (eval $ac_compile) 2>conftest.er1
   8553   ac_status=$?
   8554   grep -v '^ *+' conftest.er1 >conftest.err
   8555   rm -f conftest.er1
   8556   cat conftest.err >&5
   8557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8558   (exit $ac_status); } &&
   8559 	 { ac_try='test -z "$ac_c_werror_flag"
   8560 			 || test ! -s conftest.err'
   8561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8562   (eval $ac_try) 2>&5
   8563   ac_status=$?
   8564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8565   (exit $ac_status); }; } &&
   8566 	 { ac_try='test -s conftest.$ac_objext'
   8567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8568   (eval $ac_try) 2>&5
   8569   ac_status=$?
   8570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8571   (exit $ac_status); }; }; then
   8572   ac_cv_member_struct_sockaddr_storage_ss_family=yes
   8573 else
   8574   echo "$as_me: failed program was:" >&5
   8575 sed 's/^/| /' conftest.$ac_ext >&5
   8576 
   8577 cat >conftest.$ac_ext <<_ACEOF
   8578 /* confdefs.h.  */
   8579 _ACEOF
   8580 cat confdefs.h >>conftest.$ac_ext
   8581 cat >>conftest.$ac_ext <<_ACEOF
   8582 /* end confdefs.h.  */
   8583 
   8584 #include <sys/types.h>
   8585 #include <sys/socket.h>
   8586 
   8587 
   8588 int
   8589 main ()
   8590 {
   8591 static struct sockaddr_storage ac_aggr;
   8592 if (sizeof ac_aggr.ss_family)
   8593 return 0;
   8594   ;
   8595   return 0;
   8596 }
   8597 _ACEOF
   8598 rm -f conftest.$ac_objext
   8599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8600   (eval $ac_compile) 2>conftest.er1
   8601   ac_status=$?
   8602   grep -v '^ *+' conftest.er1 >conftest.err
   8603   rm -f conftest.er1
   8604   cat conftest.err >&5
   8605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8606   (exit $ac_status); } &&
   8607 	 { ac_try='test -z "$ac_c_werror_flag"
   8608 			 || test ! -s conftest.err'
   8609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8610   (eval $ac_try) 2>&5
   8611   ac_status=$?
   8612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8613   (exit $ac_status); }; } &&
   8614 	 { ac_try='test -s conftest.$ac_objext'
   8615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8616   (eval $ac_try) 2>&5
   8617   ac_status=$?
   8618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8619   (exit $ac_status); }; }; then
   8620   ac_cv_member_struct_sockaddr_storage_ss_family=yes
   8621 else
   8622   echo "$as_me: failed program was:" >&5
   8623 sed 's/^/| /' conftest.$ac_ext >&5
   8624 
   8625 ac_cv_member_struct_sockaddr_storage_ss_family=no
   8626 fi
   8627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8628 fi
   8629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8630 fi
   8631 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_storage_ss_family" >&5
   8632 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_storage_ss_family" >&6
   8633 if test $ac_cv_member_struct_sockaddr_storage_ss_family = yes; then
   8634 
   8635 cat >>confdefs.h <<_ACEOF
   8636 #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
   8637 _ACEOF
   8638 
   8639 
   8640 fi
   8641 
   8642 
   8643 
   8644 
   8645 
   8646 
   8647 
   8648 
   8649 for ac_func in endutent getutent getutid getutline pututline setutent
   8650 do
   8651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   8652 echo "$as_me:$LINENO: checking for $ac_func" >&5
   8653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   8654 if eval "test \"\${$as_ac_var+set}\" = set"; then
   8655   echo $ECHO_N "(cached) $ECHO_C" >&6
   8656 else
   8657   cat >conftest.$ac_ext <<_ACEOF
   8658 /* confdefs.h.  */
   8659 _ACEOF
   8660 cat confdefs.h >>conftest.$ac_ext
   8661 cat >>conftest.$ac_ext <<_ACEOF
   8662 /* end confdefs.h.  */
   8663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   8664    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   8665 #define $ac_func innocuous_$ac_func
   8666 
   8667 /* System header to define __stub macros and hopefully few prototypes,
   8668     which can conflict with char $ac_func (); below.
   8669     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   8670     <limits.h> exists even on freestanding compilers.  */
   8671 
   8672 #ifdef __STDC__
   8673 # include <limits.h>
   8674 #else
   8675 # include <assert.h>
   8676 #endif
   8677 
   8678 #undef $ac_func
   8679 
   8680 /* Override any gcc2 internal prototype to avoid an error.  */
   8681 #ifdef __cplusplus
   8682 extern "C"
   8683 {
   8684 #endif
   8685 /* We use char because int might match the return type of a gcc2
   8686    builtin and then its argument prototype would still apply.  */
   8687 char $ac_func ();
   8688 /* The GNU C library defines this for functions which it implements
   8689     to always fail with ENOSYS.  Some functions are actually named
   8690     something starting with __ and the normal name is an alias.  */
   8691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   8692 choke me
   8693 #else
   8694 char (*f) () = $ac_func;
   8695 #endif
   8696 #ifdef __cplusplus
   8697 }
   8698 #endif
   8699 
   8700 int
   8701 main ()
   8702 {
   8703 return f != $ac_func;
   8704   ;
   8705   return 0;
   8706 }
   8707 _ACEOF
   8708 rm -f conftest.$ac_objext conftest$ac_exeext
   8709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   8710   (eval $ac_link) 2>conftest.er1
   8711   ac_status=$?
   8712   grep -v '^ *+' conftest.er1 >conftest.err
   8713   rm -f conftest.er1
   8714   cat conftest.err >&5
   8715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8716   (exit $ac_status); } &&
   8717 	 { ac_try='test -z "$ac_c_werror_flag"
   8718 			 || test ! -s conftest.err'
   8719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8720   (eval $ac_try) 2>&5
   8721   ac_status=$?
   8722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8723   (exit $ac_status); }; } &&
   8724 	 { ac_try='test -s conftest$ac_exeext'
   8725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8726   (eval $ac_try) 2>&5
   8727   ac_status=$?
   8728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8729   (exit $ac_status); }; }; then
   8730   eval "$as_ac_var=yes"
   8731 else
   8732   echo "$as_me: failed program was:" >&5
   8733 sed 's/^/| /' conftest.$ac_ext >&5
   8734 
   8735 eval "$as_ac_var=no"
   8736 fi
   8737 rm -f conftest.err conftest.$ac_objext \
   8738       conftest$ac_exeext conftest.$ac_ext
   8739 fi
   8740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   8741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   8742 if test `eval echo '${'$as_ac_var'}'` = yes; then
   8743   cat >>confdefs.h <<_ACEOF
   8744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   8745 _ACEOF
   8746 
   8747 fi
   8748 done
   8749 
   8750 
   8751 for ac_func in utmpname
   8752 do
   8753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   8754 echo "$as_me:$LINENO: checking for $ac_func" >&5
   8755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   8756 if eval "test \"\${$as_ac_var+set}\" = set"; then
   8757   echo $ECHO_N "(cached) $ECHO_C" >&6
   8758 else
   8759   cat >conftest.$ac_ext <<_ACEOF
   8760 /* confdefs.h.  */
   8761 _ACEOF
   8762 cat confdefs.h >>conftest.$ac_ext
   8763 cat >>conftest.$ac_ext <<_ACEOF
   8764 /* end confdefs.h.  */
   8765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   8766    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   8767 #define $ac_func innocuous_$ac_func
   8768 
   8769 /* System header to define __stub macros and hopefully few prototypes,
   8770     which can conflict with char $ac_func (); below.
   8771     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   8772     <limits.h> exists even on freestanding compilers.  */
   8773 
   8774 #ifdef __STDC__
   8775 # include <limits.h>
   8776 #else
   8777 # include <assert.h>
   8778 #endif
   8779 
   8780 #undef $ac_func
   8781 
   8782 /* Override any gcc2 internal prototype to avoid an error.  */
   8783 #ifdef __cplusplus
   8784 extern "C"
   8785 {
   8786 #endif
   8787 /* We use char because int might match the return type of a gcc2
   8788    builtin and then its argument prototype would still apply.  */
   8789 char $ac_func ();
   8790 /* The GNU C library defines this for functions which it implements
   8791     to always fail with ENOSYS.  Some functions are actually named
   8792     something starting with __ and the normal name is an alias.  */
   8793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   8794 choke me
   8795 #else
   8796 char (*f) () = $ac_func;
   8797 #endif
   8798 #ifdef __cplusplus
   8799 }
   8800 #endif
   8801 
   8802 int
   8803 main ()
   8804 {
   8805 return f != $ac_func;
   8806   ;
   8807   return 0;
   8808 }
   8809 _ACEOF
   8810 rm -f conftest.$ac_objext conftest$ac_exeext
   8811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   8812   (eval $ac_link) 2>conftest.er1
   8813   ac_status=$?
   8814   grep -v '^ *+' conftest.er1 >conftest.err
   8815   rm -f conftest.er1
   8816   cat conftest.err >&5
   8817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8818   (exit $ac_status); } &&
   8819 	 { ac_try='test -z "$ac_c_werror_flag"
   8820 			 || test ! -s conftest.err'
   8821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8822   (eval $ac_try) 2>&5
   8823   ac_status=$?
   8824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8825   (exit $ac_status); }; } &&
   8826 	 { ac_try='test -s conftest$ac_exeext'
   8827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8828   (eval $ac_try) 2>&5
   8829   ac_status=$?
   8830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8831   (exit $ac_status); }; }; then
   8832   eval "$as_ac_var=yes"
   8833 else
   8834   echo "$as_me: failed program was:" >&5
   8835 sed 's/^/| /' conftest.$ac_ext >&5
   8836 
   8837 eval "$as_ac_var=no"
   8838 fi
   8839 rm -f conftest.err conftest.$ac_objext \
   8840       conftest$ac_exeext conftest.$ac_ext
   8841 fi
   8842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   8843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   8844 if test `eval echo '${'$as_ac_var'}'` = yes; then
   8845   cat >>confdefs.h <<_ACEOF
   8846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   8847 _ACEOF
   8848 
   8849 fi
   8850 done
   8851 
   8852 
   8853 
   8854 
   8855 
   8856 
   8857 for ac_func in endutxent getutxent getutxid getutxline pututxline
   8858 do
   8859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   8860 echo "$as_me:$LINENO: checking for $ac_func" >&5
   8861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   8862 if eval "test \"\${$as_ac_var+set}\" = set"; then
   8863   echo $ECHO_N "(cached) $ECHO_C" >&6
   8864 else
   8865   cat >conftest.$ac_ext <<_ACEOF
   8866 /* confdefs.h.  */
   8867 _ACEOF
   8868 cat confdefs.h >>conftest.$ac_ext
   8869 cat >>conftest.$ac_ext <<_ACEOF
   8870 /* end confdefs.h.  */
   8871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   8872    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   8873 #define $ac_func innocuous_$ac_func
   8874 
   8875 /* System header to define __stub macros and hopefully few prototypes,
   8876     which can conflict with char $ac_func (); below.
   8877     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   8878     <limits.h> exists even on freestanding compilers.  */
   8879 
   8880 #ifdef __STDC__
   8881 # include <limits.h>
   8882 #else
   8883 # include <assert.h>
   8884 #endif
   8885 
   8886 #undef $ac_func
   8887 
   8888 /* Override any gcc2 internal prototype to avoid an error.  */
   8889 #ifdef __cplusplus
   8890 extern "C"
   8891 {
   8892 #endif
   8893 /* We use char because int might match the return type of a gcc2
   8894    builtin and then its argument prototype would still apply.  */
   8895 char $ac_func ();
   8896 /* The GNU C library defines this for functions which it implements
   8897     to always fail with ENOSYS.  Some functions are actually named
   8898     something starting with __ and the normal name is an alias.  */
   8899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   8900 choke me
   8901 #else
   8902 char (*f) () = $ac_func;
   8903 #endif
   8904 #ifdef __cplusplus
   8905 }
   8906 #endif
   8907 
   8908 int
   8909 main ()
   8910 {
   8911 return f != $ac_func;
   8912   ;
   8913   return 0;
   8914 }
   8915 _ACEOF
   8916 rm -f conftest.$ac_objext conftest$ac_exeext
   8917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   8918   (eval $ac_link) 2>conftest.er1
   8919   ac_status=$?
   8920   grep -v '^ *+' conftest.er1 >conftest.err
   8921   rm -f conftest.er1
   8922   cat conftest.err >&5
   8923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8924   (exit $ac_status); } &&
   8925 	 { ac_try='test -z "$ac_c_werror_flag"
   8926 			 || test ! -s conftest.err'
   8927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8928   (eval $ac_try) 2>&5
   8929   ac_status=$?
   8930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8931   (exit $ac_status); }; } &&
   8932 	 { ac_try='test -s conftest$ac_exeext'
   8933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8934   (eval $ac_try) 2>&5
   8935   ac_status=$?
   8936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8937   (exit $ac_status); }; }; then
   8938   eval "$as_ac_var=yes"
   8939 else
   8940   echo "$as_me: failed program was:" >&5
   8941 sed 's/^/| /' conftest.$ac_ext >&5
   8942 
   8943 eval "$as_ac_var=no"
   8944 fi
   8945 rm -f conftest.err conftest.$ac_objext \
   8946       conftest$ac_exeext conftest.$ac_ext
   8947 fi
   8948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   8949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   8950 if test `eval echo '${'$as_ac_var'}'` = yes; then
   8951   cat >>confdefs.h <<_ACEOF
   8952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   8953 _ACEOF
   8954 
   8955 fi
   8956 done
   8957 
   8958 
   8959 
   8960 for ac_func in setutxent utmpxname
   8961 do
   8962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   8963 echo "$as_me:$LINENO: checking for $ac_func" >&5
   8964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   8965 if eval "test \"\${$as_ac_var+set}\" = set"; then
   8966   echo $ECHO_N "(cached) $ECHO_C" >&6
   8967 else
   8968   cat >conftest.$ac_ext <<_ACEOF
   8969 /* confdefs.h.  */
   8970 _ACEOF
   8971 cat confdefs.h >>conftest.$ac_ext
   8972 cat >>conftest.$ac_ext <<_ACEOF
   8973 /* end confdefs.h.  */
   8974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   8975    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   8976 #define $ac_func innocuous_$ac_func
   8977 
   8978 /* System header to define __stub macros and hopefully few prototypes,
   8979     which can conflict with char $ac_func (); below.
   8980     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   8981     <limits.h> exists even on freestanding compilers.  */
   8982 
   8983 #ifdef __STDC__
   8984 # include <limits.h>
   8985 #else
   8986 # include <assert.h>
   8987 #endif
   8988 
   8989 #undef $ac_func
   8990 
   8991 /* Override any gcc2 internal prototype to avoid an error.  */
   8992 #ifdef __cplusplus
   8993 extern "C"
   8994 {
   8995 #endif
   8996 /* We use char because int might match the return type of a gcc2
   8997    builtin and then its argument prototype would still apply.  */
   8998 char $ac_func ();
   8999 /* The GNU C library defines this for functions which it implements
   9000     to always fail with ENOSYS.  Some functions are actually named
   9001     something starting with __ and the normal name is an alias.  */
   9002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   9003 choke me
   9004 #else
   9005 char (*f) () = $ac_func;
   9006 #endif
   9007 #ifdef __cplusplus
   9008 }
   9009 #endif
   9010 
   9011 int
   9012 main ()
   9013 {
   9014 return f != $ac_func;
   9015   ;
   9016   return 0;
   9017 }
   9018 _ACEOF
   9019 rm -f conftest.$ac_objext conftest$ac_exeext
   9020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9021   (eval $ac_link) 2>conftest.er1
   9022   ac_status=$?
   9023   grep -v '^ *+' conftest.er1 >conftest.err
   9024   rm -f conftest.er1
   9025   cat conftest.err >&5
   9026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9027   (exit $ac_status); } &&
   9028 	 { ac_try='test -z "$ac_c_werror_flag"
   9029 			 || test ! -s conftest.err'
   9030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9031   (eval $ac_try) 2>&5
   9032   ac_status=$?
   9033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9034   (exit $ac_status); }; } &&
   9035 	 { ac_try='test -s conftest$ac_exeext'
   9036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9037   (eval $ac_try) 2>&5
   9038   ac_status=$?
   9039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9040   (exit $ac_status); }; }; then
   9041   eval "$as_ac_var=yes"
   9042 else
   9043   echo "$as_me: failed program was:" >&5
   9044 sed 's/^/| /' conftest.$ac_ext >&5
   9045 
   9046 eval "$as_ac_var=no"
   9047 fi
   9048 rm -f conftest.err conftest.$ac_objext \
   9049       conftest$ac_exeext conftest.$ac_ext
   9050 fi
   9051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   9052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   9053 if test `eval echo '${'$as_ac_var'}'` = yes; then
   9054   cat >>confdefs.h <<_ACEOF
   9055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   9056 _ACEOF
   9057 
   9058 fi
   9059 done
   9060 
   9061 
   9062 
   9063 
   9064 for ac_func in logout updwtmp logwtmp
   9065 do
   9066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   9067 echo "$as_me:$LINENO: checking for $ac_func" >&5
   9068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   9069 if eval "test \"\${$as_ac_var+set}\" = set"; then
   9070   echo $ECHO_N "(cached) $ECHO_C" >&6
   9071 else
   9072   cat >conftest.$ac_ext <<_ACEOF
   9073 /* confdefs.h.  */
   9074 _ACEOF
   9075 cat confdefs.h >>conftest.$ac_ext
   9076 cat >>conftest.$ac_ext <<_ACEOF
   9077 /* end confdefs.h.  */
   9078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   9079    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9080 #define $ac_func innocuous_$ac_func
   9081 
   9082 /* System header to define __stub macros and hopefully few prototypes,
   9083     which can conflict with char $ac_func (); below.
   9084     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9085     <limits.h> exists even on freestanding compilers.  */
   9086 
   9087 #ifdef __STDC__
   9088 # include <limits.h>
   9089 #else
   9090 # include <assert.h>
   9091 #endif
   9092 
   9093 #undef $ac_func
   9094 
   9095 /* Override any gcc2 internal prototype to avoid an error.  */
   9096 #ifdef __cplusplus
   9097 extern "C"
   9098 {
   9099 #endif
   9100 /* We use char because int might match the return type of a gcc2
   9101    builtin and then its argument prototype would still apply.  */
   9102 char $ac_func ();
   9103 /* The GNU C library defines this for functions which it implements
   9104     to always fail with ENOSYS.  Some functions are actually named
   9105     something starting with __ and the normal name is an alias.  */
   9106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   9107 choke me
   9108 #else
   9109 char (*f) () = $ac_func;
   9110 #endif
   9111 #ifdef __cplusplus
   9112 }
   9113 #endif
   9114 
   9115 int
   9116 main ()
   9117 {
   9118 return f != $ac_func;
   9119   ;
   9120   return 0;
   9121 }
   9122 _ACEOF
   9123 rm -f conftest.$ac_objext conftest$ac_exeext
   9124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9125   (eval $ac_link) 2>conftest.er1
   9126   ac_status=$?
   9127   grep -v '^ *+' conftest.er1 >conftest.err
   9128   rm -f conftest.er1
   9129   cat conftest.err >&5
   9130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9131   (exit $ac_status); } &&
   9132 	 { ac_try='test -z "$ac_c_werror_flag"
   9133 			 || test ! -s conftest.err'
   9134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9135   (eval $ac_try) 2>&5
   9136   ac_status=$?
   9137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9138   (exit $ac_status); }; } &&
   9139 	 { ac_try='test -s conftest$ac_exeext'
   9140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9141   (eval $ac_try) 2>&5
   9142   ac_status=$?
   9143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9144   (exit $ac_status); }; }; then
   9145   eval "$as_ac_var=yes"
   9146 else
   9147   echo "$as_me: failed program was:" >&5
   9148 sed 's/^/| /' conftest.$ac_ext >&5
   9149 
   9150 eval "$as_ac_var=no"
   9151 fi
   9152 rm -f conftest.err conftest.$ac_objext \
   9153       conftest$ac_exeext conftest.$ac_ext
   9154 fi
   9155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   9156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   9157 if test `eval echo '${'$as_ac_var'}'` = yes; then
   9158   cat >>confdefs.h <<_ACEOF
   9159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   9160 _ACEOF
   9161 
   9162 fi
   9163 done
   9164 
   9165 
   9166 
   9167 # Check whether --enable-lastlog or --disable-lastlog was given.
   9168 if test "${enable_lastlog+set}" = set; then
   9169   enableval="$enable_lastlog"
   9170 
   9171 cat >>confdefs.h <<\_ACEOF
   9172 #define DISABLE_LASTLOG
   9173 _ACEOF
   9174 
   9175 
   9176 fi;
   9177 # Check whether --enable-utmp or --disable-utmp was given.
   9178 if test "${enable_utmp+set}" = set; then
   9179   enableval="$enable_utmp"
   9180 
   9181 cat >>confdefs.h <<\_ACEOF
   9182 #define DISABLE_UTMP
   9183 _ACEOF
   9184 
   9185 
   9186 fi;
   9187 # Check whether --enable-utmpx or --disable-utmpx was given.
   9188 if test "${enable_utmpx+set}" = set; then
   9189   enableval="$enable_utmpx"
   9190 
   9191 cat >>confdefs.h <<\_ACEOF
   9192 #define DISABLE_UTMPX
   9193 _ACEOF
   9194 
   9195 
   9196 fi;
   9197 # Check whether --enable-wtmp or --disable-wtmp was given.
   9198 if test "${enable_wtmp+set}" = set; then
   9199   enableval="$enable_wtmp"
   9200 
   9201 cat >>confdefs.h <<\_ACEOF
   9202 #define DISABLE_WTMP
   9203 _ACEOF
   9204 
   9205 
   9206 fi;
   9207 # Check whether --enable-wtmpx or --disable-wtmpx was given.
   9208 if test "${enable_wtmpx+set}" = set; then
   9209   enableval="$enable_wtmpx"
   9210 
   9211 cat >>confdefs.h <<\_ACEOF
   9212 #define DISABLE_WTMPX
   9213 _ACEOF
   9214 
   9215 
   9216 fi;
   9217 # Check whether --enable-loginfunc or --disable-loginfunc was given.
   9218 if test "${enable_loginfunc+set}" = set; then
   9219   enableval="$enable_loginfunc"
   9220    no_loginfunc_check=1
   9221 	{ echo "$as_me:$LINENO: Not using login() etc" >&5
   9222 echo "$as_me: Not using login() etc" >&6;}
   9223 
   9224 fi;
   9225 # Check whether --enable-pututline or --disable-pututline was given.
   9226 if test "${enable_pututline+set}" = set; then
   9227   enableval="$enable_pututline"
   9228 
   9229 cat >>confdefs.h <<\_ACEOF
   9230 #define DISABLE_PUTUTLINE
   9231 _ACEOF
   9232 
   9233 
   9234 fi;
   9235 # Check whether --enable-pututxline or --disable-pututxline was given.
   9236 if test "${enable_pututxline+set}" = set; then
   9237   enableval="$enable_pututxline"
   9238 
   9239 cat >>confdefs.h <<\_ACEOF
   9240 #define DISABLE_PUTUTXLINE
   9241 _ACEOF
   9242 
   9243 
   9244 fi;
   9245 
   9246 # Check whether --with-lastlog or --without-lastlog was given.
   9247 if test "${with_lastlog+set}" = set; then
   9248   withval="$with_lastlog"
   9249 
   9250 		if test "x$withval" = "xno" ; then
   9251 			cat >>confdefs.h <<\_ACEOF
   9252 #define DISABLE_LASTLOG 1
   9253 _ACEOF
   9254 
   9255 		else
   9256 			conf_lastlog_location=$withval
   9257 		fi
   9258 
   9259 
   9260 fi;
   9261 
   9262 if test -z "$no_loginfunc_check"; then
   9263 		echo "$as_me:$LINENO: checking for library containing login" >&5
   9264 echo $ECHO_N "checking for library containing login... $ECHO_C" >&6
   9265 if test "${ac_cv_search_login+set}" = set; then
   9266   echo $ECHO_N "(cached) $ECHO_C" >&6
   9267 else
   9268   ac_func_search_save_LIBS=$LIBS
   9269 ac_cv_search_login=no
   9270 cat >conftest.$ac_ext <<_ACEOF
   9271 /* confdefs.h.  */
   9272 _ACEOF
   9273 cat confdefs.h >>conftest.$ac_ext
   9274 cat >>conftest.$ac_ext <<_ACEOF
   9275 /* end confdefs.h.  */
   9276 
   9277 /* Override any gcc2 internal prototype to avoid an error.  */
   9278 #ifdef __cplusplus
   9279 extern "C"
   9280 #endif
   9281 /* We use char because int might match the return type of a gcc2
   9282    builtin and then its argument prototype would still apply.  */
   9283 char login ();
   9284 int
   9285 main ()
   9286 {
   9287 login ();
   9288   ;
   9289   return 0;
   9290 }
   9291 _ACEOF
   9292 rm -f conftest.$ac_objext conftest$ac_exeext
   9293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9294   (eval $ac_link) 2>conftest.er1
   9295   ac_status=$?
   9296   grep -v '^ *+' conftest.er1 >conftest.err
   9297   rm -f conftest.er1
   9298   cat conftest.err >&5
   9299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9300   (exit $ac_status); } &&
   9301 	 { ac_try='test -z "$ac_c_werror_flag"
   9302 			 || test ! -s conftest.err'
   9303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9304   (eval $ac_try) 2>&5
   9305   ac_status=$?
   9306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9307   (exit $ac_status); }; } &&
   9308 	 { ac_try='test -s conftest$ac_exeext'
   9309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9310   (eval $ac_try) 2>&5
   9311   ac_status=$?
   9312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9313   (exit $ac_status); }; }; then
   9314   ac_cv_search_login="none required"
   9315 else
   9316   echo "$as_me: failed program was:" >&5
   9317 sed 's/^/| /' conftest.$ac_ext >&5
   9318 
   9319 fi
   9320 rm -f conftest.err conftest.$ac_objext \
   9321       conftest$ac_exeext conftest.$ac_ext
   9322 if test "$ac_cv_search_login" = no; then
   9323   for ac_lib in util bsd; do
   9324     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   9325     cat >conftest.$ac_ext <<_ACEOF
   9326 /* confdefs.h.  */
   9327 _ACEOF
   9328 cat confdefs.h >>conftest.$ac_ext
   9329 cat >>conftest.$ac_ext <<_ACEOF
   9330 /* end confdefs.h.  */
   9331 
   9332 /* Override any gcc2 internal prototype to avoid an error.  */
   9333 #ifdef __cplusplus
   9334 extern "C"
   9335 #endif
   9336 /* We use char because int might match the return type of a gcc2
   9337    builtin and then its argument prototype would still apply.  */
   9338 char login ();
   9339 int
   9340 main ()
   9341 {
   9342 login ();
   9343   ;
   9344   return 0;
   9345 }
   9346 _ACEOF
   9347 rm -f conftest.$ac_objext conftest$ac_exeext
   9348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9349   (eval $ac_link) 2>conftest.er1
   9350   ac_status=$?
   9351   grep -v '^ *+' conftest.er1 >conftest.err
   9352   rm -f conftest.er1
   9353   cat conftest.err >&5
   9354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9355   (exit $ac_status); } &&
   9356 	 { ac_try='test -z "$ac_c_werror_flag"
   9357 			 || test ! -s conftest.err'
   9358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9359   (eval $ac_try) 2>&5
   9360   ac_status=$?
   9361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9362   (exit $ac_status); }; } &&
   9363 	 { ac_try='test -s conftest$ac_exeext'
   9364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9365   (eval $ac_try) 2>&5
   9366   ac_status=$?
   9367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9368   (exit $ac_status); }; }; then
   9369   ac_cv_search_login="-l$ac_lib"
   9370 break
   9371 else
   9372   echo "$as_me: failed program was:" >&5
   9373 sed 's/^/| /' conftest.$ac_ext >&5
   9374 
   9375 fi
   9376 rm -f conftest.err conftest.$ac_objext \
   9377       conftest$ac_exeext conftest.$ac_ext
   9378   done
   9379 fi
   9380 LIBS=$ac_func_search_save_LIBS
   9381 fi
   9382 echo "$as_me:$LINENO: result: $ac_cv_search_login" >&5
   9383 echo "${ECHO_T}$ac_cv_search_login" >&6
   9384 if test "$ac_cv_search_login" != no; then
   9385   test "$ac_cv_search_login" = "none required" || LIBS="$ac_cv_search_login $LIBS"
   9386 
   9387 cat >>confdefs.h <<\_ACEOF
   9388 #define HAVE_LOGIN
   9389 _ACEOF
   9390 
   9391 fi
   9392 
   9393 
   9394 
   9395 
   9396 for ac_func in logout updwtmp logwtmp
   9397 do
   9398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   9399 echo "$as_me:$LINENO: checking for $ac_func" >&5
   9400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   9401 if eval "test \"\${$as_ac_var+set}\" = set"; then
   9402   echo $ECHO_N "(cached) $ECHO_C" >&6
   9403 else
   9404   cat >conftest.$ac_ext <<_ACEOF
   9405 /* confdefs.h.  */
   9406 _ACEOF
   9407 cat confdefs.h >>conftest.$ac_ext
   9408 cat >>conftest.$ac_ext <<_ACEOF
   9409 /* end confdefs.h.  */
   9410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   9411    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9412 #define $ac_func innocuous_$ac_func
   9413 
   9414 /* System header to define __stub macros and hopefully few prototypes,
   9415     which can conflict with char $ac_func (); below.
   9416     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9417     <limits.h> exists even on freestanding compilers.  */
   9418 
   9419 #ifdef __STDC__
   9420 # include <limits.h>
   9421 #else
   9422 # include <assert.h>
   9423 #endif
   9424 
   9425 #undef $ac_func
   9426 
   9427 /* Override any gcc2 internal prototype to avoid an error.  */
   9428 #ifdef __cplusplus
   9429 extern "C"
   9430 {
   9431 #endif
   9432 /* We use char because int might match the return type of a gcc2
   9433    builtin and then its argument prototype would still apply.  */
   9434 char $ac_func ();
   9435 /* The GNU C library defines this for functions which it implements
   9436     to always fail with ENOSYS.  Some functions are actually named
   9437     something starting with __ and the normal name is an alias.  */
   9438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   9439 choke me
   9440 #else
   9441 char (*f) () = $ac_func;
   9442 #endif
   9443 #ifdef __cplusplus
   9444 }
   9445 #endif
   9446 
   9447 int
   9448 main ()
   9449 {
   9450 return f != $ac_func;
   9451   ;
   9452   return 0;
   9453 }
   9454 _ACEOF
   9455 rm -f conftest.$ac_objext conftest$ac_exeext
   9456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9457   (eval $ac_link) 2>conftest.er1
   9458   ac_status=$?
   9459   grep -v '^ *+' conftest.er1 >conftest.err
   9460   rm -f conftest.er1
   9461   cat conftest.err >&5
   9462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9463   (exit $ac_status); } &&
   9464 	 { ac_try='test -z "$ac_c_werror_flag"
   9465 			 || test ! -s conftest.err'
   9466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9467   (eval $ac_try) 2>&5
   9468   ac_status=$?
   9469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9470   (exit $ac_status); }; } &&
   9471 	 { ac_try='test -s conftest$ac_exeext'
   9472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9473   (eval $ac_try) 2>&5
   9474   ac_status=$?
   9475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9476   (exit $ac_status); }; }; then
   9477   eval "$as_ac_var=yes"
   9478 else
   9479   echo "$as_me: failed program was:" >&5
   9480 sed 's/^/| /' conftest.$ac_ext >&5
   9481 
   9482 eval "$as_ac_var=no"
   9483 fi
   9484 rm -f conftest.err conftest.$ac_objext \
   9485       conftest$ac_exeext conftest.$ac_ext
   9486 fi
   9487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   9488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   9489 if test `eval echo '${'$as_ac_var'}'` = yes; then
   9490   cat >>confdefs.h <<_ACEOF
   9491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   9492 _ACEOF
   9493 
   9494 fi
   9495 done
   9496 
   9497 fi
   9498 
   9499 
   9500 echo "$as_me:$LINENO: checking if your system defines LASTLOG_FILE" >&5
   9501 echo $ECHO_N "checking if your system defines LASTLOG_FILE... $ECHO_C" >&6
   9502 cat >conftest.$ac_ext <<_ACEOF
   9503 /* confdefs.h.  */
   9504 _ACEOF
   9505 cat confdefs.h >>conftest.$ac_ext
   9506 cat >>conftest.$ac_ext <<_ACEOF
   9507 /* end confdefs.h.  */
   9508 
   9509 #include <sys/types.h>
   9510 #include <utmp.h>
   9511 #ifdef HAVE_LASTLOG_H
   9512 #  include <lastlog.h>
   9513 #endif
   9514 #ifdef HAVE_PATHS_H
   9515 #  include <paths.h>
   9516 #endif
   9517 #ifdef HAVE_LOGIN_H
   9518 # include <login.h>
   9519 #endif
   9520 
   9521 int
   9522 main ()
   9523 {
   9524  char *lastlog = LASTLOG_FILE;
   9525   ;
   9526   return 0;
   9527 }
   9528 _ACEOF
   9529 rm -f conftest.$ac_objext
   9530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9531   (eval $ac_compile) 2>conftest.er1
   9532   ac_status=$?
   9533   grep -v '^ *+' conftest.er1 >conftest.err
   9534   rm -f conftest.er1
   9535   cat conftest.err >&5
   9536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9537   (exit $ac_status); } &&
   9538 	 { ac_try='test -z "$ac_c_werror_flag"
   9539 			 || test ! -s conftest.err'
   9540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9541   (eval $ac_try) 2>&5
   9542   ac_status=$?
   9543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9544   (exit $ac_status); }; } &&
   9545 	 { ac_try='test -s conftest.$ac_objext'
   9546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9547   (eval $ac_try) 2>&5
   9548   ac_status=$?
   9549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9550   (exit $ac_status); }; }; then
   9551    echo "$as_me:$LINENO: result: yes" >&5
   9552 echo "${ECHO_T}yes" >&6
   9553 else
   9554   echo "$as_me: failed program was:" >&5
   9555 sed 's/^/| /' conftest.$ac_ext >&5
   9556 
   9557 
   9558 		echo "$as_me:$LINENO: result: no" >&5
   9559 echo "${ECHO_T}no" >&6
   9560 		echo "$as_me:$LINENO: checking if your system defines _PATH_LASTLOG" >&5
   9561 echo $ECHO_N "checking if your system defines _PATH_LASTLOG... $ECHO_C" >&6
   9562 		cat >conftest.$ac_ext <<_ACEOF
   9563 /* confdefs.h.  */
   9564 _ACEOF
   9565 cat confdefs.h >>conftest.$ac_ext
   9566 cat >>conftest.$ac_ext <<_ACEOF
   9567 /* end confdefs.h.  */
   9568 
   9569 #include <sys/types.h>
   9570 #include <utmp.h>
   9571 #ifdef HAVE_LASTLOG_H
   9572 #  include <lastlog.h>
   9573 #endif
   9574 #ifdef HAVE_PATHS_H
   9575 #  include <paths.h>
   9576 #endif
   9577 
   9578 int
   9579 main ()
   9580 {
   9581  char *lastlog = _PATH_LASTLOG;
   9582   ;
   9583   return 0;
   9584 }
   9585 _ACEOF
   9586 rm -f conftest.$ac_objext
   9587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9588   (eval $ac_compile) 2>conftest.er1
   9589   ac_status=$?
   9590   grep -v '^ *+' conftest.er1 >conftest.err
   9591   rm -f conftest.er1
   9592   cat conftest.err >&5
   9593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9594   (exit $ac_status); } &&
   9595 	 { ac_try='test -z "$ac_c_werror_flag"
   9596 			 || test ! -s conftest.err'
   9597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9598   (eval $ac_try) 2>&5
   9599   ac_status=$?
   9600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9601   (exit $ac_status); }; } &&
   9602 	 { ac_try='test -s conftest.$ac_objext'
   9603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9604   (eval $ac_try) 2>&5
   9605   ac_status=$?
   9606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9607   (exit $ac_status); }; }; then
   9608    echo "$as_me:$LINENO: result: yes" >&5
   9609 echo "${ECHO_T}yes" >&6
   9610 else
   9611   echo "$as_me: failed program was:" >&5
   9612 sed 's/^/| /' conftest.$ac_ext >&5
   9613 
   9614 
   9615 			echo "$as_me:$LINENO: result: no" >&5
   9616 echo "${ECHO_T}no" >&6
   9617 			system_lastlog_path=no
   9618 
   9619 fi
   9620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   9621 
   9622 
   9623 fi
   9624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   9625 
   9626 if test -z "$conf_lastlog_location"; then
   9627 	if test x"$system_lastlog_path" = x"no" ; then
   9628 		for f in /var/log/lastlog /usr/adm/lastlog /var/adm/lastlog /etc/security/lastlog ; do
   9629 				if (test -d "$f" || test -f "$f") ; then
   9630 					conf_lastlog_location=$f
   9631 				fi
   9632 		done
   9633 		if test -z "$conf_lastlog_location"; then
   9634 			{ echo "$as_me:$LINENO: WARNING: ** Cannot find lastlog **" >&5
   9635 echo "$as_me: WARNING: ** Cannot find lastlog **" >&2;}
   9636 					fi
   9637 	fi
   9638 fi
   9639 
   9640 if test -n "$conf_lastlog_location"; then
   9641 
   9642 cat >>confdefs.h <<_ACEOF
   9643 #define CONF_LASTLOG_FILE "$conf_lastlog_location"
   9644 _ACEOF
   9645 
   9646 fi
   9647 
   9648 echo "$as_me:$LINENO: checking if your system defines UTMP_FILE" >&5
   9649 echo $ECHO_N "checking if your system defines UTMP_FILE... $ECHO_C" >&6
   9650 cat >conftest.$ac_ext <<_ACEOF
   9651 /* confdefs.h.  */
   9652 _ACEOF
   9653 cat confdefs.h >>conftest.$ac_ext
   9654 cat >>conftest.$ac_ext <<_ACEOF
   9655 /* end confdefs.h.  */
   9656 
   9657 #include <sys/types.h>
   9658 #include <utmp.h>
   9659 #ifdef HAVE_PATHS_H
   9660 #  include <paths.h>
   9661 #endif
   9662 
   9663 int
   9664 main ()
   9665 {
   9666  char *utmp = UTMP_FILE;
   9667   ;
   9668   return 0;
   9669 }
   9670 _ACEOF
   9671 rm -f conftest.$ac_objext
   9672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9673   (eval $ac_compile) 2>conftest.er1
   9674   ac_status=$?
   9675   grep -v '^ *+' conftest.er1 >conftest.err
   9676   rm -f conftest.er1
   9677   cat conftest.err >&5
   9678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9679   (exit $ac_status); } &&
   9680 	 { ac_try='test -z "$ac_c_werror_flag"
   9681 			 || test ! -s conftest.err'
   9682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9683   (eval $ac_try) 2>&5
   9684   ac_status=$?
   9685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9686   (exit $ac_status); }; } &&
   9687 	 { ac_try='test -s conftest.$ac_objext'
   9688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9689   (eval $ac_try) 2>&5
   9690   ac_status=$?
   9691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9692   (exit $ac_status); }; }; then
   9693    echo "$as_me:$LINENO: result: yes" >&5
   9694 echo "${ECHO_T}yes" >&6
   9695 else
   9696   echo "$as_me: failed program was:" >&5
   9697 sed 's/^/| /' conftest.$ac_ext >&5
   9698 
   9699  echo "$as_me:$LINENO: result: no" >&5
   9700 echo "${ECHO_T}no" >&6
   9701 	  system_utmp_path=no
   9702 
   9703 fi
   9704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   9705 if test -z "$conf_utmp_location"; then
   9706 	if test x"$system_utmp_path" = x"no" ; then
   9707 		for f in /etc/utmp /usr/adm/utmp /var/run/utmp; do
   9708 			if test -f $f ; then
   9709 				conf_utmp_location=$f
   9710 			fi
   9711 		done
   9712 		if test -z "$conf_utmp_location"; then
   9713 			cat >>confdefs.h <<\_ACEOF
   9714 #define DISABLE_UTMP 1
   9715 _ACEOF
   9716 
   9717 		fi
   9718 	fi
   9719 fi
   9720 if test -n "$conf_utmp_location"; then
   9721 
   9722 cat >>confdefs.h <<_ACEOF
   9723 #define CONF_UTMP_FILE "$conf_utmp_location"
   9724 _ACEOF
   9725 
   9726 fi
   9727 
   9728 echo "$as_me:$LINENO: checking if your system defines WTMP_FILE" >&5
   9729 echo $ECHO_N "checking if your system defines WTMP_FILE... $ECHO_C" >&6
   9730 cat >conftest.$ac_ext <<_ACEOF
   9731 /* confdefs.h.  */
   9732 _ACEOF
   9733 cat confdefs.h >>conftest.$ac_ext
   9734 cat >>conftest.$ac_ext <<_ACEOF
   9735 /* end confdefs.h.  */
   9736 
   9737 #include <sys/types.h>
   9738 #include <utmp.h>
   9739 #ifdef HAVE_PATHS_H
   9740 #  include <paths.h>
   9741 #endif
   9742 
   9743 int
   9744 main ()
   9745 {
   9746  char *wtmp = WTMP_FILE;
   9747   ;
   9748   return 0;
   9749 }
   9750 _ACEOF
   9751 rm -f conftest.$ac_objext
   9752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9753   (eval $ac_compile) 2>conftest.er1
   9754   ac_status=$?
   9755   grep -v '^ *+' conftest.er1 >conftest.err
   9756   rm -f conftest.er1
   9757   cat conftest.err >&5
   9758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9759   (exit $ac_status); } &&
   9760 	 { ac_try='test -z "$ac_c_werror_flag"
   9761 			 || test ! -s conftest.err'
   9762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9763   (eval $ac_try) 2>&5
   9764   ac_status=$?
   9765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9766   (exit $ac_status); }; } &&
   9767 	 { ac_try='test -s conftest.$ac_objext'
   9768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9769   (eval $ac_try) 2>&5
   9770   ac_status=$?
   9771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9772   (exit $ac_status); }; }; then
   9773    echo "$as_me:$LINENO: result: yes" >&5
   9774 echo "${ECHO_T}yes" >&6
   9775 else
   9776   echo "$as_me: failed program was:" >&5
   9777 sed 's/^/| /' conftest.$ac_ext >&5
   9778 
   9779  echo "$as_me:$LINENO: result: no" >&5
   9780 echo "${ECHO_T}no" >&6
   9781 	  system_wtmp_path=no
   9782 
   9783 fi
   9784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   9785 if test -z "$conf_wtmp_location"; then
   9786 	if test x"$system_wtmp_path" = x"no" ; then
   9787 		for f in /usr/adm/wtmp /var/log/wtmp; do
   9788 			if test -f $f ; then
   9789 				conf_wtmp_location=$f
   9790 			fi
   9791 		done
   9792 		if test -z "$conf_wtmp_location"; then
   9793 			cat >>confdefs.h <<\_ACEOF
   9794 #define DISABLE_WTMP 1
   9795 _ACEOF
   9796 
   9797 		fi
   9798 	fi
   9799 fi
   9800 if test -n "$conf_wtmp_location"; then
   9801 
   9802 cat >>confdefs.h <<_ACEOF
   9803 #define CONF_WTMP_FILE "$conf_wtmp_location"
   9804 _ACEOF
   9805 
   9806 fi
   9807 
   9808 
   9809 echo "$as_me:$LINENO: checking if your system defines UTMPX_FILE" >&5
   9810 echo $ECHO_N "checking if your system defines UTMPX_FILE... $ECHO_C" >&6
   9811 cat >conftest.$ac_ext <<_ACEOF
   9812 /* confdefs.h.  */
   9813 _ACEOF
   9814 cat confdefs.h >>conftest.$ac_ext
   9815 cat >>conftest.$ac_ext <<_ACEOF
   9816 /* end confdefs.h.  */
   9817 
   9818 #include <sys/types.h>
   9819 #include <utmp.h>
   9820 #ifdef HAVE_UTMPX_H
   9821 #include <utmpx.h>
   9822 #endif
   9823 #ifdef HAVE_PATHS_H
   9824 #  include <paths.h>
   9825 #endif
   9826 
   9827 int
   9828 main ()
   9829 {
   9830  char *utmpx = UTMPX_FILE;
   9831   ;
   9832   return 0;
   9833 }
   9834 _ACEOF
   9835 rm -f conftest.$ac_objext
   9836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9837   (eval $ac_compile) 2>conftest.er1
   9838   ac_status=$?
   9839   grep -v '^ *+' conftest.er1 >conftest.err
   9840   rm -f conftest.er1
   9841   cat conftest.err >&5
   9842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9843   (exit $ac_status); } &&
   9844 	 { ac_try='test -z "$ac_c_werror_flag"
   9845 			 || test ! -s conftest.err'
   9846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9847   (eval $ac_try) 2>&5
   9848   ac_status=$?
   9849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9850   (exit $ac_status); }; } &&
   9851 	 { ac_try='test -s conftest.$ac_objext'
   9852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9853   (eval $ac_try) 2>&5
   9854   ac_status=$?
   9855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9856   (exit $ac_status); }; }; then
   9857    echo "$as_me:$LINENO: result: yes" >&5
   9858 echo "${ECHO_T}yes" >&6
   9859 else
   9860   echo "$as_me: failed program was:" >&5
   9861 sed 's/^/| /' conftest.$ac_ext >&5
   9862 
   9863  echo "$as_me:$LINENO: result: no" >&5
   9864 echo "${ECHO_T}no" >&6
   9865 	  system_utmpx_path=no
   9866 
   9867 fi
   9868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   9869 if test -z "$conf_utmpx_location"; then
   9870 	if test x"$system_utmpx_path" = x"no" ; then
   9871 		cat >>confdefs.h <<\_ACEOF
   9872 #define DISABLE_UTMPX 1
   9873 _ACEOF
   9874 
   9875 	fi
   9876 else
   9877 
   9878 cat >>confdefs.h <<_ACEOF
   9879 #define CONF_UTMPX_FILE "$conf_utmpx_location"
   9880 _ACEOF
   9881 
   9882 fi
   9883 
   9884 echo "$as_me:$LINENO: checking if your system defines WTMPX_FILE" >&5
   9885 echo $ECHO_N "checking if your system defines WTMPX_FILE... $ECHO_C" >&6
   9886 cat >conftest.$ac_ext <<_ACEOF
   9887 /* confdefs.h.  */
   9888 _ACEOF
   9889 cat confdefs.h >>conftest.$ac_ext
   9890 cat >>conftest.$ac_ext <<_ACEOF
   9891 /* end confdefs.h.  */
   9892 
   9893 #include <sys/types.h>
   9894 #include <utmp.h>
   9895 #ifdef HAVE_UTMPX_H
   9896 #include <utmpx.h>
   9897 #endif
   9898 #ifdef HAVE_PATHS_H
   9899 #  include <paths.h>
   9900 #endif
   9901 
   9902 int
   9903 main ()
   9904 {
   9905  char *wtmpx = WTMPX_FILE;
   9906   ;
   9907   return 0;
   9908 }
   9909 _ACEOF
   9910 rm -f conftest.$ac_objext
   9911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9912   (eval $ac_compile) 2>conftest.er1
   9913   ac_status=$?
   9914   grep -v '^ *+' conftest.er1 >conftest.err
   9915   rm -f conftest.er1
   9916   cat conftest.err >&5
   9917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9918   (exit $ac_status); } &&
   9919 	 { ac_try='test -z "$ac_c_werror_flag"
   9920 			 || test ! -s conftest.err'
   9921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9922   (eval $ac_try) 2>&5
   9923   ac_status=$?
   9924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9925   (exit $ac_status); }; } &&
   9926 	 { ac_try='test -s conftest.$ac_objext'
   9927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9928   (eval $ac_try) 2>&5
   9929   ac_status=$?
   9930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9931   (exit $ac_status); }; }; then
   9932    echo "$as_me:$LINENO: result: yes" >&5
   9933 echo "${ECHO_T}yes" >&6
   9934 else
   9935   echo "$as_me: failed program was:" >&5
   9936 sed 's/^/| /' conftest.$ac_ext >&5
   9937 
   9938  echo "$as_me:$LINENO: result: no" >&5
   9939 echo "${ECHO_T}no" >&6
   9940 	  system_wtmpx_path=no
   9941 
   9942 fi
   9943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   9944 if test -z "$conf_wtmpx_location"; then
   9945 	if test x"$system_wtmpx_path" = x"no" ; then
   9946 		cat >>confdefs.h <<\_ACEOF
   9947 #define DISABLE_WTMPX 1
   9948 _ACEOF
   9949 
   9950 	fi
   9951 else
   9952 
   9953 cat >>confdefs.h <<_ACEOF
   9954 #define CONF_WTMPX_FILE "$conf_wtmpx_location"
   9955 _ACEOF
   9956 
   9957 fi
   9958 
   9959 # Checks for library functions.
   9960 if test $ac_cv_c_compiler_gnu = yes; then
   9961     echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
   9962 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
   9963 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
   9964   echo $ECHO_N "(cached) $ECHO_C" >&6
   9965 else
   9966     ac_pattern="Autoconf.*'x'"
   9967   cat >conftest.$ac_ext <<_ACEOF
   9968 /* confdefs.h.  */
   9969 _ACEOF
   9970 cat confdefs.h >>conftest.$ac_ext
   9971 cat >>conftest.$ac_ext <<_ACEOF
   9972 /* end confdefs.h.  */
   9973 #include <sgtty.h>
   9974 Autoconf TIOCGETP
   9975 _ACEOF
   9976 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   9977   $EGREP "$ac_pattern" >/dev/null 2>&1; then
   9978   ac_cv_prog_gcc_traditional=yes
   9979 else
   9980   ac_cv_prog_gcc_traditional=no
   9981 fi
   9982 rm -f conftest*
   9983 
   9984 
   9985   if test $ac_cv_prog_gcc_traditional = no; then
   9986     cat >conftest.$ac_ext <<_ACEOF
   9987 /* confdefs.h.  */
   9988 _ACEOF
   9989 cat confdefs.h >>conftest.$ac_ext
   9990 cat >>conftest.$ac_ext <<_ACEOF
   9991 /* end confdefs.h.  */
   9992 #include <termio.h>
   9993 Autoconf TCGETA
   9994 _ACEOF
   9995 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   9996   $EGREP "$ac_pattern" >/dev/null 2>&1; then
   9997   ac_cv_prog_gcc_traditional=yes
   9998 fi
   9999 rm -f conftest*
   10000 
   10001   fi
   10002 fi
   10003 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
   10004 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
   10005   if test $ac_cv_prog_gcc_traditional = yes; then
   10006     CC="$CC -traditional"
   10007   fi
   10008 fi
   10009 
   10010 echo "$as_me:$LINENO: checking for working memcmp" >&5
   10011 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
   10012 if test "${ac_cv_func_memcmp_working+set}" = set; then
   10013   echo $ECHO_N "(cached) $ECHO_C" >&6
   10014 else
   10015   if test "$cross_compiling" = yes; then
   10016   ac_cv_func_memcmp_working=no
   10017 else
   10018   cat >conftest.$ac_ext <<_ACEOF
   10019 /* confdefs.h.  */
   10020 _ACEOF
   10021 cat confdefs.h >>conftest.$ac_ext
   10022 cat >>conftest.$ac_ext <<_ACEOF
   10023 /* end confdefs.h.  */
   10024 $ac_includes_default
   10025 int
   10026 main ()
   10027 {
   10028 
   10029   /* Some versions of memcmp are not 8-bit clean.  */
   10030   char c0 = 0x40, c1 = 0x80, c2 = 0x81;
   10031   if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
   10032     exit (1);
   10033 
   10034   /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
   10035      or more and with at least one buffer not starting on a 4-byte boundary.
   10036      William Lewis provided this test program.   */
   10037   {
   10038     char foo[21];
   10039     char bar[21];
   10040     int i;
   10041     for (i = 0; i < 4; i++)
   10042       {
   10043 	char *a = foo + i;
   10044 	char *b = bar + i;
   10045 	strcpy (a, "--------01111111");
   10046 	strcpy (b, "--------10000000");
   10047 	if (memcmp (a, b, 16) >= 0)
   10048 	  exit (1);
   10049       }
   10050     exit (0);
   10051   }
   10052 
   10053   ;
   10054   return 0;
   10055 }
   10056 _ACEOF
   10057 rm -f conftest$ac_exeext
   10058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10059   (eval $ac_link) 2>&5
   10060   ac_status=$?
   10061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10062   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   10063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10064   (eval $ac_try) 2>&5
   10065   ac_status=$?
   10066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10067   (exit $ac_status); }; }; then
   10068   ac_cv_func_memcmp_working=yes
   10069 else
   10070   echo "$as_me: program exited with status $ac_status" >&5
   10071 echo "$as_me: failed program was:" >&5
   10072 sed 's/^/| /' conftest.$ac_ext >&5
   10073 
   10074 ( exit $ac_status )
   10075 ac_cv_func_memcmp_working=no
   10076 fi
   10077 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   10078 fi
   10079 fi
   10080 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
   10081 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
   10082 test $ac_cv_func_memcmp_working = no && case $LIBOBJS in
   10083     "memcmp.$ac_objext"   | \
   10084   *" memcmp.$ac_objext"   | \
   10085     "memcmp.$ac_objext "* | \
   10086   *" memcmp.$ac_objext "* ) ;;
   10087   *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" ;;
   10088 esac
   10089 
   10090 
   10091 
   10092 
   10093 for ac_header in sys/select.h sys/socket.h
   10094 do
   10095 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   10096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   10097   echo "$as_me:$LINENO: checking for $ac_header" >&5
   10098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   10099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   10100   echo $ECHO_N "(cached) $ECHO_C" >&6
   10101 fi
   10102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   10103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   10104 else
   10105   # Is the header compilable?
   10106 echo "$as_me:$LINENO: checking $ac_header usability" >&5
   10107 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   10108 cat >conftest.$ac_ext <<_ACEOF
   10109 /* confdefs.h.  */
   10110 _ACEOF
   10111 cat confdefs.h >>conftest.$ac_ext
   10112 cat >>conftest.$ac_ext <<_ACEOF
   10113 /* end confdefs.h.  */
   10114 $ac_includes_default
   10115 #include <$ac_header>
   10116 _ACEOF
   10117 rm -f conftest.$ac_objext
   10118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   10119   (eval $ac_compile) 2>conftest.er1
   10120   ac_status=$?
   10121   grep -v '^ *+' conftest.er1 >conftest.err
   10122   rm -f conftest.er1
   10123   cat conftest.err >&5
   10124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10125   (exit $ac_status); } &&
   10126 	 { ac_try='test -z "$ac_c_werror_flag"
   10127 			 || test ! -s conftest.err'
   10128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10129   (eval $ac_try) 2>&5
   10130   ac_status=$?
   10131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10132   (exit $ac_status); }; } &&
   10133 	 { ac_try='test -s conftest.$ac_objext'
   10134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10135   (eval $ac_try) 2>&5
   10136   ac_status=$?
   10137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10138   (exit $ac_status); }; }; then
   10139   ac_header_compiler=yes
   10140 else
   10141   echo "$as_me: failed program was:" >&5
   10142 sed 's/^/| /' conftest.$ac_ext >&5
   10143 
   10144 ac_header_compiler=no
   10145 fi
   10146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   10147 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   10148 echo "${ECHO_T}$ac_header_compiler" >&6
   10149 
   10150 # Is the header present?
   10151 echo "$as_me:$LINENO: checking $ac_header presence" >&5
   10152 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   10153 cat >conftest.$ac_ext <<_ACEOF
   10154 /* confdefs.h.  */
   10155 _ACEOF
   10156 cat confdefs.h >>conftest.$ac_ext
   10157 cat >>conftest.$ac_ext <<_ACEOF
   10158 /* end confdefs.h.  */
   10159 #include <$ac_header>
   10160 _ACEOF
   10161 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   10162   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   10163   ac_status=$?
   10164   grep -v '^ *+' conftest.er1 >conftest.err
   10165   rm -f conftest.er1
   10166   cat conftest.err >&5
   10167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10168   (exit $ac_status); } >/dev/null; then
   10169   if test -s conftest.err; then
   10170     ac_cpp_err=$ac_c_preproc_warn_flag
   10171     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   10172   else
   10173     ac_cpp_err=
   10174   fi
   10175 else
   10176   ac_cpp_err=yes
   10177 fi
   10178 if test -z "$ac_cpp_err"; then
   10179   ac_header_preproc=yes
   10180 else
   10181   echo "$as_me: failed program was:" >&5
   10182 sed 's/^/| /' conftest.$ac_ext >&5
   10183 
   10184   ac_header_preproc=no
   10185 fi
   10186 rm -f conftest.err conftest.$ac_ext
   10187 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   10188 echo "${ECHO_T}$ac_header_preproc" >&6
   10189 
   10190 # So?  What about this header?
   10191 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   10192   yes:no: )
   10193     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   10194 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   10195     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   10196 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   10197     ac_header_preproc=yes
   10198     ;;
   10199   no:yes:* )
   10200     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   10201 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   10202     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   10203 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   10204     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   10205 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   10206     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   10207 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   10208     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   10209 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   10210     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   10211 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   10212     (
   10213       cat <<\_ASBOX
   10214 ## ------------------------------------------ ##
   10215 ## Report this to the AC_PACKAGE_NAME lists.  ##
   10216 ## ------------------------------------------ ##
   10217 _ASBOX
   10218     ) |
   10219       sed "s/^/$as_me: WARNING:     /" >&2
   10220     ;;
   10221 esac
   10222 echo "$as_me:$LINENO: checking for $ac_header" >&5
   10223 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   10224 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   10225   echo $ECHO_N "(cached) $ECHO_C" >&6
   10226 else
   10227   eval "$as_ac_Header=\$ac_header_preproc"
   10228 fi
   10229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   10230 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   10231 
   10232 fi
   10233 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   10234   cat >>confdefs.h <<_ACEOF
   10235 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   10236 _ACEOF
   10237 
   10238 fi
   10239 
   10240 done
   10241 
   10242 echo "$as_me:$LINENO: checking types of arguments for select" >&5
   10243 echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6
   10244 if test "${ac_cv_func_select_args+set}" = set; then
   10245   echo $ECHO_N "(cached) $ECHO_C" >&6
   10246 else
   10247   for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
   10248  for ac_arg1 in 'int' 'size_t' 'unsigned long' 'unsigned'; do
   10249   for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
   10250    cat >conftest.$ac_ext <<_ACEOF
   10251 /* confdefs.h.  */
   10252 _ACEOF
   10253 cat confdefs.h >>conftest.$ac_ext
   10254 cat >>conftest.$ac_ext <<_ACEOF
   10255 /* end confdefs.h.  */
   10256 $ac_includes_default
   10257 #if HAVE_SYS_SELECT_H
   10258 # include <sys/select.h>
   10259 #endif
   10260 #if HAVE_SYS_SOCKET_H
   10261 # include <sys/socket.h>
   10262 #endif
   10263 
   10264 int
   10265 main ()
   10266 {
   10267 extern int select ($ac_arg1,
   10268 					    $ac_arg234, $ac_arg234, $ac_arg234,
   10269 					    $ac_arg5);
   10270   ;
   10271   return 0;
   10272 }
   10273 _ACEOF
   10274 rm -f conftest.$ac_objext
   10275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   10276   (eval $ac_compile) 2>conftest.er1
   10277   ac_status=$?
   10278   grep -v '^ *+' conftest.er1 >conftest.err
   10279   rm -f conftest.er1
   10280   cat conftest.err >&5
   10281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10282   (exit $ac_status); } &&
   10283 	 { ac_try='test -z "$ac_c_werror_flag"
   10284 			 || test ! -s conftest.err'
   10285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10286   (eval $ac_try) 2>&5
   10287   ac_status=$?
   10288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10289   (exit $ac_status); }; } &&
   10290 	 { ac_try='test -s conftest.$ac_objext'
   10291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10292   (eval $ac_try) 2>&5
   10293   ac_status=$?
   10294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10295   (exit $ac_status); }; }; then
   10296   ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
   10297 else
   10298   echo "$as_me: failed program was:" >&5
   10299 sed 's/^/| /' conftest.$ac_ext >&5
   10300 
   10301 fi
   10302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   10303   done
   10304  done
   10305 done
   10306 # Provide a safe default value.
   10307 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
   10308 
   10309 fi
   10310 echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
   10311 echo "${ECHO_T}$ac_cv_func_select_args" >&6
   10312 ac_save_IFS=$IFS; IFS=','
   10313 set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
   10314 IFS=$ac_save_IFS
   10315 shift
   10316 
   10317 cat >>confdefs.h <<_ACEOF
   10318 #define SELECT_TYPE_ARG1 $1
   10319 _ACEOF
   10320 
   10321 
   10322 cat >>confdefs.h <<_ACEOF
   10323 #define SELECT_TYPE_ARG234 ($2)
   10324 _ACEOF
   10325 
   10326 
   10327 cat >>confdefs.h <<_ACEOF
   10328 #define SELECT_TYPE_ARG5 ($3)
   10329 _ACEOF
   10330 
   10331 rm -f conftest*
   10332 
   10333 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
   10334 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
   10335 if test "${ac_cv_type_signal+set}" = set; then
   10336   echo $ECHO_N "(cached) $ECHO_C" >&6
   10337 else
   10338   cat >conftest.$ac_ext <<_ACEOF
   10339 /* confdefs.h.  */
   10340 _ACEOF
   10341 cat confdefs.h >>conftest.$ac_ext
   10342 cat >>conftest.$ac_ext <<_ACEOF
   10343 /* end confdefs.h.  */
   10344 #include <sys/types.h>
   10345 #include <signal.h>
   10346 #ifdef signal
   10347 # undef signal
   10348 #endif
   10349 #ifdef __cplusplus
   10350 extern "C" void (*signal (int, void (*)(int)))(int);
   10351 #else
   10352 void (*signal ()) ();
   10353 #endif
   10354 
   10355 int
   10356 main ()
   10357 {
   10358 int i;
   10359   ;
   10360   return 0;
   10361 }
   10362 _ACEOF
   10363 rm -f conftest.$ac_objext
   10364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   10365   (eval $ac_compile) 2>conftest.er1
   10366   ac_status=$?
   10367   grep -v '^ *+' conftest.er1 >conftest.err
   10368   rm -f conftest.er1
   10369   cat conftest.err >&5
   10370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10371   (exit $ac_status); } &&
   10372 	 { ac_try='test -z "$ac_c_werror_flag"
   10373 			 || test ! -s conftest.err'
   10374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10375   (eval $ac_try) 2>&5
   10376   ac_status=$?
   10377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10378   (exit $ac_status); }; } &&
   10379 	 { ac_try='test -s conftest.$ac_objext'
   10380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10381   (eval $ac_try) 2>&5
   10382   ac_status=$?
   10383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10384   (exit $ac_status); }; }; then
   10385   ac_cv_type_signal=void
   10386 else
   10387   echo "$as_me: failed program was:" >&5
   10388 sed 's/^/| /' conftest.$ac_ext >&5
   10389 
   10390 ac_cv_type_signal=int
   10391 fi
   10392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   10393 fi
   10394 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
   10395 echo "${ECHO_T}$ac_cv_type_signal" >&6
   10396 
   10397 cat >>confdefs.h <<_ACEOF
   10398 #define RETSIGTYPE $ac_cv_type_signal
   10399 _ACEOF
   10400 
   10401 
   10402 
   10403 
   10404 
   10405 
   10406 
   10407 
   10408 
   10409 
   10410 
   10411 
   10412 
   10413 
   10414 
   10415 
   10416 
   10417 
   10418 
   10419 for ac_func in dup2 getspnam getusershell memset putenv select socket strdup clearenv strlcpy strlcat daemon basename _getpty getaddrinfo freeaddrinfo getnameinfo
   10420 do
   10421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   10422 echo "$as_me:$LINENO: checking for $ac_func" >&5
   10423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   10424 if eval "test \"\${$as_ac_var+set}\" = set"; then
   10425   echo $ECHO_N "(cached) $ECHO_C" >&6
   10426 else
   10427   cat >conftest.$ac_ext <<_ACEOF
   10428 /* confdefs.h.  */
   10429 _ACEOF
   10430 cat confdefs.h >>conftest.$ac_ext
   10431 cat >>conftest.$ac_ext <<_ACEOF
   10432 /* end confdefs.h.  */
   10433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   10434    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10435 #define $ac_func innocuous_$ac_func
   10436 
   10437 /* System header to define __stub macros and hopefully few prototypes,
   10438     which can conflict with char $ac_func (); below.
   10439     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10440     <limits.h> exists even on freestanding compilers.  */
   10441 
   10442 #ifdef __STDC__
   10443 # include <limits.h>
   10444 #else
   10445 # include <assert.h>
   10446 #endif
   10447 
   10448 #undef $ac_func
   10449 
   10450 /* Override any gcc2 internal prototype to avoid an error.  */
   10451 #ifdef __cplusplus
   10452 extern "C"
   10453 {
   10454 #endif
   10455 /* We use char because int might match the return type of a gcc2
   10456    builtin and then its argument prototype would still apply.  */
   10457 char $ac_func ();
   10458 /* The GNU C library defines this for functions which it implements
   10459     to always fail with ENOSYS.  Some functions are actually named
   10460     something starting with __ and the normal name is an alias.  */
   10461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   10462 choke me
   10463 #else
   10464 char (*f) () = $ac_func;
   10465 #endif
   10466 #ifdef __cplusplus
   10467 }
   10468 #endif
   10469 
   10470 int
   10471 main ()
   10472 {
   10473 return f != $ac_func;
   10474   ;
   10475   return 0;
   10476 }
   10477 _ACEOF
   10478 rm -f conftest.$ac_objext conftest$ac_exeext
   10479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10480   (eval $ac_link) 2>conftest.er1
   10481   ac_status=$?
   10482   grep -v '^ *+' conftest.er1 >conftest.err
   10483   rm -f conftest.er1
   10484   cat conftest.err >&5
   10485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10486   (exit $ac_status); } &&
   10487 	 { ac_try='test -z "$ac_c_werror_flag"
   10488 			 || test ! -s conftest.err'
   10489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10490   (eval $ac_try) 2>&5
   10491   ac_status=$?
   10492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10493   (exit $ac_status); }; } &&
   10494 	 { ac_try='test -s conftest$ac_exeext'
   10495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10496   (eval $ac_try) 2>&5
   10497   ac_status=$?
   10498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10499   (exit $ac_status); }; }; then
   10500   eval "$as_ac_var=yes"
   10501 else
   10502   echo "$as_me: failed program was:" >&5
   10503 sed 's/^/| /' conftest.$ac_ext >&5
   10504 
   10505 eval "$as_ac_var=no"
   10506 fi
   10507 rm -f conftest.err conftest.$ac_objext \
   10508       conftest$ac_exeext conftest.$ac_ext
   10509 fi
   10510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   10511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   10512 if test `eval echo '${'$as_ac_var'}'` = yes; then
   10513   cat >>confdefs.h <<_ACEOF
   10514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   10515 _ACEOF
   10516 
   10517 fi
   10518 done
   10519 
   10520 
   10521 echo "$as_me:$LINENO: checking for library containing basename" >&5
   10522 echo $ECHO_N "checking for library containing basename... $ECHO_C" >&6
   10523 if test "${ac_cv_search_basename+set}" = set; then
   10524   echo $ECHO_N "(cached) $ECHO_C" >&6
   10525 else
   10526   ac_func_search_save_LIBS=$LIBS
   10527 ac_cv_search_basename=no
   10528 cat >conftest.$ac_ext <<_ACEOF
   10529 /* confdefs.h.  */
   10530 _ACEOF
   10531 cat confdefs.h >>conftest.$ac_ext
   10532 cat >>conftest.$ac_ext <<_ACEOF
   10533 /* end confdefs.h.  */
   10534 
   10535 /* Override any gcc2 internal prototype to avoid an error.  */
   10536 #ifdef __cplusplus
   10537 extern "C"
   10538 #endif
   10539 /* We use char because int might match the return type of a gcc2
   10540    builtin and then its argument prototype would still apply.  */
   10541 char basename ();
   10542 int
   10543 main ()
   10544 {
   10545 basename ();
   10546   ;
   10547   return 0;
   10548 }
   10549 _ACEOF
   10550 rm -f conftest.$ac_objext conftest$ac_exeext
   10551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10552   (eval $ac_link) 2>conftest.er1
   10553   ac_status=$?
   10554   grep -v '^ *+' conftest.er1 >conftest.err
   10555   rm -f conftest.er1
   10556   cat conftest.err >&5
   10557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10558   (exit $ac_status); } &&
   10559 	 { ac_try='test -z "$ac_c_werror_flag"
   10560 			 || test ! -s conftest.err'
   10561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10562   (eval $ac_try) 2>&5
   10563   ac_status=$?
   10564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10565   (exit $ac_status); }; } &&
   10566 	 { ac_try='test -s conftest$ac_exeext'
   10567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10568   (eval $ac_try) 2>&5
   10569   ac_status=$?
   10570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10571   (exit $ac_status); }; }; then
   10572   ac_cv_search_basename="none required"
   10573 else
   10574   echo "$as_me: failed program was:" >&5
   10575 sed 's/^/| /' conftest.$ac_ext >&5
   10576 
   10577 fi
   10578 rm -f conftest.err conftest.$ac_objext \
   10579       conftest$ac_exeext conftest.$ac_ext
   10580 if test "$ac_cv_search_basename" = no; then
   10581   for ac_lib in gen; do
   10582     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   10583     cat >conftest.$ac_ext <<_ACEOF
   10584 /* confdefs.h.  */
   10585 _ACEOF
   10586 cat confdefs.h >>conftest.$ac_ext
   10587 cat >>conftest.$ac_ext <<_ACEOF
   10588 /* end confdefs.h.  */
   10589 
   10590 /* Override any gcc2 internal prototype to avoid an error.  */
   10591 #ifdef __cplusplus
   10592 extern "C"
   10593 #endif
   10594 /* We use char because int might match the return type of a gcc2
   10595    builtin and then its argument prototype would still apply.  */
   10596 char basename ();
   10597 int
   10598 main ()
   10599 {
   10600 basename ();
   10601   ;
   10602   return 0;
   10603 }
   10604 _ACEOF
   10605 rm -f conftest.$ac_objext conftest$ac_exeext
   10606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10607   (eval $ac_link) 2>conftest.er1
   10608   ac_status=$?
   10609   grep -v '^ *+' conftest.er1 >conftest.err
   10610   rm -f conftest.er1
   10611   cat conftest.err >&5
   10612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10613   (exit $ac_status); } &&
   10614 	 { ac_try='test -z "$ac_c_werror_flag"
   10615 			 || test ! -s conftest.err'
   10616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10617   (eval $ac_try) 2>&5
   10618   ac_status=$?
   10619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10620   (exit $ac_status); }; } &&
   10621 	 { ac_try='test -s conftest$ac_exeext'
   10622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10623   (eval $ac_try) 2>&5
   10624   ac_status=$?
   10625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10626   (exit $ac_status); }; }; then
   10627   ac_cv_search_basename="-l$ac_lib"
   10628 break
   10629 else
   10630   echo "$as_me: failed program was:" >&5
   10631 sed 's/^/| /' conftest.$ac_ext >&5
   10632 
   10633 fi
   10634 rm -f conftest.err conftest.$ac_objext \
   10635       conftest$ac_exeext conftest.$ac_ext
   10636   done
   10637 fi
   10638 LIBS=$ac_func_search_save_LIBS
   10639 fi
   10640 echo "$as_me:$LINENO: result: $ac_cv_search_basename" >&5
   10641 echo "${ECHO_T}$ac_cv_search_basename" >&6
   10642 if test "$ac_cv_search_basename" != no; then
   10643   test "$ac_cv_search_basename" = "none required" || LIBS="$ac_cv_search_basename $LIBS"
   10644   cat >>confdefs.h <<\_ACEOF
   10645 #define HAVE_BASENAME 1
   10646 _ACEOF
   10647 
   10648 fi
   10649 
   10650 
   10651 # Solaris needs ptmx
   10652 if test -z "$no_ptmx_check" ; then
   10653 	if test x"$cross_compiling" = x"no" ; then
   10654 		echo "$as_me:$LINENO: checking for \"/dev/ptmx\"" >&5
   10655 echo $ECHO_N "checking for \"/dev/ptmx\"... $ECHO_C" >&6
   10656 if test "${ac_cv_file___dev_ptmx_+set}" = set; then
   10657   echo $ECHO_N "(cached) $ECHO_C" >&6
   10658 else
   10659   test "$cross_compiling" = yes &&
   10660   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   10661 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   10662    { (exit 1); exit 1; }; }
   10663 if test -r ""/dev/ptmx""; then
   10664   ac_cv_file___dev_ptmx_=yes
   10665 else
   10666   ac_cv_file___dev_ptmx_=no
   10667 fi
   10668 fi
   10669 echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptmx_" >&5
   10670 echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6
   10671 if test $ac_cv_file___dev_ptmx_ = yes; then
   10672 
   10673 cat >>confdefs.h <<\_ACEOF
   10674 #define USE_DEV_PTMX
   10675 _ACEOF
   10676 
   10677 fi
   10678 
   10679 	else
   10680 		{ echo "$as_me:$LINENO: Not checking for /dev/ptmx, we're cross-compiling" >&5
   10681 echo "$as_me: Not checking for /dev/ptmx, we're cross-compiling" >&6;}
   10682 	fi
   10683 fi
   10684 
   10685 if test -z "$no_ptc_check" ; then
   10686 	if test x"$cross_compiling" = x"no" ; then
   10687 		echo "$as_me:$LINENO: checking for \"/dev/ptc\"" >&5
   10688 echo $ECHO_N "checking for \"/dev/ptc\"... $ECHO_C" >&6
   10689 if test "${ac_cv_file___dev_ptc_+set}" = set; then
   10690   echo $ECHO_N "(cached) $ECHO_C" >&6
   10691 else
   10692   test "$cross_compiling" = yes &&
   10693   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   10694 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   10695    { (exit 1); exit 1; }; }
   10696 if test -r ""/dev/ptc""; then
   10697   ac_cv_file___dev_ptc_=yes
   10698 else
   10699   ac_cv_file___dev_ptc_=no
   10700 fi
   10701 fi
   10702 echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptc_" >&5
   10703 echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6
   10704 if test $ac_cv_file___dev_ptc_ = yes; then
   10705 
   10706 cat >>confdefs.h <<\_ACEOF
   10707 #define HAVE_DEV_PTS_AND_PTC
   10708 _ACEOF
   10709 
   10710 fi
   10711 
   10712 	else
   10713 		{ echo "$as_me:$LINENO: Not checking for /dev/ptc & /dev/pts since we're cross-compiling" >&5
   10714 echo "$as_me: Not checking for /dev/ptc & /dev/pts since we're cross-compiling" >&6;}
   10715 	fi
   10716 fi
   10717 
   10718 
   10719 
   10720 # XXX there must be a nicer way to do this
   10721 { if $as_mkdir_p; then
   10722     mkdir -p libtomcrypt/src/ciphers/aes
   10723   else
   10724     as_dir=libtomcrypt/src/ciphers/aes
   10725     as_dirs=
   10726     while test ! -d "$as_dir"; do
   10727       as_dirs="$as_dir $as_dirs"
   10728       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   10729 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   10730 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   10731 	 X"$as_dir" : 'X\(//\)$' \| \
   10732 	 X"$as_dir" : 'X\(/\)' \| \
   10733 	 .     : '\(.\)' 2>/dev/null ||
   10734 echo X"$as_dir" |
   10735     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   10736   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   10737   	  /^X\(\/\/\)$/{ s//\1/; q; }
   10738   	  /^X\(\/\).*/{ s//\1/; q; }
   10739   	  s/.*/./; q'`
   10740     done
   10741     test ! -n "$as_dirs" || mkdir $as_dirs
   10742   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/ciphers/aes" >&5
   10743 echo "$as_me: error: cannot create directory libtomcrypt/src/ciphers/aes" >&2;}
   10744    { (exit 1); exit 1; }; }; }
   10745 
   10746 { if $as_mkdir_p; then
   10747     mkdir -p libtomcrypt/src/ciphers/safer
   10748   else
   10749     as_dir=libtomcrypt/src/ciphers/safer
   10750     as_dirs=
   10751     while test ! -d "$as_dir"; do
   10752       as_dirs="$as_dir $as_dirs"
   10753       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   10754 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   10755 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   10756 	 X"$as_dir" : 'X\(//\)$' \| \
   10757 	 X"$as_dir" : 'X\(/\)' \| \
   10758 	 .     : '\(.\)' 2>/dev/null ||
   10759 echo X"$as_dir" |
   10760     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   10761   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   10762   	  /^X\(\/\/\)$/{ s//\1/; q; }
   10763   	  /^X\(\/\).*/{ s//\1/; q; }
   10764   	  s/.*/./; q'`
   10765     done
   10766     test ! -n "$as_dirs" || mkdir $as_dirs
   10767   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/ciphers/safer" >&5
   10768 echo "$as_me: error: cannot create directory libtomcrypt/src/ciphers/safer" >&2;}
   10769    { (exit 1); exit 1; }; }; }
   10770 
   10771 { if $as_mkdir_p; then
   10772     mkdir -p libtomcrypt/src/ciphers/twofish
   10773   else
   10774     as_dir=libtomcrypt/src/ciphers/twofish
   10775     as_dirs=
   10776     while test ! -d "$as_dir"; do
   10777       as_dirs="$as_dir $as_dirs"
   10778       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   10779 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   10780 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   10781 	 X"$as_dir" : 'X\(//\)$' \| \
   10782 	 X"$as_dir" : 'X\(/\)' \| \
   10783 	 .     : '\(.\)' 2>/dev/null ||
   10784 echo X"$as_dir" |
   10785     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   10786   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   10787   	  /^X\(\/\/\)$/{ s//\1/; q; }
   10788   	  /^X\(\/\).*/{ s//\1/; q; }
   10789   	  s/.*/./; q'`
   10790     done
   10791     test ! -n "$as_dirs" || mkdir $as_dirs
   10792   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/ciphers/twofish" >&5
   10793 echo "$as_me: error: cannot create directory libtomcrypt/src/ciphers/twofish" >&2;}
   10794    { (exit 1); exit 1; }; }; }
   10795 
   10796 { if $as_mkdir_p; then
   10797     mkdir -p libtomcrypt/src/encauth/ccm
   10798   else
   10799     as_dir=libtomcrypt/src/encauth/ccm
   10800     as_dirs=
   10801     while test ! -d "$as_dir"; do
   10802       as_dirs="$as_dir $as_dirs"
   10803       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   10804 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   10805 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   10806 	 X"$as_dir" : 'X\(//\)$' \| \
   10807 	 X"$as_dir" : 'X\(/\)' \| \
   10808 	 .     : '\(.\)' 2>/dev/null ||
   10809 echo X"$as_dir" |
   10810     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   10811   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   10812   	  /^X\(\/\/\)$/{ s//\1/; q; }
   10813   	  /^X\(\/\).*/{ s//\1/; q; }
   10814   	  s/.*/./; q'`
   10815     done
   10816     test ! -n "$as_dirs" || mkdir $as_dirs
   10817   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/encauth/ccm" >&5
   10818 echo "$as_me: error: cannot create directory libtomcrypt/src/encauth/ccm" >&2;}
   10819    { (exit 1); exit 1; }; }; }
   10820 
   10821 { if $as_mkdir_p; then
   10822     mkdir -p libtomcrypt/src/encauth/eax
   10823   else
   10824     as_dir=libtomcrypt/src/encauth/eax
   10825     as_dirs=
   10826     while test ! -d "$as_dir"; do
   10827       as_dirs="$as_dir $as_dirs"
   10828       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   10829 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   10830 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   10831 	 X"$as_dir" : 'X\(//\)$' \| \
   10832 	 X"$as_dir" : 'X\(/\)' \| \
   10833 	 .     : '\(.\)' 2>/dev/null ||
   10834 echo X"$as_dir" |
   10835     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   10836   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   10837   	  /^X\(\/\/\)$/{ s//\1/; q; }
   10838   	  /^X\(\/\).*/{ s//\1/; q; }
   10839   	  s/.*/./; q'`
   10840     done
   10841     test ! -n "$as_dirs" || mkdir $as_dirs
   10842   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/encauth/eax" >&5
   10843 echo "$as_me: error: cannot create directory libtomcrypt/src/encauth/eax" >&2;}
   10844    { (exit 1); exit 1; }; }; }
   10845 
   10846 { if $as_mkdir_p; then
   10847     mkdir -p libtomcrypt/src/encauth/gcm
   10848   else
   10849     as_dir=libtomcrypt/src/encauth/gcm
   10850     as_dirs=
   10851     while test ! -d "$as_dir"; do
   10852       as_dirs="$as_dir $as_dirs"
   10853       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   10854 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   10855 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   10856 	 X"$as_dir" : 'X\(//\)$' \| \
   10857 	 X"$as_dir" : 'X\(/\)' \| \
   10858 	 .     : '\(.\)' 2>/dev/null ||
   10859 echo X"$as_dir" |
   10860     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   10861   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   10862   	  /^X\(\/\/\)$/{ s//\1/; q; }
   10863   	  /^X\(\/\).*/{ s//\1/; q; }
   10864   	  s/.*/./; q'`
   10865     done
   10866     test ! -n "$as_dirs" || mkdir $as_dirs
   10867   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/encauth/gcm" >&5
   10868 echo "$as_me: error: cannot create directory libtomcrypt/src/encauth/gcm" >&2;}
   10869    { (exit 1); exit 1; }; }; }
   10870 
   10871 { if $as_mkdir_p; then
   10872     mkdir -p libtomcrypt/src/encauth/ocb
   10873   else
   10874     as_dir=libtomcrypt/src/encauth/ocb
   10875     as_dirs=
   10876     while test ! -d "$as_dir"; do
   10877       as_dirs="$as_dir $as_dirs"
   10878       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   10879 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   10880 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   10881 	 X"$as_dir" : 'X\(//\)$' \| \
   10882 	 X"$as_dir" : 'X\(/\)' \| \
   10883 	 .     : '\(.\)' 2>/dev/null ||
   10884 echo X"$as_dir" |
   10885     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   10886   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   10887   	  /^X\(\/\/\)$/{ s//\1/; q; }
   10888   	  /^X\(\/\).*/{ s//\1/; q; }
   10889   	  s/.*/./; q'`
   10890     done
   10891     test ! -n "$as_dirs" || mkdir $as_dirs
   10892   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/encauth/ocb" >&5
   10893 echo "$as_me: error: cannot create directory libtomcrypt/src/encauth/ocb" >&2;}
   10894    { (exit 1); exit 1; }; }; }
   10895 
   10896 { if $as_mkdir_p; then
   10897     mkdir -p libtomcrypt/src/hashes
   10898   else
   10899     as_dir=libtomcrypt/src/hashes
   10900     as_dirs=
   10901     while test ! -d "$as_dir"; do
   10902       as_dirs="$as_dir $as_dirs"
   10903       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   10904 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   10905 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   10906 	 X"$as_dir" : 'X\(//\)$' \| \
   10907 	 X"$as_dir" : 'X\(/\)' \| \
   10908 	 .     : '\(.\)' 2>/dev/null ||
   10909 echo X"$as_dir" |
   10910     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   10911   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   10912   	  /^X\(\/\/\)$/{ s//\1/; q; }
   10913   	  /^X\(\/\).*/{ s//\1/; q; }
   10914   	  s/.*/./; q'`
   10915     done
   10916     test ! -n "$as_dirs" || mkdir $as_dirs
   10917   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/hashes" >&5
   10918 echo "$as_me: error: cannot create directory libtomcrypt/src/hashes" >&2;}
   10919    { (exit 1); exit 1; }; }; }
   10920 
   10921 { if $as_mkdir_p; then
   10922     mkdir -p libtomcrypt/src/hashes/chc
   10923   else
   10924     as_dir=libtomcrypt/src/hashes/chc
   10925     as_dirs=
   10926     while test ! -d "$as_dir"; do
   10927       as_dirs="$as_dir $as_dirs"
   10928       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   10929 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   10930 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   10931 	 X"$as_dir" : 'X\(//\)$' \| \
   10932 	 X"$as_dir" : 'X\(/\)' \| \
   10933 	 .     : '\(.\)' 2>/dev/null ||
   10934 echo X"$as_dir" |
   10935     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   10936   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   10937   	  /^X\(\/\/\)$/{ s//\1/; q; }
   10938   	  /^X\(\/\).*/{ s//\1/; q; }
   10939   	  s/.*/./; q'`
   10940     done
   10941     test ! -n "$as_dirs" || mkdir $as_dirs
   10942   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/hashes/chc" >&5
   10943 echo "$as_me: error: cannot create directory libtomcrypt/src/hashes/chc" >&2;}
   10944    { (exit 1); exit 1; }; }; }
   10945 
   10946 { if $as_mkdir_p; then
   10947     mkdir -p libtomcrypt/src/hashes/helper
   10948   else
   10949     as_dir=libtomcrypt/src/hashes/helper
   10950     as_dirs=
   10951     while test ! -d "$as_dir"; do
   10952       as_dirs="$as_dir $as_dirs"
   10953       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   10954 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   10955 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   10956 	 X"$as_dir" : 'X\(//\)$' \| \
   10957 	 X"$as_dir" : 'X\(/\)' \| \
   10958 	 .     : '\(.\)' 2>/dev/null ||
   10959 echo X"$as_dir" |
   10960     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   10961   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   10962   	  /^X\(\/\/\)$/{ s//\1/; q; }
   10963   	  /^X\(\/\).*/{ s//\1/; q; }
   10964   	  s/.*/./; q'`
   10965     done
   10966     test ! -n "$as_dirs" || mkdir $as_dirs
   10967   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/hashes/helper" >&5
   10968 echo "$as_me: error: cannot create directory libtomcrypt/src/hashes/helper" >&2;}
   10969    { (exit 1); exit 1; }; }; }
   10970 
   10971 { if $as_mkdir_p; then
   10972     mkdir -p libtomcrypt/src/hashes/sha2
   10973   else
   10974     as_dir=libtomcrypt/src/hashes/sha2
   10975     as_dirs=
   10976     while test ! -d "$as_dir"; do
   10977       as_dirs="$as_dir $as_dirs"
   10978       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   10979 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   10980 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   10981 	 X"$as_dir" : 'X\(//\)$' \| \
   10982 	 X"$as_dir" : 'X\(/\)' \| \
   10983 	 .     : '\(.\)' 2>/dev/null ||
   10984 echo X"$as_dir" |
   10985     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   10986   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   10987   	  /^X\(\/\/\)$/{ s//\1/; q; }
   10988   	  /^X\(\/\).*/{ s//\1/; q; }
   10989   	  s/.*/./; q'`
   10990     done
   10991     test ! -n "$as_dirs" || mkdir $as_dirs
   10992   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/hashes/sha2" >&5
   10993 echo "$as_me: error: cannot create directory libtomcrypt/src/hashes/sha2" >&2;}
   10994    { (exit 1); exit 1; }; }; }
   10995 
   10996 { if $as_mkdir_p; then
   10997     mkdir -p libtomcrypt/src/hashes/whirl
   10998   else
   10999     as_dir=libtomcrypt/src/hashes/whirl
   11000     as_dirs=
   11001     while test ! -d "$as_dir"; do
   11002       as_dirs="$as_dir $as_dirs"
   11003       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   11004 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11005 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11006 	 X"$as_dir" : 'X\(//\)$' \| \
   11007 	 X"$as_dir" : 'X\(/\)' \| \
   11008 	 .     : '\(.\)' 2>/dev/null ||
   11009 echo X"$as_dir" |
   11010     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   11011   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   11012   	  /^X\(\/\/\)$/{ s//\1/; q; }
   11013   	  /^X\(\/\).*/{ s//\1/; q; }
   11014   	  s/.*/./; q'`
   11015     done
   11016     test ! -n "$as_dirs" || mkdir $as_dirs
   11017   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/hashes/whirl" >&5
   11018 echo "$as_me: error: cannot create directory libtomcrypt/src/hashes/whirl" >&2;}
   11019    { (exit 1); exit 1; }; }; }
   11020 
   11021 { if $as_mkdir_p; then
   11022     mkdir -p libtomcrypt/src/mac/hmac
   11023   else
   11024     as_dir=libtomcrypt/src/mac/hmac
   11025     as_dirs=
   11026     while test ! -d "$as_dir"; do
   11027       as_dirs="$as_dir $as_dirs"
   11028       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   11029 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11030 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11031 	 X"$as_dir" : 'X\(//\)$' \| \
   11032 	 X"$as_dir" : 'X\(/\)' \| \
   11033 	 .     : '\(.\)' 2>/dev/null ||
   11034 echo X"$as_dir" |
   11035     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   11036   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   11037   	  /^X\(\/\/\)$/{ s//\1/; q; }
   11038   	  /^X\(\/\).*/{ s//\1/; q; }
   11039   	  s/.*/./; q'`
   11040     done
   11041     test ! -n "$as_dirs" || mkdir $as_dirs
   11042   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/mac/hmac" >&5
   11043 echo "$as_me: error: cannot create directory libtomcrypt/src/mac/hmac" >&2;}
   11044    { (exit 1); exit 1; }; }; }
   11045 
   11046 { if $as_mkdir_p; then
   11047     mkdir -p libtomcrypt/src/mac/omac
   11048   else
   11049     as_dir=libtomcrypt/src/mac/omac
   11050     as_dirs=
   11051     while test ! -d "$as_dir"; do
   11052       as_dirs="$as_dir $as_dirs"
   11053       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   11054 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11055 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11056 	 X"$as_dir" : 'X\(//\)$' \| \
   11057 	 X"$as_dir" : 'X\(/\)' \| \
   11058 	 .     : '\(.\)' 2>/dev/null ||
   11059 echo X"$as_dir" |
   11060     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   11061   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   11062   	  /^X\(\/\/\)$/{ s//\1/; q; }
   11063   	  /^X\(\/\).*/{ s//\1/; q; }
   11064   	  s/.*/./; q'`
   11065     done
   11066     test ! -n "$as_dirs" || mkdir $as_dirs
   11067   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/mac/omac" >&5
   11068 echo "$as_me: error: cannot create directory libtomcrypt/src/mac/omac" >&2;}
   11069    { (exit 1); exit 1; }; }; }
   11070 
   11071 { if $as_mkdir_p; then
   11072     mkdir -p libtomcrypt/src/mac/pelican
   11073   else
   11074     as_dir=libtomcrypt/src/mac/pelican
   11075     as_dirs=
   11076     while test ! -d "$as_dir"; do
   11077       as_dirs="$as_dir $as_dirs"
   11078       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   11079 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11080 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11081 	 X"$as_dir" : 'X\(//\)$' \| \
   11082 	 X"$as_dir" : 'X\(/\)' \| \
   11083 	 .     : '\(.\)' 2>/dev/null ||
   11084 echo X"$as_dir" |
   11085     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   11086   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   11087   	  /^X\(\/\/\)$/{ s//\1/; q; }
   11088   	  /^X\(\/\).*/{ s//\1/; q; }
   11089   	  s/.*/./; q'`
   11090     done
   11091     test ! -n "$as_dirs" || mkdir $as_dirs
   11092   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/mac/pelican" >&5
   11093 echo "$as_me: error: cannot create directory libtomcrypt/src/mac/pelican" >&2;}
   11094    { (exit 1); exit 1; }; }; }
   11095 
   11096 { if $as_mkdir_p; then
   11097     mkdir -p libtomcrypt/src/mac/pmac
   11098   else
   11099     as_dir=libtomcrypt/src/mac/pmac
   11100     as_dirs=
   11101     while test ! -d "$as_dir"; do
   11102       as_dirs="$as_dir $as_dirs"
   11103       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   11104 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11105 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11106 	 X"$as_dir" : 'X\(//\)$' \| \
   11107 	 X"$as_dir" : 'X\(/\)' \| \
   11108 	 .     : '\(.\)' 2>/dev/null ||
   11109 echo X"$as_dir" |
   11110     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   11111   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   11112   	  /^X\(\/\/\)$/{ s//\1/; q; }
   11113   	  /^X\(\/\).*/{ s//\1/; q; }
   11114   	  s/.*/./; q'`
   11115     done
   11116     test ! -n "$as_dirs" || mkdir $as_dirs
   11117   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/mac/pmac" >&5
   11118 echo "$as_me: error: cannot create directory libtomcrypt/src/mac/pmac" >&2;}
   11119    { (exit 1); exit 1; }; }; }
   11120 
   11121 { if $as_mkdir_p; then
   11122     mkdir -p libtomcrypt/src/misc/base64
   11123   else
   11124     as_dir=libtomcrypt/src/misc/base64
   11125     as_dirs=
   11126     while test ! -d "$as_dir"; do
   11127       as_dirs="$as_dir $as_dirs"
   11128       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   11129 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11130 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11131 	 X"$as_dir" : 'X\(//\)$' \| \
   11132 	 X"$as_dir" : 'X\(/\)' \| \
   11133 	 .     : '\(.\)' 2>/dev/null ||
   11134 echo X"$as_dir" |
   11135     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   11136   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   11137   	  /^X\(\/\/\)$/{ s//\1/; q; }
   11138   	  /^X\(\/\).*/{ s//\1/; q; }
   11139   	  s/.*/./; q'`
   11140     done
   11141     test ! -n "$as_dirs" || mkdir $as_dirs
   11142   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/misc/base64" >&5
   11143 echo "$as_me: error: cannot create directory libtomcrypt/src/misc/base64" >&2;}
   11144    { (exit 1); exit 1; }; }; }
   11145 
   11146 { if $as_mkdir_p; then
   11147     mkdir -p libtomcrypt/src/misc/crypt
   11148   else
   11149     as_dir=libtomcrypt/src/misc/crypt
   11150     as_dirs=
   11151     while test ! -d "$as_dir"; do
   11152       as_dirs="$as_dir $as_dirs"
   11153       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   11154 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11155 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11156 	 X"$as_dir" : 'X\(//\)$' \| \
   11157 	 X"$as_dir" : 'X\(/\)' \| \
   11158 	 .     : '\(.\)' 2>/dev/null ||
   11159 echo X"$as_dir" |
   11160     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   11161   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   11162   	  /^X\(\/\/\)$/{ s//\1/; q; }
   11163   	  /^X\(\/\).*/{ s//\1/; q; }
   11164   	  s/.*/./; q'`
   11165     done
   11166     test ! -n "$as_dirs" || mkdir $as_dirs
   11167   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/misc/crypt" >&5
   11168 echo "$as_me: error: cannot create directory libtomcrypt/src/misc/crypt" >&2;}
   11169    { (exit 1); exit 1; }; }; }
   11170 
   11171 { if $as_mkdir_p; then
   11172     mkdir -p libtomcrypt/src/misc/mpi
   11173   else
   11174     as_dir=libtomcrypt/src/misc/mpi
   11175     as_dirs=
   11176     while test ! -d "$as_dir"; do
   11177       as_dirs="$as_dir $as_dirs"
   11178       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   11179 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11180 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11181 	 X"$as_dir" : 'X\(//\)$' \| \
   11182 	 X"$as_dir" : 'X\(/\)' \| \
   11183 	 .     : '\(.\)' 2>/dev/null ||
   11184 echo X"$as_dir" |
   11185     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   11186   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   11187   	  /^X\(\/\/\)$/{ s//\1/; q; }
   11188   	  /^X\(\/\).*/{ s//\1/; q; }
   11189   	  s/.*/./; q'`
   11190     done
   11191     test ! -n "$as_dirs" || mkdir $as_dirs
   11192   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/misc/mpi" >&5
   11193 echo "$as_me: error: cannot create directory libtomcrypt/src/misc/mpi" >&2;}
   11194    { (exit 1); exit 1; }; }; }
   11195 
   11196 { if $as_mkdir_p; then
   11197     mkdir -p libtomcrypt/src/misc/pkcs5
   11198   else
   11199     as_dir=libtomcrypt/src/misc/pkcs5
   11200     as_dirs=
   11201     while test ! -d "$as_dir"; do
   11202       as_dirs="$as_dir $as_dirs"
   11203       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   11204 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11205 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11206 	 X"$as_dir" : 'X\(//\)$' \| \
   11207 	 X"$as_dir" : 'X\(/\)' \| \
   11208 	 .     : '\(.\)' 2>/dev/null ||
   11209 echo X"$as_dir" |
   11210     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   11211   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   11212   	  /^X\(\/\/\)$/{ s//\1/; q; }
   11213   	  /^X\(\/\).*/{ s//\1/; q; }
   11214   	  s/.*/./; q'`
   11215     done
   11216     test ! -n "$as_dirs" || mkdir $as_dirs
   11217   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/misc/pkcs5" >&5
   11218 echo "$as_me: error: cannot create directory libtomcrypt/src/misc/pkcs5" >&2;}
   11219    { (exit 1); exit 1; }; }; }
   11220 
   11221 { if $as_mkdir_p; then
   11222     mkdir -p libtomcrypt/src/modes/cbc
   11223   else
   11224     as_dir=libtomcrypt/src/modes/cbc
   11225     as_dirs=
   11226     while test ! -d "$as_dir"; do
   11227       as_dirs="$as_dir $as_dirs"
   11228       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   11229 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11230 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11231 	 X"$as_dir" : 'X\(//\)$' \| \
   11232 	 X"$as_dir" : 'X\(/\)' \| \
   11233 	 .     : '\(.\)' 2>/dev/null ||
   11234 echo X"$as_dir" |
   11235     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   11236   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   11237   	  /^X\(\/\/\)$/{ s//\1/; q; }
   11238   	  /^X\(\/\).*/{ s//\1/; q; }
   11239   	  s/.*/./; q'`
   11240     done
   11241     test ! -n "$as_dirs" || mkdir $as_dirs
   11242   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/modes/cbc" >&5
   11243 echo "$as_me: error: cannot create directory libtomcrypt/src/modes/cbc" >&2;}
   11244    { (exit 1); exit 1; }; }; }
   11245 
   11246 { if $as_mkdir_p; then
   11247     mkdir -p libtomcrypt/src/modes/cfb
   11248   else
   11249     as_dir=libtomcrypt/src/modes/cfb
   11250     as_dirs=
   11251     while test ! -d "$as_dir"; do
   11252       as_dirs="$as_dir $as_dirs"
   11253       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   11254 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11255 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11256 	 X"$as_dir" : 'X\(//\)$' \| \
   11257 	 X"$as_dir" : 'X\(/\)' \| \
   11258 	 .     : '\(.\)' 2>/dev/null ||
   11259 echo X"$as_dir" |
   11260     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   11261   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   11262   	  /^X\(\/\/\)$/{ s//\1/; q; }
   11263   	  /^X\(\/\).*/{ s//\1/; q; }
   11264   	  s/.*/./; q'`
   11265     done
   11266     test ! -n "$as_dirs" || mkdir $as_dirs
   11267   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/modes/cfb" >&5
   11268 echo "$as_me: error: cannot create directory libtomcrypt/src/modes/cfb" >&2;}
   11269    { (exit 1); exit 1; }; }; }
   11270 
   11271 { if $as_mkdir_p; then
   11272     mkdir -p libtomcrypt/src/modes/ctr
   11273   else
   11274     as_dir=libtomcrypt/src/modes/ctr
   11275     as_dirs=
   11276     while test ! -d "$as_dir"; do
   11277       as_dirs="$as_dir $as_dirs"
   11278       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   11279 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11280 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11281 	 X"$as_dir" : 'X\(//\)$' \| \
   11282 	 X"$as_dir" : 'X\(/\)' \| \
   11283 	 .     : '\(.\)' 2>/dev/null ||
   11284 echo X"$as_dir" |
   11285     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   11286   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   11287   	  /^X\(\/\/\)$/{ s//\1/; q; }
   11288   	  /^X\(\/\).*/{ s//\1/; q; }
   11289   	  s/.*/./; q'`
   11290     done
   11291     test ! -n "$as_dirs" || mkdir $as_dirs
   11292   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/modes/ctr" >&5
   11293 echo "$as_me: error: cannot create directory libtomcrypt/src/modes/ctr" >&2;}
   11294    { (exit 1); exit 1; }; }; }
   11295 
   11296 { if $as_mkdir_p; then
   11297     mkdir -p libtomcrypt/src/modes/ecb
   11298   else
   11299     as_dir=libtomcrypt/src/modes/ecb
   11300     as_dirs=
   11301     while test ! -d "$as_dir"; do
   11302       as_dirs="$as_dir $as_dirs"
   11303       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   11304 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11305 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11306 	 X"$as_dir" : 'X\(//\)$' \| \
   11307 	 X"$as_dir" : 'X\(/\)' \| \
   11308 	 .     : '\(.\)' 2>/dev/null ||
   11309 echo X"$as_dir" |
   11310     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   11311   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   11312   	  /^X\(\/\/\)$/{ s//\1/; q; }
   11313   	  /^X\(\/\).*/{ s//\1/; q; }
   11314   	  s/.*/./; q'`
   11315     done
   11316     test ! -n "$as_dirs" || mkdir $as_dirs
   11317   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/modes/ecb" >&5
   11318 echo "$as_me: error: cannot create directory libtomcrypt/src/modes/ecb" >&2;}
   11319    { (exit 1); exit 1; }; }; }
   11320 
   11321 { if $as_mkdir_p; then
   11322     mkdir -p libtomcrypt/src/modes/ofb
   11323   else
   11324     as_dir=libtomcrypt/src/modes/ofb
   11325     as_dirs=
   11326     while test ! -d "$as_dir"; do
   11327       as_dirs="$as_dir $as_dirs"
   11328       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   11329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11330 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11331 	 X"$as_dir" : 'X\(//\)$' \| \
   11332 	 X"$as_dir" : 'X\(/\)' \| \
   11333 	 .     : '\(.\)' 2>/dev/null ||
   11334 echo X"$as_dir" |
   11335     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   11336   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   11337   	  /^X\(\/\/\)$/{ s//\1/; q; }
   11338   	  /^X\(\/\).*/{ s//\1/; q; }
   11339   	  s/.*/./; q'`
   11340     done
   11341     test ! -n "$as_dirs" || mkdir $as_dirs
   11342   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/modes/ofb" >&5
   11343 echo "$as_me: error: cannot create directory libtomcrypt/src/modes/ofb" >&2;}
   11344    { (exit 1); exit 1; }; }; }
   11345 
   11346 { if $as_mkdir_p; then
   11347     mkdir -p libtomcrypt/src/pk/asn1/der/bit
   11348   else
   11349     as_dir=libtomcrypt/src/pk/asn1/der/bit
   11350     as_dirs=
   11351     while test ! -d "$as_dir"; do
   11352       as_dirs="$as_dir $as_dirs"
   11353       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   11354 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11355 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11356 	 X"$as_dir" : 'X\(//\)$' \| \
   11357 	 X"$as_dir" : 'X\(/\)' \| \
   11358 	 .     : '\(.\)' 2>/dev/null ||
   11359 echo X"$as_dir" |
   11360     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   11361   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   11362   	  /^X\(\/\/\)$/{ s//\1/; q; }
   11363   	  /^X\(\/\).*/{ s//\1/; q; }
   11364   	  s/.*/./; q'`
   11365     done
   11366     test ! -n "$as_dirs" || mkdir $as_dirs
   11367   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/pk/asn1/der/bit" >&5
   11368 echo "$as_me: error: cannot create directory libtomcrypt/src/pk/asn1/der/bit" >&2;}
   11369    { (exit 1); exit 1; }; }; }
   11370 
   11371 { if $as_mkdir_p; then
   11372     mkdir -p libtomcrypt/src/pk/asn1/der/choice
   11373   else
   11374     as_dir=libtomcrypt/src/pk/asn1/der/choice
   11375     as_dirs=
   11376     while test ! -d "$as_dir"; do
   11377       as_dirs="$as_dir $as_dirs"
   11378       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   11379 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11380 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11381 	 X"$as_dir" : 'X\(//\)$' \| \
   11382 	 X"$as_dir" : 'X\(/\)' \| \
   11383 	 .     : '\(.\)' 2>/dev/null ||
   11384 echo X"$as_dir" |
   11385     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   11386   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   11387   	  /^X\(\/\/\)$/{ s//\1/; q; }
   11388   	  /^X\(\/\).*/{ s//\1/; q; }
   11389   	  s/.*/./; q'`
   11390     done
   11391     test ! -n "$as_dirs" || mkdir $as_dirs
   11392   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/pk/asn1/der/choice" >&5
   11393 echo "$as_me: error: cannot create directory libtomcrypt/src/pk/asn1/der/choice" >&2;}
   11394    { (exit 1); exit 1; }; }; }
   11395 
   11396 { if $as_mkdir_p; then
   11397     mkdir -p libtomcrypt/src/pk/asn1/der/ia5
   11398   else
   11399     as_dir=libtomcrypt/src/pk/asn1/der/ia5
   11400     as_dirs=
   11401     while test ! -d "$as_dir"; do
   11402       as_dirs="$as_dir $as_dirs"
   11403       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   11404 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11405 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11406 	 X"$as_dir" : 'X\(//\)$' \| \
   11407 	 X"$as_dir" : 'X\(/\)' \| \
   11408 	 .     : '\(.\)' 2>/dev/null ||
   11409 echo X"$as_dir" |
   11410     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   11411   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   11412   	  /^X\(\/\/\)$/{ s//\1/; q; }
   11413   	  /^X\(\/\).*/{ s//\1/; q; }
   11414   	  s/.*/./; q'`
   11415     done
   11416     test ! -n "$as_dirs" || mkdir $as_dirs
   11417   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/pk/asn1/der/ia5" >&5
   11418 echo "$as_me: error: cannot create directory libtomcrypt/src/pk/asn1/der/ia5" >&2;}
   11419    { (exit 1); exit 1; }; }; }
   11420 
   11421 { if $as_mkdir_p; then
   11422     mkdir -p libtomcrypt/src/pk/asn1/der/integer
   11423   else
   11424     as_dir=libtomcrypt/src/pk/asn1/der/integer
   11425     as_dirs=
   11426     while test ! -d "$as_dir"; do
   11427       as_dirs="$as_dir $as_dirs"
   11428       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   11429 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11430 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11431 	 X"$as_dir" : 'X\(//\)$' \| \
   11432 	 X"$as_dir" : 'X\(/\)' \| \
   11433 	 .     : '\(.\)' 2>/dev/null ||
   11434 echo X"$as_dir" |
   11435     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   11436   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   11437   	  /^X\(\/\/\)$/{ s//\1/; q; }
   11438   	  /^X\(\/\).*/{ s//\1/; q; }
   11439   	  s/.*/./; q'`
   11440     done
   11441     test ! -n "$as_dirs" || mkdir $as_dirs
   11442   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/pk/asn1/der/integer" >&5
   11443 echo "$as_me: error: cannot create directory libtomcrypt/src/pk/asn1/der/integer" >&2;}
   11444    { (exit 1); exit 1; }; }; }
   11445 
   11446 { if $as_mkdir_p; then
   11447     mkdir -p libtomcrypt/src/pk/asn1/der/object_identifier
   11448   else
   11449     as_dir=libtomcrypt/src/pk/asn1/der/object_identifier
   11450     as_dirs=
   11451     while test ! -d "$as_dir"; do
   11452       as_dirs="$as_dir $as_dirs"
   11453       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   11454 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11455 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11456 	 X"$as_dir" : 'X\(//\)$' \| \
   11457 	 X"$as_dir" : 'X\(/\)' \| \
   11458 	 .     : '\(.\)' 2>/dev/null ||
   11459 echo X"$as_dir" |
   11460     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   11461   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   11462   	  /^X\(\/\/\)$/{ s//\1/; q; }
   11463   	  /^X\(\/\).*/{ s//\1/; q; }
   11464   	  s/.*/./; q'`
   11465     done
   11466     test ! -n "$as_dirs" || mkdir $as_dirs
   11467   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/pk/asn1/der/object_identifier" >&5
   11468 echo "$as_me: error: cannot create directory libtomcrypt/src/pk/asn1/der/object_identifier" >&2;}
   11469    { (exit 1); exit 1; }; }; }
   11470 
   11471 { if $as_mkdir_p; then
   11472     mkdir -p libtomcrypt/src/pk/asn1/der/octet
   11473   else
   11474     as_dir=libtomcrypt/src/pk/asn1/der/octet
   11475     as_dirs=
   11476     while test ! -d "$as_dir"; do
   11477       as_dirs="$as_dir $as_dirs"
   11478       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   11479 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11480 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11481 	 X"$as_dir" : 'X\(//\)$' \| \
   11482 	 X"$as_dir" : 'X\(/\)' \| \
   11483 	 .     : '\(.\)' 2>/dev/null ||
   11484 echo X"$as_dir" |
   11485     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   11486   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   11487   	  /^X\(\/\/\)$/{ s//\1/; q; }
   11488   	  /^X\(\/\).*/{ s//\1/; q; }
   11489   	  s/.*/./; q'`
   11490     done
   11491     test ! -n "$as_dirs" || mkdir $as_dirs
   11492   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/pk/asn1/der/octet" >&5
   11493 echo "$as_me: error: cannot create directory libtomcrypt/src/pk/asn1/der/octet" >&2;}
   11494    { (exit 1); exit 1; }; }; }
   11495 
   11496 { if $as_mkdir_p; then
   11497     mkdir -p libtomcrypt/src/pk/asn1/der/printable_string
   11498   else
   11499     as_dir=libtomcrypt/src/pk/asn1/der/printable_string
   11500     as_dirs=
   11501     while test ! -d "$as_dir"; do
   11502       as_dirs="$as_dir $as_dirs"
   11503       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   11504 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11505 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11506 	 X"$as_dir" : 'X\(//\)$' \| \
   11507 	 X"$as_dir" : 'X\(/\)' \| \
   11508 	 .     : '\(.\)' 2>/dev/null ||
   11509 echo X"$as_dir" |
   11510     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   11511   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   11512   	  /^X\(\/\/\)$/{ s//\1/; q; }
   11513   	  /^X\(\/\).*/{ s//\1/; q; }
   11514   	  s/.*/./; q'`
   11515     done
   11516     test ! -n "$as_dirs" || mkdir $as_dirs
   11517   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/pk/asn1/der/printable_string" >&5
   11518 echo "$as_me: error: cannot create directory libtomcrypt/src/pk/asn1/der/printable_string" >&2;}
   11519    { (exit 1); exit 1; }; }; }
   11520 
   11521 { if $as_mkdir_p; then
   11522     mkdir -p libtomcrypt/src/pk/asn1/der/sequence
   11523   else
   11524     as_dir=libtomcrypt/src/pk/asn1/der/sequence
   11525     as_dirs=
   11526     while test ! -d "$as_dir"; do
   11527       as_dirs="$as_dir $as_dirs"
   11528       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   11529 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11530 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11531 	 X"$as_dir" : 'X\(//\)$' \| \
   11532 	 X"$as_dir" : 'X\(/\)' \| \
   11533 	 .     : '\(.\)' 2>/dev/null ||
   11534 echo X"$as_dir" |
   11535     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   11536   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   11537   	  /^X\(\/\/\)$/{ s//\1/; q; }
   11538   	  /^X\(\/\).*/{ s//\1/; q; }
   11539   	  s/.*/./; q'`
   11540     done
   11541     test ! -n "$as_dirs" || mkdir $as_dirs
   11542   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/pk/asn1/der/sequence" >&5
   11543 echo "$as_me: error: cannot create directory libtomcrypt/src/pk/asn1/der/sequence" >&2;}
   11544    { (exit 1); exit 1; }; }; }
   11545 
   11546 { if $as_mkdir_p; then
   11547     mkdir -p libtomcrypt/src/pk/asn1/der/short_integer
   11548   else
   11549     as_dir=libtomcrypt/src/pk/asn1/der/short_integer
   11550     as_dirs=
   11551     while test ! -d "$as_dir"; do
   11552       as_dirs="$as_dir $as_dirs"
   11553       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   11554 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11555 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11556 	 X"$as_dir" : 'X\(//\)$' \| \
   11557 	 X"$as_dir" : 'X\(/\)' \| \
   11558 	 .     : '\(.\)' 2>/dev/null ||
   11559 echo X"$as_dir" |
   11560     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   11561   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   11562   	  /^X\(\/\/\)$/{ s//\1/; q; }
   11563   	  /^X\(\/\).*/{ s//\1/; q; }
   11564   	  s/.*/./; q'`
   11565     done
   11566     test ! -n "$as_dirs" || mkdir $as_dirs
   11567   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/pk/asn1/der/short_integer" >&5
   11568 echo "$as_me: error: cannot create directory libtomcrypt/src/pk/asn1/der/short_integer" >&2;}
   11569    { (exit 1); exit 1; }; }; }
   11570 
   11571 { if $as_mkdir_p; then
   11572     mkdir -p libtomcrypt/src/pk/asn1/der/utctime
   11573   else
   11574     as_dir=libtomcrypt/src/pk/asn1/der/utctime
   11575     as_dirs=
   11576     while test ! -d "$as_dir"; do
   11577       as_dirs="$as_dir $as_dirs"
   11578       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   11579 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11580 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11581 	 X"$as_dir" : 'X\(//\)$' \| \
   11582 	 X"$as_dir" : 'X\(/\)' \| \
   11583 	 .     : '\(.\)' 2>/dev/null ||
   11584 echo X"$as_dir" |
   11585     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   11586   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   11587   	  /^X\(\/\/\)$/{ s//\1/; q; }
   11588   	  /^X\(\/\).*/{ s//\1/; q; }
   11589   	  s/.*/./; q'`
   11590     done
   11591     test ! -n "$as_dirs" || mkdir $as_dirs
   11592   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/pk/asn1/der/utctime" >&5
   11593 echo "$as_me: error: cannot create directory libtomcrypt/src/pk/asn1/der/utctime" >&2;}
   11594    { (exit 1); exit 1; }; }; }
   11595 
   11596 { if $as_mkdir_p; then
   11597     mkdir -p libtomcrypt/src/pk/dh
   11598   else
   11599     as_dir=libtomcrypt/src/pk/dh
   11600     as_dirs=
   11601     while test ! -d "$as_dir"; do
   11602       as_dirs="$as_dir $as_dirs"
   11603       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   11604 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11605 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11606 	 X"$as_dir" : 'X\(//\)$' \| \
   11607 	 X"$as_dir" : 'X\(/\)' \| \
   11608 	 .     : '\(.\)' 2>/dev/null ||
   11609 echo X"$as_dir" |
   11610     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   11611   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   11612   	  /^X\(\/\/\)$/{ s//\1/; q; }
   11613   	  /^X\(\/\).*/{ s//\1/; q; }
   11614   	  s/.*/./; q'`
   11615     done
   11616     test ! -n "$as_dirs" || mkdir $as_dirs
   11617   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/pk/dh" >&5
   11618 echo "$as_me: error: cannot create directory libtomcrypt/src/pk/dh" >&2;}
   11619    { (exit 1); exit 1; }; }; }
   11620 
   11621 { if $as_mkdir_p; then
   11622     mkdir -p libtomcrypt/src/pk/dsa
   11623   else
   11624     as_dir=libtomcrypt/src/pk/dsa
   11625     as_dirs=
   11626     while test ! -d "$as_dir"; do
   11627       as_dirs="$as_dir $as_dirs"
   11628       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   11629 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11630 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11631 	 X"$as_dir" : 'X\(//\)$' \| \
   11632 	 X"$as_dir" : 'X\(/\)' \| \
   11633 	 .     : '\(.\)' 2>/dev/null ||
   11634 echo X"$as_dir" |
   11635     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   11636   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   11637   	  /^X\(\/\/\)$/{ s//\1/; q; }
   11638   	  /^X\(\/\).*/{ s//\1/; q; }
   11639   	  s/.*/./; q'`
   11640     done
   11641     test ! -n "$as_dirs" || mkdir $as_dirs
   11642   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/pk/dsa" >&5
   11643 echo "$as_me: error: cannot create directory libtomcrypt/src/pk/dsa" >&2;}
   11644    { (exit 1); exit 1; }; }; }
   11645 
   11646 { if $as_mkdir_p; then
   11647     mkdir -p libtomcrypt/src/pk/ecc
   11648   else
   11649     as_dir=libtomcrypt/src/pk/ecc
   11650     as_dirs=
   11651     while test ! -d "$as_dir"; do
   11652       as_dirs="$as_dir $as_dirs"
   11653       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   11654 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11655 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11656 	 X"$as_dir" : 'X\(//\)$' \| \
   11657 	 X"$as_dir" : 'X\(/\)' \| \
   11658 	 .     : '\(.\)' 2>/dev/null ||
   11659 echo X"$as_dir" |
   11660     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   11661   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   11662   	  /^X\(\/\/\)$/{ s//\1/; q; }
   11663   	  /^X\(\/\).*/{ s//\1/; q; }
   11664   	  s/.*/./; q'`
   11665     done
   11666     test ! -n "$as_dirs" || mkdir $as_dirs
   11667   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/pk/ecc" >&5
   11668 echo "$as_me: error: cannot create directory libtomcrypt/src/pk/ecc" >&2;}
   11669    { (exit 1); exit 1; }; }; }
   11670 
   11671 { if $as_mkdir_p; then
   11672     mkdir -p libtomcrypt/src/pk/pkcs1
   11673   else
   11674     as_dir=libtomcrypt/src/pk/pkcs1
   11675     as_dirs=
   11676     while test ! -d "$as_dir"; do
   11677       as_dirs="$as_dir $as_dirs"
   11678       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   11679 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11680 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11681 	 X"$as_dir" : 'X\(//\)$' \| \
   11682 	 X"$as_dir" : 'X\(/\)' \| \
   11683 	 .     : '\(.\)' 2>/dev/null ||
   11684 echo X"$as_dir" |
   11685     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   11686   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   11687   	  /^X\(\/\/\)$/{ s//\1/; q; }
   11688   	  /^X\(\/\).*/{ s//\1/; q; }
   11689   	  s/.*/./; q'`
   11690     done
   11691     test ! -n "$as_dirs" || mkdir $as_dirs
   11692   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/pk/pkcs1" >&5
   11693 echo "$as_me: error: cannot create directory libtomcrypt/src/pk/pkcs1" >&2;}
   11694    { (exit 1); exit 1; }; }; }
   11695 
   11696 { if $as_mkdir_p; then
   11697     mkdir -p libtomcrypt/src/pk/rsa
   11698   else
   11699     as_dir=libtomcrypt/src/pk/rsa
   11700     as_dirs=
   11701     while test ! -d "$as_dir"; do
   11702       as_dirs="$as_dir $as_dirs"
   11703       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   11704 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11705 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11706 	 X"$as_dir" : 'X\(//\)$' \| \
   11707 	 X"$as_dir" : 'X\(/\)' \| \
   11708 	 .     : '\(.\)' 2>/dev/null ||
   11709 echo X"$as_dir" |
   11710     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   11711   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   11712   	  /^X\(\/\/\)$/{ s//\1/; q; }
   11713   	  /^X\(\/\).*/{ s//\1/; q; }
   11714   	  s/.*/./; q'`
   11715     done
   11716     test ! -n "$as_dirs" || mkdir $as_dirs
   11717   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/pk/rsa" >&5
   11718 echo "$as_me: error: cannot create directory libtomcrypt/src/pk/rsa" >&2;}
   11719    { (exit 1); exit 1; }; }; }
   11720 
   11721 { if $as_mkdir_p; then
   11722     mkdir -p libtomcrypt/src/prng
   11723   else
   11724     as_dir=libtomcrypt/src/prng
   11725     as_dirs=
   11726     while test ! -d "$as_dir"; do
   11727       as_dirs="$as_dir $as_dirs"
   11728       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   11729 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11730 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11731 	 X"$as_dir" : 'X\(//\)$' \| \
   11732 	 X"$as_dir" : 'X\(/\)' \| \
   11733 	 .     : '\(.\)' 2>/dev/null ||
   11734 echo X"$as_dir" |
   11735     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   11736   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   11737   	  /^X\(\/\/\)$/{ s//\1/; q; }
   11738   	  /^X\(\/\).*/{ s//\1/; q; }
   11739   	  s/.*/./; q'`
   11740     done
   11741     test ! -n "$as_dirs" || mkdir $as_dirs
   11742   fi || { { echo "$as_me:$LINENO: error: cannot create directory libtomcrypt/src/prng" >&5
   11743 echo "$as_me: error: cannot create directory libtomcrypt/src/prng" >&2;}
   11744    { (exit 1); exit 1; }; }; }
   11745 
   11746           ac_config_headers="$ac_config_headers config.h"
   11747 
   11748           ac_config_files="$ac_config_files Makefile"
   11749 cat >confcache <<\_ACEOF
   11750 # This file is a shell script that caches the results of configure
   11751 # tests run on this system so they can be shared between configure
   11752 # scripts and configure runs, see configure's option --config-cache.
   11753 # It is not useful on other systems.  If it contains results you don't
   11754 # want to keep, you may remove or edit it.
   11755 #
   11756 # config.status only pays attention to the cache file if you give it
   11757 # the --recheck option to rerun configure.
   11758 #
   11759 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11760 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11761 # following values.
   11762 
   11763 _ACEOF
   11764 
   11765 # The following way of writing the cache mishandles newlines in values,
   11766 # but we know of no workaround that is simple, portable, and efficient.
   11767 # So, don't put newlines in cache variables' values.
   11768 # Ultrix sh set writes to stderr and can't be redirected directly,
   11769 # and sets the high bit in the cache file unless we assign to the vars.
   11770 {
   11771   (set) 2>&1 |
   11772     case `(ac_space=' '; set | grep ac_space) 2>&1` in
   11773     *ac_space=\ *)
   11774       # `set' does not quote correctly, so add quotes (double-quote
   11775       # substitution turns \\\\ into \\, and sed turns \\ into \).
   11776       sed -n \
   11777 	"s/'/'\\\\''/g;
   11778 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11779       ;;
   11780     *)
   11781       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11782       sed -n \
   11783 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
   11784       ;;
   11785     esac;
   11786 } |
   11787   sed '
   11788      t clear
   11789      : clear
   11790      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11791      t end
   11792      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11793      : end' >>confcache
   11794 if diff $cache_file confcache >/dev/null 2>&1; then :; else
   11795   if test -w $cache_file; then
   11796     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
   11797     cat confcache >$cache_file
   11798   else
   11799     echo "not updating unwritable cache $cache_file"
   11800   fi
   11801 fi
   11802 rm -f confcache
   11803 
   11804 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11805 # Let make expand exec_prefix.
   11806 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11807 
   11808 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   11809 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   11810 # trailing colons and then remove the whole line if VPATH becomes empty
   11811 # (actually we leave an empty line to preserve line numbers).
   11812 if test "x$srcdir" = x.; then
   11813   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   11814 s/:*\$(srcdir):*/:/;
   11815 s/:*\${srcdir}:*/:/;
   11816 s/:*@srcdir@:*/:/;
   11817 s/^\([^=]*=[	 ]*\):*/\1/;
   11818 s/:*$//;
   11819 s/^[^=]*=[	 ]*$//;
   11820 }'
   11821 fi
   11822 
   11823 DEFS=-DHAVE_CONFIG_H
   11824 
   11825 ac_libobjs=
   11826 ac_ltlibobjs=
   11827 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11828   # 1. Remove the extension, and $U if already installed.
   11829   ac_i=`echo "$ac_i" |
   11830 	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
   11831   # 2. Add them.
   11832   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
   11833   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
   11834 done
   11835 LIBOBJS=$ac_libobjs
   11836 
   11837 LTLIBOBJS=$ac_ltlibobjs
   11838 
   11839 
   11840 
   11841 : ${CONFIG_STATUS=./config.status}
   11842 ac_clean_files_save=$ac_clean_files
   11843 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11844 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   11845 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11846 cat >$CONFIG_STATUS <<_ACEOF
   11847 #! $SHELL
   11848 # Generated by $as_me.
   11849 # Run this file to recreate the current configuration.
   11850 # Compiler output produced by configure, useful for debugging
   11851 # configure, is in config.log if it exists.
   11852 
   11853 debug=false
   11854 ac_cs_recheck=false
   11855 ac_cs_silent=false
   11856 SHELL=\${CONFIG_SHELL-$SHELL}
   11857 _ACEOF
   11858 
   11859 cat >>$CONFIG_STATUS <<\_ACEOF
   11860 ## --------------------- ##
   11861 ## M4sh Initialization.  ##
   11862 ## --------------------- ##
   11863 
   11864 # Be Bourne compatible
   11865 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   11866   emulate sh
   11867   NULLCMD=:
   11868   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   11869   # is contrary to our usage.  Disable this feature.
   11870   alias -g '${1+"$@"}'='"$@"'
   11871 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   11872   set -o posix
   11873 fi
   11874 DUALCASE=1; export DUALCASE # for MKS sh
   11875 
   11876 # Support unset when possible.
   11877 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   11878   as_unset=unset
   11879 else
   11880   as_unset=false
   11881 fi
   11882 
   11883 
   11884 # Work around bugs in pre-3.0 UWIN ksh.
   11885 $as_unset ENV MAIL MAILPATH
   11886 PS1='$ '
   11887 PS2='> '
   11888 PS4='+ '
   11889 
   11890 # NLS nuisances.
   11891 for as_var in \
   11892   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   11893   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   11894   LC_TELEPHONE LC_TIME
   11895 do
   11896   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   11897     eval $as_var=C; export $as_var
   11898   else
   11899     $as_unset $as_var
   11900   fi
   11901 done
   11902 
   11903 # Required to use basename.
   11904 if expr a : '\(a\)' >/dev/null 2>&1; then
   11905   as_expr=expr
   11906 else
   11907   as_expr=false
   11908 fi
   11909 
   11910 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
   11911   as_basename=basename
   11912 else
   11913   as_basename=false
   11914 fi
   11915 
   11916 
   11917 # Name of the executable.
   11918 as_me=`$as_basename "$0" ||
   11919 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11920 	 X"$0" : 'X\(//\)$' \| \
   11921 	 X"$0" : 'X\(/\)$' \| \
   11922 	 .     : '\(.\)' 2>/dev/null ||
   11923 echo X/"$0" |
   11924     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
   11925   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
   11926   	  /^X\/\(\/\).*/{ s//\1/; q; }
   11927   	  s/.*/./; q'`
   11928 
   11929 
   11930 # PATH needs CR, and LINENO needs CR and PATH.
   11931 # Avoid depending upon Character Ranges.
   11932 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11933 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11934 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11935 as_cr_digits='0123456789'
   11936 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11937 
   11938 # The user is always right.
   11939 if test "${PATH_SEPARATOR+set}" != set; then
   11940   echo "#! /bin/sh" >conf$$.sh
   11941   echo  "exit 0"   >>conf$$.sh
   11942   chmod +x conf$$.sh
   11943   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   11944     PATH_SEPARATOR=';'
   11945   else
   11946     PATH_SEPARATOR=:
   11947   fi
   11948   rm -f conf$$.sh
   11949 fi
   11950 
   11951 
   11952   as_lineno_1=$LINENO
   11953   as_lineno_2=$LINENO
   11954   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   11955   test "x$as_lineno_1" != "x$as_lineno_2" &&
   11956   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
   11957   # Find who we are.  Look in the path if we contain no path at all
   11958   # relative or not.
   11959   case $0 in
   11960     *[\\/]* ) as_myself=$0 ;;
   11961     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11962 for as_dir in $PATH
   11963 do
   11964   IFS=$as_save_IFS
   11965   test -z "$as_dir" && as_dir=.
   11966   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11967 done
   11968 
   11969        ;;
   11970   esac
   11971   # We did not find ourselves, most probably we were run as `sh COMMAND'
   11972   # in which case we are not to be found in the path.
   11973   if test "x$as_myself" = x; then
   11974     as_myself=$0
   11975   fi
   11976   if test ! -f "$as_myself"; then
   11977     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
   11978 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
   11979    { (exit 1); exit 1; }; }
   11980   fi
   11981   case $CONFIG_SHELL in
   11982   '')
   11983     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11984 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   11985 do
   11986   IFS=$as_save_IFS
   11987   test -z "$as_dir" && as_dir=.
   11988   for as_base in sh bash ksh sh5; do
   11989 	 case $as_dir in
   11990 	 /*)
   11991 	   if ("$as_dir/$as_base" -c '
   11992   as_lineno_1=$LINENO
   11993   as_lineno_2=$LINENO
   11994   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   11995   test "x$as_lineno_1" != "x$as_lineno_2" &&
   11996   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
   11997 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
   11998 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
   11999 	     CONFIG_SHELL=$as_dir/$as_base
   12000 	     export CONFIG_SHELL
   12001 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
   12002 	   fi;;
   12003 	 esac
   12004        done
   12005 done
   12006 ;;
   12007   esac
   12008 
   12009   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   12010   # uniformly replaced by the line number.  The first 'sed' inserts a
   12011   # line-number line before each line; the second 'sed' does the real
   12012   # work.  The second script uses 'N' to pair each line-number line
   12013   # with the numbered line, and appends trailing '-' during
   12014   # substitution so that $LINENO is not a special case at line end.
   12015   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   12016   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
   12017   sed '=' <$as_myself |
   12018     sed '
   12019       N
   12020       s,$,-,
   12021       : loop
   12022       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
   12023       t loop
   12024       s,-$,,
   12025       s,^['$as_cr_digits']*\n,,
   12026     ' >$as_me.lineno &&
   12027   chmod +x $as_me.lineno ||
   12028     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
   12029 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
   12030    { (exit 1); exit 1; }; }
   12031 
   12032   # Don't try to exec as it changes $[0], causing all sort of problems
   12033   # (the dirname of $[0] is not the place where we might find the
   12034   # original and so on.  Autoconf is especially sensible to this).
   12035   . ./$as_me.lineno
   12036   # Exit status is that of the last command.
   12037   exit
   12038 }
   12039 
   12040 
   12041 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
   12042   *c*,-n*) ECHO_N= ECHO_C='
   12043 ' ECHO_T='	' ;;
   12044   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
   12045   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
   12046 esac
   12047 
   12048 if expr a : '\(a\)' >/dev/null 2>&1; then
   12049   as_expr=expr
   12050 else
   12051   as_expr=false
   12052 fi
   12053 
   12054 rm -f conf$$ conf$$.exe conf$$.file
   12055 echo >conf$$.file
   12056 if ln -s conf$$.file conf$$ 2>/dev/null; then
   12057   # We could just check for DJGPP; but this test a) works b) is more generic
   12058   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
   12059   if test -f conf$$.exe; then
   12060     # Don't use ln at all; we don't have any links
   12061     as_ln_s='cp -p'
   12062   else
   12063     as_ln_s='ln -s'
   12064   fi
   12065 elif ln conf$$.file conf$$ 2>/dev/null; then
   12066   as_ln_s=ln
   12067 else
   12068   as_ln_s='cp -p'
   12069 fi
   12070 rm -f conf$$ conf$$.exe conf$$.file
   12071 
   12072 if mkdir -p . 2>/dev/null; then
   12073   as_mkdir_p=:
   12074 else
   12075   test -d ./-p && rmdir ./-p
   12076   as_mkdir_p=false
   12077 fi
   12078 
   12079 as_executable_p="test -f"
   12080 
   12081 # Sed expression to map a string onto a valid CPP name.
   12082 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   12083 
   12084 # Sed expression to map a string onto a valid variable name.
   12085 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   12086 
   12087 
   12088 # IFS
   12089 # We need space, tab and new line, in precisely that order.
   12090 as_nl='
   12091 '
   12092 IFS=" 	$as_nl"
   12093 
   12094 # CDPATH.
   12095 $as_unset CDPATH
   12096 
   12097 exec 6>&1
   12098 
   12099 # Open the log real soon, to keep \$[0] and so on meaningful, and to
   12100 # report actual input values of CONFIG_FILES etc. instead of their
   12101 # values after options handling.  Logging --version etc. is OK.
   12102 exec 5>>config.log
   12103 {
   12104   echo
   12105   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12106 ## Running $as_me. ##
   12107 _ASBOX
   12108 } >&5
   12109 cat >&5 <<_CSEOF
   12110 
   12111 This file was extended by $as_me, which was
   12112 generated by GNU Autoconf 2.59.  Invocation command line was
   12113 
   12114   CONFIG_FILES    = $CONFIG_FILES
   12115   CONFIG_HEADERS  = $CONFIG_HEADERS
   12116   CONFIG_LINKS    = $CONFIG_LINKS
   12117   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12118   $ $0 $@
   12119 
   12120 _CSEOF
   12121 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
   12122 echo >&5
   12123 _ACEOF
   12124 
   12125 # Files that config.status was made for.
   12126 if test -n "$ac_config_files"; then
   12127   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
   12128 fi
   12129 
   12130 if test -n "$ac_config_headers"; then
   12131   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
   12132 fi
   12133 
   12134 if test -n "$ac_config_links"; then
   12135   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
   12136 fi
   12137 
   12138 if test -n "$ac_config_commands"; then
   12139   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
   12140 fi
   12141 
   12142 cat >>$CONFIG_STATUS <<\_ACEOF
   12143 
   12144 ac_cs_usage="\
   12145 \`$as_me' instantiates files from templates according to the
   12146 current configuration.
   12147 
   12148 Usage: $0 [OPTIONS] [FILE]...
   12149 
   12150   -h, --help       print this help, then exit
   12151   -V, --version    print version number, then exit
   12152   -q, --quiet      do not print progress messages
   12153   -d, --debug      don't remove temporary files
   12154       --recheck    update $as_me by reconfiguring in the same conditions
   12155   --file=FILE[:TEMPLATE]
   12156 		   instantiate the configuration file FILE
   12157   --header=FILE[:TEMPLATE]
   12158 		   instantiate the configuration header FILE
   12159 
   12160 Configuration files:
   12161 $config_files
   12162 
   12163 Configuration headers:
   12164 $config_headers
   12165 
   12166 Report bugs to <bug-autoconf@gnu.org>."
   12167 _ACEOF
   12168 
   12169 cat >>$CONFIG_STATUS <<_ACEOF
   12170 ac_cs_version="\\
   12171 config.status
   12172 configured by $0, generated by GNU Autoconf 2.59,
   12173   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
   12174 
   12175 Copyright (C) 2003 Free Software Foundation, Inc.
   12176 This config.status script is free software; the Free Software Foundation
   12177 gives unlimited permission to copy, distribute and modify it."
   12178 srcdir=$srcdir
   12179 _ACEOF
   12180 
   12181 cat >>$CONFIG_STATUS <<\_ACEOF
   12182 # If no file are specified by the user, then we need to provide default
   12183 # value.  By we need to know if files were specified by the user.
   12184 ac_need_defaults=:
   12185 while test $# != 0
   12186 do
   12187   case $1 in
   12188   --*=*)
   12189     ac_option=`expr "x$1" : 'x\([^=]*\)='`
   12190     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
   12191     ac_shift=:
   12192     ;;
   12193   -*)
   12194     ac_option=$1
   12195     ac_optarg=$2
   12196     ac_shift=shift
   12197     ;;
   12198   *) # This is not an option, so the user has probably given explicit
   12199      # arguments.
   12200      ac_option=$1
   12201      ac_need_defaults=false;;
   12202   esac
   12203 
   12204   case $ac_option in
   12205   # Handling of the options.
   12206 _ACEOF
   12207 cat >>$CONFIG_STATUS <<\_ACEOF
   12208   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12209     ac_cs_recheck=: ;;
   12210   --version | --vers* | -V )
   12211     echo "$ac_cs_version"; exit 0 ;;
   12212   --he | --h)
   12213     # Conflict between --help and --header
   12214     { { echo "$as_me:$LINENO: error: ambiguous option: $1
   12215 Try \`$0 --help' for more information." >&5
   12216 echo "$as_me: error: ambiguous option: $1
   12217 Try \`$0 --help' for more information." >&2;}
   12218    { (exit 1); exit 1; }; };;
   12219   --help | --hel | -h )
   12220     echo "$ac_cs_usage"; exit 0 ;;
   12221   --debug | --d* | -d )
   12222     debug=: ;;
   12223   --file | --fil | --fi | --f )
   12224     $ac_shift
   12225     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   12226     ac_need_defaults=false;;
   12227   --header | --heade | --head | --hea )
   12228     $ac_shift
   12229     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   12230     ac_need_defaults=false;;
   12231   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12232   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12233     ac_cs_silent=: ;;
   12234 
   12235   # This is an error.
   12236   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
   12237 Try \`$0 --help' for more information." >&5
   12238 echo "$as_me: error: unrecognized option: $1
   12239 Try \`$0 --help' for more information." >&2;}
   12240    { (exit 1); exit 1; }; } ;;
   12241 
   12242   *) ac_config_targets="$ac_config_targets $1" ;;
   12243 
   12244   esac
   12245   shift
   12246 done
   12247 
   12248 ac_configure_extra_args=
   12249 
   12250 if $ac_cs_silent; then
   12251   exec 6>/dev/null
   12252   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12253 fi
   12254 
   12255 _ACEOF
   12256 cat >>$CONFIG_STATUS <<_ACEOF
   12257 if \$ac_cs_recheck; then
   12258   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   12259   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12260 fi
   12261 
   12262 _ACEOF
   12263 
   12264 
   12265 
   12266 
   12267 
   12268 cat >>$CONFIG_STATUS <<\_ACEOF
   12269 for ac_config_target in $ac_config_targets
   12270 do
   12271   case "$ac_config_target" in
   12272   # Handling of arguments.
   12273   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12274   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12275   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   12276 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   12277    { (exit 1); exit 1; }; };;
   12278   esac
   12279 done
   12280 
   12281 # If the user did not use the arguments to specify the items to instantiate,
   12282 # then the envvar interface is used.  Set only those that are not.
   12283 # We use the long form for the default assignment because of an extremely
   12284 # bizarre bug on SunOS 4.1.3.
   12285 if $ac_need_defaults; then
   12286   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   12287   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   12288 fi
   12289 
   12290 # Have a temporary directory for convenience.  Make it in the build tree
   12291 # simply because there is no reason to put it here, and in addition,
   12292 # creating and moving files from /tmp can sometimes cause problems.
   12293 # Create a temporary directory, and hook for its removal unless debugging.
   12294 $debug ||
   12295 {
   12296   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
   12297   trap '{ (exit 1); exit 1; }' 1 2 13 15
   12298 }
   12299 
   12300 # Create a (secure) tmp directory for tmp files.
   12301 
   12302 {
   12303   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
   12304   test -n "$tmp" && test -d "$tmp"
   12305 }  ||
   12306 {
   12307   tmp=./confstat$$-$RANDOM
   12308   (umask 077 && mkdir $tmp)
   12309 } ||
   12310 {
   12311    echo "$me: cannot create a temporary directory in ." >&2
   12312    { (exit 1); exit 1; }
   12313 }
   12314 
   12315 _ACEOF
   12316 
   12317 cat >>$CONFIG_STATUS <<_ACEOF
   12318 
   12319 #
   12320 # CONFIG_FILES section.
   12321 #
   12322 
   12323 # No need to generate the scripts if there are no CONFIG_FILES.
   12324 # This happens for instance when ./config.status config.h
   12325 if test -n "\$CONFIG_FILES"; then
   12326   # Protect against being on the right side of a sed subst in config.status.
   12327   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
   12328    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
   12329 s,@SHELL@,$SHELL,;t t
   12330 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
   12331 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
   12332 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
   12333 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
   12334 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
   12335 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
   12336 s,@exec_prefix@,$exec_prefix,;t t
   12337 s,@prefix@,$prefix,;t t
   12338 s,@program_transform_name@,$program_transform_name,;t t
   12339 s,@bindir@,$bindir,;t t
   12340 s,@sbindir@,$sbindir,;t t
   12341 s,@libexecdir@,$libexecdir,;t t
   12342 s,@datadir@,$datadir,;t t
   12343 s,@sysconfdir@,$sysconfdir,;t t
   12344 s,@sharedstatedir@,$sharedstatedir,;t t
   12345 s,@localstatedir@,$localstatedir,;t t
   12346 s,@libdir@,$libdir,;t t
   12347 s,@includedir@,$includedir,;t t
   12348 s,@oldincludedir@,$oldincludedir,;t t
   12349 s,@infodir@,$infodir,;t t
   12350 s,@mandir@,$mandir,;t t
   12351 s,@build_alias@,$build_alias,;t t
   12352 s,@host_alias@,$host_alias,;t t
   12353 s,@target_alias@,$target_alias,;t t
   12354 s,@DEFS@,$DEFS,;t t
   12355 s,@ECHO_C@,$ECHO_C,;t t
   12356 s,@ECHO_N@,$ECHO_N,;t t
   12357 s,@ECHO_T@,$ECHO_T,;t t
   12358 s,@LIBS@,$LIBS,;t t
   12359 s,@CC@,$CC,;t t
   12360 s,@CFLAGS@,$CFLAGS,;t t
   12361 s,@LDFLAGS@,$LDFLAGS,;t t
   12362 s,@CPPFLAGS@,$CPPFLAGS,;t t
   12363 s,@ac_ct_CC@,$ac_ct_CC,;t t
   12364 s,@EXEEXT@,$EXEEXT,;t t
   12365 s,@OBJEXT@,$OBJEXT,;t t
   12366 s,@SET_MAKE@,$SET_MAKE,;t t
   12367 s,@LD@,$LD,;t t
   12368 s,@build@,$build,;t t
   12369 s,@build_cpu@,$build_cpu,;t t
   12370 s,@build_vendor@,$build_vendor,;t t
   12371 s,@build_os@,$build_os,;t t
   12372 s,@host@,$host,;t t
   12373 s,@host_cpu@,$host_cpu,;t t
   12374 s,@host_vendor@,$host_vendor,;t t
   12375 s,@host_os@,$host_os,;t t
   12376 s,@AR@,$AR,;t t
   12377 s,@ac_ct_AR@,$ac_ct_AR,;t t
   12378 s,@RANLIB@,$RANLIB,;t t
   12379 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
   12380 s,@STRIP@,$STRIP,;t t
   12381 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
   12382 s,@INSTALL@,$INSTALL,;t t
   12383 s,@ac_ct_INSTALL@,$ac_ct_INSTALL,;t t
   12384 s,@CPP@,$CPP,;t t
   12385 s,@EGREP@,$EGREP,;t t
   12386 s,@LIBOBJS@,$LIBOBJS,;t t
   12387 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
   12388 CEOF
   12389 
   12390 _ACEOF
   12391 
   12392   cat >>$CONFIG_STATUS <<\_ACEOF
   12393   # Split the substitutions into bite-sized pieces for seds with
   12394   # small command number limits, like on Digital OSF/1 and HP-UX.
   12395   ac_max_sed_lines=48
   12396   ac_sed_frag=1 # Number of current file.
   12397   ac_beg=1 # First line for current file.
   12398   ac_end=$ac_max_sed_lines # Line after last line for current file.
   12399   ac_more_lines=:
   12400   ac_sed_cmds=
   12401   while $ac_more_lines; do
   12402     if test $ac_beg -gt 1; then
   12403       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   12404     else
   12405       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   12406     fi
   12407     if test ! -s $tmp/subs.frag; then
   12408       ac_more_lines=false
   12409     else
   12410       # The purpose of the label and of the branching condition is to
   12411       # speed up the sed processing (if there are no `@' at all, there
   12412       # is no need to browse any of the substitutions).
   12413       # These are the two extra sed commands mentioned above.
   12414       (echo ':t
   12415   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
   12416       if test -z "$ac_sed_cmds"; then
   12417 	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
   12418       else
   12419 	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
   12420       fi
   12421       ac_sed_frag=`expr $ac_sed_frag + 1`
   12422       ac_beg=$ac_end
   12423       ac_end=`expr $ac_end + $ac_max_sed_lines`
   12424     fi
   12425   done
   12426   if test -z "$ac_sed_cmds"; then
   12427     ac_sed_cmds=cat
   12428   fi
   12429 fi # test -n "$CONFIG_FILES"
   12430 
   12431 _ACEOF
   12432 cat >>$CONFIG_STATUS <<\_ACEOF
   12433 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
   12434   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   12435   case $ac_file in
   12436   - | *:- | *:-:* ) # input from stdin
   12437 	cat >$tmp/stdin
   12438 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   12439 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   12440   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   12441 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   12442   * )   ac_file_in=$ac_file.in ;;
   12443   esac
   12444 
   12445   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
   12446   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
   12447 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12448 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12449 	 X"$ac_file" : 'X\(//\)$' \| \
   12450 	 X"$ac_file" : 'X\(/\)' \| \
   12451 	 .     : '\(.\)' 2>/dev/null ||
   12452 echo X"$ac_file" |
   12453     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   12454   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   12455   	  /^X\(\/\/\)$/{ s//\1/; q; }
   12456   	  /^X\(\/\).*/{ s//\1/; q; }
   12457   	  s/.*/./; q'`
   12458   { if $as_mkdir_p; then
   12459     mkdir -p "$ac_dir"
   12460   else
   12461     as_dir="$ac_dir"
   12462     as_dirs=
   12463     while test ! -d "$as_dir"; do
   12464       as_dirs="$as_dir $as_dirs"
   12465       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   12466 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12467 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12468 	 X"$as_dir" : 'X\(//\)$' \| \
   12469 	 X"$as_dir" : 'X\(/\)' \| \
   12470 	 .     : '\(.\)' 2>/dev/null ||
   12471 echo X"$as_dir" |
   12472     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   12473   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   12474   	  /^X\(\/\/\)$/{ s//\1/; q; }
   12475   	  /^X\(\/\).*/{ s//\1/; q; }
   12476   	  s/.*/./; q'`
   12477     done
   12478     test ! -n "$as_dirs" || mkdir $as_dirs
   12479   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   12480 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   12481    { (exit 1); exit 1; }; }; }
   12482 
   12483   ac_builddir=.
   12484 
   12485 if test "$ac_dir" != .; then
   12486   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   12487   # A "../" for each directory in $ac_dir_suffix.
   12488   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
   12489 else
   12490   ac_dir_suffix= ac_top_builddir=
   12491 fi
   12492 
   12493 case $srcdir in
   12494   .)  # No --srcdir option.  We are building in place.
   12495     ac_srcdir=.
   12496     if test -z "$ac_top_builddir"; then
   12497        ac_top_srcdir=.
   12498     else
   12499        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
   12500     fi ;;
   12501   [\\/]* | ?:[\\/]* )  # Absolute path.
   12502     ac_srcdir=$srcdir$ac_dir_suffix;
   12503     ac_top_srcdir=$srcdir ;;
   12504   *) # Relative path.
   12505     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
   12506     ac_top_srcdir=$ac_top_builddir$srcdir ;;
   12507 esac
   12508 
   12509 # Do not use `cd foo && pwd` to compute absolute paths, because
   12510 # the directories may not exist.
   12511 case `pwd` in
   12512 .) ac_abs_builddir="$ac_dir";;
   12513 *)
   12514   case "$ac_dir" in
   12515   .) ac_abs_builddir=`pwd`;;
   12516   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
   12517   *) ac_abs_builddir=`pwd`/"$ac_dir";;
   12518   esac;;
   12519 esac
   12520 case $ac_abs_builddir in
   12521 .) ac_abs_top_builddir=${ac_top_builddir}.;;
   12522 *)
   12523   case ${ac_top_builddir}. in
   12524   .) ac_abs_top_builddir=$ac_abs_builddir;;
   12525   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
   12526   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
   12527   esac;;
   12528 esac
   12529 case $ac_abs_builddir in
   12530 .) ac_abs_srcdir=$ac_srcdir;;
   12531 *)
   12532   case $ac_srcdir in
   12533   .) ac_abs_srcdir=$ac_abs_builddir;;
   12534   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
   12535   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
   12536   esac;;
   12537 esac
   12538 case $ac_abs_builddir in
   12539 .) ac_abs_top_srcdir=$ac_top_srcdir;;
   12540 *)
   12541   case $ac_top_srcdir in
   12542   .) ac_abs_top_srcdir=$ac_abs_builddir;;
   12543   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
   12544   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
   12545   esac;;
   12546 esac
   12547 
   12548 
   12549 
   12550   if test x"$ac_file" != x-; then
   12551     { echo "$as_me:$LINENO: creating $ac_file" >&5
   12552 echo "$as_me: creating $ac_file" >&6;}
   12553     rm -f "$ac_file"
   12554   fi
   12555   # Let's still pretend it is `configure' which instantiates (i.e., don't
   12556   # use $as_me), people would be surprised to read:
   12557   #    /* config.h.  Generated by config.status.  */
   12558   if test x"$ac_file" = x-; then
   12559     configure_input=
   12560   else
   12561     configure_input="$ac_file.  "
   12562   fi
   12563   configure_input=$configure_input"Generated from `echo $ac_file_in |
   12564 				     sed 's,.*/,,'` by configure."
   12565 
   12566   # First look for the input files in the build tree, otherwise in the
   12567   # src tree.
   12568   ac_file_inputs=`IFS=:
   12569     for f in $ac_file_in; do
   12570       case $f in
   12571       -) echo $tmp/stdin ;;
   12572       [\\/$]*)
   12573 	 # Absolute (can't be DOS-style, as IFS=:)
   12574 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   12575 echo "$as_me: error: cannot find input file: $f" >&2;}
   12576    { (exit 1); exit 1; }; }
   12577 	 echo "$f";;
   12578       *) # Relative
   12579 	 if test -f "$f"; then
   12580 	   # Build tree
   12581 	   echo "$f"
   12582 	 elif test -f "$srcdir/$f"; then
   12583 	   # Source tree
   12584 	   echo "$srcdir/$f"
   12585 	 else
   12586 	   # /dev/null tree
   12587 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   12588 echo "$as_me: error: cannot find input file: $f" >&2;}
   12589    { (exit 1); exit 1; }; }
   12590 	 fi;;
   12591       esac
   12592     done` || { (exit 1); exit 1; }
   12593 _ACEOF
   12594 cat >>$CONFIG_STATUS <<_ACEOF
   12595   sed "$ac_vpsub
   12596 $extrasub
   12597 _ACEOF
   12598 cat >>$CONFIG_STATUS <<\_ACEOF
   12599 :t
   12600 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12601 s,@configure_input@,$configure_input,;t t
   12602 s,@srcdir@,$ac_srcdir,;t t
   12603 s,@abs_srcdir@,$ac_abs_srcdir,;t t
   12604 s,@top_srcdir@,$ac_top_srcdir,;t t
   12605 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
   12606 s,@builddir@,$ac_builddir,;t t
   12607 s,@abs_builddir@,$ac_abs_builddir,;t t
   12608 s,@top_builddir@,$ac_top_builddir,;t t
   12609 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
   12610 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
   12611   rm -f $tmp/stdin
   12612   if test x"$ac_file" != x-; then
   12613     mv $tmp/out $ac_file
   12614   else
   12615     cat $tmp/out
   12616     rm -f $tmp/out
   12617   fi
   12618 
   12619 done
   12620 _ACEOF
   12621 cat >>$CONFIG_STATUS <<\_ACEOF
   12622 
   12623 #
   12624 # CONFIG_HEADER section.
   12625 #
   12626 
   12627 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
   12628 # NAME is the cpp macro being defined and VALUE is the value it is being given.
   12629 #
   12630 # ac_d sets the value in "#define NAME VALUE" lines.
   12631 ac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
   12632 ac_dB='[	 ].*$,\1#\2'
   12633 ac_dC=' '
   12634 ac_dD=',;t'
   12635 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
   12636 ac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
   12637 ac_uB='$,\1#\2define\3'
   12638 ac_uC=' '
   12639 ac_uD=',;t'
   12640 
   12641 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
   12642   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   12643   case $ac_file in
   12644   - | *:- | *:-:* ) # input from stdin
   12645 	cat >$tmp/stdin
   12646 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   12647 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   12648   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   12649 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   12650   * )   ac_file_in=$ac_file.in ;;
   12651   esac
   12652 
   12653   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
   12654 echo "$as_me: creating $ac_file" >&6;}
   12655 
   12656   # First look for the input files in the build tree, otherwise in the
   12657   # src tree.
   12658   ac_file_inputs=`IFS=:
   12659     for f in $ac_file_in; do
   12660       case $f in
   12661       -) echo $tmp/stdin ;;
   12662       [\\/$]*)
   12663 	 # Absolute (can't be DOS-style, as IFS=:)
   12664 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   12665 echo "$as_me: error: cannot find input file: $f" >&2;}
   12666    { (exit 1); exit 1; }; }
   12667 	 # Do quote $f, to prevent DOS paths from being IFS'd.
   12668 	 echo "$f";;
   12669       *) # Relative
   12670 	 if test -f "$f"; then
   12671 	   # Build tree
   12672 	   echo "$f"
   12673 	 elif test -f "$srcdir/$f"; then
   12674 	   # Source tree
   12675 	   echo "$srcdir/$f"
   12676 	 else
   12677 	   # /dev/null tree
   12678 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   12679 echo "$as_me: error: cannot find input file: $f" >&2;}
   12680    { (exit 1); exit 1; }; }
   12681 	 fi;;
   12682       esac
   12683     done` || { (exit 1); exit 1; }
   12684   # Remove the trailing spaces.
   12685   sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
   12686 
   12687 _ACEOF
   12688 
   12689 # Transform confdefs.h into two sed scripts, `conftest.defines' and
   12690 # `conftest.undefs', that substitutes the proper values into
   12691 # config.h.in to produce config.h.  The first handles `#define'
   12692 # templates, and the second `#undef' templates.
   12693 # And first: Protect against being on the right side of a sed subst in
   12694 # config.status.  Protect against being in an unquoted here document
   12695 # in config.status.
   12696 rm -f conftest.defines conftest.undefs
   12697 # Using a here document instead of a string reduces the quoting nightmare.
   12698 # Putting comments in sed scripts is not portable.
   12699 #
   12700 # `end' is used to avoid that the second main sed command (meant for
   12701 # 0-ary CPP macros) applies to n-ary macro definitions.
   12702 # See the Autoconf documentation for `clear'.
   12703 cat >confdef2sed.sed <<\_ACEOF
   12704 s/[\\&,]/\\&/g
   12705 s,[\\$`],\\&,g
   12706 t clear
   12707 : clear
   12708 s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
   12709 t end
   12710 s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
   12711 : end
   12712 _ACEOF
   12713 # If some macros were called several times there might be several times
   12714 # the same #defines, which is useless.  Nevertheless, we may not want to
   12715 # sort them, since we want the *last* AC-DEFINE to be honored.
   12716 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
   12717 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
   12718 rm -f confdef2sed.sed
   12719 
   12720 # This sed command replaces #undef with comments.  This is necessary, for
   12721 # example, in the case of _POSIX_SOURCE, which is predefined and required
   12722 # on some systems where configure will not decide to define it.
   12723 cat >>conftest.undefs <<\_ACEOF
   12724 s,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
   12725 _ACEOF
   12726 
   12727 # Break up conftest.defines because some shells have a limit on the size
   12728 # of here documents, and old seds have small limits too (100 cmds).
   12729 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
   12730 echo '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
   12731 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
   12732 echo '  :' >>$CONFIG_STATUS
   12733 rm -f conftest.tail
   12734 while grep . conftest.defines >/dev/null
   12735 do
   12736   # Write a limited-size here document to $tmp/defines.sed.
   12737   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
   12738   # Speed up: don't consider the non `#define' lines.
   12739   echo '/^[	 ]*#[	 ]*define/!b' >>$CONFIG_STATUS
   12740   # Work around the forget-to-reset-the-flag bug.
   12741   echo 't clr' >>$CONFIG_STATUS
   12742   echo ': clr' >>$CONFIG_STATUS
   12743   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
   12744   echo 'CEOF
   12745   sed -f $tmp/defines.sed $tmp/in >$tmp/out
   12746   rm -f $tmp/in
   12747   mv $tmp/out $tmp/in
   12748 ' >>$CONFIG_STATUS
   12749   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
   12750   rm -f conftest.defines
   12751   mv conftest.tail conftest.defines
   12752 done
   12753 rm -f conftest.defines
   12754 echo '  fi # grep' >>$CONFIG_STATUS
   12755 echo >>$CONFIG_STATUS
   12756 
   12757 # Break up conftest.undefs because some shells have a limit on the size
   12758 # of here documents, and old seds have small limits too (100 cmds).
   12759 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
   12760 rm -f conftest.tail
   12761 while grep . conftest.undefs >/dev/null
   12762 do
   12763   # Write a limited-size here document to $tmp/undefs.sed.
   12764   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
   12765   # Speed up: don't consider the non `#undef'
   12766   echo '/^[	 ]*#[	 ]*undef/!b' >>$CONFIG_STATUS
   12767   # Work around the forget-to-reset-the-flag bug.
   12768   echo 't clr' >>$CONFIG_STATUS
   12769   echo ': clr' >>$CONFIG_STATUS
   12770   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
   12771   echo 'CEOF
   12772   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
   12773   rm -f $tmp/in
   12774   mv $tmp/out $tmp/in
   12775 ' >>$CONFIG_STATUS
   12776   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
   12777   rm -f conftest.undefs
   12778   mv conftest.tail conftest.undefs
   12779 done
   12780 rm -f conftest.undefs
   12781 
   12782 cat >>$CONFIG_STATUS <<\_ACEOF
   12783   # Let's still pretend it is `configure' which instantiates (i.e., don't
   12784   # use $as_me), people would be surprised to read:
   12785   #    /* config.h.  Generated by config.status.  */
   12786   if test x"$ac_file" = x-; then
   12787     echo "/* Generated by configure.  */" >$tmp/config.h
   12788   else
   12789     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
   12790   fi
   12791   cat $tmp/in >>$tmp/config.h
   12792   rm -f $tmp/in
   12793   if test x"$ac_file" != x-; then
   12794     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
   12795       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   12796 echo "$as_me: $ac_file is unchanged" >&6;}
   12797     else
   12798       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
   12799 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12800 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12801 	 X"$ac_file" : 'X\(//\)$' \| \
   12802 	 X"$ac_file" : 'X\(/\)' \| \
   12803 	 .     : '\(.\)' 2>/dev/null ||
   12804 echo X"$ac_file" |
   12805     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   12806   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   12807   	  /^X\(\/\/\)$/{ s//\1/; q; }
   12808   	  /^X\(\/\).*/{ s//\1/; q; }
   12809   	  s/.*/./; q'`
   12810       { if $as_mkdir_p; then
   12811     mkdir -p "$ac_dir"
   12812   else
   12813     as_dir="$ac_dir"
   12814     as_dirs=
   12815     while test ! -d "$as_dir"; do
   12816       as_dirs="$as_dir $as_dirs"
   12817       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   12818 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12819 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12820 	 X"$as_dir" : 'X\(//\)$' \| \
   12821 	 X"$as_dir" : 'X\(/\)' \| \
   12822 	 .     : '\(.\)' 2>/dev/null ||
   12823 echo X"$as_dir" |
   12824     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   12825   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   12826   	  /^X\(\/\/\)$/{ s//\1/; q; }
   12827   	  /^X\(\/\).*/{ s//\1/; q; }
   12828   	  s/.*/./; q'`
   12829     done
   12830     test ! -n "$as_dirs" || mkdir $as_dirs
   12831   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   12832 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   12833    { (exit 1); exit 1; }; }; }
   12834 
   12835       rm -f $ac_file
   12836       mv $tmp/config.h $ac_file
   12837     fi
   12838   else
   12839     cat $tmp/config.h
   12840     rm -f $tmp/config.h
   12841   fi
   12842 done
   12843 _ACEOF
   12844 
   12845 cat >>$CONFIG_STATUS <<\_ACEOF
   12846 
   12847 { (exit 0); exit 0; }
   12848 _ACEOF
   12849 chmod +x $CONFIG_STATUS
   12850 ac_clean_files=$ac_clean_files_save
   12851 
   12852 
   12853 # configure is writing to config.log, and then calls config.status.
   12854 # config.status does its own redirection, appending to config.log.
   12855 # Unfortunately, on DOS this fails, as config.log is still kept open
   12856 # by configure, so config.status won't be able to write to it; its
   12857 # output is simply discarded.  So we exec the FD to /dev/null,
   12858 # effectively closing config.log, so it can be properly (re)opened and
   12859 # appended to by config.status.  When coming back to configure, we
   12860 # need to make the FD available again.
   12861 if test "$no_create" != yes; then
   12862   ac_cs_success=:
   12863   ac_config_status_args=
   12864   test "$silent" = yes &&
   12865     ac_config_status_args="$ac_config_status_args --quiet"
   12866   exec 5>/dev/null
   12867   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12868   exec 5>>config.log
   12869   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12870   # would make configure fail if this is the last instruction.
   12871   $ac_cs_success || { (exit 1); exit 1; }
   12872 fi
   12873 
   12874           ac_config_files="$ac_config_files libtomcrypt/Makefile"
   12875 cat >confcache <<\_ACEOF
   12876 # This file is a shell script that caches the results of configure
   12877 # tests run on this system so they can be shared between configure
   12878 # scripts and configure runs, see configure's option --config-cache.
   12879 # It is not useful on other systems.  If it contains results you don't
   12880 # want to keep, you may remove or edit it.
   12881 #
   12882 # config.status only pays attention to the cache file if you give it
   12883 # the --recheck option to rerun configure.
   12884 #
   12885 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   12886 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   12887 # following values.
   12888 
   12889 _ACEOF
   12890 
   12891 # The following way of writing the cache mishandles newlines in values,
   12892 # but we know of no workaround that is simple, portable, and efficient.
   12893 # So, don't put newlines in cache variables' values.
   12894 # Ultrix sh set writes to stderr and can't be redirected directly,
   12895 # and sets the high bit in the cache file unless we assign to the vars.
   12896 {
   12897   (set) 2>&1 |
   12898     case `(ac_space=' '; set | grep ac_space) 2>&1` in
   12899     *ac_space=\ *)
   12900       # `set' does not quote correctly, so add quotes (double-quote
   12901       # substitution turns \\\\ into \\, and sed turns \\ into \).
   12902       sed -n \
   12903 	"s/'/'\\\\''/g;
   12904 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   12905       ;;
   12906     *)
   12907       # `set' quotes correctly as required by POSIX, so do not add quotes.
   12908       sed -n \
   12909 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
   12910       ;;
   12911     esac;
   12912 } |
   12913   sed '
   12914      t clear
   12915      : clear
   12916      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   12917      t end
   12918      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   12919      : end' >>confcache
   12920 if diff $cache_file confcache >/dev/null 2>&1; then :; else
   12921   if test -w $cache_file; then
   12922     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
   12923     cat confcache >$cache_file
   12924   else
   12925     echo "not updating unwritable cache $cache_file"
   12926   fi
   12927 fi
   12928 rm -f confcache
   12929 
   12930 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   12931 # Let make expand exec_prefix.
   12932 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   12933 
   12934 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   12935 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   12936 # trailing colons and then remove the whole line if VPATH becomes empty
   12937 # (actually we leave an empty line to preserve line numbers).
   12938 if test "x$srcdir" = x.; then
   12939   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   12940 s/:*\$(srcdir):*/:/;
   12941 s/:*\${srcdir}:*/:/;
   12942 s/:*@srcdir@:*/:/;
   12943 s/^\([^=]*=[	 ]*\):*/\1/;
   12944 s/:*$//;
   12945 s/^[^=]*=[	 ]*$//;
   12946 }'
   12947 fi
   12948 
   12949 DEFS=-DHAVE_CONFIG_H
   12950 
   12951 ac_libobjs=
   12952 ac_ltlibobjs=
   12953 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   12954   # 1. Remove the extension, and $U if already installed.
   12955   ac_i=`echo "$ac_i" |
   12956 	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
   12957   # 2. Add them.
   12958   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
   12959   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
   12960 done
   12961 LIBOBJS=$ac_libobjs
   12962 
   12963 LTLIBOBJS=$ac_ltlibobjs
   12964 
   12965 
   12966 
   12967 : ${CONFIG_STATUS=./config.status}
   12968 ac_clean_files_save=$ac_clean_files
   12969 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   12970 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   12971 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   12972 cat >$CONFIG_STATUS <<_ACEOF
   12973 #! $SHELL
   12974 # Generated by $as_me.
   12975 # Run this file to recreate the current configuration.
   12976 # Compiler output produced by configure, useful for debugging
   12977 # configure, is in config.log if it exists.
   12978 
   12979 debug=false
   12980 ac_cs_recheck=false
   12981 ac_cs_silent=false
   12982 SHELL=\${CONFIG_SHELL-$SHELL}
   12983 _ACEOF
   12984 
   12985 cat >>$CONFIG_STATUS <<\_ACEOF
   12986 ## --------------------- ##
   12987 ## M4sh Initialization.  ##
   12988 ## --------------------- ##
   12989 
   12990 # Be Bourne compatible
   12991 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   12992   emulate sh
   12993   NULLCMD=:
   12994   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   12995   # is contrary to our usage.  Disable this feature.
   12996   alias -g '${1+"$@"}'='"$@"'
   12997 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   12998   set -o posix
   12999 fi
   13000 DUALCASE=1; export DUALCASE # for MKS sh
   13001 
   13002 # Support unset when possible.
   13003 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   13004   as_unset=unset
   13005 else
   13006   as_unset=false
   13007 fi
   13008 
   13009 
   13010 # Work around bugs in pre-3.0 UWIN ksh.
   13011 $as_unset ENV MAIL MAILPATH
   13012 PS1='$ '
   13013 PS2='> '
   13014 PS4='+ '
   13015 
   13016 # NLS nuisances.
   13017 for as_var in \
   13018   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   13019   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   13020   LC_TELEPHONE LC_TIME
   13021 do
   13022   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   13023     eval $as_var=C; export $as_var
   13024   else
   13025     $as_unset $as_var
   13026   fi
   13027 done
   13028 
   13029 # Required to use basename.
   13030 if expr a : '\(a\)' >/dev/null 2>&1; then
   13031   as_expr=expr
   13032 else
   13033   as_expr=false
   13034 fi
   13035 
   13036 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
   13037   as_basename=basename
   13038 else
   13039   as_basename=false
   13040 fi
   13041 
   13042 
   13043 # Name of the executable.
   13044 as_me=`$as_basename "$0" ||
   13045 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   13046 	 X"$0" : 'X\(//\)$' \| \
   13047 	 X"$0" : 'X\(/\)$' \| \
   13048 	 .     : '\(.\)' 2>/dev/null ||
   13049 echo X/"$0" |
   13050     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
   13051   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
   13052   	  /^X\/\(\/\).*/{ s//\1/; q; }
   13053   	  s/.*/./; q'`
   13054 
   13055 
   13056 # PATH needs CR, and LINENO needs CR and PATH.
   13057 # Avoid depending upon Character Ranges.
   13058 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   13059 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   13060 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   13061 as_cr_digits='0123456789'
   13062 as_cr_alnum=$as_cr_Letters$as_cr_digits
   13063 
   13064 # The user is always right.
   13065 if test "${PATH_SEPARATOR+set}" != set; then
   13066   echo "#! /bin/sh" >conf$$.sh
   13067   echo  "exit 0"   >>conf$$.sh
   13068   chmod +x conf$$.sh
   13069   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   13070     PATH_SEPARATOR=';'
   13071   else
   13072     PATH_SEPARATOR=:
   13073   fi
   13074   rm -f conf$$.sh
   13075 fi
   13076 
   13077 
   13078   as_lineno_1=$LINENO
   13079   as_lineno_2=$LINENO
   13080   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   13081   test "x$as_lineno_1" != "x$as_lineno_2" &&
   13082   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
   13083   # Find who we are.  Look in the path if we contain no path at all
   13084   # relative or not.
   13085   case $0 in
   13086     *[\\/]* ) as_myself=$0 ;;
   13087     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13088 for as_dir in $PATH
   13089 do
   13090   IFS=$as_save_IFS
   13091   test -z "$as_dir" && as_dir=.
   13092   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   13093 done
   13094 
   13095        ;;
   13096   esac
   13097   # We did not find ourselves, most probably we were run as `sh COMMAND'
   13098   # in which case we are not to be found in the path.
   13099   if test "x$as_myself" = x; then
   13100     as_myself=$0
   13101   fi
   13102   if test ! -f "$as_myself"; then
   13103     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
   13104 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
   13105    { (exit 1); exit 1; }; }
   13106   fi
   13107   case $CONFIG_SHELL in
   13108   '')
   13109     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13110 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   13111 do
   13112   IFS=$as_save_IFS
   13113   test -z "$as_dir" && as_dir=.
   13114   for as_base in sh bash ksh sh5; do
   13115 	 case $as_dir in
   13116 	 /*)
   13117 	   if ("$as_dir/$as_base" -c '
   13118   as_lineno_1=$LINENO
   13119   as_lineno_2=$LINENO
   13120   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   13121   test "x$as_lineno_1" != "x$as_lineno_2" &&
   13122   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
   13123 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
   13124 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
   13125 	     CONFIG_SHELL=$as_dir/$as_base
   13126 	     export CONFIG_SHELL
   13127 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
   13128 	   fi;;
   13129 	 esac
   13130        done
   13131 done
   13132 ;;
   13133   esac
   13134 
   13135   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   13136   # uniformly replaced by the line number.  The first 'sed' inserts a
   13137   # line-number line before each line; the second 'sed' does the real
   13138   # work.  The second script uses 'N' to pair each line-number line
   13139   # with the numbered line, and appends trailing '-' during
   13140   # substitution so that $LINENO is not a special case at line end.
   13141   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   13142   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
   13143   sed '=' <$as_myself |
   13144     sed '
   13145       N
   13146       s,$,-,
   13147       : loop
   13148       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
   13149       t loop
   13150       s,-$,,
   13151       s,^['$as_cr_digits']*\n,,
   13152     ' >$as_me.lineno &&
   13153   chmod +x $as_me.lineno ||
   13154     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
   13155 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
   13156    { (exit 1); exit 1; }; }
   13157 
   13158   # Don't try to exec as it changes $[0], causing all sort of problems
   13159   # (the dirname of $[0] is not the place where we might find the
   13160   # original and so on.  Autoconf is especially sensible to this).
   13161   . ./$as_me.lineno
   13162   # Exit status is that of the last command.
   13163   exit
   13164 }
   13165 
   13166 
   13167 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
   13168   *c*,-n*) ECHO_N= ECHO_C='
   13169 ' ECHO_T='	' ;;
   13170   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
   13171   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
   13172 esac
   13173 
   13174 if expr a : '\(a\)' >/dev/null 2>&1; then
   13175   as_expr=expr
   13176 else
   13177   as_expr=false
   13178 fi
   13179 
   13180 rm -f conf$$ conf$$.exe conf$$.file
   13181 echo >conf$$.file
   13182 if ln -s conf$$.file conf$$ 2>/dev/null; then
   13183   # We could just check for DJGPP; but this test a) works b) is more generic
   13184   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
   13185   if test -f conf$$.exe; then
   13186     # Don't use ln at all; we don't have any links
   13187     as_ln_s='cp -p'
   13188   else
   13189     as_ln_s='ln -s'
   13190   fi
   13191 elif ln conf$$.file conf$$ 2>/dev/null; then
   13192   as_ln_s=ln
   13193 else
   13194   as_ln_s='cp -p'
   13195 fi
   13196 rm -f conf$$ conf$$.exe conf$$.file
   13197 
   13198 if mkdir -p . 2>/dev/null; then
   13199   as_mkdir_p=:
   13200 else
   13201   test -d ./-p && rmdir ./-p
   13202   as_mkdir_p=false
   13203 fi
   13204 
   13205 as_executable_p="test -f"
   13206 
   13207 # Sed expression to map a string onto a valid CPP name.
   13208 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   13209 
   13210 # Sed expression to map a string onto a valid variable name.
   13211 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   13212 
   13213 
   13214 # IFS
   13215 # We need space, tab and new line, in precisely that order.
   13216 as_nl='
   13217 '
   13218 IFS=" 	$as_nl"
   13219 
   13220 # CDPATH.
   13221 $as_unset CDPATH
   13222 
   13223 exec 6>&1
   13224 
   13225 # Open the log real soon, to keep \$[0] and so on meaningful, and to
   13226 # report actual input values of CONFIG_FILES etc. instead of their
   13227 # values after options handling.  Logging --version etc. is OK.
   13228 exec 5>>config.log
   13229 {
   13230   echo
   13231   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   13232 ## Running $as_me. ##
   13233 _ASBOX
   13234 } >&5
   13235 cat >&5 <<_CSEOF
   13236 
   13237 This file was extended by $as_me, which was
   13238 generated by GNU Autoconf 2.59.  Invocation command line was
   13239 
   13240   CONFIG_FILES    = $CONFIG_FILES
   13241   CONFIG_HEADERS  = $CONFIG_HEADERS
   13242   CONFIG_LINKS    = $CONFIG_LINKS
   13243   CONFIG_COMMANDS = $CONFIG_COMMANDS
   13244   $ $0 $@
   13245 
   13246 _CSEOF
   13247 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
   13248 echo >&5
   13249 _ACEOF
   13250 
   13251 # Files that config.status was made for.
   13252 if test -n "$ac_config_files"; then
   13253   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
   13254 fi
   13255 
   13256 if test -n "$ac_config_headers"; then
   13257   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
   13258 fi
   13259 
   13260 if test -n "$ac_config_links"; then
   13261   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
   13262 fi
   13263 
   13264 if test -n "$ac_config_commands"; then
   13265   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
   13266 fi
   13267 
   13268 cat >>$CONFIG_STATUS <<\_ACEOF
   13269 
   13270 ac_cs_usage="\
   13271 \`$as_me' instantiates files from templates according to the
   13272 current configuration.
   13273 
   13274 Usage: $0 [OPTIONS] [FILE]...
   13275 
   13276   -h, --help       print this help, then exit
   13277   -V, --version    print version number, then exit
   13278   -q, --quiet      do not print progress messages
   13279   -d, --debug      don't remove temporary files
   13280       --recheck    update $as_me by reconfiguring in the same conditions
   13281   --file=FILE[:TEMPLATE]
   13282 		   instantiate the configuration file FILE
   13283   --header=FILE[:TEMPLATE]
   13284 		   instantiate the configuration header FILE
   13285 
   13286 Configuration files:
   13287 $config_files
   13288 
   13289 Configuration headers:
   13290 $config_headers
   13291 
   13292 Report bugs to <bug-autoconf@gnu.org>."
   13293 _ACEOF
   13294 
   13295 cat >>$CONFIG_STATUS <<_ACEOF
   13296 ac_cs_version="\\
   13297 config.status
   13298 configured by $0, generated by GNU Autoconf 2.59,
   13299   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
   13300 
   13301 Copyright (C) 2003 Free Software Foundation, Inc.
   13302 This config.status script is free software; the Free Software Foundation
   13303 gives unlimited permission to copy, distribute and modify it."
   13304 srcdir=$srcdir
   13305 _ACEOF
   13306 
   13307 cat >>$CONFIG_STATUS <<\_ACEOF
   13308 # If no file are specified by the user, then we need to provide default
   13309 # value.  By we need to know if files were specified by the user.
   13310 ac_need_defaults=:
   13311 while test $# != 0
   13312 do
   13313   case $1 in
   13314   --*=*)
   13315     ac_option=`expr "x$1" : 'x\([^=]*\)='`
   13316     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
   13317     ac_shift=:
   13318     ;;
   13319   -*)
   13320     ac_option=$1
   13321     ac_optarg=$2
   13322     ac_shift=shift
   13323     ;;
   13324   *) # This is not an option, so the user has probably given explicit
   13325      # arguments.
   13326      ac_option=$1
   13327      ac_need_defaults=false;;
   13328   esac
   13329 
   13330   case $ac_option in
   13331   # Handling of the options.
   13332 _ACEOF
   13333 cat >>$CONFIG_STATUS <<\_ACEOF
   13334   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   13335     ac_cs_recheck=: ;;
   13336   --version | --vers* | -V )
   13337     echo "$ac_cs_version"; exit 0 ;;
   13338   --he | --h)
   13339     # Conflict between --help and --header
   13340     { { echo "$as_me:$LINENO: error: ambiguous option: $1
   13341 Try \`$0 --help' for more information." >&5
   13342 echo "$as_me: error: ambiguous option: $1
   13343 Try \`$0 --help' for more information." >&2;}
   13344    { (exit 1); exit 1; }; };;
   13345   --help | --hel | -h )
   13346     echo "$ac_cs_usage"; exit 0 ;;
   13347   --debug | --d* | -d )
   13348     debug=: ;;
   13349   --file | --fil | --fi | --f )
   13350     $ac_shift
   13351     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   13352     ac_need_defaults=false;;
   13353   --header | --heade | --head | --hea )
   13354     $ac_shift
   13355     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   13356     ac_need_defaults=false;;
   13357   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   13358   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   13359     ac_cs_silent=: ;;
   13360 
   13361   # This is an error.
   13362   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
   13363 Try \`$0 --help' for more information." >&5
   13364 echo "$as_me: error: unrecognized option: $1
   13365 Try \`$0 --help' for more information." >&2;}
   13366    { (exit 1); exit 1; }; } ;;
   13367 
   13368   *) ac_config_targets="$ac_config_targets $1" ;;
   13369 
   13370   esac
   13371   shift
   13372 done
   13373 
   13374 ac_configure_extra_args=
   13375 
   13376 if $ac_cs_silent; then
   13377   exec 6>/dev/null
   13378   ac_configure_extra_args="$ac_configure_extra_args --silent"
   13379 fi
   13380 
   13381 _ACEOF
   13382 cat >>$CONFIG_STATUS <<_ACEOF
   13383 if \$ac_cs_recheck; then
   13384   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   13385   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   13386 fi
   13387 
   13388 _ACEOF
   13389 
   13390 
   13391 
   13392 
   13393 
   13394 cat >>$CONFIG_STATUS <<\_ACEOF
   13395 for ac_config_target in $ac_config_targets
   13396 do
   13397   case "$ac_config_target" in
   13398   # Handling of arguments.
   13399   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   13400   "libtomcrypt/Makefile" ) CONFIG_FILES="$CONFIG_FILES libtomcrypt/Makefile" ;;
   13401   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   13402   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   13403 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   13404    { (exit 1); exit 1; }; };;
   13405   esac
   13406 done
   13407 
   13408 # If the user did not use the arguments to specify the items to instantiate,
   13409 # then the envvar interface is used.  Set only those that are not.
   13410 # We use the long form for the default assignment because of an extremely
   13411 # bizarre bug on SunOS 4.1.3.
   13412 if $ac_need_defaults; then
   13413   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   13414   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   13415 fi
   13416 
   13417 # Have a temporary directory for convenience.  Make it in the build tree
   13418 # simply because there is no reason to put it here, and in addition,
   13419 # creating and moving files from /tmp can sometimes cause problems.
   13420 # Create a temporary directory, and hook for its removal unless debugging.
   13421 $debug ||
   13422 {
   13423   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
   13424   trap '{ (exit 1); exit 1; }' 1 2 13 15
   13425 }
   13426 
   13427 # Create a (secure) tmp directory for tmp files.
   13428 
   13429 {
   13430   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
   13431   test -n "$tmp" && test -d "$tmp"
   13432 }  ||
   13433 {
   13434   tmp=./confstat$$-$RANDOM
   13435   (umask 077 && mkdir $tmp)
   13436 } ||
   13437 {
   13438    echo "$me: cannot create a temporary directory in ." >&2
   13439    { (exit 1); exit 1; }
   13440 }
   13441 
   13442 _ACEOF
   13443 
   13444 cat >>$CONFIG_STATUS <<_ACEOF
   13445 
   13446 #
   13447 # CONFIG_FILES section.
   13448 #
   13449 
   13450 # No need to generate the scripts if there are no CONFIG_FILES.
   13451 # This happens for instance when ./config.status config.h
   13452 if test -n "\$CONFIG_FILES"; then
   13453   # Protect against being on the right side of a sed subst in config.status.
   13454   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
   13455    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
   13456 s,@SHELL@,$SHELL,;t t
   13457 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
   13458 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
   13459 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
   13460 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
   13461 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
   13462 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
   13463 s,@exec_prefix@,$exec_prefix,;t t
   13464 s,@prefix@,$prefix,;t t
   13465 s,@program_transform_name@,$program_transform_name,;t t
   13466 s,@bindir@,$bindir,;t t
   13467 s,@sbindir@,$sbindir,;t t
   13468 s,@libexecdir@,$libexecdir,;t t
   13469 s,@datadir@,$datadir,;t t
   13470 s,@sysconfdir@,$sysconfdir,;t t
   13471 s,@sharedstatedir@,$sharedstatedir,;t t
   13472 s,@localstatedir@,$localstatedir,;t t
   13473 s,@libdir@,$libdir,;t t
   13474 s,@includedir@,$includedir,;t t
   13475 s,@oldincludedir@,$oldincludedir,;t t
   13476 s,@infodir@,$infodir,;t t
   13477 s,@mandir@,$mandir,;t t
   13478 s,@build_alias@,$build_alias,;t t
   13479 s,@host_alias@,$host_alias,;t t
   13480 s,@target_alias@,$target_alias,;t t
   13481 s,@DEFS@,$DEFS,;t t
   13482 s,@ECHO_C@,$ECHO_C,;t t
   13483 s,@ECHO_N@,$ECHO_N,;t t
   13484 s,@ECHO_T@,$ECHO_T,;t t
   13485 s,@LIBS@,$LIBS,;t t
   13486 s,@CC@,$CC,;t t
   13487 s,@CFLAGS@,$CFLAGS,;t t
   13488 s,@LDFLAGS@,$LDFLAGS,;t t
   13489 s,@CPPFLAGS@,$CPPFLAGS,;t t
   13490 s,@ac_ct_CC@,$ac_ct_CC,;t t
   13491 s,@EXEEXT@,$EXEEXT,;t t
   13492 s,@OBJEXT@,$OBJEXT,;t t
   13493 s,@SET_MAKE@,$SET_MAKE,;t t
   13494 s,@LD@,$LD,;t t
   13495 s,@build@,$build,;t t
   13496 s,@build_cpu@,$build_cpu,;t t
   13497 s,@build_vendor@,$build_vendor,;t t
   13498 s,@build_os@,$build_os,;t t
   13499 s,@host@,$host,;t t
   13500 s,@host_cpu@,$host_cpu,;t t
   13501 s,@host_vendor@,$host_vendor,;t t
   13502 s,@host_os@,$host_os,;t t
   13503 s,@AR@,$AR,;t t
   13504 s,@ac_ct_AR@,$ac_ct_AR,;t t
   13505 s,@RANLIB@,$RANLIB,;t t
   13506 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
   13507 s,@STRIP@,$STRIP,;t t
   13508 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
   13509 s,@INSTALL@,$INSTALL,;t t
   13510 s,@ac_ct_INSTALL@,$ac_ct_INSTALL,;t t
   13511 s,@CPP@,$CPP,;t t
   13512 s,@EGREP@,$EGREP,;t t
   13513 s,@LIBOBJS@,$LIBOBJS,;t t
   13514 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
   13515 CEOF
   13516 
   13517 _ACEOF
   13518 
   13519   cat >>$CONFIG_STATUS <<\_ACEOF
   13520   # Split the substitutions into bite-sized pieces for seds with
   13521   # small command number limits, like on Digital OSF/1 and HP-UX.
   13522   ac_max_sed_lines=48
   13523   ac_sed_frag=1 # Number of current file.
   13524   ac_beg=1 # First line for current file.
   13525   ac_end=$ac_max_sed_lines # Line after last line for current file.
   13526   ac_more_lines=:
   13527   ac_sed_cmds=
   13528   while $ac_more_lines; do
   13529     if test $ac_beg -gt 1; then
   13530       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   13531     else
   13532       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   13533     fi
   13534     if test ! -s $tmp/subs.frag; then
   13535       ac_more_lines=false
   13536     else
   13537       # The purpose of the label and of the branching condition is to
   13538       # speed up the sed processing (if there are no `@' at all, there
   13539       # is no need to browse any of the substitutions).
   13540       # These are the two extra sed commands mentioned above.
   13541       (echo ':t
   13542   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
   13543       if test -z "$ac_sed_cmds"; then
   13544 	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
   13545       else
   13546 	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
   13547       fi
   13548       ac_sed_frag=`expr $ac_sed_frag + 1`
   13549       ac_beg=$ac_end
   13550       ac_end=`expr $ac_end + $ac_max_sed_lines`
   13551     fi
   13552   done
   13553   if test -z "$ac_sed_cmds"; then
   13554     ac_sed_cmds=cat
   13555   fi
   13556 fi # test -n "$CONFIG_FILES"
   13557 
   13558 _ACEOF
   13559 cat >>$CONFIG_STATUS <<\_ACEOF
   13560 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
   13561   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   13562   case $ac_file in
   13563   - | *:- | *:-:* ) # input from stdin
   13564 	cat >$tmp/stdin
   13565 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   13566 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   13567   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   13568 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   13569   * )   ac_file_in=$ac_file.in ;;
   13570   esac
   13571 
   13572   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
   13573   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
   13574 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13575 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13576 	 X"$ac_file" : 'X\(//\)$' \| \
   13577 	 X"$ac_file" : 'X\(/\)' \| \
   13578 	 .     : '\(.\)' 2>/dev/null ||
   13579 echo X"$ac_file" |
   13580     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   13581   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   13582   	  /^X\(\/\/\)$/{ s//\1/; q; }
   13583   	  /^X\(\/\).*/{ s//\1/; q; }
   13584   	  s/.*/./; q'`
   13585   { if $as_mkdir_p; then
   13586     mkdir -p "$ac_dir"
   13587   else
   13588     as_dir="$ac_dir"
   13589     as_dirs=
   13590     while test ! -d "$as_dir"; do
   13591       as_dirs="$as_dir $as_dirs"
   13592       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   13593 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13594 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   13595 	 X"$as_dir" : 'X\(//\)$' \| \
   13596 	 X"$as_dir" : 'X\(/\)' \| \
   13597 	 .     : '\(.\)' 2>/dev/null ||
   13598 echo X"$as_dir" |
   13599     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   13600   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   13601   	  /^X\(\/\/\)$/{ s//\1/; q; }
   13602   	  /^X\(\/\).*/{ s//\1/; q; }
   13603   	  s/.*/./; q'`
   13604     done
   13605     test ! -n "$as_dirs" || mkdir $as_dirs
   13606   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   13607 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   13608    { (exit 1); exit 1; }; }; }
   13609 
   13610   ac_builddir=.
   13611 
   13612 if test "$ac_dir" != .; then
   13613   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   13614   # A "../" for each directory in $ac_dir_suffix.
   13615   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
   13616 else
   13617   ac_dir_suffix= ac_top_builddir=
   13618 fi
   13619 
   13620 case $srcdir in
   13621   .)  # No --srcdir option.  We are building in place.
   13622     ac_srcdir=.
   13623     if test -z "$ac_top_builddir"; then
   13624        ac_top_srcdir=.
   13625     else
   13626        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
   13627     fi ;;
   13628   [\\/]* | ?:[\\/]* )  # Absolute path.
   13629     ac_srcdir=$srcdir$ac_dir_suffix;
   13630     ac_top_srcdir=$srcdir ;;
   13631   *) # Relative path.
   13632     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
   13633     ac_top_srcdir=$ac_top_builddir$srcdir ;;
   13634 esac
   13635 
   13636 # Do not use `cd foo && pwd` to compute absolute paths, because
   13637 # the directories may not exist.
   13638 case `pwd` in
   13639 .) ac_abs_builddir="$ac_dir";;
   13640 *)
   13641   case "$ac_dir" in
   13642   .) ac_abs_builddir=`pwd`;;
   13643   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
   13644   *) ac_abs_builddir=`pwd`/"$ac_dir";;
   13645   esac;;
   13646 esac
   13647 case $ac_abs_builddir in
   13648 .) ac_abs_top_builddir=${ac_top_builddir}.;;
   13649 *)
   13650   case ${ac_top_builddir}. in
   13651   .) ac_abs_top_builddir=$ac_abs_builddir;;
   13652   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
   13653   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
   13654   esac;;
   13655 esac
   13656 case $ac_abs_builddir in
   13657 .) ac_abs_srcdir=$ac_srcdir;;
   13658 *)
   13659   case $ac_srcdir in
   13660   .) ac_abs_srcdir=$ac_abs_builddir;;
   13661   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
   13662   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
   13663   esac;;
   13664 esac
   13665 case $ac_abs_builddir in
   13666 .) ac_abs_top_srcdir=$ac_top_srcdir;;
   13667 *)
   13668   case $ac_top_srcdir in
   13669   .) ac_abs_top_srcdir=$ac_abs_builddir;;
   13670   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
   13671   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
   13672   esac;;
   13673 esac
   13674 
   13675 
   13676 
   13677   if test x"$ac_file" != x-; then
   13678     { echo "$as_me:$LINENO: creating $ac_file" >&5
   13679 echo "$as_me: creating $ac_file" >&6;}
   13680     rm -f "$ac_file"
   13681   fi
   13682   # Let's still pretend it is `configure' which instantiates (i.e., don't
   13683   # use $as_me), people would be surprised to read:
   13684   #    /* config.h.  Generated by config.status.  */
   13685   if test x"$ac_file" = x-; then
   13686     configure_input=
   13687   else
   13688     configure_input="$ac_file.  "
   13689   fi
   13690   configure_input=$configure_input"Generated from `echo $ac_file_in |
   13691 				     sed 's,.*/,,'` by configure."
   13692 
   13693   # First look for the input files in the build tree, otherwise in the
   13694   # src tree.
   13695   ac_file_inputs=`IFS=:
   13696     for f in $ac_file_in; do
   13697       case $f in
   13698       -) echo $tmp/stdin ;;
   13699       [\\/$]*)
   13700 	 # Absolute (can't be DOS-style, as IFS=:)
   13701 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   13702 echo "$as_me: error: cannot find input file: $f" >&2;}
   13703    { (exit 1); exit 1; }; }
   13704 	 echo "$f";;
   13705       *) # Relative
   13706 	 if test -f "$f"; then
   13707 	   # Build tree
   13708 	   echo "$f"
   13709 	 elif test -f "$srcdir/$f"; then
   13710 	   # Source tree
   13711 	   echo "$srcdir/$f"
   13712 	 else
   13713 	   # /dev/null tree
   13714 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   13715 echo "$as_me: error: cannot find input file: $f" >&2;}
   13716    { (exit 1); exit 1; }; }
   13717 	 fi;;
   13718       esac
   13719     done` || { (exit 1); exit 1; }
   13720 _ACEOF
   13721 cat >>$CONFIG_STATUS <<_ACEOF
   13722   sed "$ac_vpsub
   13723 $extrasub
   13724 _ACEOF
   13725 cat >>$CONFIG_STATUS <<\_ACEOF
   13726 :t
   13727 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13728 s,@configure_input@,$configure_input,;t t
   13729 s,@srcdir@,$ac_srcdir,;t t
   13730 s,@abs_srcdir@,$ac_abs_srcdir,;t t
   13731 s,@top_srcdir@,$ac_top_srcdir,;t t
   13732 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
   13733 s,@builddir@,$ac_builddir,;t t
   13734 s,@abs_builddir@,$ac_abs_builddir,;t t
   13735 s,@top_builddir@,$ac_top_builddir,;t t
   13736 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
   13737 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
   13738   rm -f $tmp/stdin
   13739   if test x"$ac_file" != x-; then
   13740     mv $tmp/out $ac_file
   13741   else
   13742     cat $tmp/out
   13743     rm -f $tmp/out
   13744   fi
   13745 
   13746 done
   13747 _ACEOF
   13748 cat >>$CONFIG_STATUS <<\_ACEOF
   13749 
   13750 #
   13751 # CONFIG_HEADER section.
   13752 #
   13753 
   13754 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
   13755 # NAME is the cpp macro being defined and VALUE is the value it is being given.
   13756 #
   13757 # ac_d sets the value in "#define NAME VALUE" lines.
   13758 ac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
   13759 ac_dB='[	 ].*$,\1#\2'
   13760 ac_dC=' '
   13761 ac_dD=',;t'
   13762 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
   13763 ac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
   13764 ac_uB='$,\1#\2define\3'
   13765 ac_uC=' '
   13766 ac_uD=',;t'
   13767 
   13768 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
   13769   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   13770   case $ac_file in
   13771   - | *:- | *:-:* ) # input from stdin
   13772 	cat >$tmp/stdin
   13773 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   13774 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   13775   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   13776 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   13777   * )   ac_file_in=$ac_file.in ;;
   13778   esac
   13779 
   13780   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
   13781 echo "$as_me: creating $ac_file" >&6;}
   13782 
   13783   # First look for the input files in the build tree, otherwise in the
   13784   # src tree.
   13785   ac_file_inputs=`IFS=:
   13786     for f in $ac_file_in; do
   13787       case $f in
   13788       -) echo $tmp/stdin ;;
   13789       [\\/$]*)
   13790 	 # Absolute (can't be DOS-style, as IFS=:)
   13791 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   13792 echo "$as_me: error: cannot find input file: $f" >&2;}
   13793    { (exit 1); exit 1; }; }
   13794 	 # Do quote $f, to prevent DOS paths from being IFS'd.
   13795 	 echo "$f";;
   13796       *) # Relative
   13797 	 if test -f "$f"; then
   13798 	   # Build tree
   13799 	   echo "$f"
   13800 	 elif test -f "$srcdir/$f"; then
   13801 	   # Source tree
   13802 	   echo "$srcdir/$f"
   13803 	 else
   13804 	   # /dev/null tree
   13805 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   13806 echo "$as_me: error: cannot find input file: $f" >&2;}
   13807    { (exit 1); exit 1; }; }
   13808 	 fi;;
   13809       esac
   13810     done` || { (exit 1); exit 1; }
   13811   # Remove the trailing spaces.
   13812   sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
   13813 
   13814 _ACEOF
   13815 
   13816 # Transform confdefs.h into two sed scripts, `conftest.defines' and
   13817 # `conftest.undefs', that substitutes the proper values into
   13818 # config.h.in to produce config.h.  The first handles `#define'
   13819 # templates, and the second `#undef' templates.
   13820 # And first: Protect against being on the right side of a sed subst in
   13821 # config.status.  Protect against being in an unquoted here document
   13822 # in config.status.
   13823 rm -f conftest.defines conftest.undefs
   13824 # Using a here document instead of a string reduces the quoting nightmare.
   13825 # Putting comments in sed scripts is not portable.
   13826 #
   13827 # `end' is used to avoid that the second main sed command (meant for
   13828 # 0-ary CPP macros) applies to n-ary macro definitions.
   13829 # See the Autoconf documentation for `clear'.
   13830 cat >confdef2sed.sed <<\_ACEOF
   13831 s/[\\&,]/\\&/g
   13832 s,[\\$`],\\&,g
   13833 t clear
   13834 : clear
   13835 s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
   13836 t end
   13837 s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
   13838 : end
   13839 _ACEOF
   13840 # If some macros were called several times there might be several times
   13841 # the same #defines, which is useless.  Nevertheless, we may not want to
   13842 # sort them, since we want the *last* AC-DEFINE to be honored.
   13843 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
   13844 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
   13845 rm -f confdef2sed.sed
   13846 
   13847 # This sed command replaces #undef with comments.  This is necessary, for
   13848 # example, in the case of _POSIX_SOURCE, which is predefined and required
   13849 # on some systems where configure will not decide to define it.
   13850 cat >>conftest.undefs <<\_ACEOF
   13851 s,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
   13852 _ACEOF
   13853 
   13854 # Break up conftest.defines because some shells have a limit on the size
   13855 # of here documents, and old seds have small limits too (100 cmds).
   13856 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
   13857 echo '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
   13858 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
   13859 echo '  :' >>$CONFIG_STATUS
   13860 rm -f conftest.tail
   13861 while grep . conftest.defines >/dev/null
   13862 do
   13863   # Write a limited-size here document to $tmp/defines.sed.
   13864   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
   13865   # Speed up: don't consider the non `#define' lines.
   13866   echo '/^[	 ]*#[	 ]*define/!b' >>$CONFIG_STATUS
   13867   # Work around the forget-to-reset-the-flag bug.
   13868   echo 't clr' >>$CONFIG_STATUS
   13869   echo ': clr' >>$CONFIG_STATUS
   13870   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
   13871   echo 'CEOF
   13872   sed -f $tmp/defines.sed $tmp/in >$tmp/out
   13873   rm -f $tmp/in
   13874   mv $tmp/out $tmp/in
   13875 ' >>$CONFIG_STATUS
   13876   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
   13877   rm -f conftest.defines
   13878   mv conftest.tail conftest.defines
   13879 done
   13880 rm -f conftest.defines
   13881 echo '  fi # grep' >>$CONFIG_STATUS
   13882 echo >>$CONFIG_STATUS
   13883 
   13884 # Break up conftest.undefs because some shells have a limit on the size
   13885 # of here documents, and old seds have small limits too (100 cmds).
   13886 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
   13887 rm -f conftest.tail
   13888 while grep . conftest.undefs >/dev/null
   13889 do
   13890   # Write a limited-size here document to $tmp/undefs.sed.
   13891   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
   13892   # Speed up: don't consider the non `#undef'
   13893   echo '/^[	 ]*#[	 ]*undef/!b' >>$CONFIG_STATUS
   13894   # Work around the forget-to-reset-the-flag bug.
   13895   echo 't clr' >>$CONFIG_STATUS
   13896   echo ': clr' >>$CONFIG_STATUS
   13897   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
   13898   echo 'CEOF
   13899   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
   13900   rm -f $tmp/in
   13901   mv $tmp/out $tmp/in
   13902 ' >>$CONFIG_STATUS
   13903   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
   13904   rm -f conftest.undefs
   13905   mv conftest.tail conftest.undefs
   13906 done
   13907 rm -f conftest.undefs
   13908 
   13909 cat >>$CONFIG_STATUS <<\_ACEOF
   13910   # Let's still pretend it is `configure' which instantiates (i.e., don't
   13911   # use $as_me), people would be surprised to read:
   13912   #    /* config.h.  Generated by config.status.  */
   13913   if test x"$ac_file" = x-; then
   13914     echo "/* Generated by configure.  */" >$tmp/config.h
   13915   else
   13916     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
   13917   fi
   13918   cat $tmp/in >>$tmp/config.h
   13919   rm -f $tmp/in
   13920   if test x"$ac_file" != x-; then
   13921     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
   13922       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   13923 echo "$as_me: $ac_file is unchanged" >&6;}
   13924     else
   13925       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
   13926 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13927 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13928 	 X"$ac_file" : 'X\(//\)$' \| \
   13929 	 X"$ac_file" : 'X\(/\)' \| \
   13930 	 .     : '\(.\)' 2>/dev/null ||
   13931 echo X"$ac_file" |
   13932     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   13933   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   13934   	  /^X\(\/\/\)$/{ s//\1/; q; }
   13935   	  /^X\(\/\).*/{ s//\1/; q; }
   13936   	  s/.*/./; q'`
   13937       { if $as_mkdir_p; then
   13938     mkdir -p "$ac_dir"
   13939   else
   13940     as_dir="$ac_dir"
   13941     as_dirs=
   13942     while test ! -d "$as_dir"; do
   13943       as_dirs="$as_dir $as_dirs"
   13944       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   13945 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13946 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   13947 	 X"$as_dir" : 'X\(//\)$' \| \
   13948 	 X"$as_dir" : 'X\(/\)' \| \
   13949 	 .     : '\(.\)' 2>/dev/null ||
   13950 echo X"$as_dir" |
   13951     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   13952   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   13953   	  /^X\(\/\/\)$/{ s//\1/; q; }
   13954   	  /^X\(\/\).*/{ s//\1/; q; }
   13955   	  s/.*/./; q'`
   13956     done
   13957     test ! -n "$as_dirs" || mkdir $as_dirs
   13958   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   13959 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   13960    { (exit 1); exit 1; }; }; }
   13961 
   13962       rm -f $ac_file
   13963       mv $tmp/config.h $ac_file
   13964     fi
   13965   else
   13966     cat $tmp/config.h
   13967     rm -f $tmp/config.h
   13968   fi
   13969 done
   13970 _ACEOF
   13971 
   13972 cat >>$CONFIG_STATUS <<\_ACEOF
   13973 
   13974 { (exit 0); exit 0; }
   13975 _ACEOF
   13976 chmod +x $CONFIG_STATUS
   13977 ac_clean_files=$ac_clean_files_save
   13978 
   13979 
   13980 # configure is writing to config.log, and then calls config.status.
   13981 # config.status does its own redirection, appending to config.log.
   13982 # Unfortunately, on DOS this fails, as config.log is still kept open
   13983 # by configure, so config.status won't be able to write to it; its
   13984 # output is simply discarded.  So we exec the FD to /dev/null,
   13985 # effectively closing config.log, so it can be properly (re)opened and
   13986 # appended to by config.status.  When coming back to configure, we
   13987 # need to make the FD available again.
   13988 if test "$no_create" != yes; then
   13989   ac_cs_success=:
   13990   ac_config_status_args=
   13991   test "$silent" = yes &&
   13992     ac_config_status_args="$ac_config_status_args --quiet"
   13993   exec 5>/dev/null
   13994   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   13995   exec 5>>config.log
   13996   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13997   # would make configure fail if this is the last instruction.
   13998   $ac_cs_success || { (exit 1); exit 1; }
   13999 fi
   14000 
   14001           ac_config_files="$ac_config_files libtommath/Makefile"
   14002 cat >confcache <<\_ACEOF
   14003 # This file is a shell script that caches the results of configure
   14004 # tests run on this system so they can be shared between configure
   14005 # scripts and configure runs, see configure's option --config-cache.
   14006 # It is not useful on other systems.  If it contains results you don't
   14007 # want to keep, you may remove or edit it.
   14008 #
   14009 # config.status only pays attention to the cache file if you give it
   14010 # the --recheck option to rerun configure.
   14011 #
   14012 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   14013 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   14014 # following values.
   14015 
   14016 _ACEOF
   14017 
   14018 # The following way of writing the cache mishandles newlines in values,
   14019 # but we know of no workaround that is simple, portable, and efficient.
   14020 # So, don't put newlines in cache variables' values.
   14021 # Ultrix sh set writes to stderr and can't be redirected directly,
   14022 # and sets the high bit in the cache file unless we assign to the vars.
   14023 {
   14024   (set) 2>&1 |
   14025     case `(ac_space=' '; set | grep ac_space) 2>&1` in
   14026     *ac_space=\ *)
   14027       # `set' does not quote correctly, so add quotes (double-quote
   14028       # substitution turns \\\\ into \\, and sed turns \\ into \).
   14029       sed -n \
   14030 	"s/'/'\\\\''/g;
   14031 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   14032       ;;
   14033     *)
   14034       # `set' quotes correctly as required by POSIX, so do not add quotes.
   14035       sed -n \
   14036 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
   14037       ;;
   14038     esac;
   14039 } |
   14040   sed '
   14041      t clear
   14042      : clear
   14043      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   14044      t end
   14045      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   14046      : end' >>confcache
   14047 if diff $cache_file confcache >/dev/null 2>&1; then :; else
   14048   if test -w $cache_file; then
   14049     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
   14050     cat confcache >$cache_file
   14051   else
   14052     echo "not updating unwritable cache $cache_file"
   14053   fi
   14054 fi
   14055 rm -f confcache
   14056 
   14057 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   14058 # Let make expand exec_prefix.
   14059 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   14060 
   14061 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   14062 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   14063 # trailing colons and then remove the whole line if VPATH becomes empty
   14064 # (actually we leave an empty line to preserve line numbers).
   14065 if test "x$srcdir" = x.; then
   14066   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   14067 s/:*\$(srcdir):*/:/;
   14068 s/:*\${srcdir}:*/:/;
   14069 s/:*@srcdir@:*/:/;
   14070 s/^\([^=]*=[	 ]*\):*/\1/;
   14071 s/:*$//;
   14072 s/^[^=]*=[	 ]*$//;
   14073 }'
   14074 fi
   14075 
   14076 DEFS=-DHAVE_CONFIG_H
   14077 
   14078 ac_libobjs=
   14079 ac_ltlibobjs=
   14080 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   14081   # 1. Remove the extension, and $U if already installed.
   14082   ac_i=`echo "$ac_i" |
   14083 	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
   14084   # 2. Add them.
   14085   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
   14086   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
   14087 done
   14088 LIBOBJS=$ac_libobjs
   14089 
   14090 LTLIBOBJS=$ac_ltlibobjs
   14091 
   14092 
   14093 
   14094 : ${CONFIG_STATUS=./config.status}
   14095 ac_clean_files_save=$ac_clean_files
   14096 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   14097 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   14098 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   14099 cat >$CONFIG_STATUS <<_ACEOF
   14100 #! $SHELL
   14101 # Generated by $as_me.
   14102 # Run this file to recreate the current configuration.
   14103 # Compiler output produced by configure, useful for debugging
   14104 # configure, is in config.log if it exists.
   14105 
   14106 debug=false
   14107 ac_cs_recheck=false
   14108 ac_cs_silent=false
   14109 SHELL=\${CONFIG_SHELL-$SHELL}
   14110 _ACEOF
   14111 
   14112 cat >>$CONFIG_STATUS <<\_ACEOF
   14113 ## --------------------- ##
   14114 ## M4sh Initialization.  ##
   14115 ## --------------------- ##
   14116 
   14117 # Be Bourne compatible
   14118 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   14119   emulate sh
   14120   NULLCMD=:
   14121   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   14122   # is contrary to our usage.  Disable this feature.
   14123   alias -g '${1+"$@"}'='"$@"'
   14124 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   14125   set -o posix
   14126 fi
   14127 DUALCASE=1; export DUALCASE # for MKS sh
   14128 
   14129 # Support unset when possible.
   14130 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   14131   as_unset=unset
   14132 else
   14133   as_unset=false
   14134 fi
   14135 
   14136 
   14137 # Work around bugs in pre-3.0 UWIN ksh.
   14138 $as_unset ENV MAIL MAILPATH
   14139 PS1='$ '
   14140 PS2='> '
   14141 PS4='+ '
   14142 
   14143 # NLS nuisances.
   14144 for as_var in \
   14145   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   14146   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   14147   LC_TELEPHONE LC_TIME
   14148 do
   14149   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   14150     eval $as_var=C; export $as_var
   14151   else
   14152     $as_unset $as_var
   14153   fi
   14154 done
   14155 
   14156 # Required to use basename.
   14157 if expr a : '\(a\)' >/dev/null 2>&1; then
   14158   as_expr=expr
   14159 else
   14160   as_expr=false
   14161 fi
   14162 
   14163 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
   14164   as_basename=basename
   14165 else
   14166   as_basename=false
   14167 fi
   14168 
   14169 
   14170 # Name of the executable.
   14171 as_me=`$as_basename "$0" ||
   14172 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   14173 	 X"$0" : 'X\(//\)$' \| \
   14174 	 X"$0" : 'X\(/\)$' \| \
   14175 	 .     : '\(.\)' 2>/dev/null ||
   14176 echo X/"$0" |
   14177     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
   14178   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
   14179   	  /^X\/\(\/\).*/{ s//\1/; q; }
   14180   	  s/.*/./; q'`
   14181 
   14182 
   14183 # PATH needs CR, and LINENO needs CR and PATH.
   14184 # Avoid depending upon Character Ranges.
   14185 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   14186 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   14187 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   14188 as_cr_digits='0123456789'
   14189 as_cr_alnum=$as_cr_Letters$as_cr_digits
   14190 
   14191 # The user is always right.
   14192 if test "${PATH_SEPARATOR+set}" != set; then
   14193   echo "#! /bin/sh" >conf$$.sh
   14194   echo  "exit 0"   >>conf$$.sh
   14195   chmod +x conf$$.sh
   14196   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   14197     PATH_SEPARATOR=';'
   14198   else
   14199     PATH_SEPARATOR=:
   14200   fi
   14201   rm -f conf$$.sh
   14202 fi
   14203 
   14204 
   14205   as_lineno_1=$LINENO
   14206   as_lineno_2=$LINENO
   14207   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   14208   test "x$as_lineno_1" != "x$as_lineno_2" &&
   14209   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
   14210   # Find who we are.  Look in the path if we contain no path at all
   14211   # relative or not.
   14212   case $0 in
   14213     *[\\/]* ) as_myself=$0 ;;
   14214     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14215 for as_dir in $PATH
   14216 do
   14217   IFS=$as_save_IFS
   14218   test -z "$as_dir" && as_dir=.
   14219   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   14220 done
   14221 
   14222        ;;
   14223   esac
   14224   # We did not find ourselves, most probably we were run as `sh COMMAND'
   14225   # in which case we are not to be found in the path.
   14226   if test "x$as_myself" = x; then
   14227     as_myself=$0
   14228   fi
   14229   if test ! -f "$as_myself"; then
   14230     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
   14231 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
   14232    { (exit 1); exit 1; }; }
   14233   fi
   14234   case $CONFIG_SHELL in
   14235   '')
   14236     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14237 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   14238 do
   14239   IFS=$as_save_IFS
   14240   test -z "$as_dir" && as_dir=.
   14241   for as_base in sh bash ksh sh5; do
   14242 	 case $as_dir in
   14243 	 /*)
   14244 	   if ("$as_dir/$as_base" -c '
   14245   as_lineno_1=$LINENO
   14246   as_lineno_2=$LINENO
   14247   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   14248   test "x$as_lineno_1" != "x$as_lineno_2" &&
   14249   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
   14250 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
   14251 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
   14252 	     CONFIG_SHELL=$as_dir/$as_base
   14253 	     export CONFIG_SHELL
   14254 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
   14255 	   fi;;
   14256 	 esac
   14257        done
   14258 done
   14259 ;;
   14260   esac
   14261 
   14262   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   14263   # uniformly replaced by the line number.  The first 'sed' inserts a
   14264   # line-number line before each line; the second 'sed' does the real
   14265   # work.  The second script uses 'N' to pair each line-number line
   14266   # with the numbered line, and appends trailing '-' during
   14267   # substitution so that $LINENO is not a special case at line end.
   14268   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   14269   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
   14270   sed '=' <$as_myself |
   14271     sed '
   14272       N
   14273       s,$,-,
   14274       : loop
   14275       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
   14276       t loop
   14277       s,-$,,
   14278       s,^['$as_cr_digits']*\n,,
   14279     ' >$as_me.lineno &&
   14280   chmod +x $as_me.lineno ||
   14281     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
   14282 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
   14283    { (exit 1); exit 1; }; }
   14284 
   14285   # Don't try to exec as it changes $[0], causing all sort of problems
   14286   # (the dirname of $[0] is not the place where we might find the
   14287   # original and so on.  Autoconf is especially sensible to this).
   14288   . ./$as_me.lineno
   14289   # Exit status is that of the last command.
   14290   exit
   14291 }
   14292 
   14293 
   14294 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
   14295   *c*,-n*) ECHO_N= ECHO_C='
   14296 ' ECHO_T='	' ;;
   14297   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
   14298   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
   14299 esac
   14300 
   14301 if expr a : '\(a\)' >/dev/null 2>&1; then
   14302   as_expr=expr
   14303 else
   14304   as_expr=false
   14305 fi
   14306 
   14307 rm -f conf$$ conf$$.exe conf$$.file
   14308 echo >conf$$.file
   14309 if ln -s conf$$.file conf$$ 2>/dev/null; then
   14310   # We could just check for DJGPP; but this test a) works b) is more generic
   14311   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
   14312   if test -f conf$$.exe; then
   14313     # Don't use ln at all; we don't have any links
   14314     as_ln_s='cp -p'
   14315   else
   14316     as_ln_s='ln -s'
   14317   fi
   14318 elif ln conf$$.file conf$$ 2>/dev/null; then
   14319   as_ln_s=ln
   14320 else
   14321   as_ln_s='cp -p'
   14322 fi
   14323 rm -f conf$$ conf$$.exe conf$$.file
   14324 
   14325 if mkdir -p . 2>/dev/null; then
   14326   as_mkdir_p=:
   14327 else
   14328   test -d ./-p && rmdir ./-p
   14329   as_mkdir_p=false
   14330 fi
   14331 
   14332 as_executable_p="test -f"
   14333 
   14334 # Sed expression to map a string onto a valid CPP name.
   14335 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   14336 
   14337 # Sed expression to map a string onto a valid variable name.
   14338 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   14339 
   14340 
   14341 # IFS
   14342 # We need space, tab and new line, in precisely that order.
   14343 as_nl='
   14344 '
   14345 IFS=" 	$as_nl"
   14346 
   14347 # CDPATH.
   14348 $as_unset CDPATH
   14349 
   14350 exec 6>&1
   14351 
   14352 # Open the log real soon, to keep \$[0] and so on meaningful, and to
   14353 # report actual input values of CONFIG_FILES etc. instead of their
   14354 # values after options handling.  Logging --version etc. is OK.
   14355 exec 5>>config.log
   14356 {
   14357   echo
   14358   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   14359 ## Running $as_me. ##
   14360 _ASBOX
   14361 } >&5
   14362 cat >&5 <<_CSEOF
   14363 
   14364 This file was extended by $as_me, which was
   14365 generated by GNU Autoconf 2.59.  Invocation command line was
   14366 
   14367   CONFIG_FILES    = $CONFIG_FILES
   14368   CONFIG_HEADERS  = $CONFIG_HEADERS
   14369   CONFIG_LINKS    = $CONFIG_LINKS
   14370   CONFIG_COMMANDS = $CONFIG_COMMANDS
   14371   $ $0 $@
   14372 
   14373 _CSEOF
   14374 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
   14375 echo >&5
   14376 _ACEOF
   14377 
   14378 # Files that config.status was made for.
   14379 if test -n "$ac_config_files"; then
   14380   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
   14381 fi
   14382 
   14383 if test -n "$ac_config_headers"; then
   14384   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
   14385 fi
   14386 
   14387 if test -n "$ac_config_links"; then
   14388   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
   14389 fi
   14390 
   14391 if test -n "$ac_config_commands"; then
   14392   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
   14393 fi
   14394 
   14395 cat >>$CONFIG_STATUS <<\_ACEOF
   14396 
   14397 ac_cs_usage="\
   14398 \`$as_me' instantiates files from templates according to the
   14399 current configuration.
   14400 
   14401 Usage: $0 [OPTIONS] [FILE]...
   14402 
   14403   -h, --help       print this help, then exit
   14404   -V, --version    print version number, then exit
   14405   -q, --quiet      do not print progress messages
   14406   -d, --debug      don't remove temporary files
   14407       --recheck    update $as_me by reconfiguring in the same conditions
   14408   --file=FILE[:TEMPLATE]
   14409 		   instantiate the configuration file FILE
   14410   --header=FILE[:TEMPLATE]
   14411 		   instantiate the configuration header FILE
   14412 
   14413 Configuration files:
   14414 $config_files
   14415 
   14416 Configuration headers:
   14417 $config_headers
   14418 
   14419 Report bugs to <bug-autoconf@gnu.org>."
   14420 _ACEOF
   14421 
   14422 cat >>$CONFIG_STATUS <<_ACEOF
   14423 ac_cs_version="\\
   14424 config.status
   14425 configured by $0, generated by GNU Autoconf 2.59,
   14426   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
   14427 
   14428 Copyright (C) 2003 Free Software Foundation, Inc.
   14429 This config.status script is free software; the Free Software Foundation
   14430 gives unlimited permission to copy, distribute and modify it."
   14431 srcdir=$srcdir
   14432 _ACEOF
   14433 
   14434 cat >>$CONFIG_STATUS <<\_ACEOF
   14435 # If no file are specified by the user, then we need to provide default
   14436 # value.  By we need to know if files were specified by the user.
   14437 ac_need_defaults=:
   14438 while test $# != 0
   14439 do
   14440   case $1 in
   14441   --*=*)
   14442     ac_option=`expr "x$1" : 'x\([^=]*\)='`
   14443     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
   14444     ac_shift=:
   14445     ;;
   14446   -*)
   14447     ac_option=$1
   14448     ac_optarg=$2
   14449     ac_shift=shift
   14450     ;;
   14451   *) # This is not an option, so the user has probably given explicit
   14452      # arguments.
   14453      ac_option=$1
   14454      ac_need_defaults=false;;
   14455   esac
   14456 
   14457   case $ac_option in
   14458   # Handling of the options.
   14459 _ACEOF
   14460 cat >>$CONFIG_STATUS <<\_ACEOF
   14461   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   14462     ac_cs_recheck=: ;;
   14463   --version | --vers* | -V )
   14464     echo "$ac_cs_version"; exit 0 ;;
   14465   --he | --h)
   14466     # Conflict between --help and --header
   14467     { { echo "$as_me:$LINENO: error: ambiguous option: $1
   14468 Try \`$0 --help' for more information." >&5
   14469 echo "$as_me: error: ambiguous option: $1
   14470 Try \`$0 --help' for more information." >&2;}
   14471    { (exit 1); exit 1; }; };;
   14472   --help | --hel | -h )
   14473     echo "$ac_cs_usage"; exit 0 ;;
   14474   --debug | --d* | -d )
   14475     debug=: ;;
   14476   --file | --fil | --fi | --f )
   14477     $ac_shift
   14478     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   14479     ac_need_defaults=false;;
   14480   --header | --heade | --head | --hea )
   14481     $ac_shift
   14482     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   14483     ac_need_defaults=false;;
   14484   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   14485   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   14486     ac_cs_silent=: ;;
   14487 
   14488   # This is an error.
   14489   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
   14490 Try \`$0 --help' for more information." >&5
   14491 echo "$as_me: error: unrecognized option: $1
   14492 Try \`$0 --help' for more information." >&2;}
   14493    { (exit 1); exit 1; }; } ;;
   14494 
   14495   *) ac_config_targets="$ac_config_targets $1" ;;
   14496 
   14497   esac
   14498   shift
   14499 done
   14500 
   14501 ac_configure_extra_args=
   14502 
   14503 if $ac_cs_silent; then
   14504   exec 6>/dev/null
   14505   ac_configure_extra_args="$ac_configure_extra_args --silent"
   14506 fi
   14507 
   14508 _ACEOF
   14509 cat >>$CONFIG_STATUS <<_ACEOF
   14510 if \$ac_cs_recheck; then
   14511   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   14512   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   14513 fi
   14514 
   14515 _ACEOF
   14516 
   14517 
   14518 
   14519 
   14520 
   14521 cat >>$CONFIG_STATUS <<\_ACEOF
   14522 for ac_config_target in $ac_config_targets
   14523 do
   14524   case "$ac_config_target" in
   14525   # Handling of arguments.
   14526   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   14527   "libtomcrypt/Makefile" ) CONFIG_FILES="$CONFIG_FILES libtomcrypt/Makefile" ;;
   14528   "libtommath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libtommath/Makefile" ;;
   14529   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   14530   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   14531 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   14532    { (exit 1); exit 1; }; };;
   14533   esac
   14534 done
   14535 
   14536 # If the user did not use the arguments to specify the items to instantiate,
   14537 # then the envvar interface is used.  Set only those that are not.
   14538 # We use the long form for the default assignment because of an extremely
   14539 # bizarre bug on SunOS 4.1.3.
   14540 if $ac_need_defaults; then
   14541   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   14542   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   14543 fi
   14544 
   14545 # Have a temporary directory for convenience.  Make it in the build tree
   14546 # simply because there is no reason to put it here, and in addition,
   14547 # creating and moving files from /tmp can sometimes cause problems.
   14548 # Create a temporary directory, and hook for its removal unless debugging.
   14549 $debug ||
   14550 {
   14551   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
   14552   trap '{ (exit 1); exit 1; }' 1 2 13 15
   14553 }
   14554 
   14555 # Create a (secure) tmp directory for tmp files.
   14556 
   14557 {
   14558   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
   14559   test -n "$tmp" && test -d "$tmp"
   14560 }  ||
   14561 {
   14562   tmp=./confstat$$-$RANDOM
   14563   (umask 077 && mkdir $tmp)
   14564 } ||
   14565 {
   14566    echo "$me: cannot create a temporary directory in ." >&2
   14567    { (exit 1); exit 1; }
   14568 }
   14569 
   14570 _ACEOF
   14571 
   14572 cat >>$CONFIG_STATUS <<_ACEOF
   14573 
   14574 #
   14575 # CONFIG_FILES section.
   14576 #
   14577 
   14578 # No need to generate the scripts if there are no CONFIG_FILES.
   14579 # This happens for instance when ./config.status config.h
   14580 if test -n "\$CONFIG_FILES"; then
   14581   # Protect against being on the right side of a sed subst in config.status.
   14582   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
   14583    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
   14584 s,@SHELL@,$SHELL,;t t
   14585 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
   14586 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
   14587 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
   14588 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
   14589 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
   14590 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
   14591 s,@exec_prefix@,$exec_prefix,;t t
   14592 s,@prefix@,$prefix,;t t
   14593 s,@program_transform_name@,$program_transform_name,;t t
   14594 s,@bindir@,$bindir,;t t
   14595 s,@sbindir@,$sbindir,;t t
   14596 s,@libexecdir@,$libexecdir,;t t
   14597 s,@datadir@,$datadir,;t t
   14598 s,@sysconfdir@,$sysconfdir,;t t
   14599 s,@sharedstatedir@,$sharedstatedir,;t t
   14600 s,@localstatedir@,$localstatedir,;t t
   14601 s,@libdir@,$libdir,;t t
   14602 s,@includedir@,$includedir,;t t
   14603 s,@oldincludedir@,$oldincludedir,;t t
   14604 s,@infodir@,$infodir,;t t
   14605 s,@mandir@,$mandir,;t t
   14606 s,@build_alias@,$build_alias,;t t
   14607 s,@host_alias@,$host_alias,;t t
   14608 s,@target_alias@,$target_alias,;t t
   14609 s,@DEFS@,$DEFS,;t t
   14610 s,@ECHO_C@,$ECHO_C,;t t
   14611 s,@ECHO_N@,$ECHO_N,;t t
   14612 s,@ECHO_T@,$ECHO_T,;t t
   14613 s,@LIBS@,$LIBS,;t t
   14614 s,@CC@,$CC,;t t
   14615 s,@CFLAGS@,$CFLAGS,;t t
   14616 s,@LDFLAGS@,$LDFLAGS,;t t
   14617 s,@CPPFLAGS@,$CPPFLAGS,;t t
   14618 s,@ac_ct_CC@,$ac_ct_CC,;t t
   14619 s,@EXEEXT@,$EXEEXT,;t t
   14620 s,@OBJEXT@,$OBJEXT,;t t
   14621 s,@SET_MAKE@,$SET_MAKE,;t t
   14622 s,@LD@,$LD,;t t
   14623 s,@build@,$build,;t t
   14624 s,@build_cpu@,$build_cpu,;t t
   14625 s,@build_vendor@,$build_vendor,;t t
   14626 s,@build_os@,$build_os,;t t
   14627 s,@host@,$host,;t t
   14628 s,@host_cpu@,$host_cpu,;t t
   14629 s,@host_vendor@,$host_vendor,;t t
   14630 s,@host_os@,$host_os,;t t
   14631 s,@AR@,$AR,;t t
   14632 s,@ac_ct_AR@,$ac_ct_AR,;t t
   14633 s,@RANLIB@,$RANLIB,;t t
   14634 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
   14635 s,@STRIP@,$STRIP,;t t
   14636 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
   14637 s,@INSTALL@,$INSTALL,;t t
   14638 s,@ac_ct_INSTALL@,$ac_ct_INSTALL,;t t
   14639 s,@CPP@,$CPP,;t t
   14640 s,@EGREP@,$EGREP,;t t
   14641 s,@LIBOBJS@,$LIBOBJS,;t t
   14642 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
   14643 CEOF
   14644 
   14645 _ACEOF
   14646 
   14647   cat >>$CONFIG_STATUS <<\_ACEOF
   14648   # Split the substitutions into bite-sized pieces for seds with
   14649   # small command number limits, like on Digital OSF/1 and HP-UX.
   14650   ac_max_sed_lines=48
   14651   ac_sed_frag=1 # Number of current file.
   14652   ac_beg=1 # First line for current file.
   14653   ac_end=$ac_max_sed_lines # Line after last line for current file.
   14654   ac_more_lines=:
   14655   ac_sed_cmds=
   14656   while $ac_more_lines; do
   14657     if test $ac_beg -gt 1; then
   14658       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   14659     else
   14660       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   14661     fi
   14662     if test ! -s $tmp/subs.frag; then
   14663       ac_more_lines=false
   14664     else
   14665       # The purpose of the label and of the branching condition is to
   14666       # speed up the sed processing (if there are no `@' at all, there
   14667       # is no need to browse any of the substitutions).
   14668       # These are the two extra sed commands mentioned above.
   14669       (echo ':t
   14670   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
   14671       if test -z "$ac_sed_cmds"; then
   14672 	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
   14673       else
   14674 	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
   14675       fi
   14676       ac_sed_frag=`expr $ac_sed_frag + 1`
   14677       ac_beg=$ac_end
   14678       ac_end=`expr $ac_end + $ac_max_sed_lines`
   14679     fi
   14680   done
   14681   if test -z "$ac_sed_cmds"; then
   14682     ac_sed_cmds=cat
   14683   fi
   14684 fi # test -n "$CONFIG_FILES"
   14685 
   14686 _ACEOF
   14687 cat >>$CONFIG_STATUS <<\_ACEOF
   14688 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
   14689   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   14690   case $ac_file in
   14691   - | *:- | *:-:* ) # input from stdin
   14692 	cat >$tmp/stdin
   14693 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   14694 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   14695   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   14696 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   14697   * )   ac_file_in=$ac_file.in ;;
   14698   esac
   14699 
   14700   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
   14701   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
   14702 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14703 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   14704 	 X"$ac_file" : 'X\(//\)$' \| \
   14705 	 X"$ac_file" : 'X\(/\)' \| \
   14706 	 .     : '\(.\)' 2>/dev/null ||
   14707 echo X"$ac_file" |
   14708     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   14709   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   14710   	  /^X\(\/\/\)$/{ s//\1/; q; }
   14711   	  /^X\(\/\).*/{ s//\1/; q; }
   14712   	  s/.*/./; q'`
   14713   { if $as_mkdir_p; then
   14714     mkdir -p "$ac_dir"
   14715   else
   14716     as_dir="$ac_dir"
   14717     as_dirs=
   14718     while test ! -d "$as_dir"; do
   14719       as_dirs="$as_dir $as_dirs"
   14720       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   14721 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14722 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   14723 	 X"$as_dir" : 'X\(//\)$' \| \
   14724 	 X"$as_dir" : 'X\(/\)' \| \
   14725 	 .     : '\(.\)' 2>/dev/null ||
   14726 echo X"$as_dir" |
   14727     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   14728   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   14729   	  /^X\(\/\/\)$/{ s//\1/; q; }
   14730   	  /^X\(\/\).*/{ s//\1/; q; }
   14731   	  s/.*/./; q'`
   14732     done
   14733     test ! -n "$as_dirs" || mkdir $as_dirs
   14734   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   14735 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   14736    { (exit 1); exit 1; }; }; }
   14737 
   14738   ac_builddir=.
   14739 
   14740 if test "$ac_dir" != .; then
   14741   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   14742   # A "../" for each directory in $ac_dir_suffix.
   14743   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
   14744 else
   14745   ac_dir_suffix= ac_top_builddir=
   14746 fi
   14747 
   14748 case $srcdir in
   14749   .)  # No --srcdir option.  We are building in place.
   14750     ac_srcdir=.
   14751     if test -z "$ac_top_builddir"; then
   14752        ac_top_srcdir=.
   14753     else
   14754        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
   14755     fi ;;
   14756   [\\/]* | ?:[\\/]* )  # Absolute path.
   14757     ac_srcdir=$srcdir$ac_dir_suffix;
   14758     ac_top_srcdir=$srcdir ;;
   14759   *) # Relative path.
   14760     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
   14761     ac_top_srcdir=$ac_top_builddir$srcdir ;;
   14762 esac
   14763 
   14764 # Do not use `cd foo && pwd` to compute absolute paths, because
   14765 # the directories may not exist.
   14766 case `pwd` in
   14767 .) ac_abs_builddir="$ac_dir";;
   14768 *)
   14769   case "$ac_dir" in
   14770   .) ac_abs_builddir=`pwd`;;
   14771   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
   14772   *) ac_abs_builddir=`pwd`/"$ac_dir";;
   14773   esac;;
   14774 esac
   14775 case $ac_abs_builddir in
   14776 .) ac_abs_top_builddir=${ac_top_builddir}.;;
   14777 *)
   14778   case ${ac_top_builddir}. in
   14779   .) ac_abs_top_builddir=$ac_abs_builddir;;
   14780   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
   14781   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
   14782   esac;;
   14783 esac
   14784 case $ac_abs_builddir in
   14785 .) ac_abs_srcdir=$ac_srcdir;;
   14786 *)
   14787   case $ac_srcdir in
   14788   .) ac_abs_srcdir=$ac_abs_builddir;;
   14789   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
   14790   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
   14791   esac;;
   14792 esac
   14793 case $ac_abs_builddir in
   14794 .) ac_abs_top_srcdir=$ac_top_srcdir;;
   14795 *)
   14796   case $ac_top_srcdir in
   14797   .) ac_abs_top_srcdir=$ac_abs_builddir;;
   14798   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
   14799   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
   14800   esac;;
   14801 esac
   14802 
   14803 
   14804 
   14805   if test x"$ac_file" != x-; then
   14806     { echo "$as_me:$LINENO: creating $ac_file" >&5
   14807 echo "$as_me: creating $ac_file" >&6;}
   14808     rm -f "$ac_file"
   14809   fi
   14810   # Let's still pretend it is `configure' which instantiates (i.e., don't
   14811   # use $as_me), people would be surprised to read:
   14812   #    /* config.h.  Generated by config.status.  */
   14813   if test x"$ac_file" = x-; then
   14814     configure_input=
   14815   else
   14816     configure_input="$ac_file.  "
   14817   fi
   14818   configure_input=$configure_input"Generated from `echo $ac_file_in |
   14819 				     sed 's,.*/,,'` by configure."
   14820 
   14821   # First look for the input files in the build tree, otherwise in the
   14822   # src tree.
   14823   ac_file_inputs=`IFS=:
   14824     for f in $ac_file_in; do
   14825       case $f in
   14826       -) echo $tmp/stdin ;;
   14827       [\\/$]*)
   14828 	 # Absolute (can't be DOS-style, as IFS=:)
   14829 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   14830 echo "$as_me: error: cannot find input file: $f" >&2;}
   14831    { (exit 1); exit 1; }; }
   14832 	 echo "$f";;
   14833       *) # Relative
   14834 	 if test -f "$f"; then
   14835 	   # Build tree
   14836 	   echo "$f"
   14837 	 elif test -f "$srcdir/$f"; then
   14838 	   # Source tree
   14839 	   echo "$srcdir/$f"
   14840 	 else
   14841 	   # /dev/null tree
   14842 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   14843 echo "$as_me: error: cannot find input file: $f" >&2;}
   14844    { (exit 1); exit 1; }; }
   14845 	 fi;;
   14846       esac
   14847     done` || { (exit 1); exit 1; }
   14848 _ACEOF
   14849 cat >>$CONFIG_STATUS <<_ACEOF
   14850   sed "$ac_vpsub
   14851 $extrasub
   14852 _ACEOF
   14853 cat >>$CONFIG_STATUS <<\_ACEOF
   14854 :t
   14855 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   14856 s,@configure_input@,$configure_input,;t t
   14857 s,@srcdir@,$ac_srcdir,;t t
   14858 s,@abs_srcdir@,$ac_abs_srcdir,;t t
   14859 s,@top_srcdir@,$ac_top_srcdir,;t t
   14860 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
   14861 s,@builddir@,$ac_builddir,;t t
   14862 s,@abs_builddir@,$ac_abs_builddir,;t t
   14863 s,@top_builddir@,$ac_top_builddir,;t t
   14864 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
   14865 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
   14866   rm -f $tmp/stdin
   14867   if test x"$ac_file" != x-; then
   14868     mv $tmp/out $ac_file
   14869   else
   14870     cat $tmp/out
   14871     rm -f $tmp/out
   14872   fi
   14873 
   14874 done
   14875 _ACEOF
   14876 cat >>$CONFIG_STATUS <<\_ACEOF
   14877 
   14878 #
   14879 # CONFIG_HEADER section.
   14880 #
   14881 
   14882 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
   14883 # NAME is the cpp macro being defined and VALUE is the value it is being given.
   14884 #
   14885 # ac_d sets the value in "#define NAME VALUE" lines.
   14886 ac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
   14887 ac_dB='[	 ].*$,\1#\2'
   14888 ac_dC=' '
   14889 ac_dD=',;t'
   14890 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
   14891 ac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
   14892 ac_uB='$,\1#\2define\3'
   14893 ac_uC=' '
   14894 ac_uD=',;t'
   14895 
   14896 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
   14897   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   14898   case $ac_file in
   14899   - | *:- | *:-:* ) # input from stdin
   14900 	cat >$tmp/stdin
   14901 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   14902 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   14903   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   14904 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   14905   * )   ac_file_in=$ac_file.in ;;
   14906   esac
   14907 
   14908   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
   14909 echo "$as_me: creating $ac_file" >&6;}
   14910 
   14911   # First look for the input files in the build tree, otherwise in the
   14912   # src tree.
   14913   ac_file_inputs=`IFS=:
   14914     for f in $ac_file_in; do
   14915       case $f in
   14916       -) echo $tmp/stdin ;;
   14917       [\\/$]*)
   14918 	 # Absolute (can't be DOS-style, as IFS=:)
   14919 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   14920 echo "$as_me: error: cannot find input file: $f" >&2;}
   14921    { (exit 1); exit 1; }; }
   14922 	 # Do quote $f, to prevent DOS paths from being IFS'd.
   14923 	 echo "$f";;
   14924       *) # Relative
   14925 	 if test -f "$f"; then
   14926 	   # Build tree
   14927 	   echo "$f"
   14928 	 elif test -f "$srcdir/$f"; then
   14929 	   # Source tree
   14930 	   echo "$srcdir/$f"
   14931 	 else
   14932 	   # /dev/null tree
   14933 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   14934 echo "$as_me: error: cannot find input file: $f" >&2;}
   14935    { (exit 1); exit 1; }; }
   14936 	 fi;;
   14937       esac
   14938     done` || { (exit 1); exit 1; }
   14939   # Remove the trailing spaces.
   14940   sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
   14941 
   14942 _ACEOF
   14943 
   14944 # Transform confdefs.h into two sed scripts, `conftest.defines' and
   14945 # `conftest.undefs', that substitutes the proper values into
   14946 # config.h.in to produce config.h.  The first handles `#define'
   14947 # templates, and the second `#undef' templates.
   14948 # And first: Protect against being on the right side of a sed subst in
   14949 # config.status.  Protect against being in an unquoted here document
   14950 # in config.status.
   14951 rm -f conftest.defines conftest.undefs
   14952 # Using a here document instead of a string reduces the quoting nightmare.
   14953 # Putting comments in sed scripts is not portable.
   14954 #
   14955 # `end' is used to avoid that the second main sed command (meant for
   14956 # 0-ary CPP macros) applies to n-ary macro definitions.
   14957 # See the Autoconf documentation for `clear'.
   14958 cat >confdef2sed.sed <<\_ACEOF
   14959 s/[\\&,]/\\&/g
   14960 s,[\\$`],\\&,g
   14961 t clear
   14962 : clear
   14963 s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
   14964 t end
   14965 s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
   14966 : end
   14967 _ACEOF
   14968 # If some macros were called several times there might be several times
   14969 # the same #defines, which is useless.  Nevertheless, we may not want to
   14970 # sort them, since we want the *last* AC-DEFINE to be honored.
   14971 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
   14972 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
   14973 rm -f confdef2sed.sed
   14974 
   14975 # This sed command replaces #undef with comments.  This is necessary, for
   14976 # example, in the case of _POSIX_SOURCE, which is predefined and required
   14977 # on some systems where configure will not decide to define it.
   14978 cat >>conftest.undefs <<\_ACEOF
   14979 s,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
   14980 _ACEOF
   14981 
   14982 # Break up conftest.defines because some shells have a limit on the size
   14983 # of here documents, and old seds have small limits too (100 cmds).
   14984 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
   14985 echo '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
   14986 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
   14987 echo '  :' >>$CONFIG_STATUS
   14988 rm -f conftest.tail
   14989 while grep . conftest.defines >/dev/null
   14990 do
   14991   # Write a limited-size here document to $tmp/defines.sed.
   14992   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
   14993   # Speed up: don't consider the non `#define' lines.
   14994   echo '/^[	 ]*#[	 ]*define/!b' >>$CONFIG_STATUS
   14995   # Work around the forget-to-reset-the-flag bug.
   14996   echo 't clr' >>$CONFIG_STATUS
   14997   echo ': clr' >>$CONFIG_STATUS
   14998   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
   14999   echo 'CEOF
   15000   sed -f $tmp/defines.sed $tmp/in >$tmp/out
   15001   rm -f $tmp/in
   15002   mv $tmp/out $tmp/in
   15003 ' >>$CONFIG_STATUS
   15004   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
   15005   rm -f conftest.defines
   15006   mv conftest.tail conftest.defines
   15007 done
   15008 rm -f conftest.defines
   15009 echo '  fi # grep' >>$CONFIG_STATUS
   15010 echo >>$CONFIG_STATUS
   15011 
   15012 # Break up conftest.undefs because some shells have a limit on the size
   15013 # of here documents, and old seds have small limits too (100 cmds).
   15014 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
   15015 rm -f conftest.tail
   15016 while grep . conftest.undefs >/dev/null
   15017 do
   15018   # Write a limited-size here document to $tmp/undefs.sed.
   15019   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
   15020   # Speed up: don't consider the non `#undef'
   15021   echo '/^[	 ]*#[	 ]*undef/!b' >>$CONFIG_STATUS
   15022   # Work around the forget-to-reset-the-flag bug.
   15023   echo 't clr' >>$CONFIG_STATUS
   15024   echo ': clr' >>$CONFIG_STATUS
   15025   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
   15026   echo 'CEOF
   15027   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
   15028   rm -f $tmp/in
   15029   mv $tmp/out $tmp/in
   15030 ' >>$CONFIG_STATUS
   15031   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
   15032   rm -f conftest.undefs
   15033   mv conftest.tail conftest.undefs
   15034 done
   15035 rm -f conftest.undefs
   15036 
   15037 cat >>$CONFIG_STATUS <<\_ACEOF
   15038   # Let's still pretend it is `configure' which instantiates (i.e., don't
   15039   # use $as_me), people would be surprised to read:
   15040   #    /* config.h.  Generated by config.status.  */
   15041   if test x"$ac_file" = x-; then
   15042     echo "/* Generated by configure.  */" >$tmp/config.h
   15043   else
   15044     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
   15045   fi
   15046   cat $tmp/in >>$tmp/config.h
   15047   rm -f $tmp/in
   15048   if test x"$ac_file" != x-; then
   15049     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
   15050       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   15051 echo "$as_me: $ac_file is unchanged" >&6;}
   15052     else
   15053       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
   15054 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15055 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   15056 	 X"$ac_file" : 'X\(//\)$' \| \
   15057 	 X"$ac_file" : 'X\(/\)' \| \
   15058 	 .     : '\(.\)' 2>/dev/null ||
   15059 echo X"$ac_file" |
   15060     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   15061   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   15062   	  /^X\(\/\/\)$/{ s//\1/; q; }
   15063   	  /^X\(\/\).*/{ s//\1/; q; }
   15064   	  s/.*/./; q'`
   15065       { if $as_mkdir_p; then
   15066     mkdir -p "$ac_dir"
   15067   else
   15068     as_dir="$ac_dir"
   15069     as_dirs=
   15070     while test ! -d "$as_dir"; do
   15071       as_dirs="$as_dir $as_dirs"
   15072       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   15073 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15074 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   15075 	 X"$as_dir" : 'X\(//\)$' \| \
   15076 	 X"$as_dir" : 'X\(/\)' \| \
   15077 	 .     : '\(.\)' 2>/dev/null ||
   15078 echo X"$as_dir" |
   15079     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   15080   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   15081   	  /^X\(\/\/\)$/{ s//\1/; q; }
   15082   	  /^X\(\/\).*/{ s//\1/; q; }
   15083   	  s/.*/./; q'`
   15084     done
   15085     test ! -n "$as_dirs" || mkdir $as_dirs
   15086   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   15087 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   15088    { (exit 1); exit 1; }; }; }
   15089 
   15090       rm -f $ac_file
   15091       mv $tmp/config.h $ac_file
   15092     fi
   15093   else
   15094     cat $tmp/config.h
   15095     rm -f $tmp/config.h
   15096   fi
   15097 done
   15098 _ACEOF
   15099 
   15100 cat >>$CONFIG_STATUS <<\_ACEOF
   15101 
   15102 { (exit 0); exit 0; }
   15103 _ACEOF
   15104 chmod +x $CONFIG_STATUS
   15105 ac_clean_files=$ac_clean_files_save
   15106 
   15107 
   15108 # configure is writing to config.log, and then calls config.status.
   15109 # config.status does its own redirection, appending to config.log.
   15110 # Unfortunately, on DOS this fails, as config.log is still kept open
   15111 # by configure, so config.status won't be able to write to it; its
   15112 # output is simply discarded.  So we exec the FD to /dev/null,
   15113 # effectively closing config.log, so it can be properly (re)opened and
   15114 # appended to by config.status.  When coming back to configure, we
   15115 # need to make the FD available again.
   15116 if test "$no_create" != yes; then
   15117   ac_cs_success=:
   15118   ac_config_status_args=
   15119   test "$silent" = yes &&
   15120     ac_config_status_args="$ac_config_status_args --quiet"
   15121   exec 5>/dev/null
   15122   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   15123   exec 5>>config.log
   15124   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   15125   # would make configure fail if this is the last instruction.
   15126   $ac_cs_success || { (exit 1); exit 1; }
   15127 fi
   15128 
   15129 { echo "$as_me:$LINENO: " >&5
   15130 echo "$as_me: " >&6;}
   15131 { echo "$as_me:$LINENO: Now edit options.h to choose features." >&5
   15132 echo "$as_me: Now edit options.h to choose features." >&6;}
   15133