Annotation of parser3/configure, revision 1.63

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

E-mail: