File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / iftop / configure
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 16:57:34 2012 UTC (12 years, 4 months ago) by misho
Branches: iftop, MAIN
CVS tags: v0_17p0, v0_17, HEAD
iftop

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>