"Fossies" - the Fresh Open Source Software Archive

Member "bahamut-2.1.5/autom4te.cache/output.0" (28 May 2020, 296983 Bytes) of package /linux/privat/bahamut-2.1.5.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "output.0": 2.1.4_vs_2.1.5.

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