File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / bmon / configure
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 22:19:56 2012 UTC (12 years, 3 months ago) by misho
Branches: bmon, MAIN
CVS tags: v2_1_0p0, v2_1_0, HEAD
bmon

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

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