Annotation of parser3/configure, revision 1.66.2.2

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: 
1.66.2.1  paf       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 CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_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 CPP EGREP APACHE_LIBS charsetsdir sqldriversdir LIBOBJS LTLIBOBJS'
1.62      paf       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
1.66      paf       753: ac_env_CXX_set=${CXX+set}
                    754: ac_env_CXX_value=$CXX
                    755: ac_cv_env_CXX_set=${CXX+set}
                    756: ac_cv_env_CXX_value=$CXX
                    757: ac_env_CXXFLAGS_set=${CXXFLAGS+set}
                    758: ac_env_CXXFLAGS_value=$CXXFLAGS
                    759: ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
                    760: ac_cv_env_CXXFLAGS_value=$CXXFLAGS
                    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
1.62      paf       769: ac_env_CC_set=${CC+set}
                    770: ac_env_CC_value=$CC
                    771: ac_cv_env_CC_set=${CC+set}
                    772: ac_cv_env_CC_value=$CC
                    773: ac_env_CFLAGS_set=${CFLAGS+set}
                    774: ac_env_CFLAGS_value=$CFLAGS
                    775: ac_cv_env_CFLAGS_set=${CFLAGS+set}
                    776: ac_cv_env_CFLAGS_value=$CFLAGS
1.66      paf       777: ac_env_CPP_set=${CPP+set}
                    778: ac_env_CPP_value=$CPP
                    779: ac_cv_env_CPP_set=${CPP+set}
                    780: ac_cv_env_CPP_value=$CPP
1.62      paf       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:
1.66      paf       903:   CXX         C++ compiler command
                    904:   CXXFLAGS    C++ compiler flags
1.62      paf       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>
1.66      paf       909:   CC          C compiler command
                    910:   CFLAGS      C compiler flags
                    911:   CPP         C preprocessor
1.62      paf       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: 
1.66.2.2! paf      1774: case $host_os in
        !          1775:   *cygwin* )
        !          1776: cat >>confdefs.h <<\_ACEOF
        !          1777: #define CYGWIN
        !          1778: _ACEOF
        !          1779: ;;
        !          1780: esac
1.41      paf      1781: 
1.1       paf      1782: # Find a good install program.  We prefer a C program (faster),
                   1783: # so one script is as good as another.  But avoid the broken or
                   1784: # incompatible versions:
                   1785: # SysV /etc/install, /usr/sbin/install
                   1786: # SunOS /usr/etc/install
                   1787: # IRIX /sbin/install
                   1788: # AIX /bin/install
1.62      paf      1789: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       paf      1790: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   1791: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   1792: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   1793: # ./install, which can be erroneously created by make from ./install.sh.
1.62      paf      1794: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
                   1795: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1.1       paf      1796: if test -z "$INSTALL"; then
1.62      paf      1797: if test "${ac_cv_path_install+set}" = set; then
                   1798:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      1799: else
1.62      paf      1800:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1801: for as_dir in $PATH
                   1802: do
                   1803:   IFS=$as_save_IFS
                   1804:   test -z "$as_dir" && as_dir=.
                   1805:   # Account for people who put trailing slashes in PATH elements.
                   1806: case $as_dir/ in
                   1807:   ./ | .// | /cC/* | \
                   1808:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
                   1809:   /usr/ucb/* ) ;;
                   1810:   *)
                   1811:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   1812:     # Don't use installbsd from OSF since it installs stuff as root
                   1813:     # by default.
                   1814:     for ac_prog in ginstall scoinst install; do
                   1815:       for ac_exec_ext in '' $ac_executable_extensions; do
                   1816:         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
                   1817:           if test $ac_prog = install &&
                   1818:             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1819:             # AIX install.  It has an incompatible calling convention.
                   1820:             :
                   1821:           elif test $ac_prog = install &&
                   1822:             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1823:             # program-specific install script used by HP pwplus--don't use.
                   1824:             :
                   1825:           else
                   1826:             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   1827:             break 3
                   1828:           fi
                   1829:         fi
1.1       paf      1830:       done
1.62      paf      1831:     done
                   1832:     ;;
                   1833: esac
                   1834: done
                   1835: 
1.1       paf      1836: 
                   1837: fi
                   1838:   if test "${ac_cv_path_install+set}" = set; then
1.62      paf      1839:     INSTALL=$ac_cv_path_install
1.1       paf      1840:   else
                   1841:     # As a last resort, use the slow shell script.  We don't cache a
                   1842:     # path for INSTALL within a source directory, because that will
                   1843:     # break other packages using the cache if that directory is
                   1844:     # removed, or if the path is relative.
1.62      paf      1845:     INSTALL=$ac_install_sh
1.1       paf      1846:   fi
                   1847: fi
1.62      paf      1848: echo "$as_me:$LINENO: result: $INSTALL" >&5
                   1849: echo "${ECHO_T}$INSTALL" >&6
1.1       paf      1850: 
                   1851: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   1852: # It thinks the first close brace ends the variable substitution.
                   1853: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   1854: 
1.62      paf      1855: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       paf      1856: 
                   1857: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   1858: 
1.62      paf      1859: echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   1860: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
                   1861: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
                   1862: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
                   1863:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.41      paf      1864: else
1.62      paf      1865:   cat >conftest.make <<\_ACEOF
1.41      paf      1866: all:
1.62      paf      1867:        @echo 'ac_maketemp="$(MAKE)"'
                   1868: _ACEOF
1.41      paf      1869: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.62      paf      1870: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1.41      paf      1871: if test -n "$ac_maketemp"; then
                   1872:   eval ac_cv_prog_make_${ac_make}_set=yes
                   1873: else
                   1874:   eval ac_cv_prog_make_${ac_make}_set=no
                   1875: fi
1.62      paf      1876: rm -f conftest.make
1.41      paf      1877: fi
                   1878: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1.62      paf      1879:   echo "$as_me:$LINENO: result: yes" >&5
                   1880: echo "${ECHO_T}yes" >&6
1.41      paf      1881:   SET_MAKE=
                   1882: else
1.62      paf      1883:   echo "$as_me:$LINENO: result: no" >&5
                   1884: echo "${ECHO_T}no" >&6
1.41      paf      1885:   SET_MAKE="MAKE=${MAKE-make}"
                   1886: fi
                   1887: 
1.62      paf      1888: if test -n "$ac_tool_prefix"; then
                   1889:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   1890: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
                   1891: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1892: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1893: if test "${ac_cv_prog_RANLIB+set}" = set; then
                   1894:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.41      paf      1895: else
                   1896:   if test -n "$RANLIB"; then
                   1897:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   1898: else
1.62      paf      1899: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1900: for as_dir in $PATH
                   1901: do
                   1902:   IFS=$as_save_IFS
                   1903:   test -z "$as_dir" && as_dir=.
                   1904:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1905:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1906:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
                   1907:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1908:     break 2
                   1909:   fi
                   1910: done
                   1911: done
                   1912: 
1.41      paf      1913: fi
                   1914: fi
1.62      paf      1915: RANLIB=$ac_cv_prog_RANLIB
1.41      paf      1916: if test -n "$RANLIB"; then
1.62      paf      1917:   echo "$as_me:$LINENO: result: $RANLIB" >&5
                   1918: echo "${ECHO_T}$RANLIB" >&6
                   1919: else
                   1920:   echo "$as_me:$LINENO: result: no" >&5
                   1921: echo "${ECHO_T}no" >&6
                   1922: fi
                   1923: 
                   1924: fi
                   1925: if test -z "$ac_cv_prog_RANLIB"; then
                   1926:   ac_ct_RANLIB=$RANLIB
                   1927:   # Extract the first word of "ranlib", so it can be a program name with args.
                   1928: set dummy ranlib; ac_word=$2
                   1929: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1930: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1931: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
                   1932:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1933: else
                   1934:   if test -n "$ac_ct_RANLIB"; then
                   1935:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   1936: else
                   1937: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1938: for as_dir in $PATH
                   1939: do
                   1940:   IFS=$as_save_IFS
                   1941:   test -z "$as_dir" && as_dir=.
                   1942:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1943:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1944:     ac_cv_prog_ac_ct_RANLIB="ranlib"
                   1945:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1946:     break 2
                   1947:   fi
                   1948: done
                   1949: done
                   1950: 
                   1951:   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
                   1952: fi
                   1953: fi
                   1954: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   1955: if test -n "$ac_ct_RANLIB"; then
                   1956:   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
                   1957: echo "${ECHO_T}$ac_ct_RANLIB" >&6
                   1958: else
                   1959:   echo "$as_me:$LINENO: result: no" >&5
                   1960: echo "${ECHO_T}no" >&6
                   1961: fi
                   1962: 
                   1963:   RANLIB=$ac_ct_RANLIB
1.41      paf      1964: else
1.62      paf      1965:   RANLIB="$ac_cv_prog_RANLIB"
1.41      paf      1966: fi
                   1967: 
1.62      paf      1968: for ac_prog in gawk mawk nawk awk
1.41      paf      1969: do
1.62      paf      1970:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41      paf      1971: set dummy $ac_prog; ac_word=$2
1.62      paf      1972: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1973: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1974: if test "${ac_cv_prog_AWK+set}" = set; then
                   1975:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.41      paf      1976: else
                   1977:   if test -n "$AWK"; then
                   1978:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   1979: else
1.62      paf      1980: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1981: for as_dir in $PATH
                   1982: do
                   1983:   IFS=$as_save_IFS
                   1984:   test -z "$as_dir" && as_dir=.
                   1985:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1986:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1987:     ac_cv_prog_AWK="$ac_prog"
                   1988:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1989:     break 2
                   1990:   fi
                   1991: done
                   1992: done
                   1993: 
1.41      paf      1994: fi
                   1995: fi
1.62      paf      1996: AWK=$ac_cv_prog_AWK
1.41      paf      1997: if test -n "$AWK"; then
1.62      paf      1998:   echo "$as_me:$LINENO: result: $AWK" >&5
                   1999: echo "${ECHO_T}$AWK" >&6
1.41      paf      2000: else
1.62      paf      2001:   echo "$as_me:$LINENO: result: no" >&5
                   2002: echo "${ECHO_T}no" >&6
1.41      paf      2003: fi
                   2004: 
1.62      paf      2005:   test -n "$AWK" && break
1.41      paf      2006: done
                   2007: 
                   2008: 
                   2009: for ac_prog in 'bison -y' byacc
                   2010: do
1.62      paf      2011:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41      paf      2012: set dummy $ac_prog; ac_word=$2
1.62      paf      2013: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2014: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2015: if test "${ac_cv_prog_YACC+set}" = set; then
                   2016:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.41      paf      2017: else
                   2018:   if test -n "$YACC"; then
                   2019:   ac_cv_prog_YACC="$YACC" # Let the user override the test.
                   2020: else
1.62      paf      2021: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2022: for as_dir in $PATH
                   2023: do
                   2024:   IFS=$as_save_IFS
                   2025:   test -z "$as_dir" && as_dir=.
                   2026:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2027:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2028:     ac_cv_prog_YACC="$ac_prog"
                   2029:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2030:     break 2
                   2031:   fi
                   2032: done
                   2033: done
                   2034: 
1.41      paf      2035: fi
                   2036: fi
1.62      paf      2037: YACC=$ac_cv_prog_YACC
1.41      paf      2038: if test -n "$YACC"; then
1.62      paf      2039:   echo "$as_me:$LINENO: result: $YACC" >&5
                   2040: echo "${ECHO_T}$YACC" >&6
1.41      paf      2041: else
1.62      paf      2042:   echo "$as_me:$LINENO: result: no" >&5
                   2043: echo "${ECHO_T}no" >&6
1.41      paf      2044: fi
                   2045: 
1.62      paf      2046:   test -n "$YACC" && break
1.41      paf      2047: done
                   2048: test -n "$YACC" || YACC="yacc"
                   2049: 
                   2050: if test "$YACC" != "bison -y"; then
1.62      paf      2051:     { echo "$as_me:$LINENO: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&5
                   2052: echo "$as_me: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&2;}
1.41      paf      2053: else
1.62      paf      2054:     echo "$as_me:$LINENO: checking bison version" >&5
                   2055: echo $ECHO_N "checking bison version... $ECHO_C" >&6
1.41      paf      2056:     oldIFS=$IFS; IFS=.
                   2057:     set `bison -V | sed -e 's/^GNU Bison version //'`
                   2058:     IFS=$oldIFS
                   2059:     if test "$1" = "1" -a "$2" -lt "25"; then
1.62      paf      2060:         { echo "$as_me:$LINENO: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&5
                   2061: echo "$as_me: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&2;}
1.41      paf      2062:     fi
1.62      paf      2063:     echo "$as_me:$LINENO: result: $1.$2 (ok)" >&5
                   2064: echo "${ECHO_T}$1.$2 (ok)" >&6
                   2065: fi
                   2066: 
1.66      paf      2067: ac_ext=cc
                   2068: ac_cpp='$CXXCPP $CPPFLAGS'
                   2069: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2070: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2071: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.62      paf      2072: if test -n "$ac_tool_prefix"; then
1.66      paf      2073:   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
                   2074:   do
                   2075:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   2076: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.62      paf      2077: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2078: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.66      paf      2079: if test "${ac_cv_prog_CXX+set}" = set; then
1.62      paf      2080:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2081: else
1.66      paf      2082:   if test -n "$CXX"; then
                   2083:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
1.62      paf      2084: else
                   2085: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2086: for as_dir in $PATH
                   2087: do
                   2088:   IFS=$as_save_IFS
                   2089:   test -z "$as_dir" && as_dir=.
                   2090:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2091:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      2092:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1.62      paf      2093:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2094:     break 2
                   2095:   fi
                   2096: done
                   2097: done
                   2098: 
                   2099: fi
                   2100: fi
1.66      paf      2101: CXX=$ac_cv_prog_CXX
                   2102: if test -n "$CXX"; then
                   2103:   echo "$as_me:$LINENO: result: $CXX" >&5
                   2104: echo "${ECHO_T}$CXX" >&6
1.62      paf      2105: else
                   2106:   echo "$as_me:$LINENO: result: no" >&5
                   2107: echo "${ECHO_T}no" >&6
1.41      paf      2108: fi
                   2109: 
1.66      paf      2110:     test -n "$CXX" && break
                   2111:   done
1.62      paf      2112: fi
1.66      paf      2113: if test -z "$CXX"; then
                   2114:   ac_ct_CXX=$CXX
                   2115:   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
                   2116: do
                   2117:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2118: set dummy $ac_prog; ac_word=$2
1.62      paf      2119: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2120: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.66      paf      2121: if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1.62      paf      2122:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2123: else
1.66      paf      2124:   if test -n "$ac_ct_CXX"; then
                   2125:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1.62      paf      2126: else
                   2127: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2128: for as_dir in $PATH
                   2129: do
                   2130:   IFS=$as_save_IFS
                   2131:   test -z "$as_dir" && as_dir=.
                   2132:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2133:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      2134:     ac_cv_prog_ac_ct_CXX="$ac_prog"
1.62      paf      2135:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2136:     break 2
                   2137:   fi
                   2138: done
                   2139: done
                   2140: 
                   2141: fi
                   2142: fi
1.66      paf      2143: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
                   2144: if test -n "$ac_ct_CXX"; then
                   2145:   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
                   2146: echo "${ECHO_T}$ac_ct_CXX" >&6
1.62      paf      2147: else
                   2148:   echo "$as_me:$LINENO: result: no" >&5
                   2149: echo "${ECHO_T}no" >&6
                   2150: fi
                   2151: 
1.66      paf      2152:   test -n "$ac_ct_CXX" && break
                   2153: done
                   2154: test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
                   2155: 
                   2156:   CXX=$ac_ct_CXX
1.62      paf      2157: fi
                   2158: 
1.66      paf      2159: 
                   2160: # Provide some information about the compiler.
                   2161: echo "$as_me:$LINENO:" \
                   2162:      "checking for C++ compiler version" >&5
                   2163: ac_compiler=`set X $ac_compile; echo $2`
                   2164: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
                   2165:   (eval $ac_compiler --version </dev/null >&5) 2>&5
                   2166:   ac_status=$?
                   2167:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2168:   (exit $ac_status); }
                   2169: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
                   2170:   (eval $ac_compiler -v </dev/null >&5) 2>&5
                   2171:   ac_status=$?
                   2172:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2173:   (exit $ac_status); }
                   2174: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
                   2175:   (eval $ac_compiler -V </dev/null >&5) 2>&5
                   2176:   ac_status=$?
                   2177:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2178:   (exit $ac_status); }
                   2179: 
                   2180: cat >conftest.$ac_ext <<_ACEOF
                   2181: #line $LINENO "configure"
                   2182: /* confdefs.h.  */
                   2183: _ACEOF
                   2184: cat confdefs.h >>conftest.$ac_ext
                   2185: cat >>conftest.$ac_ext <<_ACEOF
                   2186: /* end confdefs.h.  */
                   2187: 
                   2188: int
                   2189: main ()
                   2190: {
                   2191: 
                   2192:   ;
                   2193:   return 0;
                   2194: }
                   2195: _ACEOF
                   2196: ac_clean_files_save=$ac_clean_files
                   2197: ac_clean_files="$ac_clean_files a.out a.exe b.out"
                   2198: # Try to create an executable without -o first, disregard a.out.
                   2199: # It will help us diagnose broken compilers, and finding out an intuition
                   2200: # of exeext.
                   2201: echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
                   2202: echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
                   2203: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   2204: if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
                   2205:   (eval $ac_link_default) 2>&5
                   2206:   ac_status=$?
                   2207:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2208:   (exit $ac_status); }; then
                   2209:   # Find the output, starting from the most likely.  This scheme is
                   2210: # not robust to junk in `.', hence go to wildcards (a.*) only as a last
                   2211: # resort.
                   2212: 
                   2213: # Be careful to initialize this variable, since it used to be cached.
                   2214: # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
                   2215: ac_cv_exeext=
                   2216: # b.out is created by i960 compilers.
                   2217: for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1.62      paf      2218: do
1.66      paf      2219:   test -f "$ac_file" || continue
                   2220:   case $ac_file in
                   2221:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
                   2222:         ;;
                   2223:     conftest.$ac_ext )
                   2224:         # This is the source file.
                   2225:         ;;
                   2226:     [ab].out )
                   2227:         # We found the default executable, but exeext='' is most
                   2228:         # certainly right.
                   2229:         break;;
                   2230:     *.* )
                   2231:         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   2232:         # FIXME: I believe we export ac_cv_exeext for Libtool,
                   2233:         # but it would be cool to find out if it's true.  Does anybody
                   2234:         # maintain Libtool? --akim.
                   2235:         export ac_cv_exeext
                   2236:         break;;
                   2237:     * )
                   2238:         break;;
                   2239:   esac
1.62      paf      2240: done
1.66      paf      2241: else
                   2242:   echo "$as_me: failed program was:" >&5
                   2243: sed 's/^/| /' conftest.$ac_ext >&5
1.62      paf      2244: 
1.66      paf      2245: { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
                   2246: See \`config.log' for more details." >&5
                   2247: echo "$as_me: error: C++ compiler cannot create executables
                   2248: See \`config.log' for more details." >&2;}
                   2249:    { (exit 77); exit 77; }; }
1.1       paf      2250: fi
1.66      paf      2251: 
                   2252: ac_exeext=$ac_cv_exeext
                   2253: echo "$as_me:$LINENO: result: $ac_file" >&5
                   2254: echo "${ECHO_T}$ac_file" >&6
                   2255: 
                   2256: # Check the compiler produces executables we can run.  If not, either
                   2257: # the compiler is broken, or we cross compile.
                   2258: echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
                   2259: echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
                   2260: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
                   2261: # If not cross compiling, check that we can run a simple program.
                   2262: if test "$cross_compiling" != yes; then
                   2263:   if { ac_try='./$ac_file'
                   2264:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2265:   (eval $ac_try) 2>&5
                   2266:   ac_status=$?
                   2267:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2268:   (exit $ac_status); }; }; then
                   2269:     cross_compiling=no
                   2270:   else
                   2271:     if test "$cross_compiling" = maybe; then
                   2272:        cross_compiling=yes
                   2273:     else
                   2274:        { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
                   2275: If you meant to cross compile, use \`--host'.
                   2276: See \`config.log' for more details." >&5
                   2277: echo "$as_me: error: cannot run C++ compiled programs.
                   2278: If you meant to cross compile, use \`--host'.
                   2279: See \`config.log' for more details." >&2;}
                   2280:    { (exit 1); exit 1; }; }
                   2281:     fi
                   2282:   fi
1.1       paf      2283: fi
1.66      paf      2284: echo "$as_me:$LINENO: result: yes" >&5
                   2285: echo "${ECHO_T}yes" >&6
1.62      paf      2286: 
1.66      paf      2287: rm -f a.out a.exe conftest$ac_cv_exeext b.out
                   2288: ac_clean_files=$ac_clean_files_save
                   2289: # Check the compiler produces executables we can run.  If not, either
1.62      paf      2290: # the compiler is broken, or we cross compile.
                   2291: echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
                   2292: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
                   2293: echo "$as_me:$LINENO: result: $cross_compiling" >&5
                   2294: echo "${ECHO_T}$cross_compiling" >&6
                   2295: 
                   2296: echo "$as_me:$LINENO: checking for suffix of executables" >&5
                   2297: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
                   2298: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   2299:   (eval $ac_link) 2>&5
                   2300:   ac_status=$?
                   2301:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2302:   (exit $ac_status); }; then
                   2303:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   2304: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   2305: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   2306: # `rm'.
                   2307: for ac_file in conftest.exe conftest conftest.*; do
                   2308:   test -f "$ac_file" || continue
                   2309:   case $ac_file in
                   2310:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
                   2311:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   2312:           export ac_cv_exeext
                   2313:           break;;
                   2314:     * ) break;;
                   2315:   esac
                   2316: done
                   2317: else
                   2318:   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
                   2319: See \`config.log' for more details." >&5
                   2320: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
                   2321: See \`config.log' for more details." >&2;}
                   2322:    { (exit 1); exit 1; }; }
                   2323: fi
                   2324: 
                   2325: rm -f conftest$ac_cv_exeext
                   2326: echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
                   2327: echo "${ECHO_T}$ac_cv_exeext" >&6
                   2328: 
                   2329: rm -f conftest.$ac_ext
                   2330: EXEEXT=$ac_cv_exeext
                   2331: ac_exeext=$EXEEXT
                   2332: echo "$as_me:$LINENO: checking for suffix of object files" >&5
                   2333: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
                   2334: if test "${ac_cv_objext+set}" = set; then
                   2335:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2336: else
                   2337:   cat >conftest.$ac_ext <<_ACEOF
                   2338: #line $LINENO "configure"
                   2339: /* confdefs.h.  */
                   2340: _ACEOF
                   2341: cat confdefs.h >>conftest.$ac_ext
                   2342: cat >>conftest.$ac_ext <<_ACEOF
                   2343: /* end confdefs.h.  */
                   2344: 
                   2345: int
                   2346: main ()
                   2347: {
                   2348: 
                   2349:   ;
                   2350:   return 0;
                   2351: }
                   2352: _ACEOF
                   2353: rm -f conftest.o conftest.obj
                   2354: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2355:   (eval $ac_compile) 2>&5
                   2356:   ac_status=$?
                   2357:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2358:   (exit $ac_status); }; then
                   2359:   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
                   2360:   case $ac_file in
                   2361:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
                   2362:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   2363:        break;;
                   2364:   esac
                   2365: done
                   2366: else
                   2367:   echo "$as_me: failed program was:" >&5
                   2368: sed 's/^/| /' conftest.$ac_ext >&5
                   2369: 
                   2370: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
                   2371: See \`config.log' for more details." >&5
                   2372: echo "$as_me: error: cannot compute suffix of object files: cannot compile
                   2373: See \`config.log' for more details." >&2;}
                   2374:    { (exit 1); exit 1; }; }
                   2375: fi
                   2376: 
                   2377: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   2378: fi
1.66      paf      2379: echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
                   2380: echo "${ECHO_T}$ac_cv_objext" >&6
                   2381: OBJEXT=$ac_cv_objext
                   2382: ac_objext=$OBJEXT
                   2383: echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
                   2384: echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
                   2385: if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1.62      paf      2386:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2387: else
1.66      paf      2388:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      2389: #line $LINENO "configure"
                   2390: /* confdefs.h.  */
                   2391: _ACEOF
                   2392: cat confdefs.h >>conftest.$ac_ext
                   2393: cat >>conftest.$ac_ext <<_ACEOF
                   2394: /* end confdefs.h.  */
1.66      paf      2395: 
1.62      paf      2396: int
                   2397: main ()
                   2398: {
1.66      paf      2399: #ifndef __GNUC__
                   2400:        choke me
                   2401: #endif
                   2402: 
1.62      paf      2403:   ;
                   2404:   return 0;
                   2405: }
                   2406: _ACEOF
1.66      paf      2407: rm -f conftest.$ac_objext
1.62      paf      2408: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2409:   (eval $ac_compile) 2>&5
                   2410:   ac_status=$?
                   2411:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2412:   (exit $ac_status); } &&
                   2413:          { ac_try='test -s conftest.$ac_objext'
                   2414:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2415:   (eval $ac_try) 2>&5
                   2416:   ac_status=$?
                   2417:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2418:   (exit $ac_status); }; }; then
1.66      paf      2419:   ac_compiler_gnu=yes
1.62      paf      2420: else
                   2421:   echo "$as_me: failed program was:" >&5
                   2422: sed 's/^/| /' conftest.$ac_ext >&5
1.1       paf      2423: 
1.66      paf      2424: ac_compiler_gnu=no
1.1       paf      2425: fi
1.66      paf      2426: rm -f conftest.$ac_objext conftest.$ac_ext
                   2427: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1.1       paf      2428: 
                   2429: fi
1.66      paf      2430: echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
                   2431: echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
                   2432: GXX=`test $ac_compiler_gnu = yes && echo yes`
                   2433: ac_test_CXXFLAGS=${CXXFLAGS+set}
                   2434: ac_save_CXXFLAGS=$CXXFLAGS
                   2435: CXXFLAGS="-g"
                   2436: echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
                   2437: echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
                   2438: if test "${ac_cv_prog_cxx_g+set}" = set; then
                   2439:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2440: else
                   2441:   cat >conftest.$ac_ext <<_ACEOF
                   2442: #line $LINENO "configure"
                   2443: /* confdefs.h.  */
                   2444: _ACEOF
                   2445: cat confdefs.h >>conftest.$ac_ext
                   2446: cat >>conftest.$ac_ext <<_ACEOF
                   2447: /* end confdefs.h.  */
1.1       paf      2448: 
1.66      paf      2449: int
                   2450: main ()
                   2451: {
1.1       paf      2452: 
1.66      paf      2453:   ;
                   2454:   return 0;
                   2455: }
1.62      paf      2456: _ACEOF
                   2457: rm -f conftest.$ac_objext
                   2458: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2459:   (eval $ac_compile) 2>&5
                   2460:   ac_status=$?
                   2461:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2462:   (exit $ac_status); } &&
                   2463:          { ac_try='test -s conftest.$ac_objext'
                   2464:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2465:   (eval $ac_try) 2>&5
                   2466:   ac_status=$?
                   2467:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2468:   (exit $ac_status); }; }; then
1.66      paf      2469:   ac_cv_prog_cxx_g=yes
                   2470: else
                   2471:   echo "$as_me: failed program was:" >&5
                   2472: sed 's/^/| /' conftest.$ac_ext >&5
                   2473: 
                   2474: ac_cv_prog_cxx_g=no
                   2475: fi
                   2476: rm -f conftest.$ac_objext conftest.$ac_ext
                   2477: fi
                   2478: echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
                   2479: echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
                   2480: if test "$ac_test_CXXFLAGS" = set; then
                   2481:   CXXFLAGS=$ac_save_CXXFLAGS
                   2482: elif test $ac_cv_prog_cxx_g = yes; then
                   2483:   if test "$GXX" = yes; then
                   2484:     CXXFLAGS="-g -O2"
                   2485:   else
                   2486:     CXXFLAGS="-g"
                   2487:   fi
                   2488: else
                   2489:   if test "$GXX" = yes; then
                   2490:     CXXFLAGS="-O2"
                   2491:   else
                   2492:     CXXFLAGS=
                   2493:   fi
                   2494: fi
                   2495: for ac_declaration in \
1.62      paf      2496:    ''\
                   2497:    '#include <stdlib.h>' \
                   2498:    'extern "C" void std::exit (int) throw (); using std::exit;' \
                   2499:    'extern "C" void std::exit (int); using std::exit;' \
                   2500:    'extern "C" void exit (int) throw ();' \
                   2501:    'extern "C" void exit (int);' \
                   2502:    'void exit (int);'
1.1       paf      2503: do
1.62      paf      2504:   cat >conftest.$ac_ext <<_ACEOF
                   2505: #line $LINENO "configure"
                   2506: /* confdefs.h.  */
                   2507: _ACEOF
                   2508: cat confdefs.h >>conftest.$ac_ext
                   2509: cat >>conftest.$ac_ext <<_ACEOF
                   2510: /* end confdefs.h.  */
                   2511: #include <stdlib.h>
                   2512: $ac_declaration
                   2513: int
                   2514: main ()
                   2515: {
                   2516: exit (42);
                   2517:   ;
                   2518:   return 0;
                   2519: }
                   2520: _ACEOF
                   2521: rm -f conftest.$ac_objext
                   2522: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2523:   (eval $ac_compile) 2>&5
                   2524:   ac_status=$?
                   2525:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2526:   (exit $ac_status); } &&
                   2527:          { ac_try='test -s conftest.$ac_objext'
                   2528:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2529:   (eval $ac_try) 2>&5
                   2530:   ac_status=$?
                   2531:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2532:   (exit $ac_status); }; }; then
                   2533:   :
1.1       paf      2534: else
1.62      paf      2535:   echo "$as_me: failed program was:" >&5
                   2536: sed 's/^/| /' conftest.$ac_ext >&5
                   2537: 
                   2538: continue
                   2539: fi
                   2540: rm -f conftest.$ac_objext conftest.$ac_ext
                   2541:   cat >conftest.$ac_ext <<_ACEOF
                   2542: #line $LINENO "configure"
                   2543: /* confdefs.h.  */
                   2544: _ACEOF
                   2545: cat confdefs.h >>conftest.$ac_ext
                   2546: cat >>conftest.$ac_ext <<_ACEOF
                   2547: /* end confdefs.h.  */
                   2548: $ac_declaration
                   2549: int
                   2550: main ()
                   2551: {
                   2552: exit (42);
                   2553:   ;
                   2554:   return 0;
                   2555: }
                   2556: _ACEOF
                   2557: rm -f conftest.$ac_objext
                   2558: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2559:   (eval $ac_compile) 2>&5
                   2560:   ac_status=$?
                   2561:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2562:   (exit $ac_status); } &&
                   2563:          { ac_try='test -s conftest.$ac_objext'
                   2564:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2565:   (eval $ac_try) 2>&5
                   2566:   ac_status=$?
                   2567:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2568:   (exit $ac_status); }; }; then
                   2569:   break
1.1       paf      2570: else
1.62      paf      2571:   echo "$as_me: failed program was:" >&5
                   2572: sed 's/^/| /' conftest.$ac_ext >&5
                   2573: 
1.1       paf      2574: fi
1.62      paf      2575: rm -f conftest.$ac_objext conftest.$ac_ext
                   2576: done
                   2577: rm -f conftest*
                   2578: if test -n "$ac_declaration"; then
                   2579:   echo '#ifdef __cplusplus' >>confdefs.h
                   2580:   echo $ac_declaration      >>confdefs.h
                   2581:   echo '#endif'             >>confdefs.h
1.1       paf      2582: fi
1.62      paf      2583: 
                   2584: ac_ext=c
                   2585: ac_cpp='$CPP $CPPFLAGS'
                   2586: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2587: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2588: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2589: rm -f .deps 2>/dev/null
                   2590: mkdir .deps 2>/dev/null
                   2591: if test -d .deps; then
                   2592:   DEPDIR=.deps
                   2593: else
                   2594:   # MS-DOS does not allow filenames that begin with a dot.
                   2595:   DEPDIR=_deps
                   2596: fi
                   2597: rmdir .deps 2>/dev/null
                   2598: 
                   2599: 
                   2600:           ac_config_commands="$ac_config_commands depfiles"
                   2601: 
                   2602: 
                   2603: am_make=${MAKE-make}
                   2604: cat > confinc << 'END'
                   2605: doit:
                   2606:        @echo done
                   2607: END
                   2608: # If we don't find an include directive, just comment out the code.
                   2609: echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
                   2610: echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
                   2611: am__include="#"
                   2612: am__quote=
                   2613: _am_result=none
                   2614: # First try GNU make style include.
                   2615: echo "include confinc" > confmf
                   2616: # We grep out `Entering directory' and `Leaving directory'
                   2617: # messages which can occur if `w' ends up in MAKEFLAGS.
                   2618: # In particular we don't look at `^make:' because GNU make might
                   2619: # be invoked under some other name (usually "gmake"), in which
                   2620: # case it prints its new name instead of `make'.
                   2621: if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
                   2622:    am__include=include
                   2623:    am__quote=
                   2624:    _am_result=GNU
                   2625: fi
                   2626: # Now try BSD make style include.
                   2627: if test "$am__include" = "#"; then
                   2628:    echo '.include "confinc"' > confmf
                   2629:    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
                   2630:       am__include=.include
                   2631:       am__quote="\""
                   2632:       _am_result=BSD
                   2633:    fi
                   2634: fi
                   2635: 
                   2636: 
                   2637: echo "$as_me:$LINENO: result: $_am_result" >&5
                   2638: echo "${ECHO_T}$_am_result" >&6
                   2639: rm -f confinc confmf
                   2640: 
                   2641: # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
                   2642: if test "${enable_dependency_tracking+set}" = set; then
                   2643:   enableval="$enable_dependency_tracking"
                   2644: 
                   2645: fi;
                   2646: if test "x$enable_dependency_tracking" != xno; then
                   2647:   am_depcomp="$ac_aux_dir/depcomp"
                   2648:   AMDEPBACKSLASH='\'
1.1       paf      2649: fi
                   2650: 
1.62      paf      2651: 
                   2652: if test "x$enable_dependency_tracking" != xno; then
                   2653:   AMDEP_TRUE=
                   2654:   AMDEP_FALSE='#'
                   2655: else
                   2656:   AMDEP_TRUE='#'
                   2657:   AMDEP_FALSE=
                   2658: fi
1.1       paf      2659: 
                   2660: 
                   2661: 
                   2662: 
1.66      paf      2663: depcc="$CXX"  am_compiler_list=
1.1       paf      2664: 
1.62      paf      2665: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
                   2666: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
1.66      paf      2667: if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
1.62      paf      2668:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2669: else
                   2670:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   2671:   # We make a subdir and do the tests there.  Otherwise we can end up
                   2672:   # making bogus files that we don't know about and never remove.  For
                   2673:   # instance it was reported that on HP-UX the gcc test will end up
                   2674:   # making a dummy file named `D' -- because `-MD' means `put the output
                   2675:   # in D'.
                   2676:   mkdir conftest.dir
                   2677:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   2678:   # using a relative directory.
                   2679:   cp "$am_depcomp" conftest.dir
                   2680:   cd conftest.dir
1.1       paf      2681: 
1.66      paf      2682:   am_cv_CXX_dependencies_compiler_type=none
1.62      paf      2683:   if test "$am_compiler_list" = ""; then
                   2684:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.1       paf      2685:   fi
1.62      paf      2686:   for depmode in $am_compiler_list; do
                   2687:     # We need to recreate these files for each test, as the compiler may
                   2688:     # overwrite some of them when testing with obscure command lines.
                   2689:     # This happens at least with the AIX C compiler.
                   2690:     echo '#include "conftest.h"' > conftest.c
                   2691:     echo 'int i;' > conftest.h
                   2692:     echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
                   2693: 
                   2694:     case $depmode in
                   2695:     nosideeffect)
                   2696:       # after this tag, mechanisms are not by side-effect, so they'll
                   2697:       # only be used when explicitly requested
                   2698:       if test "x$enable_dependency_tracking" = xyes; then
                   2699:        continue
                   2700:       else
                   2701:        break
                   2702:       fi
                   2703:       ;;
                   2704:     none) break ;;
                   2705:     esac
                   2706:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   2707:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   2708:     # handle `-M -o', and we need to detect this.
                   2709:     if depmode=$depmode \
                   2710:        source=conftest.c object=conftest.o \
                   2711:        depfile=conftest.Po tmpdepfile=conftest.TPo \
                   2712:        $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 &&
                   2713:        grep conftest.h conftest.Po > /dev/null 2>&1 &&
                   2714:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.66      paf      2715:       am_cv_CXX_dependencies_compiler_type=$depmode
                   2716:       break
                   2717:     fi
                   2718:   done
                   2719: 
                   2720:   cd ..
                   2721:   rm -rf conftest.dir
                   2722: else
                   2723:   am_cv_CXX_dependencies_compiler_type=none
                   2724: fi
                   2725: 
                   2726: fi
                   2727: echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
                   2728: echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
                   2729: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
                   2730: 
                   2731: 
                   2732: 
                   2733: if
                   2734:   test "x$enable_dependency_tracking" != xno \
                   2735:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
                   2736:   am__fastdepCXX_TRUE=
                   2737:   am__fastdepCXX_FALSE='#'
                   2738: else
                   2739:   am__fastdepCXX_TRUE='#'
                   2740:   am__fastdepCXX_FALSE=
                   2741: fi
                   2742: 
                   2743: 
                   2744: ac_ext=c
                   2745: ac_cpp='$CPP $CPPFLAGS'
                   2746: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2747: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2748: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2749: if test -n "$ac_tool_prefix"; then
                   2750:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   2751: set dummy ${ac_tool_prefix}gcc; ac_word=$2
                   2752: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2753: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2754: if test "${ac_cv_prog_CC+set}" = set; then
                   2755:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2756: else
                   2757:   if test -n "$CC"; then
                   2758:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2759: else
                   2760: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2761: for as_dir in $PATH
                   2762: do
                   2763:   IFS=$as_save_IFS
                   2764:   test -z "$as_dir" && as_dir=.
                   2765:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2766:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2767:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
                   2768:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2769:     break 2
                   2770:   fi
                   2771: done
                   2772: done
                   2773: 
                   2774: fi
                   2775: fi
                   2776: CC=$ac_cv_prog_CC
                   2777: if test -n "$CC"; then
                   2778:   echo "$as_me:$LINENO: result: $CC" >&5
                   2779: echo "${ECHO_T}$CC" >&6
                   2780: else
                   2781:   echo "$as_me:$LINENO: result: no" >&5
                   2782: echo "${ECHO_T}no" >&6
                   2783: fi
                   2784: 
                   2785: fi
                   2786: if test -z "$ac_cv_prog_CC"; then
                   2787:   ac_ct_CC=$CC
                   2788:   # Extract the first word of "gcc", so it can be a program name with args.
                   2789: set dummy gcc; ac_word=$2
                   2790: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2791: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2792: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   2793:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2794: else
                   2795:   if test -n "$ac_ct_CC"; then
                   2796:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2797: else
                   2798: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2799: for as_dir in $PATH
                   2800: do
                   2801:   IFS=$as_save_IFS
                   2802:   test -z "$as_dir" && as_dir=.
                   2803:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2804:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2805:     ac_cv_prog_ac_ct_CC="gcc"
                   2806:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2807:     break 2
                   2808:   fi
                   2809: done
                   2810: done
                   2811: 
                   2812: fi
                   2813: fi
                   2814: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2815: if test -n "$ac_ct_CC"; then
                   2816:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   2817: echo "${ECHO_T}$ac_ct_CC" >&6
1.1       paf      2818: else
1.66      paf      2819:   echo "$as_me:$LINENO: result: no" >&5
                   2820: echo "${ECHO_T}no" >&6
1.62      paf      2821: fi
                   2822: 
1.66      paf      2823:   CC=$ac_ct_CC
                   2824: else
                   2825:   CC="$ac_cv_prog_CC"
1.1       paf      2826: fi
1.62      paf      2827: 
1.66      paf      2828: if test -z "$CC"; then
                   2829:   if test -n "$ac_tool_prefix"; then
                   2830:   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   2831: set dummy ${ac_tool_prefix}cc; ac_word=$2
                   2832: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2833: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2834: if test "${ac_cv_prog_CC+set}" = set; then
                   2835:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2836: else
                   2837:   if test -n "$CC"; then
                   2838:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2839: else
                   2840: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2841: for as_dir in $PATH
                   2842: do
                   2843:   IFS=$as_save_IFS
                   2844:   test -z "$as_dir" && as_dir=.
                   2845:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2846:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2847:     ac_cv_prog_CC="${ac_tool_prefix}cc"
                   2848:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2849:     break 2
                   2850:   fi
                   2851: done
                   2852: done
1.62      paf      2853: 
1.66      paf      2854: fi
                   2855: fi
                   2856: CC=$ac_cv_prog_CC
                   2857: if test -n "$CC"; then
                   2858:   echo "$as_me:$LINENO: result: $CC" >&5
                   2859: echo "${ECHO_T}$CC" >&6
1.62      paf      2860: else
1.66      paf      2861:   echo "$as_me:$LINENO: result: no" >&5
                   2862: echo "${ECHO_T}no" >&6
1.1       paf      2863: fi
                   2864: 
1.66      paf      2865: fi
                   2866: if test -z "$ac_cv_prog_CC"; then
                   2867:   ac_ct_CC=$CC
                   2868:   # Extract the first word of "cc", so it can be a program name with args.
                   2869: set dummy cc; ac_word=$2
                   2870: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2871: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2872: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   2873:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2874: else
                   2875:   if test -n "$ac_ct_CC"; then
                   2876:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2877: else
                   2878: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2879: for as_dir in $PATH
                   2880: do
                   2881:   IFS=$as_save_IFS
                   2882:   test -z "$as_dir" && as_dir=.
                   2883:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2884:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2885:     ac_cv_prog_ac_ct_CC="cc"
                   2886:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2887:     break 2
                   2888:   fi
                   2889: done
                   2890: done
1.62      paf      2891: 
1.66      paf      2892: fi
                   2893: fi
                   2894: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2895: if test -n "$ac_ct_CC"; then
                   2896:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   2897: echo "${ECHO_T}$ac_ct_CC" >&6
1.1       paf      2898: else
1.66      paf      2899:   echo "$as_me:$LINENO: result: no" >&5
                   2900: echo "${ECHO_T}no" >&6
                   2901: fi
1.62      paf      2902: 
1.66      paf      2903:   CC=$ac_ct_CC
1.1       paf      2904: else
1.66      paf      2905:   CC="$ac_cv_prog_CC"
                   2906: fi
1.62      paf      2907: 
1.1       paf      2908: fi
1.66      paf      2909: if test -z "$CC"; then
                   2910:   # Extract the first word of "cc", so it can be a program name with args.
                   2911: set dummy cc; ac_word=$2
                   2912: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2913: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2914: if test "${ac_cv_prog_CC+set}" = set; then
                   2915:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2916: else
                   2917:   if test -n "$CC"; then
                   2918:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2919: else
                   2920:   ac_prog_rejected=no
                   2921: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2922: for as_dir in $PATH
                   2923: do
                   2924:   IFS=$as_save_IFS
                   2925:   test -z "$as_dir" && as_dir=.
                   2926:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2927:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2928:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   2929:        ac_prog_rejected=yes
                   2930:        continue
                   2931:      fi
                   2932:     ac_cv_prog_CC="cc"
                   2933:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2934:     break 2
                   2935:   fi
                   2936: done
1.62      paf      2937: done
                   2938: 
1.66      paf      2939: if test $ac_prog_rejected = yes; then
                   2940:   # We found a bogon in the path, so make sure we never use it.
                   2941:   set dummy $ac_cv_prog_CC
                   2942:   shift
                   2943:   if test $# != 0; then
                   2944:     # We chose a different compiler from the bogus one.
                   2945:     # However, it has the same basename, so the bogon will be chosen
                   2946:     # first if we set CC to just the basename; use the full file name.
                   2947:     shift
                   2948:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   2949:   fi
                   2950: fi
                   2951: fi
                   2952: fi
                   2953: CC=$ac_cv_prog_CC
                   2954: if test -n "$CC"; then
                   2955:   echo "$as_me:$LINENO: result: $CC" >&5
                   2956: echo "${ECHO_T}$CC" >&6
                   2957: else
                   2958:   echo "$as_me:$LINENO: result: no" >&5
                   2959: echo "${ECHO_T}no" >&6
1.1       paf      2960: fi
                   2961: 
1.66      paf      2962: fi
                   2963: if test -z "$CC"; then
                   2964:   if test -n "$ac_tool_prefix"; then
                   2965:   for ac_prog in cl
1.62      paf      2966:   do
                   2967:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   2968: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   2969: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2970: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.66      paf      2971: if test "${ac_cv_prog_CC+set}" = set; then
1.62      paf      2972:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2973: else
1.66      paf      2974:   if test -n "$CC"; then
                   2975:   ac_cv_prog_CC="$CC" # Let the user override the test.
1.62      paf      2976: else
                   2977: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2978: for as_dir in $PATH
                   2979: do
                   2980:   IFS=$as_save_IFS
                   2981:   test -z "$as_dir" && as_dir=.
                   2982:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2983:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      2984:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.62      paf      2985:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2986:     break 2
                   2987:   fi
                   2988: done
                   2989: done
1.1       paf      2990: 
1.62      paf      2991: fi
                   2992: fi
1.66      paf      2993: CC=$ac_cv_prog_CC
                   2994: if test -n "$CC"; then
                   2995:   echo "$as_me:$LINENO: result: $CC" >&5
                   2996: echo "${ECHO_T}$CC" >&6
1.1       paf      2997: else
1.62      paf      2998:   echo "$as_me:$LINENO: result: no" >&5
                   2999: echo "${ECHO_T}no" >&6
1.1       paf      3000: fi
                   3001: 
1.66      paf      3002:     test -n "$CC" && break
1.62      paf      3003:   done
                   3004: fi
1.66      paf      3005: if test -z "$CC"; then
                   3006:   ac_ct_CC=$CC
                   3007:   for ac_prog in cl
1.62      paf      3008: do
                   3009:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3010: set dummy $ac_prog; ac_word=$2
                   3011: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   3012: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.66      paf      3013: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.62      paf      3014:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3015: else
1.66      paf      3016:   if test -n "$ac_ct_CC"; then
                   3017:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1       paf      3018: else
1.62      paf      3019: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3020: for as_dir in $PATH
                   3021: do
                   3022:   IFS=$as_save_IFS
                   3023:   test -z "$as_dir" && as_dir=.
                   3024:   for ac_exec_ext in '' $ac_executable_extensions; do
                   3025:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      3026:     ac_cv_prog_ac_ct_CC="$ac_prog"
1.62      paf      3027:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3028:     break 2
                   3029:   fi
                   3030: done
                   3031: done
                   3032: 
                   3033: fi
                   3034: fi
1.66      paf      3035: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3036: if test -n "$ac_ct_CC"; then
                   3037:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   3038: echo "${ECHO_T}$ac_ct_CC" >&6
1.1       paf      3039: else
1.62      paf      3040:   echo "$as_me:$LINENO: result: no" >&5
                   3041: echo "${ECHO_T}no" >&6
1.1       paf      3042: fi
                   3043: 
1.66      paf      3044:   test -n "$ac_ct_CC" && break
                   3045: done
                   3046: 
                   3047:   CC=$ac_ct_CC
                   3048: fi
                   3049: 
                   3050: fi
1.62      paf      3051: 
1.1       paf      3052: 
1.66      paf      3053: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
                   3054: See \`config.log' for more details." >&5
                   3055: echo "$as_me: error: no acceptable C compiler found in \$PATH
                   3056: See \`config.log' for more details." >&2;}
                   3057:    { (exit 1); exit 1; }; }
1.62      paf      3058: 
                   3059: # Provide some information about the compiler.
                   3060: echo "$as_me:$LINENO:" \
1.66      paf      3061:      "checking for C compiler version" >&5
1.62      paf      3062: ac_compiler=`set X $ac_compile; echo $2`
                   3063: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
                   3064:   (eval $ac_compiler --version </dev/null >&5) 2>&5
                   3065:   ac_status=$?
                   3066:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3067:   (exit $ac_status); }
                   3068: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
                   3069:   (eval $ac_compiler -v </dev/null >&5) 2>&5
                   3070:   ac_status=$?
                   3071:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3072:   (exit $ac_status); }
                   3073: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
                   3074:   (eval $ac_compiler -V </dev/null >&5) 2>&5
                   3075:   ac_status=$?
                   3076:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3077:   (exit $ac_status); }
                   3078: 
1.66      paf      3079: echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
                   3080: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
                   3081: if test "${ac_cv_c_compiler_gnu+set}" = set; then
1.62      paf      3082:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3083: else
                   3084:   cat >conftest.$ac_ext <<_ACEOF
                   3085: #line $LINENO "configure"
                   3086: /* confdefs.h.  */
                   3087: _ACEOF
                   3088: cat confdefs.h >>conftest.$ac_ext
                   3089: cat >>conftest.$ac_ext <<_ACEOF
                   3090: /* end confdefs.h.  */
                   3091: 
                   3092: int
                   3093: main ()
                   3094: {
                   3095: #ifndef __GNUC__
                   3096:        choke me
                   3097: #endif
                   3098: 
                   3099:   ;
                   3100:   return 0;
                   3101: }
                   3102: _ACEOF
                   3103: rm -f conftest.$ac_objext
                   3104: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   3105:   (eval $ac_compile) 2>&5
                   3106:   ac_status=$?
                   3107:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3108:   (exit $ac_status); } &&
                   3109:          { ac_try='test -s conftest.$ac_objext'
                   3110:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3111:   (eval $ac_try) 2>&5
                   3112:   ac_status=$?
                   3113:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3114:   (exit $ac_status); }; }; then
                   3115:   ac_compiler_gnu=yes
                   3116: else
                   3117:   echo "$as_me: failed program was:" >&5
                   3118: sed 's/^/| /' conftest.$ac_ext >&5
                   3119: 
                   3120: ac_compiler_gnu=no
                   3121: fi
                   3122: rm -f conftest.$ac_objext conftest.$ac_ext
1.66      paf      3123: ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.62      paf      3124: 
                   3125: fi
1.66      paf      3126: echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
                   3127: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
                   3128: GCC=`test $ac_compiler_gnu = yes && echo yes`
                   3129: ac_test_CFLAGS=${CFLAGS+set}
                   3130: ac_save_CFLAGS=$CFLAGS
                   3131: CFLAGS="-g"
                   3132: echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
                   3133: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
                   3134: if test "${ac_cv_prog_cc_g+set}" = set; then
1.62      paf      3135:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3136: else
                   3137:   cat >conftest.$ac_ext <<_ACEOF
                   3138: #line $LINENO "configure"
                   3139: /* confdefs.h.  */
                   3140: _ACEOF
                   3141: cat confdefs.h >>conftest.$ac_ext
                   3142: cat >>conftest.$ac_ext <<_ACEOF
                   3143: /* end confdefs.h.  */
                   3144: 
                   3145: int
                   3146: main ()
                   3147: {
                   3148: 
                   3149:   ;
                   3150:   return 0;
                   3151: }
                   3152: _ACEOF
                   3153: rm -f conftest.$ac_objext
                   3154: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   3155:   (eval $ac_compile) 2>&5
                   3156:   ac_status=$?
                   3157:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3158:   (exit $ac_status); } &&
                   3159:          { ac_try='test -s conftest.$ac_objext'
                   3160:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3161:   (eval $ac_try) 2>&5
                   3162:   ac_status=$?
                   3163:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3164:   (exit $ac_status); }; }; then
1.66      paf      3165:   ac_cv_prog_cc_g=yes
1.62      paf      3166: else
                   3167:   echo "$as_me: failed program was:" >&5
                   3168: sed 's/^/| /' conftest.$ac_ext >&5
                   3169: 
1.66      paf      3170: ac_cv_prog_cc_g=no
1.62      paf      3171: fi
                   3172: rm -f conftest.$ac_objext conftest.$ac_ext
                   3173: fi
1.66      paf      3174: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
                   3175: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
                   3176: if test "$ac_test_CFLAGS" = set; then
                   3177:   CFLAGS=$ac_save_CFLAGS
                   3178: elif test $ac_cv_prog_cc_g = yes; then
                   3179:   if test "$GCC" = yes; then
                   3180:     CFLAGS="-g -O2"
1.1       paf      3181:   else
1.66      paf      3182:     CFLAGS="-g"
1.1       paf      3183:   fi
                   3184: else
1.66      paf      3185:   if test "$GCC" = yes; then
                   3186:     CFLAGS="-O2"
1.1       paf      3187:   else
1.66      paf      3188:     CFLAGS=
1.1       paf      3189:   fi
                   3190: fi
1.66      paf      3191: echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
                   3192: echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
                   3193: if test "${ac_cv_prog_cc_stdc+set}" = set; then
                   3194:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3195: else
                   3196:   ac_cv_prog_cc_stdc=no
                   3197: ac_save_CC=$CC
                   3198: cat >conftest.$ac_ext <<_ACEOF
                   3199: #line $LINENO "configure"
                   3200: /* confdefs.h.  */
                   3201: _ACEOF
                   3202: cat confdefs.h >>conftest.$ac_ext
                   3203: cat >>conftest.$ac_ext <<_ACEOF
                   3204: /* end confdefs.h.  */
                   3205: #include <stdarg.h>
                   3206: #include <stdio.h>
                   3207: #include <sys/types.h>
                   3208: #include <sys/stat.h>
                   3209: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   3210: struct buf { int x; };
                   3211: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   3212: static char *e (p, i)
                   3213:      char **p;
                   3214:      int i;
                   3215: {
                   3216:   return p[i];
                   3217: }
                   3218: static char *f (char * (*g) (char **, int), char **p, ...)
                   3219: {
                   3220:   char *s;
                   3221:   va_list v;
                   3222:   va_start (v,p);
                   3223:   s = g (p, va_arg (v,int));
                   3224:   va_end (v);
                   3225:   return s;
                   3226: }
                   3227: int test (int i, double x);
                   3228: struct s1 {int (*f) (int a);};
                   3229: struct s2 {int (*f) (double a);};
                   3230: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   3231: int argc;
                   3232: char **argv;
                   3233: int
                   3234: main ()
                   3235: {
                   3236: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   3237:   ;
                   3238:   return 0;
                   3239: }
                   3240: _ACEOF
                   3241: # Don't try gcc -ansi; that turns off useful extensions and
                   3242: # breaks some systems' header files.
                   3243: # AIX                  -qlanglvl=ansi
                   3244: # Ultrix and OSF/1     -std1
                   3245: # HP-UX 10.20 and later        -Ae
                   3246: # HP-UX older versions -Aa -D_HPUX_SOURCE
                   3247: # SVR4                 -Xc -D__EXTENSIONS__
                   3248: for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
                   3249: do
                   3250:   CC="$ac_save_CC $ac_arg"
                   3251:   rm -f conftest.$ac_objext
                   3252: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   3253:   (eval $ac_compile) 2>&5
                   3254:   ac_status=$?
                   3255:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3256:   (exit $ac_status); } &&
                   3257:          { ac_try='test -s conftest.$ac_objext'
                   3258:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3259:   (eval $ac_try) 2>&5
                   3260:   ac_status=$?
                   3261:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3262:   (exit $ac_status); }; }; then
                   3263:   ac_cv_prog_cc_stdc=$ac_arg
                   3264: break
                   3265: else
                   3266:   echo "$as_me: failed program was:" >&5
                   3267: sed 's/^/| /' conftest.$ac_ext >&5
                   3268: 
                   3269: fi
                   3270: rm -f conftest.$ac_objext
                   3271: done
                   3272: rm -f conftest.$ac_ext conftest.$ac_objext
                   3273: CC=$ac_save_CC
                   3274: 
                   3275: fi
                   3276: 
                   3277: case "x$ac_cv_prog_cc_stdc" in
                   3278:   x|xno)
                   3279:     echo "$as_me:$LINENO: result: none needed" >&5
                   3280: echo "${ECHO_T}none needed" >&6 ;;
                   3281:   *)
                   3282:     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
                   3283: echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
                   3284:     CC="$CC $ac_cv_prog_cc_stdc" ;;
                   3285: esac
                   3286: 
                   3287: # Some people use a C++ compiler to compile C.  Since we use `exit',
                   3288: # in C++ we need to declare it.  In case someone uses the same compiler
                   3289: # for both compiling C and C++ we need to have the C++ compiler decide
                   3290: # the declaration of exit, since it's the most demanding environment.
                   3291: cat >conftest.$ac_ext <<_ACEOF
                   3292: #ifndef __cplusplus
                   3293:   choke me
                   3294: #endif
                   3295: _ACEOF
                   3296: rm -f conftest.$ac_objext
                   3297: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   3298:   (eval $ac_compile) 2>&5
                   3299:   ac_status=$?
                   3300:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3301:   (exit $ac_status); } &&
                   3302:          { ac_try='test -s conftest.$ac_objext'
                   3303:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3304:   (eval $ac_try) 2>&5
                   3305:   ac_status=$?
                   3306:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3307:   (exit $ac_status); }; }; then
                   3308:   for ac_declaration in \
1.62      paf      3309:    ''\
                   3310:    '#include <stdlib.h>' \
                   3311:    'extern "C" void std::exit (int) throw (); using std::exit;' \
                   3312:    'extern "C" void std::exit (int); using std::exit;' \
                   3313:    'extern "C" void exit (int) throw ();' \
                   3314:    'extern "C" void exit (int);' \
                   3315:    'void exit (int);'
                   3316: do
                   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: #include <stdlib.h>
                   3325: $ac_declaration
                   3326: int
                   3327: main ()
                   3328: {
                   3329: exit (42);
                   3330:   ;
                   3331:   return 0;
                   3332: }
                   3333: _ACEOF
                   3334: rm -f conftest.$ac_objext
                   3335: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   3336:   (eval $ac_compile) 2>&5
                   3337:   ac_status=$?
                   3338:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3339:   (exit $ac_status); } &&
                   3340:          { ac_try='test -s conftest.$ac_objext'
                   3341:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3342:   (eval $ac_try) 2>&5
                   3343:   ac_status=$?
                   3344:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3345:   (exit $ac_status); }; }; then
                   3346:   :
                   3347: else
                   3348:   echo "$as_me: failed program was:" >&5
                   3349: sed 's/^/| /' conftest.$ac_ext >&5
                   3350: 
                   3351: continue
                   3352: fi
                   3353: rm -f conftest.$ac_objext conftest.$ac_ext
                   3354:   cat >conftest.$ac_ext <<_ACEOF
                   3355: #line $LINENO "configure"
                   3356: /* confdefs.h.  */
                   3357: _ACEOF
                   3358: cat confdefs.h >>conftest.$ac_ext
                   3359: cat >>conftest.$ac_ext <<_ACEOF
                   3360: /* end confdefs.h.  */
                   3361: $ac_declaration
                   3362: int
                   3363: main ()
                   3364: {
                   3365: exit (42);
                   3366:   ;
                   3367:   return 0;
                   3368: }
                   3369: _ACEOF
                   3370: rm -f conftest.$ac_objext
                   3371: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   3372:   (eval $ac_compile) 2>&5
                   3373:   ac_status=$?
                   3374:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3375:   (exit $ac_status); } &&
                   3376:          { ac_try='test -s conftest.$ac_objext'
                   3377:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3378:   (eval $ac_try) 2>&5
                   3379:   ac_status=$?
                   3380:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3381:   (exit $ac_status); }; }; then
                   3382:   break
                   3383: else
                   3384:   echo "$as_me: failed program was:" >&5
                   3385: sed 's/^/| /' conftest.$ac_ext >&5
                   3386: 
                   3387: fi
                   3388: rm -f conftest.$ac_objext conftest.$ac_ext
                   3389: done
                   3390: rm -f conftest*
                   3391: if test -n "$ac_declaration"; then
                   3392:   echo '#ifdef __cplusplus' >>confdefs.h
                   3393:   echo $ac_declaration      >>confdefs.h
                   3394:   echo '#endif'             >>confdefs.h
                   3395: fi
                   3396: 
1.66      paf      3397: else
                   3398:   echo "$as_me: failed program was:" >&5
                   3399: sed 's/^/| /' conftest.$ac_ext >&5
                   3400: 
                   3401: fi
                   3402: rm -f conftest.$ac_objext conftest.$ac_ext
1.62      paf      3403: ac_ext=c
                   3404: ac_cpp='$CPP $CPPFLAGS'
                   3405: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3406: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3407: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3408: 
1.66      paf      3409: depcc="$CC"   am_compiler_list=
1.62      paf      3410: 
                   3411: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
                   3412: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
1.66      paf      3413: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
1.62      paf      3414:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3415: else
                   3416:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   3417:   # We make a subdir and do the tests there.  Otherwise we can end up
                   3418:   # making bogus files that we don't know about and never remove.  For
                   3419:   # instance it was reported that on HP-UX the gcc test will end up
                   3420:   # making a dummy file named `D' -- because `-MD' means `put the output
                   3421:   # in D'.
                   3422:   mkdir conftest.dir
                   3423:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   3424:   # using a relative directory.
                   3425:   cp "$am_depcomp" conftest.dir
                   3426:   cd conftest.dir
                   3427: 
1.66      paf      3428:   am_cv_CC_dependencies_compiler_type=none
1.62      paf      3429:   if test "$am_compiler_list" = ""; then
                   3430:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   3431:   fi
                   3432:   for depmode in $am_compiler_list; do
                   3433:     # We need to recreate these files for each test, as the compiler may
                   3434:     # overwrite some of them when testing with obscure command lines.
                   3435:     # This happens at least with the AIX C compiler.
                   3436:     echo '#include "conftest.h"' > conftest.c
                   3437:     echo 'int i;' > conftest.h
                   3438:     echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
                   3439: 
                   3440:     case $depmode in
                   3441:     nosideeffect)
                   3442:       # after this tag, mechanisms are not by side-effect, so they'll
                   3443:       # only be used when explicitly requested
                   3444:       if test "x$enable_dependency_tracking" = xyes; then
                   3445:        continue
                   3446:       else
                   3447:        break
                   3448:       fi
                   3449:       ;;
                   3450:     none) break ;;
                   3451:     esac
                   3452:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   3453:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   3454:     # handle `-M -o', and we need to detect this.
1.66      paf      3455:     if depmode=$depmode \
                   3456:        source=conftest.c object=conftest.o \
                   3457:        depfile=conftest.Po tmpdepfile=conftest.TPo \
                   3458:        $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 &&
                   3459:        grep conftest.h conftest.Po > /dev/null 2>&1 &&
                   3460:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
                   3461:       am_cv_CC_dependencies_compiler_type=$depmode
                   3462:       break
                   3463:     fi
                   3464:   done
                   3465: 
                   3466:   cd ..
                   3467:   rm -rf conftest.dir
                   3468: else
                   3469:   am_cv_CC_dependencies_compiler_type=none
                   3470: fi
                   3471: 
                   3472: fi
                   3473: echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
                   3474: echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
                   3475: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   3476: 
                   3477: 
                   3478: 
                   3479: if
                   3480:   test "x$enable_dependency_tracking" != xno \
                   3481:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   3482:   am__fastdepCC_TRUE=
                   3483:   am__fastdepCC_FALSE='#'
                   3484: else
                   3485:   am__fastdepCC_TRUE='#'
                   3486:   am__fastdepCC_FALSE=
                   3487: fi
                   3488: 
                   3489: 
                   3490: ac_ext=c
                   3491: ac_cpp='$CPP $CPPFLAGS'
                   3492: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3493: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3494: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3495: 
                   3496: echo "$as_me:$LINENO: checking for inline" >&5
                   3497: echo $ECHO_N "checking for inline... $ECHO_C" >&6
                   3498: if test "${ac_cv_c_inline+set}" = set; then
                   3499:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3500: else
                   3501:   ac_cv_c_inline=no
                   3502: for ac_kw in inline __inline__ __inline; do
                   3503:   cat >conftest.$ac_ext <<_ACEOF
                   3504: #line $LINENO "configure"
                   3505: /* confdefs.h.  */
                   3506: _ACEOF
                   3507: cat confdefs.h >>conftest.$ac_ext
                   3508: cat >>conftest.$ac_ext <<_ACEOF
                   3509: /* end confdefs.h.  */
                   3510: #ifndef __cplusplus
                   3511: typedef int foo_t;
                   3512: static $ac_kw foo_t static_foo () {return 0; }
                   3513: $ac_kw foo_t foo () {return 0; }
                   3514: #endif
1.62      paf      3515: 
1.66      paf      3516: _ACEOF
                   3517: rm -f conftest.$ac_objext
                   3518: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   3519:   (eval $ac_compile) 2>&5
                   3520:   ac_status=$?
                   3521:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3522:   (exit $ac_status); } &&
                   3523:          { ac_try='test -s conftest.$ac_objext'
                   3524:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3525:   (eval $ac_try) 2>&5
                   3526:   ac_status=$?
                   3527:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3528:   (exit $ac_status); }; }; then
                   3529:   ac_cv_c_inline=$ac_kw; break
1.62      paf      3530: else
1.66      paf      3531:   echo "$as_me: failed program was:" >&5
                   3532: sed 's/^/| /' conftest.$ac_ext >&5
1.62      paf      3533: 
                   3534: fi
1.66      paf      3535: rm -f conftest.$ac_objext conftest.$ac_ext
                   3536: done
1.62      paf      3537: 
                   3538: fi
1.66      paf      3539: echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
                   3540: echo "${ECHO_T}$ac_cv_c_inline" >&6
                   3541: case $ac_cv_c_inline in
                   3542:   inline | yes) ;;
                   3543:   no)
                   3544: cat >>confdefs.h <<\_ACEOF
                   3545: #define inline
                   3546: _ACEOF
                   3547:  ;;
                   3548:   *)  cat >>confdefs.h <<_ACEOF
                   3549: #define inline $ac_cv_c_inline
                   3550: _ACEOF
                   3551:  ;;
                   3552: esac
1.1       paf      3553: 
                   3554: 
                   3555: 
1.60      paf      3556: # Check whether --enable-safe-mode or --disable-safe-mode was given.
                   3557: if test "${enable_safe_mode+set}" = set; then
                   3558:   enableval="$enable_safe_mode"
1.62      paf      3559: 
1.60      paf      3560:     SAFE_MODE=$enableval
                   3561: 
1.1       paf      3562: 
1.62      paf      3563: fi;
1.60      paf      3564: if test "$SAFE_MODE" = "no"; then
1.62      paf      3565:        { echo "$as_me:$LINENO: WARNING: enabling reading of files belonging to group+user other then effective" >&5
                   3566: echo "$as_me: WARNING: enabling reading of files belonging to group+user other then effective" >&2;}
1.60      paf      3567: else
1.62      paf      3568: 
                   3569: cat >>confdefs.h <<\_ACEOF
                   3570: #define PA_SAFE_MODE
                   3571: _ACEOF
1.1       paf      3572: 
                   3573: fi
                   3574: 
1.13      paf      3575: # Check whether --enable-execs or --disable-execs was given.
                   3576: if test "${enable_execs+set}" = set; then
                   3577:   enableval="$enable_execs"
1.62      paf      3578: 
1.13      paf      3579: if test "$enableval" = "no"; then
1.62      paf      3580:        { echo "$as_me:$LINENO: WARNING: disabling file execs" >&5
                   3581: echo "$as_me: WARNING: disabling file execs" >&2;}
                   3582: 
                   3583: cat >>confdefs.h <<\_ACEOF
                   3584: #define NO_PA_EXECS
                   3585: _ACEOF
1.13      paf      3586: 
                   3587: fi
                   3588: 
                   3589: 
1.62      paf      3590: fi;
1.13      paf      3591: 
1.60      paf      3592: # Check whether --enable-string-origins or --disable-string-origins was given.
                   3593: if test "${enable_string_origins+set}" = set; then
                   3594:   enableval="$enable_string_origins"
1.62      paf      3595: 
1.14      paf      3596: if test "$enableval" = "no"; then
1.62      paf      3597:        { echo "$as_me:$LINENO: WARNING: disabling string origin tracking" >&5
                   3598: echo "$as_me: WARNING: disabling string origin tracking" >&2;}
                   3599: 
                   3600: cat >>confdefs.h <<\_ACEOF
                   3601: #define NO_STRING_ORIGIN
                   3602: _ACEOF
1.14      paf      3603: 
                   3604: fi
                   3605: 
                   3606: 
1.62      paf      3607: fi;
1.60      paf      3608: 
                   3609: 
1.18      paf      3610: srccharsetsdir=$srcdir/etc/parser3.charsets
1.17      paf      3611: CHARSETS_REQUESTED="windows-1251"
1.62      paf      3612: 
1.17      paf      3613: # Check whether --with-charsets or --without-charsets was given.
                   3614: if test "${with_charsets+set}" = set; then
                   3615:   withval="$with_charsets"
                   3616:   CHARSETS_REQUESTED=`echo $withval | sed -e 's/,/ /g'`
1.62      paf      3617: fi;
1.17      paf      3618: 
1.18      paf      3619: # Checking whether all requested charsets have corresponding .cfg files
                   3620: for c in $CHARSETS_REQUESTED; do
                   3621:        if test \! -f $srccharsetsdir/$c.cfg; then
1.62      paf      3622:                { { echo "$as_me:$LINENO: error: bad charset requested \"$c\" - file $srccharsetsdir/$c.cfg not found" >&5
                   3623: echo "$as_me: error: bad charset requested \"$c\" - file $srccharsetsdir/$c.cfg not found" >&2;}
                   3624:    { (exit 1); exit 1; }; }
1.18      paf      3625:        fi
                   3626: done
1.17      paf      3627: 
1.18      paf      3628: # Switching on commentcharset_XXX='#'
1.17      paf      3629: 
                   3630: 
                   3631:        commentcharset_windows1251='#'
1.18      paf      3632:        for c in $CHARSETS_REQUESTED; do
1.17      paf      3633:                if test "windows-1251" = "$c"; then
1.62      paf      3634:                        { echo "$as_me:$LINENO: WARNING: enabling charset windows-1251" >&5
                   3635: echo "$as_me: WARNING: enabling charset windows-1251" >&2;}
1.18      paf      3636:                        commentcharset_windows1251=
1.17      paf      3637:                fi
                   3638:        done
1.62      paf      3639: 
1.17      paf      3640: 
                   3641: 
                   3642:        commentcharset_windows1250='#'
1.18      paf      3643:        for c in $CHARSETS_REQUESTED; do
1.17      paf      3644:                if test "windows-1250" = "$c"; then
1.62      paf      3645:                        { echo "$as_me:$LINENO: WARNING: enabling charset windows-1250" >&5
                   3646: echo "$as_me: WARNING: enabling charset windows-1250" >&2;}
1.18      paf      3647:                        commentcharset_windows1250=
1.17      paf      3648:                fi
                   3649:        done
1.62      paf      3650: 
1.17      paf      3651: 
                   3652: 
                   3653:        commentcharset_windows1257='#'
1.18      paf      3654:        for c in $CHARSETS_REQUESTED; do
1.17      paf      3655:                if test "windows-1257" = "$c"; then
1.62      paf      3656:                        { echo "$as_me:$LINENO: WARNING: enabling charset windows-1257" >&5
                   3657: echo "$as_me: WARNING: enabling charset windows-1257" >&2;}
1.18      paf      3658:                        commentcharset_windows1257=
1.17      paf      3659:                fi
                   3660:        done
1.62      paf      3661: 
1.17      paf      3662: 
                   3663: 
                   3664:        commentcharset_koi8r='#'
1.18      paf      3665:        for c in $CHARSETS_REQUESTED; do
1.17      paf      3666:                if test "koi8-r" = "$c"; then
1.62      paf      3667:                        { echo "$as_me:$LINENO: WARNING: enabling charset koi8-r" >&5
                   3668: echo "$as_me: WARNING: enabling charset koi8-r" >&2;}
1.18      paf      3669:                        commentcharset_koi8r=
1.17      paf      3670:                fi
                   3671:        done
                   3672: 
                   3673: 
                   3674: 
1.62      paf      3675: 
                   3676: echo "$as_me:$LINENO: checking for dynamic-link library extension" >&5
                   3677: echo $ECHO_N "checking for dynamic-link library extension... $ECHO_C" >&6
1.40      paf      3678: case "$host_os" in
                   3679: hpux9* | hpux10* | hpux11*)
                   3680:     dll_extension=sl
                   3681:     ;;
                   3682: cygwin)
                   3683:     dll_extension=dll
                   3684:     ;;
                   3685: *)
                   3686:     dll_extension=so
                   3687: esac
1.62      paf      3688: echo "$as_me:$LINENO: result: $dll_extension" >&5
                   3689: echo "${ECHO_T}$dll_extension" >&6
                   3690: 
1.40      paf      3691: 
                   3692: 
1.17      paf      3693: # Check whether --with-mysql-client or --without-mysql-client was given.
                   3694: if test "${with_mysql_client+set}" = set; then
                   3695:   withval="$with_mysql_client"
                   3696:   mysql_client=$withval
                   3697: 
                   3698: else
1.62      paf      3699:   echo "$as_me:$LINENO: checking for mysql client" >&5
                   3700: echo $ECHO_N "checking for mysql client... $ECHO_C" >&6
1.17      paf      3701:        for lib in \
1.40      paf      3702:                /usr/local/lib/mysql/libmysqlclient.$dll_extension \
                   3703:                /usr/local/lib/libmysqlclient.$dll_extension \
                   3704:                /usr/lib/libmysqlclient.$dll_extension; do
1.17      paf      3705:                if test -f $lib; then mysql_client=$lib; fi
                   3706:        done
                   3707: 
                   3708:        if test -z "$mysql_client"; then
                   3709:                mysql_client="-configure could not guess-"
1.66      paf      3710:                echo "$as_me:$LINENO: result: could not guess" >&5
                   3711: echo "${ECHO_T}could not guess" >&6
1.17      paf      3712:        else
1.62      paf      3713:                echo "$as_me:$LINENO: result: $mysql_client" >&5
                   3714: echo "${ECHO_T}$mysql_client" >&6
1.17      paf      3715:        fi
                   3716: 
                   3717: 
1.62      paf      3718: fi;
1.17      paf      3719: 
                   3720: 
                   3721: 
                   3722: # Check whether --with-pgsql-client or --without-pgsql-client was given.
                   3723: if test "${with_pgsql_client+set}" = set; then
                   3724:   withval="$with_pgsql_client"
                   3725:   mysql_client=$withval
                   3726: 
                   3727: else
1.62      paf      3728:   echo "$as_me:$LINENO: checking for pgsql client" >&5
                   3729: echo $ECHO_N "checking for pgsql client... $ECHO_C" >&6
1.17      paf      3730:        for lib in \
1.40      paf      3731:                /usr/local/pgsql/lib/libpq.$dll_extension \
                   3732:                /usr/local/lib/libpq.$dll_extension \
                   3733:                /usr/lib/libpq.$dll_extension; do
1.17      paf      3734:                if test -f $lib; then pgsql_client=$lib; fi
                   3735:        done
                   3736: 
                   3737:        if test -z "$pgsql_client"; then
                   3738:                pgsql_client="-configure could not guess-"
1.66      paf      3739:                echo "$as_me:$LINENO: result: could not guess" >&5
                   3740: echo "${ECHO_T}could not guess" >&6
1.17      paf      3741:        else
1.62      paf      3742:                echo "$as_me:$LINENO: result: $pgsql_client" >&5
                   3743: echo "${ECHO_T}$pgsql_client" >&6
1.17      paf      3744:        fi
                   3745: 
                   3746: 
1.62      paf      3747: fi;
1.17      paf      3748: 
                   3749: 
                   3750: 
                   3751: # Check whether --with-oracle-client or --without-oracle-client was given.
                   3752: if test "${with_oracle_client+set}" = set; then
                   3753:   withval="$with_oracle_client"
                   3754:   oracle_client=$withval
                   3755: 
                   3756: else
1.62      paf      3757:   echo "$as_me:$LINENO: checking for oracle client" >&5
                   3758: echo $ECHO_N "checking for oracle client... $ECHO_C" >&6
1.40      paf      3759:        lib=$ORACLE_HOME/lib/libclntsh.$dll_extension
1.17      paf      3760:        if test -f $lib; then oracle_client=$lib; fi
                   3761: 
                   3762:        if test -z "$oracle_client"; then
                   3763:                oracle_client="-configure could not guess-"
1.66      paf      3764:                echo "$as_me:$LINENO: result: could not guess" >&5
                   3765: echo "${ECHO_T}could not guess" >&6
1.17      paf      3766:        else
                   3767:                oracle_client="$oracle_client?ORACLE_HOME=$ORACLE_HOME&ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data"
1.62      paf      3768:                echo "$as_me:$LINENO: result: $oracle_client" >&5
                   3769: echo "${ECHO_T}$oracle_client" >&6
1.17      paf      3770:        fi
                   3771: 
                   3772: 
1.62      paf      3773: fi;
1.17      paf      3774: 
                   3775: 
                   3776: 
                   3777: 
1.14      paf      3778: 
1.1       paf      3779: # Check whether --with-pathlink or --without-pathlink was given.
                   3780: if test "${with_pathlink+set}" = set; then
                   3781:   withval="$with_pathlink"
                   3782:   LD_PATHLINK=$withval
                   3783: 
1.62      paf      3784: fi;
1.1       paf      3785: 
1.59      paf      3786: # Check whether --with-link-stdcpp or --without-link-stdcpp was given.
                   3787: if test "${with_link_stdcpp+set}" = set; then
                   3788:   withval="$with_link_stdcpp"
1.62      paf      3789: 
1.59      paf      3790: LIBSTDCPP_PATH=$withval
                   3791: if test "$LIBSTDCPP_PATH" = "no"; then
1.62      paf      3792:        { echo "$as_me:$LINENO: WARNING: disabling libstdc++ linkage" >&5
                   3793: echo "$as_me: WARNING: disabling libstdc++ linkage" >&2;}
1.59      paf      3794: else
                   3795:        if test -z "$LD_PATHLINK"; then
1.62      paf      3796:            { { echo "$as_me:$LINENO: error: when using --with-link-stdcpp one must specify --with-pathlink" >&5
                   3797: echo "$as_me: error: when using --with-link-stdcpp one must specify --with-pathlink" >&2;}
                   3798:    { (exit 1); exit 1; }; }
1.59      paf      3799:        fi
                   3800:        LIBS="$LIBS -Wl,$LD_PATHLINK -Wl,$LIBSTDCPP_PATH"
                   3801: fi
                   3802: 
                   3803: else
                   3804:   #pseudo path, meaning still link libstdcpp. value needed to trick next _CONDITIONAL
                   3805: LIBSTDCPP_PATH=" "
                   3806: 
1.62      paf      3807: fi;
1.59      paf      3808: 
                   3809: 
                   3810: if test "$LIBSTDCPP_PATH" = "no"; then
                   3811:   DO_NOT_LINK_LIBSTDCPP_TRUE=
                   3812:   DO_NOT_LINK_LIBSTDCPP_FALSE='#'
                   3813: else
                   3814:   DO_NOT_LINK_LIBSTDCPP_TRUE='#'
                   3815:   DO_NOT_LINK_LIBSTDCPP_FALSE=
                   3816: fi
                   3817: 
                   3818: 
                   3819: 
1.62      paf      3820: 
                   3821: 
1.37      paf      3822: # Check whether --with-sjlj-exceptions or --without-sjlj-exceptions was given.
                   3823: if test "${with_sjlj_exceptions+set}" = set; then
                   3824:   withval="$with_sjlj_exceptions"
1.62      paf      3825: 
                   3826: cat >>confdefs.h <<\_ACEOF
                   3827: #define PA_WITH_SJLJ_EXCEPTIONS
                   3828: _ACEOF
1.37      paf      3829: 
                   3830: 
1.62      paf      3831: fi;
1.37      paf      3832: 
1.1       paf      3833: 
1.15      paf      3834: 
1.7       paf      3835: # Check whether --with-glib-config or --without-glib-config was given.
                   3836: if test "${with_glib_config+set}" = set; then
1.66      paf      3837:   withval="$with_glib_config"
                   3838:   GLIB_CONFIG=$withval
                   3839: 
                   3840: fi;
                   3841: 
                   3842: 
                   3843: # Check whether --with-shared-xml or --without-shared-xml was given.
                   3844: if test "${with_shared_xml+set}" = set; then
                   3845:   withval="$with_shared_xml"
                   3846: 
                   3847:     GNOME_XML=$withval
                   3848:     XMLBIN="$GNOME_XML/bin"
                   3849:     XMLINC="$GNOME_XML/include"
                   3850:     XMLLIB="$GNOME_XML/lib"
                   3851: 
                   3852:     if test \! -d $XMLBIN -o \! -d $XMLINC -o \! -d $XMLLIB; then
                   3853:        { { echo "$as_me:$LINENO: error: $GNOME_XML does not seem to be valid Gnome installation directory" >&5
                   3854: echo "$as_me: error: $GNOME_XML does not seem to be valid Gnome installation directory" >&2;}
                   3855:    { (exit 1); exit 1; }; }
                   3856:     fi
                   3857: 
                   3858: 
                   3859: cat >>confdefs.h <<\_ACEOF
                   3860: #define XML
                   3861: _ACEOF
                   3862: 
                   3863: 
                   3864:     LIBXML2_SO_NAME=`cd $XMLLIB ; ls libxml2.?? libxml2.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'`
                   3865:     LIBGDOME_SO_NAME=`cd $XMLLIB ; ls libgdome.?? libgdome.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'`
                   3866:     LIBXSLT_SO_NAME=`cd $XMLLIB ; ls libxslt.?? libxslt.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'`
                   3867:     LIBEXSLT_SO_NAME=`cd $XMLLIB ; ls libexslt.?? libexslt.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'`
                   3868: 
                   3869:     if test -z "$GLIB_CONFIG"; then
                   3870:            GLIB_CONFIG=$XMLBIN/glib-config
                   3871:            if test \! -x $GLIB_CONFIG; then
                   3872:                GLIB_CONFIG=glib-config
                   3873:            fi
                   3874:     fi
                   3875:     GLIB_CFLAGS=`$GLIB_CONFIG --cflags`
                   3876:     GLIB_LIBS=`$GLIB_CONFIG --libs`
                   3877: 
                   3878:     XML_INCLUDES="$GLIB_CFLAGS -I$XMLINC -I$XMLINC/libgdome -I$XMLINC/libxml2"
                   3879:     XML_LIBS="$GLIB_LIBS -L$XMLLIB -l$LIBXML2_SO_NAME -l$LIBGDOME_SO_NAME -l$LIBXSLT_SO_NAME -l$LIBEXSLT_SO_NAME"
                   3880:     if test \! -z "$LD_PATHLINK"; then
                   3881:        XML_LIBS="$XML_LIBS -Wl,$LD_PATHLINK -Wl,$XMLLIB"
                   3882:     fi
                   3883: 
                   3884: fi;
                   3885: 
                   3886: # Check whether --with-static-xml or --without-static-xml was given.
                   3887: if test "${with_static_xml+set}" = set; then
                   3888:   withval="$with_static_xml"
                   3889: 
                   3890:     GNOME_XML=$withval
                   3891:     XMLBIN="$GNOME_XML/bin"
                   3892:     XMLINC="$GNOME_XML/include"
                   3893:     XMLLIB="$GNOME_XML/lib"
                   3894: 
                   3895:     if test \! -d $XMLBIN -o \! -d $XMLINC -o \! -d $XMLLIB; then
                   3896:        { { echo "$as_me:$LINENO: error: $GNOME_XML does not seem to be valid Gnome installation directory" >&5
                   3897: echo "$as_me: error: $GNOME_XML does not seem to be valid Gnome installation directory" >&2;}
                   3898:    { (exit 1); exit 1; }; }
                   3899:     fi
                   3900: 
                   3901: 
                   3902: cat >>confdefs.h <<\_ACEOF
                   3903: #define XML
                   3904: _ACEOF
                   3905: 
                   3906: 
                   3907:     if test -z "$GLIB_CONFIG"; then
                   3908:            GLIB_CONFIG=$XMLBIN/glib-config
                   3909:            if test \! -x $GLIB_CONFIG; then
                   3910:                GLIB_CONFIG=glib-config
                   3911:            fi
                   3912:     fi
                   3913:     GLIB_CFLAGS=`$GLIB_CONFIG --cflags`
                   3914: 
                   3915:     GLIB_DIR=`$GLIB_CONFIG --libs | sed 's/.*-L\([^ ]*\).*/\1/'`
                   3916:     GLIB_NAME=`$GLIB_CONFIG --libs | sed 's/.*-l\([^ ]*\).*/\1/'`
                   3917:     XML_INCLUDES="$GLIB_CFLAGS -I$XMLINC -I$XMLINC/libgdome -I$XMLINC/libxml2"
                   3918:     XML_LIBS="$XMLLIB/libgdome.a $XMLLIB/libxslt.a $XMLLIB/libexslt.a $XMLLIB/libxml2.a $GLIB_DIR/lib$GLIB_NAME.a"
                   3919: 
                   3920: fi;
                   3921: 
                   3922: 
                   3923: 
                   3924: 
                   3925: # Check whether --with-shared-mailreceive or --without-shared-mailreceive was given.
                   3926: if test "${with_shared_mailreceive+set}" = set; then
                   3927:   withval="$with_shared_mailreceive"
                   3928: 
                   3929:     GNOME_MIME=$withval
                   3930:     MIMEBIN="$GNOME_MIME/bin"
                   3931:     MIMEINC="$GNOME_MIME/include"
                   3932:     MIMELIB="$GNOME_MIME/lib"
                   3933: 
                   3934:     if test \! -d $MIMEBIN -o \! -d $MIMEINC -o \! -d $MIMELIB; then
                   3935:        { { echo "$as_me:$LINENO: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&5
                   3936: echo "$as_me: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&2;}
                   3937:    { (exit 1); exit 1; }; }
                   3938:     fi
                   3939: 
                   3940: 
                   3941: cat >>confdefs.h <<\_ACEOF
                   3942: #define WITH_MAILRECEIVE
                   3943: _ACEOF
                   3944: 
                   3945: 
                   3946:     LIBMIME_SO_NAME=`cd $MIMELIB ; ls libgmime.?? libgmime.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'`
                   3947: 
                   3948:     if test -z "$GLIB_CONFIG"; then
                   3949:            GLIB_CONFIG=$MIMEBIN/glib-config
                   3950:            if test \! -x $GLIB_CONFIG; then
                   3951:                GLIB_CONFIG=glib-config
                   3952:            fi
                   3953:     fi
                   3954:     GLIB_CFLAGS=`$GLIB_CONFIG --cflags`
                   3955:     GLIB_LIBS=`$GLIB_CONFIG --libs`
                   3956: 
                   3957:     MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime"
                   3958:     MIME_LIBS="$GLIB_LIBS -L$MIMELIB -l$LIBMIME_SO_NAME"
                   3959:     if test \! -z "$LD_PATHLINK"; then
                   3960:        MIME_LIBS="$MIME_LIBS -Wl,$LD_PATHLINK -Wl,$MIMELIB"
                   3961:     fi
                   3962: 
                   3963: fi;
                   3964: 
                   3965: # Check whether --with-static-mailreceive or --without-static-mailreceive was given.
                   3966: if test "${with_static_mailreceive+set}" = set; then
                   3967:   withval="$with_static_mailreceive"
                   3968: 
                   3969:     GNOME_MIME=$withval
                   3970:     MIMEBIN="$GNOME_MIME/bin"
                   3971:     MIMEINC="$GNOME_MIME/include"
                   3972:     MIMELIB="$GNOME_MIME/lib"
                   3973: 
                   3974:     if test \! -d $MIMEBIN -o \! -d $MIMEINC -o \! -d $MIMELIB; then
                   3975:        { { echo "$as_me:$LINENO: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&5
                   3976: echo "$as_me: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&2;}
                   3977:    { (exit 1); exit 1; }; }
                   3978:     fi
                   3979: 
                   3980: 
                   3981: cat >>confdefs.h <<\_ACEOF
                   3982: #define WITH_MAILRECEIVE
                   3983: _ACEOF
                   3984: 
                   3985: 
                   3986:     if test -z "$GLIB_CONFIG"; then
                   3987:            GLIB_CONFIG=$MIMEBIN/glib-config
                   3988:            if test \! -x $GLIB_CONFIG; then
                   3989:                GLIB_CONFIG=glib-config
                   3990:            fi
                   3991:     fi
                   3992:     GLIB_CFLAGS=`$GLIB_CONFIG --cflags`
                   3993: 
                   3994:     GLIB_DIR=`$GLIB_CONFIG --libs | sed 's/.*-L\([^ ]*\).*/\1/'`
                   3995:     GLIB_NAME=`$GLIB_CONFIG --libs | sed 's/.*-l\([^ ]*\).*/\1/'`
                   3996:     MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime"
                   3997:     MIME_LIBS="$MIMELIB/libgmime.a $GLIB_DIR/lib$GLIB_NAME.a"
                   3998: 
                   3999: fi;
                   4000: 
                   4001: 
                   4002: 
                   4003: 
                   4004: 
                   4005: # Check whether --with-sendmail or --without-sendmail was given.
                   4006: if test "${with_sendmail+set}" = set; then
                   4007:   withval="$with_sendmail"
                   4008: 
                   4009: cat >>confdefs.h <<_ACEOF
                   4010: #define PA_FORCED_SENDMAIL "$withval"
                   4011: _ACEOF
                   4012: 
                   4013: 
                   4014: fi;
                   4015: 
                   4016: 
                   4017: 
                   4018: # Check whether --with-apache13 or --without-apache13 was given.
                   4019: if test "${with_apache13+set}" = set; then
                   4020:   withval="$with_apache13"
                   4021:   APACHE13=$withval
                   4022:     if test \! -f "$APACHE13/src/include/httpd.h"; then
                   4023:        { { echo "$as_me:$LINENO: error: $APACHE13 does not seem to be valid Apache13 source distribution directory" >&5
                   4024: echo "$as_me: error: $APACHE13 does not seem to be valid Apache13 source distribution directory" >&2;}
                   4025:    { (exit 1); exit 1; }; }
                   4026:     fi
1.7       paf      4027: 
1.62      paf      4028: fi;
1.7       paf      4029: 
                   4030: 
1.62      paf      4031: 
1.66      paf      4032: if test -n "$APACHE13"; then
                   4033:   COMPILE_APACHE13_MODULE_TRUE=
                   4034:   COMPILE_APACHE13_MODULE_FALSE='#'
                   4035: else
                   4036:   COMPILE_APACHE13_MODULE_TRUE='#'
                   4037:   COMPILE_APACHE13_MODULE_FALSE=
                   4038: fi
1.1       paf      4039: 
                   4040: 
                   4041: 
1.66      paf      4042:   LIBLTDL='${top_builddir}/'src/lib/ltdl/libltdlc.a
                   4043:   INCLTDL='-I${top_srcdir}/'src/lib/ltdl
1.62      paf      4044: 
                   4045: 
1.7       paf      4046: 
1.1       paf      4047: 
                   4048: 
                   4049: 
1.66      paf      4050: subdirs="$subdirs src/lib/ltdl"
1.62      paf      4051: 
1.10      paf      4052: 
1.66      paf      4053: LIBADD_DL=
1.10      paf      4054: 
1.62      paf      4055: 
1.66      paf      4056: echo "$as_me:$LINENO: checking for shl_load" >&5
                   4057: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
                   4058: if test "${ac_cv_func_shl_load+set}" = set; then
                   4059:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4060: else
                   4061:   cat >conftest.$ac_ext <<_ACEOF
                   4062: #line $LINENO "configure"
                   4063: /* confdefs.h.  */
1.62      paf      4064: _ACEOF
1.66      paf      4065: cat confdefs.h >>conftest.$ac_ext
                   4066: cat >>conftest.$ac_ext <<_ACEOF
                   4067: /* end confdefs.h.  */
                   4068: /* System header to define __stub macros and hopefully few prototypes,
                   4069:     which can conflict with char shl_load (); below.
                   4070:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   4071:     <limits.h> exists even on freestanding compilers.  */
                   4072: #ifdef __STDC__
                   4073: # include <limits.h>
                   4074: #else
                   4075: # include <assert.h>
                   4076: #endif
                   4077: /* Override any gcc2 internal prototype to avoid an error.  */
                   4078: #ifdef __cplusplus
                   4079: extern "C"
                   4080: {
                   4081: #endif
                   4082: /* We use char because int might match the return type of a gcc2
                   4083:    builtin and then its argument prototype would still apply.  */
                   4084: char shl_load ();
                   4085: /* The GNU C library defines this for functions which it implements
                   4086:     to always fail with ENOSYS.  Some functions are actually named
                   4087:     something starting with __ and the normal name is an alias.  */
                   4088: #if defined (__stub_shl_load) || defined (__stub___shl_load)
                   4089: choke me
                   4090: #else
                   4091: char (*f) () = shl_load;
                   4092: #endif
                   4093: #ifdef __cplusplus
                   4094: }
                   4095: #endif
1.10      paf      4096: 
1.66      paf      4097: int
                   4098: main ()
                   4099: {
                   4100: return f != shl_load;
                   4101:   ;
                   4102:   return 0;
                   4103: }
                   4104: _ACEOF
                   4105: rm -f conftest.$ac_objext conftest$ac_exeext
                   4106: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4107:   (eval $ac_link) 2>&5
                   4108:   ac_status=$?
                   4109:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4110:   (exit $ac_status); } &&
                   4111:          { ac_try='test -s conftest$ac_exeext'
                   4112:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4113:   (eval $ac_try) 2>&5
                   4114:   ac_status=$?
                   4115:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4116:   (exit $ac_status); }; }; then
                   4117:   ac_cv_func_shl_load=yes
                   4118: else
                   4119:   echo "$as_me: failed program was:" >&5
                   4120: sed 's/^/| /' conftest.$ac_ext >&5
1.10      paf      4121: 
1.66      paf      4122: ac_cv_func_shl_load=no
                   4123: fi
                   4124: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   4125: fi
                   4126: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
                   4127: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
                   4128: if test $ac_cv_func_shl_load = yes; then
1.10      paf      4129: 
1.66      paf      4130: cat >>confdefs.h <<\_ACEOF
                   4131: #define HAVE_SHL_LOAD 1
                   4132: _ACEOF
1.10      paf      4133: 
1.66      paf      4134: else
                   4135:   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
                   4136: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
                   4137: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
                   4138:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4139: else
                   4140:   ac_check_lib_save_LIBS=$LIBS
                   4141: LIBS="-ldld  $LIBS"
                   4142: cat >conftest.$ac_ext <<_ACEOF
                   4143: #line $LINENO "configure"
                   4144: /* confdefs.h.  */
                   4145: _ACEOF
                   4146: cat confdefs.h >>conftest.$ac_ext
                   4147: cat >>conftest.$ac_ext <<_ACEOF
                   4148: /* end confdefs.h.  */
1.10      paf      4149: 
1.66      paf      4150: /* Override any gcc2 internal prototype to avoid an error.  */
                   4151: #ifdef __cplusplus
                   4152: extern "C"
                   4153: #endif
                   4154: /* We use char because int might match the return type of a gcc2
                   4155:    builtin and then its argument prototype would still apply.  */
                   4156: char shl_load ();
                   4157: int
                   4158: main ()
                   4159: {
                   4160: shl_load ();
                   4161:   ;
                   4162:   return 0;
                   4163: }
                   4164: _ACEOF
                   4165: rm -f conftest.$ac_objext conftest$ac_exeext
                   4166: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4167:   (eval $ac_link) 2>&5
                   4168:   ac_status=$?
                   4169:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4170:   (exit $ac_status); } &&
                   4171:          { ac_try='test -s conftest$ac_exeext'
                   4172:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4173:   (eval $ac_try) 2>&5
                   4174:   ac_status=$?
                   4175:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4176:   (exit $ac_status); }; }; then
                   4177:   ac_cv_lib_dld_shl_load=yes
                   4178: else
                   4179:   echo "$as_me: failed program was:" >&5
                   4180: sed 's/^/| /' conftest.$ac_ext >&5
1.10      paf      4181: 
1.66      paf      4182: ac_cv_lib_dld_shl_load=no
                   4183: fi
                   4184: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   4185: LIBS=$ac_check_lib_save_LIBS
                   4186: fi
                   4187: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
                   4188: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
                   4189: if test $ac_cv_lib_dld_shl_load = yes; then
1.1       paf      4190: 
1.66      paf      4191: cat >>confdefs.h <<\_ACEOF
                   4192: #define HAVE_SHL_LOAD 1
                   4193: _ACEOF
1.1       paf      4194: 
1.66      paf      4195:        LIBADD_DL="$LIBADD_DL -ldld"
                   4196: else
                   4197:   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
                   4198: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
                   4199: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
                   4200:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4201: else
                   4202:   ac_check_lib_save_LIBS=$LIBS
                   4203: LIBS="-ldl  $LIBS"
                   4204: cat >conftest.$ac_ext <<_ACEOF
                   4205: #line $LINENO "configure"
                   4206: /* confdefs.h.  */
                   4207: _ACEOF
                   4208: cat confdefs.h >>conftest.$ac_ext
                   4209: cat >>conftest.$ac_ext <<_ACEOF
                   4210: /* end confdefs.h.  */
1.62      paf      4211: 
1.66      paf      4212: /* Override any gcc2 internal prototype to avoid an error.  */
                   4213: #ifdef __cplusplus
                   4214: extern "C"
                   4215: #endif
                   4216: /* We use char because int might match the return type of a gcc2
                   4217:    builtin and then its argument prototype would still apply.  */
                   4218: char dlopen ();
                   4219: int
                   4220: main ()
                   4221: {
                   4222: dlopen ();
                   4223:   ;
                   4224:   return 0;
                   4225: }
                   4226: _ACEOF
                   4227: rm -f conftest.$ac_objext conftest$ac_exeext
                   4228: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4229:   (eval $ac_link) 2>&5
                   4230:   ac_status=$?
                   4231:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4232:   (exit $ac_status); } &&
                   4233:          { ac_try='test -s conftest$ac_exeext'
                   4234:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4235:   (eval $ac_try) 2>&5
                   4236:   ac_status=$?
                   4237:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4238:   (exit $ac_status); }; }; then
                   4239:   ac_cv_lib_dl_dlopen=yes
                   4240: else
                   4241:   echo "$as_me: failed program was:" >&5
                   4242: sed 's/^/| /' conftest.$ac_ext >&5
1.29      paf      4243: 
1.66      paf      4244: ac_cv_lib_dl_dlopen=no
                   4245: fi
                   4246: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   4247: LIBS=$ac_check_lib_save_LIBS
                   4248: fi
                   4249: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
                   4250: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
                   4251: if test $ac_cv_lib_dl_dlopen = yes; then
1.29      paf      4252: 
1.62      paf      4253: cat >>confdefs.h <<\_ACEOF
1.66      paf      4254: #define HAVE_LIBDL 1
1.62      paf      4255: _ACEOF
                   4256: 
1.66      paf      4257:          LIBADD_DL="-ldl"
                   4258: else
                   4259:   cat >conftest.$ac_ext <<_ACEOF
                   4260: #line $LINENO "configure"
                   4261: /* confdefs.h.  */
                   4262: _ACEOF
                   4263: cat confdefs.h >>conftest.$ac_ext
                   4264: cat >>conftest.$ac_ext <<_ACEOF
                   4265: /* end confdefs.h.  */
                   4266: #if HAVE_DLFCN_H
                   4267: #  include <dlfcn.h>
                   4268: #endif
1.62      paf      4269: 
1.66      paf      4270: int
                   4271: main ()
                   4272: {
                   4273: dlopen(0, 0);
                   4274:   ;
                   4275:   return 0;
                   4276: }
                   4277: _ACEOF
                   4278: rm -f conftest.$ac_objext conftest$ac_exeext
                   4279: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4280:   (eval $ac_link) 2>&5
                   4281:   ac_status=$?
                   4282:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4283:   (exit $ac_status); } &&
                   4284:          { ac_try='test -s conftest$ac_exeext'
                   4285:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4286:   (eval $ac_try) 2>&5
                   4287:   ac_status=$?
                   4288:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4289:   (exit $ac_status); }; }; then
1.29      paf      4290: 
1.66      paf      4291: cat >>confdefs.h <<\_ACEOF
                   4292: #define HAVE_LIBDL 1
                   4293: _ACEOF
1.29      paf      4294: 
1.66      paf      4295: else
                   4296:   echo "$as_me: failed program was:" >&5
                   4297: sed 's/^/| /' conftest.$ac_ext >&5
1.29      paf      4298: 
1.66      paf      4299: echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
                   4300: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
                   4301: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
                   4302:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4303: else
                   4304:   ac_check_lib_save_LIBS=$LIBS
                   4305: LIBS="-lsvld  $LIBS"
                   4306: cat >conftest.$ac_ext <<_ACEOF
                   4307: #line $LINENO "configure"
                   4308: /* confdefs.h.  */
                   4309: _ACEOF
                   4310: cat confdefs.h >>conftest.$ac_ext
                   4311: cat >>conftest.$ac_ext <<_ACEOF
                   4312: /* end confdefs.h.  */
1.29      paf      4313: 
1.66      paf      4314: /* Override any gcc2 internal prototype to avoid an error.  */
                   4315: #ifdef __cplusplus
                   4316: extern "C"
                   4317: #endif
                   4318: /* We use char because int might match the return type of a gcc2
                   4319:    builtin and then its argument prototype would still apply.  */
                   4320: char dlopen ();
                   4321: int
                   4322: main ()
                   4323: {
                   4324: dlopen ();
                   4325:   ;
                   4326:   return 0;
                   4327: }
                   4328: _ACEOF
                   4329: rm -f conftest.$ac_objext conftest$ac_exeext
                   4330: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4331:   (eval $ac_link) 2>&5
                   4332:   ac_status=$?
                   4333:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4334:   (exit $ac_status); } &&
                   4335:          { ac_try='test -s conftest$ac_exeext'
                   4336:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4337:   (eval $ac_try) 2>&5
                   4338:   ac_status=$?
                   4339:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4340:   (exit $ac_status); }; }; then
                   4341:   ac_cv_lib_svld_dlopen=yes
                   4342: else
                   4343:   echo "$as_me: failed program was:" >&5
                   4344: sed 's/^/| /' conftest.$ac_ext >&5
1.29      paf      4345: 
1.66      paf      4346: ac_cv_lib_svld_dlopen=no
                   4347: fi
                   4348: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   4349: LIBS=$ac_check_lib_save_LIBS
                   4350: fi
                   4351: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
                   4352: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
                   4353: if test $ac_cv_lib_svld_dlopen = yes; then
1.62      paf      4354: 
                   4355: cat >>confdefs.h <<\_ACEOF
1.66      paf      4356: #define HAVE_LIBDL 1
1.62      paf      4357: _ACEOF
1.29      paf      4358: 
1.66      paf      4359:              LIBADD_DL="-lsvld"
                   4360: else
                   4361:   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
                   4362: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
                   4363: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
                   4364:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4365: else
                   4366:   ac_check_lib_save_LIBS=$LIBS
                   4367: LIBS="-ldld  $LIBS"
                   4368: cat >conftest.$ac_ext <<_ACEOF
                   4369: #line $LINENO "configure"
                   4370: /* confdefs.h.  */
                   4371: _ACEOF
                   4372: cat confdefs.h >>conftest.$ac_ext
                   4373: cat >>conftest.$ac_ext <<_ACEOF
                   4374: /* end confdefs.h.  */
1.29      paf      4375: 
1.66      paf      4376: /* Override any gcc2 internal prototype to avoid an error.  */
                   4377: #ifdef __cplusplus
                   4378: extern "C"
                   4379: #endif
                   4380: /* We use char because int might match the return type of a gcc2
                   4381:    builtin and then its argument prototype would still apply.  */
                   4382: char dld_link ();
                   4383: int
                   4384: main ()
                   4385: {
                   4386: dld_link ();
                   4387:   ;
                   4388:   return 0;
                   4389: }
                   4390: _ACEOF
                   4391: rm -f conftest.$ac_objext conftest$ac_exeext
                   4392: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4393:   (eval $ac_link) 2>&5
                   4394:   ac_status=$?
                   4395:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4396:   (exit $ac_status); } &&
                   4397:          { ac_try='test -s conftest$ac_exeext'
                   4398:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4399:   (eval $ac_try) 2>&5
                   4400:   ac_status=$?
                   4401:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4402:   (exit $ac_status); }; }; then
                   4403:   ac_cv_lib_dld_dld_link=yes
                   4404: else
                   4405:   echo "$as_me: failed program was:" >&5
                   4406: sed 's/^/| /' conftest.$ac_ext >&5
1.29      paf      4407: 
1.66      paf      4408: ac_cv_lib_dld_dld_link=no
                   4409: fi
                   4410: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   4411: LIBS=$ac_check_lib_save_LIBS
                   4412: fi
                   4413: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
                   4414: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
                   4415: if test $ac_cv_lib_dld_dld_link = yes; then
1.29      paf      4416: 
1.66      paf      4417: cat >>confdefs.h <<\_ACEOF
                   4418: #define HAVE_DLD 1
1.62      paf      4419: _ACEOF
1.16      paf      4420: 
1.66      paf      4421:                LIBADD_DL="$LIBADD_DL -ldld"
1.16      paf      4422: 
1.66      paf      4423: fi
1.16      paf      4424: 
                   4425: 
1.66      paf      4426: fi
1.12      paf      4427: 
                   4428: 
1.66      paf      4429: fi
                   4430: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
1.12      paf      4431: 
                   4432: fi
                   4433: 
                   4434: 
1.66      paf      4435: fi
1.62      paf      4436: 
1.1       paf      4437: 
1.66      paf      4438: fi
1.1       paf      4439: 
                   4440: 
1.66      paf      4441: if test "x$ac_cv_func_dlopen" = xyes || test "x$ac_cv_lib_dl_dlopen" = xyes; then
                   4442:  LIBS_SAVE="$LIBS"
                   4443:  LIBS="$LIBS $LIBADD_DL"
1.1       paf      4444: 
1.66      paf      4445: for ac_func in dlerror
                   4446: do
                   4447: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   4448: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   4449: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   4450: if eval "test \"\${$as_ac_var+set}\" = set"; then
1.62      paf      4451:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      4452: else
1.64      paf      4453:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      4454: #line $LINENO "configure"
                   4455: /* confdefs.h.  */
                   4456: _ACEOF
                   4457: cat confdefs.h >>conftest.$ac_ext
                   4458: cat >>conftest.$ac_ext <<_ACEOF
                   4459: /* end confdefs.h.  */
1.64      paf      4460: /* System header to define __stub macros and hopefully few prototypes,
1.66      paf      4461:     which can conflict with char $ac_func (); below.
1.64      paf      4462:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   4463:     <limits.h> exists even on freestanding compilers.  */
                   4464: #ifdef __STDC__
                   4465: # include <limits.h>
                   4466: #else
                   4467: # include <assert.h>
                   4468: #endif
1.8       paf      4469: /* Override any gcc2 internal prototype to avoid an error.  */
                   4470: #ifdef __cplusplus
                   4471: extern "C"
1.64      paf      4472: {
1.8       paf      4473: #endif
                   4474: /* We use char because int might match the return type of a gcc2
1.62      paf      4475:    builtin and then its argument prototype would still apply.  */
1.66      paf      4476: char $ac_func ();
1.64      paf      4477: /* The GNU C library defines this for functions which it implements
                   4478:     to always fail with ENOSYS.  Some functions are actually named
                   4479:     something starting with __ and the normal name is an alias.  */
1.66      paf      4480: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1.64      paf      4481: choke me
                   4482: #else
1.66      paf      4483: char (*f) () = $ac_func;
1.64      paf      4484: #endif
                   4485: #ifdef __cplusplus
                   4486: }
                   4487: #endif
                   4488: 
1.62      paf      4489: int
                   4490: main ()
                   4491: {
1.66      paf      4492: return f != $ac_func;
1.62      paf      4493:   ;
                   4494:   return 0;
                   4495: }
                   4496: _ACEOF
                   4497: rm -f conftest.$ac_objext conftest$ac_exeext
                   4498: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4499:   (eval $ac_link) 2>&5
                   4500:   ac_status=$?
                   4501:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4502:   (exit $ac_status); } &&
                   4503:          { ac_try='test -s conftest$ac_exeext'
                   4504:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4505:   (eval $ac_try) 2>&5
                   4506:   ac_status=$?
                   4507:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4508:   (exit $ac_status); }; }; then
1.66      paf      4509:   eval "$as_ac_var=yes"
1.62      paf      4510: else
                   4511:   echo "$as_me: failed program was:" >&5
                   4512: sed 's/^/| /' conftest.$ac_ext >&5
                   4513: 
1.66      paf      4514: eval "$as_ac_var=no"
1.62      paf      4515: fi
                   4516: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   4517: fi
1.66      paf      4518: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   4519: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   4520: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   4521:   cat >>confdefs.h <<_ACEOF
                   4522: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   4523: _ACEOF
                   4524: 
                   4525: fi
                   4526: done
                   4527: 
                   4528:  LIBS="$LIBS_SAVE"
                   4529: fi
                   4530: 
                   4531: 
                   4532: LIBS="$LIBS $LIBADD_DL"
1.64      paf      4533: 
                   4534: 
1.66      paf      4535: ac_ext=c
                   4536: ac_cpp='$CPP $CPPFLAGS'
                   4537: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4538: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4539: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4540: echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
                   4541: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
                   4542: # On Suns, sometimes $CPP names a directory.
                   4543: if test -n "$CPP" && test -d "$CPP"; then
                   4544:   CPP=
                   4545: fi
                   4546: if test -z "$CPP"; then
                   4547:   if test "${ac_cv_prog_CPP+set}" = set; then
1.62      paf      4548:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4549: else
1.66      paf      4550:       # Double quotes because CPP needs to be expanded
                   4551:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   4552:     do
                   4553:       ac_preproc_ok=false
                   4554: for ac_c_preproc_warn_flag in '' yes
                   4555: do
                   4556:   # Use a header file that comes with gcc, so configuring glibc
                   4557:   # with a fresh cross-compiler works.
                   4558:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   4559:   # <limits.h> exists even on freestanding compilers.
                   4560:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   4561:   # not just through cpp. "Syntax error" is here to catch this case.
                   4562:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      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.  */
1.66      paf      4569: #ifdef __STDC__
                   4570: # include <limits.h>
                   4571: #else
                   4572: # include <assert.h>
1.8       paf      4573: #endif
1.66      paf      4574:                      Syntax error
1.62      paf      4575: _ACEOF
1.66      paf      4576: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   4577:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.62      paf      4578:   ac_status=$?
1.66      paf      4579:   grep -v '^ *+' conftest.er1 >conftest.err
                   4580:   rm -f conftest.er1
                   4581:   cat conftest.err >&5
1.62      paf      4582:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      4583:   (exit $ac_status); } >/dev/null; then
                   4584:   if test -s conftest.err; then
                   4585:     ac_cpp_err=$ac_c_preproc_warn_flag
                   4586:   else
                   4587:     ac_cpp_err=
                   4588:   fi
                   4589: else
                   4590:   ac_cpp_err=yes
                   4591: fi
                   4592: if test -z "$ac_cpp_err"; then
                   4593:   :
1.62      paf      4594: else
                   4595:   echo "$as_me: failed program was:" >&5
                   4596: sed 's/^/| /' conftest.$ac_ext >&5
                   4597: 
1.66      paf      4598:   # Broken: fails on valid input.
                   4599: continue
1.62      paf      4600: fi
1.66      paf      4601: rm -f conftest.err conftest.$ac_ext
1.64      paf      4602: 
1.66      paf      4603:   # OK, works on sane cases.  Now check whether non-existent headers
                   4604:   # can be detected and how.
                   4605:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      4606: #line $LINENO "configure"
                   4607: /* confdefs.h.  */
                   4608: _ACEOF
                   4609: cat confdefs.h >>conftest.$ac_ext
                   4610: cat >>conftest.$ac_ext <<_ACEOF
                   4611: /* end confdefs.h.  */
1.66      paf      4612: #include <ac_nonexistent.h>
1.62      paf      4613: _ACEOF
1.66      paf      4614: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   4615:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.62      paf      4616:   ac_status=$?
1.66      paf      4617:   grep -v '^ *+' conftest.er1 >conftest.err
                   4618:   rm -f conftest.er1
                   4619:   cat conftest.err >&5
1.62      paf      4620:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      4621:   (exit $ac_status); } >/dev/null; then
                   4622:   if test -s conftest.err; then
                   4623:     ac_cpp_err=$ac_c_preproc_warn_flag
                   4624:   else
                   4625:     ac_cpp_err=
                   4626:   fi
                   4627: else
                   4628:   ac_cpp_err=yes
                   4629: fi
                   4630: if test -z "$ac_cpp_err"; then
                   4631:   # Broken: success on invalid input.
                   4632: continue
1.62      paf      4633: else
                   4634:   echo "$as_me: failed program was:" >&5
                   4635: sed 's/^/| /' conftest.$ac_ext >&5
                   4636: 
1.66      paf      4637:   # Passes both tests.
                   4638: ac_preproc_ok=:
                   4639: break
1.62      paf      4640: fi
1.66      paf      4641: rm -f conftest.err conftest.$ac_ext
                   4642: 
                   4643: done
                   4644: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   4645: rm -f conftest.err conftest.$ac_ext
                   4646: if $ac_preproc_ok; then
                   4647:   break
1.62      paf      4648: fi
1.64      paf      4649: 
1.66      paf      4650:     done
                   4651:     ac_cv_prog_CPP=$CPP
1.64      paf      4652: 
1.66      paf      4653: fi
                   4654:   CPP=$ac_cv_prog_CPP
1.64      paf      4655: else
1.66      paf      4656:   ac_cv_prog_CPP=$CPP
                   4657: fi
                   4658: echo "$as_me:$LINENO: result: $CPP" >&5
                   4659: echo "${ECHO_T}$CPP" >&6
                   4660: ac_preproc_ok=false
                   4661: for ac_c_preproc_warn_flag in '' yes
                   4662: do
                   4663:   # Use a header file that comes with gcc, so configuring glibc
                   4664:   # with a fresh cross-compiler works.
                   4665:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   4666:   # <limits.h> exists even on freestanding compilers.
                   4667:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   4668:   # not just through cpp. "Syntax error" is here to catch this case.
1.64      paf      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.  */
1.66      paf      4676: #ifdef __STDC__
                   4677: # include <limits.h>
                   4678: #else
                   4679: # include <assert.h>
1.64      paf      4680: #endif
1.66      paf      4681:                      Syntax error
1.64      paf      4682: _ACEOF
1.66      paf      4683: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   4684:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.64      paf      4685:   ac_status=$?
1.66      paf      4686:   grep -v '^ *+' conftest.er1 >conftest.err
                   4687:   rm -f conftest.er1
                   4688:   cat conftest.err >&5
1.64      paf      4689:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      4690:   (exit $ac_status); } >/dev/null; then
                   4691:   if test -s conftest.err; then
                   4692:     ac_cpp_err=$ac_c_preproc_warn_flag
                   4693:   else
                   4694:     ac_cpp_err=
                   4695:   fi
                   4696: else
                   4697:   ac_cpp_err=yes
                   4698: fi
                   4699: if test -z "$ac_cpp_err"; then
                   4700:   :
1.62      paf      4701: else
1.64      paf      4702:   echo "$as_me: failed program was:" >&5
                   4703: sed 's/^/| /' conftest.$ac_ext >&5
                   4704: 
1.66      paf      4705:   # Broken: fails on valid input.
                   4706: continue
                   4707: fi
                   4708: rm -f conftest.err conftest.$ac_ext
                   4709: 
                   4710:   # OK, works on sane cases.  Now check whether non-existent headers
                   4711:   # can be detected and how.
                   4712:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      4713: #line $LINENO "configure"
                   4714: /* confdefs.h.  */
                   4715: _ACEOF
                   4716: cat confdefs.h >>conftest.$ac_ext
                   4717: cat >>conftest.$ac_ext <<_ACEOF
                   4718: /* end confdefs.h.  */
1.66      paf      4719: #include <ac_nonexistent.h>
1.62      paf      4720: _ACEOF
1.66      paf      4721: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   4722:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.62      paf      4723:   ac_status=$?
1.66      paf      4724:   grep -v '^ *+' conftest.er1 >conftest.err
                   4725:   rm -f conftest.er1
                   4726:   cat conftest.err >&5
1.62      paf      4727:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      4728:   (exit $ac_status); } >/dev/null; then
                   4729:   if test -s conftest.err; then
                   4730:     ac_cpp_err=$ac_c_preproc_warn_flag
                   4731:   else
                   4732:     ac_cpp_err=
                   4733:   fi
                   4734: else
                   4735:   ac_cpp_err=yes
                   4736: fi
                   4737: if test -z "$ac_cpp_err"; then
                   4738:   # Broken: success on invalid input.
                   4739: continue
1.62      paf      4740: else
                   4741:   echo "$as_me: failed program was:" >&5
                   4742: sed 's/^/| /' conftest.$ac_ext >&5
                   4743: 
1.66      paf      4744:   # Passes both tests.
                   4745: ac_preproc_ok=:
                   4746: break
1.62      paf      4747: fi
1.66      paf      4748: rm -f conftest.err conftest.$ac_ext
                   4749: 
                   4750: done
                   4751: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   4752: rm -f conftest.err conftest.$ac_ext
                   4753: if $ac_preproc_ok; then
                   4754:   :
                   4755: else
                   4756:   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
                   4757: See \`config.log' for more details." >&5
                   4758: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
                   4759: See \`config.log' for more details." >&2;}
                   4760:    { (exit 1); exit 1; }; }
1.62      paf      4761: fi
1.64      paf      4762: 
1.66      paf      4763: ac_ext=c
                   4764: ac_cpp='$CPP $CPPFLAGS'
                   4765: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4766: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4767: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4768: 
1.1       paf      4769: 
1.66      paf      4770: echo "$as_me:$LINENO: checking for egrep" >&5
                   4771: echo $ECHO_N "checking for egrep... $ECHO_C" >&6
                   4772: if test "${ac_cv_prog_egrep+set}" = set; then
                   4773:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.64      paf      4774: else
1.66      paf      4775:   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
                   4776:     then ac_cv_prog_egrep='grep -E'
                   4777:     else ac_cv_prog_egrep='egrep'
                   4778:     fi
                   4779: fi
                   4780: echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
                   4781: echo "${ECHO_T}$ac_cv_prog_egrep" >&6
                   4782:  EGREP=$ac_cv_prog_egrep
                   4783: 
                   4784: 
                   4785: echo "$as_me:$LINENO: checking for ANSI C header files" >&5
                   4786: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
                   4787: if test "${ac_cv_header_stdc+set}" = set; then
1.62      paf      4788:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       paf      4789: else
1.66      paf      4790:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      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.66      paf      4797: #include <stdlib.h>
                   4798: #include <stdarg.h>
                   4799: #include <string.h>
                   4800: #include <float.h>
1.62      paf      4801: 
                   4802: int
                   4803: main ()
                   4804: {
1.66      paf      4805: 
1.62      paf      4806:   ;
                   4807:   return 0;
                   4808: }
                   4809: _ACEOF
1.66      paf      4810: rm -f conftest.$ac_objext
                   4811: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   4812:   (eval $ac_compile) 2>&5
1.62      paf      4813:   ac_status=$?
                   4814:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4815:   (exit $ac_status); } &&
1.66      paf      4816:          { ac_try='test -s conftest.$ac_objext'
1.62      paf      4817:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4818:   (eval $ac_try) 2>&5
                   4819:   ac_status=$?
                   4820:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4821:   (exit $ac_status); }; }; then
1.66      paf      4822:   ac_cv_header_stdc=yes
1.62      paf      4823: else
                   4824:   echo "$as_me: failed program was:" >&5
                   4825: sed 's/^/| /' conftest.$ac_ext >&5
                   4826: 
1.66      paf      4827: ac_cv_header_stdc=no
1.62      paf      4828: fi
1.66      paf      4829: rm -f conftest.$ac_objext conftest.$ac_ext
1.64      paf      4830: 
1.66      paf      4831: if test $ac_cv_header_stdc = yes; then
                   4832:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   4833:   cat >conftest.$ac_ext <<_ACEOF
                   4834: #line $LINENO "configure"
                   4835: /* confdefs.h.  */
1.62      paf      4836: _ACEOF
1.66      paf      4837: cat confdefs.h >>conftest.$ac_ext
                   4838: cat >>conftest.$ac_ext <<_ACEOF
                   4839: /* end confdefs.h.  */
                   4840: #include <string.h>
1.64      paf      4841: 
1.66      paf      4842: _ACEOF
                   4843: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   4844:   $EGREP "memchr" >/dev/null 2>&1; then
                   4845:   :
                   4846: else
                   4847:   ac_cv_header_stdc=no
1.64      paf      4848: fi
1.66      paf      4849: rm -f conftest*
1.64      paf      4850: 
                   4851: fi
                   4852: 
1.66      paf      4853: if test $ac_cv_header_stdc = yes; then
                   4854:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   4855:   cat >conftest.$ac_ext <<_ACEOF
                   4856: #line $LINENO "configure"
                   4857: /* confdefs.h.  */
                   4858: _ACEOF
                   4859: cat confdefs.h >>conftest.$ac_ext
                   4860: cat >>conftest.$ac_ext <<_ACEOF
                   4861: /* end confdefs.h.  */
                   4862: #include <stdlib.h>
1.64      paf      4863: 
1.66      paf      4864: _ACEOF
                   4865: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   4866:   $EGREP "free" >/dev/null 2>&1; then
                   4867:   :
                   4868: else
                   4869:   ac_cv_header_stdc=no
1.64      paf      4870: fi
1.66      paf      4871: rm -f conftest*
1.64      paf      4872: 
                   4873: fi
                   4874: 
1.66      paf      4875: if test $ac_cv_header_stdc = yes; then
                   4876:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   4877:   if test "$cross_compiling" = yes; then
                   4878:   :
1.64      paf      4879: else
                   4880:   cat >conftest.$ac_ext <<_ACEOF
                   4881: #line $LINENO "configure"
                   4882: /* confdefs.h.  */
                   4883: _ACEOF
                   4884: cat confdefs.h >>conftest.$ac_ext
                   4885: cat >>conftest.$ac_ext <<_ACEOF
                   4886: /* end confdefs.h.  */
1.66      paf      4887: #include <ctype.h>
                   4888: #if ((' ' & 0x0FF) == 0x020)
                   4889: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   4890: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1.64      paf      4891: #else
1.66      paf      4892: # define ISLOWER(c) \
                   4893:                    (('a' <= (c) && (c) <= 'i') \
                   4894:                      || ('j' <= (c) && (c) <= 'r') \
                   4895:                      || ('s' <= (c) && (c) <= 'z'))
                   4896: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
1.64      paf      4897: #endif
                   4898: 
1.66      paf      4899: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1.64      paf      4900: int
                   4901: main ()
                   4902: {
1.66      paf      4903:   int i;
                   4904:   for (i = 0; i < 256; i++)
                   4905:     if (XOR (islower (i), ISLOWER (i))
                   4906:         || toupper (i) != TOUPPER (i))
                   4907:       exit(2);
                   4908:   exit (0);
1.64      paf      4909: }
                   4910: _ACEOF
1.66      paf      4911: rm -f conftest$ac_exeext
1.64      paf      4912: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   4913:   (eval $ac_link) 2>&5
                   4914:   ac_status=$?
                   4915:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      4916:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.64      paf      4917:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4918:   (eval $ac_try) 2>&5
                   4919:   ac_status=$?
                   4920:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4921:   (exit $ac_status); }; }; then
1.66      paf      4922:   :
1.64      paf      4923: else
1.66      paf      4924:   echo "$as_me: program exited with status $ac_status" >&5
                   4925: echo "$as_me: failed program was:" >&5
1.64      paf      4926: sed 's/^/| /' conftest.$ac_ext >&5
                   4927: 
1.66      paf      4928: ( exit $ac_status )
                   4929: ac_cv_header_stdc=no
                   4930: fi
                   4931: rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
                   4932: fi
1.64      paf      4933: fi
                   4934: fi
1.66      paf      4935: echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
                   4936: echo "${ECHO_T}$ac_cv_header_stdc" >&6
                   4937: if test $ac_cv_header_stdc = yes; then
                   4938: 
                   4939: cat >>confdefs.h <<\_ACEOF
                   4940: #define STDC_HEADERS 1
1.64      paf      4941: _ACEOF
                   4942: 
                   4943: fi
                   4944: 
1.66      paf      4945: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   4946: 
                   4947: 
                   4948: 
                   4949: 
                   4950: 
1.1       paf      4951: 
                   4952: 
1.62      paf      4953: 
                   4954: 
1.66      paf      4955: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   4956:                   inttypes.h stdint.h unistd.h
                   4957: do
                   4958: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   4959: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   4960: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   4961: if eval "test \"\${$as_ac_Header+set}\" = set"; then
1.62      paf      4962:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4963: else
                   4964:   cat >conftest.$ac_ext <<_ACEOF
                   4965: #line $LINENO "configure"
                   4966: /* confdefs.h.  */
                   4967: _ACEOF
                   4968: cat confdefs.h >>conftest.$ac_ext
                   4969: cat >>conftest.$ac_ext <<_ACEOF
                   4970: /* end confdefs.h.  */
1.66      paf      4971: $ac_includes_default
                   4972: 
                   4973: #include <$ac_header>
1.62      paf      4974: _ACEOF
1.66      paf      4975: rm -f conftest.$ac_objext
                   4976: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   4977:   (eval $ac_compile) 2>&5
                   4978:   ac_status=$?
                   4979:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4980:   (exit $ac_status); } &&
                   4981:          { ac_try='test -s conftest.$ac_objext'
                   4982:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4983:   (eval $ac_try) 2>&5
1.62      paf      4984:   ac_status=$?
                   4985:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      4986:   (exit $ac_status); }; }; then
                   4987:   eval "$as_ac_Header=yes"
1.62      paf      4988: else
                   4989:   echo "$as_me: failed program was:" >&5
                   4990: sed 's/^/| /' conftest.$ac_ext >&5
                   4991: 
1.66      paf      4992: eval "$as_ac_Header=no"
                   4993: fi
                   4994: rm -f conftest.$ac_objext conftest.$ac_ext
                   4995: fi
                   4996: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   4997: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   4998: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   4999:   cat >>confdefs.h <<_ACEOF
                   5000: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   5001: _ACEOF
                   5002: 
1.1       paf      5003: fi
                   5004: 
1.66      paf      5005: done
                   5006: 
                   5007: 
                   5008: echo "$as_me:$LINENO: checking for size_t" >&5
                   5009: echo $ECHO_N "checking for size_t... $ECHO_C" >&6
                   5010: if test "${ac_cv_type_size_t+set}" = set; then
                   5011:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5012: else
1.62      paf      5013:   cat >conftest.$ac_ext <<_ACEOF
                   5014: #line $LINENO "configure"
                   5015: /* confdefs.h.  */
                   5016: _ACEOF
                   5017: cat confdefs.h >>conftest.$ac_ext
                   5018: cat >>conftest.$ac_ext <<_ACEOF
                   5019: /* end confdefs.h.  */
1.66      paf      5020: $ac_includes_default
                   5021: int
                   5022: main ()
                   5023: {
                   5024: if ((size_t *) 0)
                   5025:   return 0;
                   5026: if (sizeof (size_t))
                   5027:   return 0;
                   5028:   ;
                   5029:   return 0;
                   5030: }
1.62      paf      5031: _ACEOF
1.66      paf      5032: rm -f conftest.$ac_objext
                   5033: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5034:   (eval $ac_compile) 2>&5
                   5035:   ac_status=$?
                   5036:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5037:   (exit $ac_status); } &&
                   5038:          { ac_try='test -s conftest.$ac_objext'
                   5039:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5040:   (eval $ac_try) 2>&5
1.62      paf      5041:   ac_status=$?
                   5042:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      5043:   (exit $ac_status); }; }; then
                   5044:   ac_cv_type_size_t=yes
1.1       paf      5045: else
1.62      paf      5046:   echo "$as_me: failed program was:" >&5
                   5047: sed 's/^/| /' conftest.$ac_ext >&5
                   5048: 
1.66      paf      5049: ac_cv_type_size_t=no
1.1       paf      5050: fi
1.66      paf      5051: rm -f conftest.$ac_objext conftest.$ac_ext
1.62      paf      5052: fi
1.66      paf      5053: echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
                   5054: echo "${ECHO_T}$ac_cv_type_size_t" >&6
                   5055: if test $ac_cv_type_size_t = yes; then
                   5056:   :
                   5057: else
1.1       paf      5058: 
1.66      paf      5059: cat >>confdefs.h <<_ACEOF
                   5060: #define size_t unsigned
                   5061: _ACEOF
1.62      paf      5062: 
                   5063: fi
1.66      paf      5064: 
                   5065: echo "$as_me:$LINENO: checking for off_t" >&5
                   5066: echo $ECHO_N "checking for off_t... $ECHO_C" >&6
                   5067: if test "${ac_cv_type_off_t+set}" = set; then
                   5068:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.62      paf      5069: else
                   5070:   cat >conftest.$ac_ext <<_ACEOF
                   5071: #line $LINENO "configure"
                   5072: /* confdefs.h.  */
                   5073: _ACEOF
                   5074: cat confdefs.h >>conftest.$ac_ext
                   5075: cat >>conftest.$ac_ext <<_ACEOF
                   5076: /* end confdefs.h.  */
1.66      paf      5077: $ac_includes_default
                   5078: int
                   5079: main ()
                   5080: {
                   5081: if ((off_t *) 0)
                   5082:   return 0;
                   5083: if (sizeof (off_t))
                   5084:   return 0;
                   5085:   ;
                   5086:   return 0;
                   5087: }
1.62      paf      5088: _ACEOF
1.66      paf      5089: rm -f conftest.$ac_objext
                   5090: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5091:   (eval $ac_compile) 2>&5
                   5092:   ac_status=$?
                   5093:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5094:   (exit $ac_status); } &&
                   5095:          { ac_try='test -s conftest.$ac_objext'
                   5096:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5097:   (eval $ac_try) 2>&5
1.62      paf      5098:   ac_status=$?
                   5099:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      5100:   (exit $ac_status); }; }; then
                   5101:   ac_cv_type_off_t=yes
1.62      paf      5102: else
1.66      paf      5103:   echo "$as_me: failed program was:" >&5
                   5104: sed 's/^/| /' conftest.$ac_ext >&5
                   5105: 
                   5106: ac_cv_type_off_t=no
                   5107: fi
                   5108: rm -f conftest.$ac_objext conftest.$ac_ext
1.1       paf      5109: fi
1.66      paf      5110: echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
                   5111: echo "${ECHO_T}$ac_cv_type_off_t" >&6
                   5112: if test $ac_cv_type_off_t = yes; then
1.62      paf      5113:   :
                   5114: else
1.1       paf      5115: 
1.66      paf      5116: cat >>confdefs.h <<_ACEOF
                   5117: #define off_t long
                   5118: _ACEOF
                   5119: 
1.62      paf      5120: fi
1.1       paf      5121: 
1.66      paf      5122: echo "$as_me:$LINENO: checking for ssize_t" >&5
                   5123: echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
                   5124: if test "${ac_cv_type_ssize_t+set}" = set; then
                   5125:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5126: else
1.62      paf      5127:   cat >conftest.$ac_ext <<_ACEOF
                   5128: #line $LINENO "configure"
                   5129: /* confdefs.h.  */
                   5130: _ACEOF
                   5131: cat confdefs.h >>conftest.$ac_ext
                   5132: cat >>conftest.$ac_ext <<_ACEOF
                   5133: /* end confdefs.h.  */
1.66      paf      5134: $ac_includes_default
                   5135: int
                   5136: main ()
                   5137: {
                   5138: if ((ssize_t *) 0)
                   5139:   return 0;
                   5140: if (sizeof (ssize_t))
                   5141:   return 0;
                   5142:   ;
                   5143:   return 0;
                   5144: }
1.62      paf      5145: _ACEOF
1.66      paf      5146: rm -f conftest.$ac_objext
                   5147: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5148:   (eval $ac_compile) 2>&5
                   5149:   ac_status=$?
                   5150:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5151:   (exit $ac_status); } &&
                   5152:          { ac_try='test -s conftest.$ac_objext'
                   5153:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5154:   (eval $ac_try) 2>&5
1.62      paf      5155:   ac_status=$?
                   5156:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      5157:   (exit $ac_status); }; }; then
                   5158:   ac_cv_type_ssize_t=yes
1.1       paf      5159: else
1.62      paf      5160:   echo "$as_me: failed program was:" >&5
                   5161: sed 's/^/| /' conftest.$ac_ext >&5
                   5162: 
1.66      paf      5163: ac_cv_type_ssize_t=no
                   5164: fi
                   5165: rm -f conftest.$ac_objext conftest.$ac_ext
1.62      paf      5166: fi
1.66      paf      5167: echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
                   5168: echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
                   5169: if test $ac_cv_type_ssize_t = yes; then
1.1       paf      5170:   :
                   5171: else
1.66      paf      5172: 
                   5173: cat >>confdefs.h <<_ACEOF
                   5174: #define ssize_t int
                   5175: _ACEOF
                   5176: 
1.1       paf      5177: fi
1.62      paf      5178: 
                   5179: 
                   5180: 
                   5181: 
1.66      paf      5182: echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
                   5183: echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
                   5184: if test "${ac_cv_header_time+set}" = set; then
1.62      paf      5185:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5186: else
                   5187:   cat >conftest.$ac_ext <<_ACEOF
                   5188: #line $LINENO "configure"
                   5189: /* confdefs.h.  */
                   5190: _ACEOF
                   5191: cat confdefs.h >>conftest.$ac_ext
                   5192: cat >>conftest.$ac_ext <<_ACEOF
                   5193: /* end confdefs.h.  */
1.66      paf      5194: #include <sys/types.h>
                   5195: #include <sys/time.h>
                   5196: #include <time.h>
1.62      paf      5197: 
                   5198: int
                   5199: main ()
                   5200: {
1.66      paf      5201: if ((struct tm *) 0)
                   5202: return 0;
1.62      paf      5203:   ;
                   5204:   return 0;
                   5205: }
                   5206: _ACEOF
                   5207: rm -f conftest.$ac_objext
                   5208: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5209:   (eval $ac_compile) 2>&5
                   5210:   ac_status=$?
                   5211:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5212:   (exit $ac_status); } &&
                   5213:          { ac_try='test -s conftest.$ac_objext'
                   5214:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5215:   (eval $ac_try) 2>&5
                   5216:   ac_status=$?
                   5217:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5218:   (exit $ac_status); }; }; then
1.66      paf      5219:   ac_cv_header_time=yes
1.1       paf      5220: else
1.62      paf      5221:   echo "$as_me: failed program was:" >&5
                   5222: sed 's/^/| /' conftest.$ac_ext >&5
                   5223: 
1.66      paf      5224: ac_cv_header_time=no
1.1       paf      5225: fi
1.62      paf      5226: rm -f conftest.$ac_objext conftest.$ac_ext
1.66      paf      5227: fi
                   5228: echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
                   5229: echo "${ECHO_T}$ac_cv_header_time" >&6
                   5230: if test $ac_cv_header_time = yes; then
1.1       paf      5231: 
1.66      paf      5232: cat >>confdefs.h <<\_ACEOF
                   5233: #define TIME_WITH_SYS_TIME 1
1.62      paf      5234: _ACEOF
                   5235: 
1.1       paf      5236: fi
                   5237: 
                   5238: 
1.62      paf      5239: 
1.1       paf      5240: 
1.66      paf      5241: 
                   5242: 
                   5243: 
                   5244: 
                   5245: 
                   5246: 
                   5247: 
                   5248: 
                   5249: 
                   5250: 
                   5251: 
                   5252: 
                   5253: 
                   5254: 
                   5255: 
                   5256: 
                   5257: 
                   5258: 
                   5259: 
                   5260: 
                   5261: 
                   5262: 
                   5263: 
                   5264: 
                   5265: 
                   5266: 
                   5267: 
                   5268: 
                   5269: for ac_header in signal.h \
                   5270: unistd.h \
                   5271: process.h \
                   5272: stddef.h \
                   5273: stdarg.h \
                   5274: fcntl.h \
                   5275: sys/stat.h \
                   5276: io.h \
                   5277: stdio.h \
                   5278: errno.h \
                   5279: ctype.h \
                   5280: math.h \
                   5281: crypt.h \
                   5282: time.h sys/time.h \
                   5283: stdlib.h \
                   5284: string.h \
                   5285: direct.h \
                   5286: setjmp.h \
                   5287: memory.h \
                   5288: sys/file.h \
                   5289: sys/locking.h \
                   5290: sys/types.h \
                   5291: sys/select.h \
                   5292: sys/resource.h \
                   5293: winsock.h \
                   5294: sys/socket.h \
                   5295: netinet/in.h \
                   5296: arpa/inet.h \
                   5297: netdb.h
                   5298: 
                   5299: do
                   5300: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   5301: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   5302:   echo "$as_me:$LINENO: checking for $ac_header" >&5
                   5303: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   5304: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   5305:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      5306: fi
1.66      paf      5307: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   5308: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1.1       paf      5309: else
1.66      paf      5310:   # Is the header compilable?
                   5311: echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   5312: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
                   5313: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      5314: #line $LINENO "configure"
                   5315: /* confdefs.h.  */
                   5316: _ACEOF
                   5317: cat confdefs.h >>conftest.$ac_ext
                   5318: cat >>conftest.$ac_ext <<_ACEOF
                   5319: /* end confdefs.h.  */
1.66      paf      5320: $ac_includes_default
                   5321: #include <$ac_header>
1.62      paf      5322: _ACEOF
1.66      paf      5323: rm -f conftest.$ac_objext
                   5324: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5325:   (eval $ac_compile) 2>&5
1.62      paf      5326:   ac_status=$?
                   5327:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      5328:   (exit $ac_status); } &&
                   5329:          { ac_try='test -s conftest.$ac_objext'
1.62      paf      5330:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5331:   (eval $ac_try) 2>&5
                   5332:   ac_status=$?
                   5333:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5334:   (exit $ac_status); }; }; then
1.66      paf      5335:   ac_header_compiler=yes
1.1       paf      5336: else
1.66      paf      5337:   echo "$as_me: failed program was:" >&5
1.62      paf      5338: sed 's/^/| /' conftest.$ac_ext >&5
                   5339: 
1.66      paf      5340: ac_header_compiler=no
1.1       paf      5341: fi
1.66      paf      5342: rm -f conftest.$ac_objext conftest.$ac_ext
                   5343: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   5344: echo "${ECHO_T}$ac_header_compiler" >&6
                   5345: 
                   5346: # Is the header present?
                   5347: echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   5348: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
                   5349: cat >conftest.$ac_ext <<_ACEOF
                   5350: #line $LINENO "configure"
                   5351: /* confdefs.h.  */
                   5352: _ACEOF
                   5353: cat confdefs.h >>conftest.$ac_ext
                   5354: cat >>conftest.$ac_ext <<_ACEOF
                   5355: /* end confdefs.h.  */
                   5356: #include <$ac_header>
                   5357: _ACEOF
                   5358: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   5359:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   5360:   ac_status=$?
                   5361:   grep -v '^ *+' conftest.er1 >conftest.err
                   5362:   rm -f conftest.er1
                   5363:   cat conftest.err >&5
                   5364:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5365:   (exit $ac_status); } >/dev/null; then
                   5366:   if test -s conftest.err; then
                   5367:     ac_cpp_err=$ac_c_preproc_warn_flag
                   5368:   else
                   5369:     ac_cpp_err=
                   5370:   fi
                   5371: else
                   5372:   ac_cpp_err=yes
1.1       paf      5373: fi
1.66      paf      5374: if test -z "$ac_cpp_err"; then
                   5375:   ac_header_preproc=yes
                   5376: else
                   5377:   echo "$as_me: failed program was:" >&5
                   5378: sed 's/^/| /' conftest.$ac_ext >&5
                   5379: 
                   5380:   ac_header_preproc=no
1.1       paf      5381: fi
1.66      paf      5382: rm -f conftest.err conftest.$ac_ext
                   5383: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   5384: echo "${ECHO_T}$ac_header_preproc" >&6
                   5385: 
                   5386: # So?  What about this header?
                   5387: case $ac_header_compiler:$ac_header_preproc in
                   5388:   yes:no )
                   5389:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   5390: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   5391:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   5392: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   5393:     (
                   5394:       cat <<\_ASBOX
                   5395: ## ------------------------------------ ##
                   5396: ## Report this to bug-autoconf@gnu.org. ##
                   5397: ## ------------------------------------ ##
                   5398: _ASBOX
                   5399:     ) |
                   5400:       sed "s/^/$as_me: WARNING:     /" >&2
                   5401:     ;;
                   5402:   no:yes )
                   5403:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   5404: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
                   5405:     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
                   5406: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
                   5407:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   5408: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   5409:     (
                   5410:       cat <<\_ASBOX
                   5411: ## ------------------------------------ ##
                   5412: ## Report this to bug-autoconf@gnu.org. ##
                   5413: ## ------------------------------------ ##
                   5414: _ASBOX
                   5415:     ) |
                   5416:       sed "s/^/$as_me: WARNING:     /" >&2
                   5417:     ;;
                   5418: esac
                   5419: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   5420: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   5421: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   5422:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5423: else
                   5424:   eval "$as_ac_Header=$ac_header_preproc"
1.1       paf      5425: fi
1.66      paf      5426: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   5427: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1.1       paf      5428: 
1.66      paf      5429: fi
                   5430: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   5431:   cat >>confdefs.h <<_ACEOF
                   5432: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.62      paf      5433: _ACEOF
                   5434: 
                   5435: fi
                   5436: 
1.66      paf      5437: done
1.62      paf      5438: 
                   5439: 
                   5440: 
1.66      paf      5441: case "$host" in
                   5442:   *-sunos5.6* | *-solaris2.6*)
1.62      paf      5443: 
1.66      paf      5444: echo "$as_me:$LINENO: checking for main in -lxnet" >&5
                   5445: echo $ECHO_N "checking for main in -lxnet... $ECHO_C" >&6
                   5446: if test "${ac_cv_lib_xnet_main+set}" = set; then
1.62      paf      5447:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5448: else
1.66      paf      5449:   ac_check_lib_save_LIBS=$LIBS
                   5450: LIBS="-lxnet  $LIBS"
                   5451: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      5452: #line $LINENO "configure"
                   5453: /* confdefs.h.  */
                   5454: _ACEOF
                   5455: cat confdefs.h >>conftest.$ac_ext
                   5456: cat >>conftest.$ac_ext <<_ACEOF
                   5457: /* end confdefs.h.  */
                   5458: 
1.66      paf      5459: 
                   5460: int
                   5461: main ()
                   5462: {
                   5463: main ();
                   5464:   ;
                   5465:   return 0;
                   5466: }
1.62      paf      5467: _ACEOF
1.66      paf      5468: rm -f conftest.$ac_objext conftest$ac_exeext
                   5469: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5470:   (eval $ac_link) 2>&5
1.62      paf      5471:   ac_status=$?
                   5472:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5473:   (exit $ac_status); } &&
1.66      paf      5474:          { ac_try='test -s conftest$ac_exeext'
1.62      paf      5475:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5476:   (eval $ac_try) 2>&5
                   5477:   ac_status=$?
                   5478:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5479:   (exit $ac_status); }; }; then
1.66      paf      5480:   ac_cv_lib_xnet_main=yes
1.62      paf      5481: else
                   5482:   echo "$as_me: failed program was:" >&5
                   5483: sed 's/^/| /' conftest.$ac_ext >&5
                   5484: 
1.66      paf      5485: ac_cv_lib_xnet_main=no
1.62      paf      5486: fi
1.66      paf      5487: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   5488: LIBS=$ac_check_lib_save_LIBS
1.62      paf      5489: fi
1.66      paf      5490: echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_main" >&5
                   5491: echo "${ECHO_T}$ac_cv_lib_xnet_main" >&6
                   5492: if test $ac_cv_lib_xnet_main = yes; then
1.62      paf      5493:   cat >>confdefs.h <<_ACEOF
1.66      paf      5494: #define HAVE_LIBXNET 1
1.62      paf      5495: _ACEOF
1.1       paf      5496: 
1.66      paf      5497:   LIBS="-lxnet $LIBS"
                   5498: 
1.1       paf      5499: fi
                   5500: 
1.66      paf      5501:   ;;
                   5502:   *-sunos5* | *-solaris2*)
1.62      paf      5503: 
1.66      paf      5504: echo "$as_me:$LINENO: checking for main in -lsocket" >&5
                   5505: echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
                   5506: if test "${ac_cv_lib_socket_main+set}" = set; then
1.62      paf      5507:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5508: else
1.66      paf      5509:   ac_check_lib_save_LIBS=$LIBS
                   5510: LIBS="-lsocket  $LIBS"
                   5511: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      5512: #line $LINENO "configure"
                   5513: /* confdefs.h.  */
                   5514: _ACEOF
                   5515: cat confdefs.h >>conftest.$ac_ext
                   5516: cat >>conftest.$ac_ext <<_ACEOF
                   5517: /* end confdefs.h.  */
1.66      paf      5518: 
                   5519: 
1.62      paf      5520: int
                   5521: main ()
                   5522: {
1.66      paf      5523: main ();
1.62      paf      5524:   ;
                   5525:   return 0;
                   5526: }
                   5527: _ACEOF
1.66      paf      5528: rm -f conftest.$ac_objext conftest$ac_exeext
                   5529: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5530:   (eval $ac_link) 2>&5
1.62      paf      5531:   ac_status=$?
                   5532:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5533:   (exit $ac_status); } &&
1.66      paf      5534:          { ac_try='test -s conftest$ac_exeext'
1.62      paf      5535:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5536:   (eval $ac_try) 2>&5
                   5537:   ac_status=$?
                   5538:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5539:   (exit $ac_status); }; }; then
1.66      paf      5540:   ac_cv_lib_socket_main=yes
1.1       paf      5541: else
1.62      paf      5542:   echo "$as_me: failed program was:" >&5
                   5543: sed 's/^/| /' conftest.$ac_ext >&5
                   5544: 
1.66      paf      5545: ac_cv_lib_socket_main=no
1.1       paf      5546: fi
1.66      paf      5547: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   5548: LIBS=$ac_check_lib_save_LIBS
1.62      paf      5549: fi
1.66      paf      5550: echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
                   5551: echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
                   5552: if test $ac_cv_lib_socket_main = yes; then
                   5553:   cat >>confdefs.h <<_ACEOF
                   5554: #define HAVE_LIBSOCKET 1
                   5555: _ACEOF
1.1       paf      5556: 
1.66      paf      5557:   LIBS="-lsocket $LIBS"
1.1       paf      5558: 
                   5559: fi
                   5560: 
1.66      paf      5561: 
                   5562: echo "$as_me:$LINENO: checking for main in -lnsl" >&5
                   5563: echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
                   5564: if test "${ac_cv_lib_nsl_main+set}" = set; then
1.62      paf      5565:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5566: else
1.66      paf      5567:   ac_check_lib_save_LIBS=$LIBS
                   5568: LIBS="-lnsl  $LIBS"
                   5569: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      5570: #line $LINENO "configure"
                   5571: /* confdefs.h.  */
                   5572: _ACEOF
                   5573: cat confdefs.h >>conftest.$ac_ext
                   5574: cat >>conftest.$ac_ext <<_ACEOF
                   5575: /* end confdefs.h.  */
1.66      paf      5576: 
                   5577: 
1.62      paf      5578: int
                   5579: main ()
                   5580: {
1.66      paf      5581: main ();
1.62      paf      5582:   ;
                   5583:   return 0;
                   5584: }
                   5585: _ACEOF
1.66      paf      5586: rm -f conftest.$ac_objext conftest$ac_exeext
                   5587: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5588:   (eval $ac_link) 2>&5
1.62      paf      5589:   ac_status=$?
                   5590:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5591:   (exit $ac_status); } &&
1.66      paf      5592:          { ac_try='test -s conftest$ac_exeext'
1.62      paf      5593:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5594:   (eval $ac_try) 2>&5
                   5595:   ac_status=$?
                   5596:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5597:   (exit $ac_status); }; }; then
1.66      paf      5598:   ac_cv_lib_nsl_main=yes
1.30      paf      5599: else
1.62      paf      5600:   echo "$as_me: failed program was:" >&5
                   5601: sed 's/^/| /' conftest.$ac_ext >&5
                   5602: 
1.66      paf      5603: ac_cv_lib_nsl_main=no
1.30      paf      5604: fi
1.66      paf      5605: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   5606: LIBS=$ac_check_lib_save_LIBS
1.62      paf      5607: fi
1.66      paf      5608: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
                   5609: echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
                   5610: if test $ac_cv_lib_nsl_main = yes; then
                   5611:   cat >>confdefs.h <<_ACEOF
                   5612: #define HAVE_LIBNSL 1
                   5613: _ACEOF
1.30      paf      5614: 
1.66      paf      5615:   LIBS="-lnsl $LIBS"
1.30      paf      5616: 
                   5617: fi
                   5618: 
1.66      paf      5619:   ;;
                   5620:   *-nec-sysv4*)
                   5621: 
                   5622: echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
                   5623: echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
                   5624: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
1.62      paf      5625:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5626: else
1.66      paf      5627:   ac_check_lib_save_LIBS=$LIBS
                   5628: LIBS="-lnsl  $LIBS"
                   5629: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      5630: #line $LINENO "configure"
                   5631: /* confdefs.h.  */
                   5632: _ACEOF
                   5633: cat confdefs.h >>conftest.$ac_ext
                   5634: cat >>conftest.$ac_ext <<_ACEOF
                   5635: /* end confdefs.h.  */
1.66      paf      5636: 
                   5637: /* Override any gcc2 internal prototype to avoid an error.  */
                   5638: #ifdef __cplusplus
                   5639: extern "C"
                   5640: #endif
                   5641: /* We use char because int might match the return type of a gcc2
                   5642:    builtin and then its argument prototype would still apply.  */
                   5643: char gethostbyname ();
1.62      paf      5644: int
                   5645: main ()
                   5646: {
1.66      paf      5647: gethostbyname ();
1.62      paf      5648:   ;
                   5649:   return 0;
                   5650: }
                   5651: _ACEOF
1.66      paf      5652: rm -f conftest.$ac_objext conftest$ac_exeext
                   5653: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5654:   (eval $ac_link) 2>&5
1.62      paf      5655:   ac_status=$?
                   5656:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5657:   (exit $ac_status); } &&
1.66      paf      5658:          { ac_try='test -s conftest$ac_exeext'
1.62      paf      5659:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5660:   (eval $ac_try) 2>&5
                   5661:   ac_status=$?
                   5662:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5663:   (exit $ac_status); }; }; then
1.66      paf      5664:   ac_cv_lib_nsl_gethostbyname=yes
1.30      paf      5665: else
1.62      paf      5666:   echo "$as_me: failed program was:" >&5
                   5667: sed 's/^/| /' conftest.$ac_ext >&5
                   5668: 
1.66      paf      5669: ac_cv_lib_nsl_gethostbyname=no
1.30      paf      5670: fi
1.66      paf      5671: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   5672: LIBS=$ac_check_lib_save_LIBS
1.62      paf      5673: fi
1.66      paf      5674: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   5675: echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
                   5676: if test $ac_cv_lib_nsl_gethostbyname = yes; then
                   5677:   cat >>confdefs.h <<_ACEOF
                   5678: #define HAVE_LIBNSL 1
                   5679: _ACEOF
1.30      paf      5680: 
1.66      paf      5681:   LIBS="-lnsl $LIBS"
1.30      paf      5682: 
                   5683: fi
                   5684: 
                   5685: 
1.66      paf      5686: echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
                   5687: echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
                   5688: if test "${ac_cv_lib_socket_socket+set}" = set; then
1.62      paf      5689:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       paf      5690: else
1.66      paf      5691:   ac_check_lib_save_LIBS=$LIBS
                   5692: LIBS="-lsocket  $LIBS"
                   5693: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      5694: #line $LINENO "configure"
                   5695: /* confdefs.h.  */
                   5696: _ACEOF
                   5697: cat confdefs.h >>conftest.$ac_ext
                   5698: cat >>conftest.$ac_ext <<_ACEOF
                   5699: /* end confdefs.h.  */
                   5700: 
1.66      paf      5701: /* Override any gcc2 internal prototype to avoid an error.  */
                   5702: #ifdef __cplusplus
                   5703: extern "C"
                   5704: #endif
                   5705: /* We use char because int might match the return type of a gcc2
                   5706:    builtin and then its argument prototype would still apply.  */
                   5707: char socket ();
1.62      paf      5708: int
                   5709: main ()
                   5710: {
1.66      paf      5711: socket ();
1.62      paf      5712:   ;
                   5713:   return 0;
                   5714: }
                   5715: _ACEOF
1.66      paf      5716: rm -f conftest.$ac_objext conftest$ac_exeext
                   5717: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5718:   (eval $ac_link) 2>&5
1.62      paf      5719:   ac_status=$?
                   5720:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5721:   (exit $ac_status); } &&
1.66      paf      5722:          { ac_try='test -s conftest$ac_exeext'
1.62      paf      5723:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5724:   (eval $ac_try) 2>&5
                   5725:   ac_status=$?
                   5726:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5727:   (exit $ac_status); }; }; then
1.66      paf      5728:   ac_cv_lib_socket_socket=yes
1.8       paf      5729: else
1.62      paf      5730:   echo "$as_me: failed program was:" >&5
                   5731: sed 's/^/| /' conftest.$ac_ext >&5
                   5732: 
1.66      paf      5733: ac_cv_lib_socket_socket=no
1.8       paf      5734: fi
1.66      paf      5735: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   5736: LIBS=$ac_check_lib_save_LIBS
1.8       paf      5737: fi
1.66      paf      5738: echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
                   5739: echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
                   5740: if test $ac_cv_lib_socket_socket = yes; then
                   5741:   cat >>confdefs.h <<_ACEOF
                   5742: #define HAVE_LIBSOCKET 1
                   5743: _ACEOF
1.8       paf      5744: 
1.66      paf      5745:   LIBS="-lsocket $LIBS"
1.8       paf      5746: 
                   5747: fi
                   5748: 
1.66      paf      5749:   ;;
                   5750:   *-cygwin*)
1.8       paf      5751: 
1.66      paf      5752: cat >>confdefs.h <<\_ACEOF
                   5753: #define WIN32
                   5754: _ACEOF
1.62      paf      5755: 
                   5756: 
1.66      paf      5757: echo "$as_me:$LINENO: checking for socket in -lwsock32" >&5
                   5758: echo $ECHO_N "checking for socket in -lwsock32... $ECHO_C" >&6
                   5759: if test "${ac_cv_lib_wsock32_socket+set}" = set; then
1.62      paf      5760:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5761: else
1.66      paf      5762:   ac_check_lib_save_LIBS=$LIBS
                   5763: LIBS="-lwsock32  $LIBS"
1.62      paf      5764: cat >conftest.$ac_ext <<_ACEOF
                   5765: #line $LINENO "configure"
                   5766: /* confdefs.h.  */
                   5767: _ACEOF
                   5768: cat confdefs.h >>conftest.$ac_ext
                   5769: cat >>conftest.$ac_ext <<_ACEOF
                   5770: /* end confdefs.h.  */
1.66      paf      5771: 
                   5772: /* Override any gcc2 internal prototype to avoid an error.  */
                   5773: #ifdef __cplusplus
                   5774: extern "C"
                   5775: #endif
                   5776: /* We use char because int might match the return type of a gcc2
                   5777:    builtin and then its argument prototype would still apply.  */
                   5778: char socket ();
                   5779: int
                   5780: main ()
                   5781: {
                   5782: socket ();
                   5783:   ;
                   5784:   return 0;
                   5785: }
1.62      paf      5786: _ACEOF
1.66      paf      5787: rm -f conftest.$ac_objext conftest$ac_exeext
                   5788: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5789:   (eval $ac_link) 2>&5
1.62      paf      5790:   ac_status=$?
                   5791:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5792:   (exit $ac_status); } &&
1.66      paf      5793:          { ac_try='test -s conftest$ac_exeext'
1.62      paf      5794:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5795:   (eval $ac_try) 2>&5
                   5796:   ac_status=$?
                   5797:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5798:   (exit $ac_status); }; }; then
1.66      paf      5799:   ac_cv_lib_wsock32_socket=yes
1.62      paf      5800: else
                   5801:   echo "$as_me: failed program was:" >&5
                   5802: sed 's/^/| /' conftest.$ac_ext >&5
                   5803: 
1.66      paf      5804: ac_cv_lib_wsock32_socket=no
                   5805: fi
                   5806: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   5807: LIBS=$ac_check_lib_save_LIBS
                   5808: fi
                   5809: echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_socket" >&5
                   5810: echo "${ECHO_T}$ac_cv_lib_wsock32_socket" >&6
                   5811: if test $ac_cv_lib_wsock32_socket = yes; then
                   5812:   cat >>confdefs.h <<_ACEOF
                   5813: #define HAVE_LIBWSOCK32 1
                   5814: _ACEOF
                   5815: 
                   5816:   LIBS="-lwsock32 $LIBS"
                   5817: 
1.62      paf      5818: fi
                   5819: 
1.66      paf      5820:   ;;
                   5821: # never tested this, only theoretically by letter from demos about parser2 build
                   5822:   *-hpux*)
                   5823: 
                   5824: echo "$as_me:$LINENO: checking for main in -lnsl" >&5
                   5825: echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
                   5826: if test "${ac_cv_lib_nsl_main+set}" = set; then
                   5827:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5828: else
                   5829:   ac_check_lib_save_LIBS=$LIBS
                   5830: LIBS="-lnsl  $LIBS"
1.62      paf      5831: cat >conftest.$ac_ext <<_ACEOF
                   5832: #line $LINENO "configure"
                   5833: /* confdefs.h.  */
                   5834: _ACEOF
                   5835: cat confdefs.h >>conftest.$ac_ext
                   5836: cat >>conftest.$ac_ext <<_ACEOF
                   5837: /* end confdefs.h.  */
1.66      paf      5838: 
                   5839: 
                   5840: int
                   5841: main ()
                   5842: {
                   5843: main ();
                   5844:   ;
                   5845:   return 0;
                   5846: }
1.62      paf      5847: _ACEOF
1.66      paf      5848: rm -f conftest.$ac_objext conftest$ac_exeext
                   5849: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5850:   (eval $ac_link) 2>&5
                   5851:   ac_status=$?
                   5852:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5853:   (exit $ac_status); } &&
                   5854:          { ac_try='test -s conftest$ac_exeext'
                   5855:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5856:   (eval $ac_try) 2>&5
1.62      paf      5857:   ac_status=$?
                   5858:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      5859:   (exit $ac_status); }; }; then
                   5860:   ac_cv_lib_nsl_main=yes
1.62      paf      5861: else
                   5862:   echo "$as_me: failed program was:" >&5
                   5863: sed 's/^/| /' conftest.$ac_ext >&5
                   5864: 
1.66      paf      5865: ac_cv_lib_nsl_main=no
1.62      paf      5866: fi
1.66      paf      5867: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   5868: LIBS=$ac_check_lib_save_LIBS
1.1       paf      5869: fi
1.66      paf      5870: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
                   5871: echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
                   5872: if test $ac_cv_lib_nsl_main = yes; then
1.62      paf      5873:   cat >>confdefs.h <<_ACEOF
1.66      paf      5874: #define HAVE_LIBNSL 1
1.62      paf      5875: _ACEOF
                   5876: 
1.66      paf      5877:   LIBS="-lnsl $LIBS"
                   5878: 
1.1       paf      5879: fi
1.62      paf      5880: 
1.66      paf      5881:   ;;
                   5882: esac
1.1       paf      5883: 
                   5884: 
1.66      paf      5885: echo "$as_me:$LINENO: checking for sin in -lm" >&5
                   5886: echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
                   5887: if test "${ac_cv_lib_m_sin+set}" = set; then
1.62      paf      5888:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      5889: else
1.62      paf      5890:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      5891: LIBS="-lm  $LIBS"
1.62      paf      5892: cat >conftest.$ac_ext <<_ACEOF
                   5893: #line $LINENO "configure"
                   5894: /* confdefs.h.  */
                   5895: _ACEOF
                   5896: cat confdefs.h >>conftest.$ac_ext
                   5897: cat >>conftest.$ac_ext <<_ACEOF
                   5898: /* end confdefs.h.  */
                   5899: 
1.66      paf      5900: /* Override any gcc2 internal prototype to avoid an error.  */
                   5901: #ifdef __cplusplus
                   5902: extern "C"
                   5903: #endif
                   5904: /* We use char because int might match the return type of a gcc2
                   5905:    builtin and then its argument prototype would still apply.  */
                   5906: char sin ();
1.62      paf      5907: int
                   5908: main ()
                   5909: {
1.66      paf      5910: sin ();
1.62      paf      5911:   ;
                   5912:   return 0;
                   5913: }
                   5914: _ACEOF
                   5915: rm -f conftest.$ac_objext conftest$ac_exeext
                   5916: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5917:   (eval $ac_link) 2>&5
                   5918:   ac_status=$?
                   5919:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5920:   (exit $ac_status); } &&
                   5921:          { ac_try='test -s conftest$ac_exeext'
                   5922:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5923:   (eval $ac_try) 2>&5
                   5924:   ac_status=$?
                   5925:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5926:   (exit $ac_status); }; }; then
1.66      paf      5927:   ac_cv_lib_m_sin=yes
1.62      paf      5928: else
                   5929:   echo "$as_me: failed program was:" >&5
                   5930: sed 's/^/| /' conftest.$ac_ext >&5
                   5931: 
1.66      paf      5932: ac_cv_lib_m_sin=no
1.62      paf      5933: fi
                   5934: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   5935: LIBS=$ac_check_lib_save_LIBS
                   5936: fi
1.66      paf      5937: echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
                   5938: echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
                   5939: if test $ac_cv_lib_m_sin = yes; then
1.62      paf      5940:   cat >>confdefs.h <<_ACEOF
1.66      paf      5941: #define HAVE_LIBM 1
1.62      paf      5942: _ACEOF
1.1       paf      5943: 
1.66      paf      5944:   LIBS="-lm $LIBS"
1.1       paf      5945: 
                   5946: fi
                   5947: 
1.62      paf      5948: 
1.66      paf      5949: 
                   5950: echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
                   5951: echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
                   5952: if test "${ac_cv_lib_crypt_crypt+set}" = set; then
1.62      paf      5953:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      5954: else
1.62      paf      5955:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      5956: LIBS="-lcrypt  $LIBS"
1.62      paf      5957: cat >conftest.$ac_ext <<_ACEOF
                   5958: #line $LINENO "configure"
                   5959: /* confdefs.h.  */
                   5960: _ACEOF
                   5961: cat confdefs.h >>conftest.$ac_ext
                   5962: cat >>conftest.$ac_ext <<_ACEOF
                   5963: /* end confdefs.h.  */
                   5964: 
1.66      paf      5965: /* Override any gcc2 internal prototype to avoid an error.  */
                   5966: #ifdef __cplusplus
                   5967: extern "C"
                   5968: #endif
                   5969: /* We use char because int might match the return type of a gcc2
                   5970:    builtin and then its argument prototype would still apply.  */
                   5971: char crypt ();
1.62      paf      5972: int
                   5973: main ()
                   5974: {
1.66      paf      5975: crypt ();
1.62      paf      5976:   ;
                   5977:   return 0;
                   5978: }
                   5979: _ACEOF
                   5980: rm -f conftest.$ac_objext conftest$ac_exeext
                   5981: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5982:   (eval $ac_link) 2>&5
                   5983:   ac_status=$?
                   5984:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5985:   (exit $ac_status); } &&
                   5986:          { ac_try='test -s conftest$ac_exeext'
                   5987:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5988:   (eval $ac_try) 2>&5
                   5989:   ac_status=$?
                   5990:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5991:   (exit $ac_status); }; }; then
1.66      paf      5992:   ac_cv_lib_crypt_crypt=yes
1.62      paf      5993: else
                   5994:   echo "$as_me: failed program was:" >&5
                   5995: sed 's/^/| /' conftest.$ac_ext >&5
                   5996: 
1.66      paf      5997: ac_cv_lib_crypt_crypt=no
1.62      paf      5998: fi
                   5999: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   6000: LIBS=$ac_check_lib_save_LIBS
                   6001: fi
1.66      paf      6002: echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
                   6003: echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
                   6004: if test $ac_cv_lib_crypt_crypt = yes; then
1.62      paf      6005:   cat >>confdefs.h <<_ACEOF
1.66      paf      6006: #define HAVE_LIBCRYPT 1
1.62      paf      6007: _ACEOF
1.1       paf      6008: 
1.66      paf      6009:   LIBS="-lcrypt $LIBS"
                   6010: 
                   6011: fi
                   6012: 
                   6013: 
                   6014: 
                   6015: 
                   6016: 
                   6017: 
                   6018: 
                   6019: 
                   6020: 
                   6021: 
                   6022: 
                   6023: 
                   6024: 
                   6025: 
                   6026: 
                   6027: 
                   6028: for ac_func in trunc \
                   6029: round \
                   6030: sign \
                   6031: flock \
                   6032: _locking \
                   6033: fcntl \
                   6034: lockf \
                   6035: ftruncate \
                   6036: getrusage \
                   6037: gettimeofday \
                   6038: crypt \
                   6039: sigsetjmp siglongjmp
                   6040: 
                   6041: do
                   6042: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   6043: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   6044: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   6045: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   6046:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6047: else
                   6048:   cat >conftest.$ac_ext <<_ACEOF
                   6049: #line $LINENO "configure"
                   6050: /* confdefs.h.  */
                   6051: _ACEOF
                   6052: cat confdefs.h >>conftest.$ac_ext
                   6053: cat >>conftest.$ac_ext <<_ACEOF
                   6054: /* end confdefs.h.  */
                   6055: /* System header to define __stub macros and hopefully few prototypes,
                   6056:     which can conflict with char $ac_func (); below.
                   6057:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   6058:     <limits.h> exists even on freestanding compilers.  */
                   6059: #ifdef __STDC__
                   6060: # include <limits.h>
                   6061: #else
                   6062: # include <assert.h>
                   6063: #endif
                   6064: /* Override any gcc2 internal prototype to avoid an error.  */
                   6065: #ifdef __cplusplus
                   6066: extern "C"
                   6067: {
                   6068: #endif
                   6069: /* We use char because int might match the return type of a gcc2
                   6070:    builtin and then its argument prototype would still apply.  */
                   6071: char $ac_func ();
                   6072: /* The GNU C library defines this for functions which it implements
                   6073:     to always fail with ENOSYS.  Some functions are actually named
                   6074:     something starting with __ and the normal name is an alias.  */
                   6075: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   6076: choke me
                   6077: #else
                   6078: char (*f) () = $ac_func;
                   6079: #endif
                   6080: #ifdef __cplusplus
                   6081: }
                   6082: #endif
1.62      paf      6083: 
                   6084: int
                   6085: main ()
                   6086: {
1.66      paf      6087: return f != $ac_func;
1.62      paf      6088:   ;
                   6089:   return 0;
                   6090: }
                   6091: _ACEOF
                   6092: rm -f conftest.$ac_objext conftest$ac_exeext
                   6093: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   6094:   (eval $ac_link) 2>&5
                   6095:   ac_status=$?
                   6096:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6097:   (exit $ac_status); } &&
                   6098:          { ac_try='test -s conftest$ac_exeext'
                   6099:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6100:   (eval $ac_try) 2>&5
                   6101:   ac_status=$?
                   6102:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6103:   (exit $ac_status); }; }; then
1.66      paf      6104:   eval "$as_ac_var=yes"
1.62      paf      6105: else
                   6106:   echo "$as_me: failed program was:" >&5
                   6107: sed 's/^/| /' conftest.$ac_ext >&5
                   6108: 
1.66      paf      6109: eval "$as_ac_var=no"
1.62      paf      6110: fi
                   6111: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   6112: fi
1.66      paf      6113: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   6114: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   6115: if test `eval echo '${'$as_ac_var'}'` = yes; then
1.62      paf      6116:   cat >>confdefs.h <<_ACEOF
1.66      paf      6117: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.62      paf      6118: _ACEOF
1.1       paf      6119: 
1.66      paf      6120: fi
                   6121: done
                   6122: 
1.1       paf      6123: 
                   6124: 
1.62      paf      6125: 
1.66      paf      6126: for ac_func in qsort
                   6127: do
                   6128: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   6129: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   6130: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   6131: if eval "test \"\${$as_ac_var+set}\" = set"; then
1.62      paf      6132:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      6133: else
1.66      paf      6134:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      6135: #line $LINENO "configure"
                   6136: /* confdefs.h.  */
                   6137: _ACEOF
                   6138: cat confdefs.h >>conftest.$ac_ext
                   6139: cat >>conftest.$ac_ext <<_ACEOF
                   6140: /* end confdefs.h.  */
1.66      paf      6141: /* System header to define __stub macros and hopefully few prototypes,
                   6142:     which can conflict with char $ac_func (); below.
                   6143:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   6144:     <limits.h> exists even on freestanding compilers.  */
                   6145: #ifdef __STDC__
                   6146: # include <limits.h>
                   6147: #else
                   6148: # include <assert.h>
                   6149: #endif
1.1       paf      6150: /* Override any gcc2 internal prototype to avoid an error.  */
                   6151: #ifdef __cplusplus
                   6152: extern "C"
1.66      paf      6153: {
1.1       paf      6154: #endif
                   6155: /* We use char because int might match the return type of a gcc2
1.62      paf      6156:    builtin and then its argument prototype would still apply.  */
1.66      paf      6157: char $ac_func ();
                   6158: /* The GNU C library defines this for functions which it implements
                   6159:     to always fail with ENOSYS.  Some functions are actually named
                   6160:     something starting with __ and the normal name is an alias.  */
                   6161: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   6162: choke me
                   6163: #else
                   6164: char (*f) () = $ac_func;
                   6165: #endif
                   6166: #ifdef __cplusplus
                   6167: }
                   6168: #endif
                   6169: 
1.62      paf      6170: int
                   6171: main ()
                   6172: {
1.66      paf      6173: return f != $ac_func;
1.62      paf      6174:   ;
                   6175:   return 0;
                   6176: }
                   6177: _ACEOF
                   6178: rm -f conftest.$ac_objext conftest$ac_exeext
                   6179: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   6180:   (eval $ac_link) 2>&5
                   6181:   ac_status=$?
                   6182:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6183:   (exit $ac_status); } &&
                   6184:          { ac_try='test -s conftest$ac_exeext'
                   6185:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6186:   (eval $ac_try) 2>&5
                   6187:   ac_status=$?
                   6188:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6189:   (exit $ac_status); }; }; then
1.66      paf      6190:   eval "$as_ac_var=yes"
1.62      paf      6191: else
                   6192:   echo "$as_me: failed program was:" >&5
                   6193: sed 's/^/| /' conftest.$ac_ext >&5
                   6194: 
1.66      paf      6195: eval "$as_ac_var=no"
1.62      paf      6196: fi
                   6197: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   6198: fi
1.66      paf      6199: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   6200: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   6201: if test `eval echo '${'$as_ac_var'}'` = yes; then
1.62      paf      6202:   cat >>confdefs.h <<_ACEOF
1.66      paf      6203: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.62      paf      6204: _ACEOF
1.1       paf      6205: 
1.66      paf      6206: else
                   6207:   { { echo "$as_me:$LINENO: error: No qsort library function." >&5
                   6208: echo "$as_me: error: No qsort library function." >&2;}
                   6209:    { (exit 1); exit 1; }; }
1.1       paf      6210: fi
1.66      paf      6211: done
1.1       paf      6212: 
                   6213: 
1.66      paf      6214: for ac_func in select
                   6215: do
                   6216: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   6217: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   6218: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   6219: if eval "test \"\${$as_ac_var+set}\" = set"; then
1.62      paf      6220:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      6221: else
1.66      paf      6222:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      6223: #line $LINENO "configure"
                   6224: /* confdefs.h.  */
                   6225: _ACEOF
                   6226: cat confdefs.h >>conftest.$ac_ext
                   6227: cat >>conftest.$ac_ext <<_ACEOF
                   6228: /* end confdefs.h.  */
1.66      paf      6229: /* System header to define __stub macros and hopefully few prototypes,
                   6230:     which can conflict with char $ac_func (); below.
                   6231:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   6232:     <limits.h> exists even on freestanding compilers.  */
                   6233: #ifdef __STDC__
                   6234: # include <limits.h>
                   6235: #else
                   6236: # include <assert.h>
                   6237: #endif
1.1       paf      6238: /* Override any gcc2 internal prototype to avoid an error.  */
                   6239: #ifdef __cplusplus
                   6240: extern "C"
1.66      paf      6241: {
1.1       paf      6242: #endif
                   6243: /* We use char because int might match the return type of a gcc2
1.62      paf      6244:    builtin and then its argument prototype would still apply.  */
1.66      paf      6245: char $ac_func ();
                   6246: /* The GNU C library defines this for functions which it implements
                   6247:     to always fail with ENOSYS.  Some functions are actually named
                   6248:     something starting with __ and the normal name is an alias.  */
                   6249: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   6250: choke me
                   6251: #else
                   6252: char (*f) () = $ac_func;
                   6253: #endif
                   6254: #ifdef __cplusplus
                   6255: }
                   6256: #endif
                   6257: 
1.62      paf      6258: int
                   6259: main ()
                   6260: {
1.66      paf      6261: return f != $ac_func;
1.62      paf      6262:   ;
                   6263:   return 0;
                   6264: }
                   6265: _ACEOF
                   6266: rm -f conftest.$ac_objext conftest$ac_exeext
                   6267: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   6268:   (eval $ac_link) 2>&5
                   6269:   ac_status=$?
                   6270:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6271:   (exit $ac_status); } &&
                   6272:          { ac_try='test -s conftest$ac_exeext'
                   6273:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6274:   (eval $ac_try) 2>&5
                   6275:   ac_status=$?
                   6276:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6277:   (exit $ac_status); }; }; then
1.66      paf      6278:   eval "$as_ac_var=yes"
1.62      paf      6279: else
                   6280:   echo "$as_me: failed program was:" >&5
                   6281: sed 's/^/| /' conftest.$ac_ext >&5
                   6282: 
1.66      paf      6283: eval "$as_ac_var=no"
1.62      paf      6284: fi
                   6285: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   6286: fi
1.66      paf      6287: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   6288: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   6289: if test `eval echo '${'$as_ac_var'}'` = yes; then
1.62      paf      6290:   cat >>confdefs.h <<_ACEOF
1.66      paf      6291: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.62      paf      6292: _ACEOF
1.1       paf      6293: 
1.66      paf      6294: else
                   6295:   { { echo "$as_me:$LINENO: error: No select library function." >&5
                   6296: echo "$as_me: error: No select library function." >&2;}
                   6297:    { (exit 1); exit 1; }; }
1.1       paf      6298: fi
1.66      paf      6299: done
1.1       paf      6300: 
1.62      paf      6301: 
                   6302: 
1.66      paf      6303: echo "$as_me:$LINENO: checking for timezone variable" >&5
                   6304: echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6
1.62      paf      6305: cat >conftest.$ac_ext <<_ACEOF
                   6306: #line $LINENO "configure"
                   6307: /* confdefs.h.  */
                   6308: _ACEOF
                   6309: cat confdefs.h >>conftest.$ac_ext
                   6310: cat >>conftest.$ac_ext <<_ACEOF
                   6311: /* end confdefs.h.  */
1.66      paf      6312: #include <time.h>
1.62      paf      6313: int
                   6314: main ()
                   6315: {
1.66      paf      6316: 
                   6317: time_t test=timezone;
                   6318: 
1.62      paf      6319:   ;
                   6320:   return 0;
                   6321: }
                   6322: _ACEOF
1.66      paf      6323: rm -f conftest.$ac_objext
                   6324: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6325:   (eval $ac_compile) 2>&5
1.62      paf      6326:   ac_status=$?
                   6327:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6328:   (exit $ac_status); } &&
1.66      paf      6329:          { ac_try='test -s conftest.$ac_objext'
1.62      paf      6330:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6331:   (eval $ac_try) 2>&5
                   6332:   ac_status=$?
                   6333:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6334:   (exit $ac_status); }; }; then
1.66      paf      6335:   cat >>confdefs.h <<\_ACEOF
                   6336: #define HAVE_TIMEZONE 1
                   6337: _ACEOF
                   6338: 
                   6339: echo "$as_me:$LINENO: result: yes" >&5
                   6340: echo "${ECHO_T}yes" >&6
1.62      paf      6341: else
                   6342:   echo "$as_me: failed program was:" >&5
                   6343: sed 's/^/| /' conftest.$ac_ext >&5
                   6344: 
1.66      paf      6345: echo "$as_me:$LINENO: result: no" >&5
                   6346: echo "${ECHO_T}no" >&6
1.62      paf      6347: fi
1.66      paf      6348: rm -f conftest.$ac_objext conftest.$ac_ext
1.1       paf      6349: 
1.66      paf      6350: echo "$as_me:$LINENO: checking for daylight variable" >&5
                   6351: echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6
1.62      paf      6352: cat >conftest.$ac_ext <<_ACEOF
                   6353: #line $LINENO "configure"
                   6354: /* confdefs.h.  */
                   6355: _ACEOF
                   6356: cat confdefs.h >>conftest.$ac_ext
                   6357: cat >>conftest.$ac_ext <<_ACEOF
                   6358: /* end confdefs.h.  */
1.66      paf      6359: #include <time.h>
1.62      paf      6360: int
                   6361: main ()
                   6362: {
1.66      paf      6363: 
                   6364: int test=daylight;
                   6365: 
1.62      paf      6366:   ;
                   6367:   return 0;
                   6368: }
                   6369: _ACEOF
1.66      paf      6370: rm -f conftest.$ac_objext
                   6371: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6372:   (eval $ac_compile) 2>&5
1.62      paf      6373:   ac_status=$?
                   6374:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6375:   (exit $ac_status); } &&
1.66      paf      6376:          { ac_try='test -s conftest.$ac_objext'
1.62      paf      6377:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6378:   (eval $ac_try) 2>&5
                   6379:   ac_status=$?
                   6380:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6381:   (exit $ac_status); }; }; then
1.66      paf      6382:   cat >>confdefs.h <<\_ACEOF
                   6383: #define HAVE_DAYLIGHT 1
                   6384: _ACEOF
                   6385: 
                   6386: echo "$as_me:$LINENO: result: yes" >&5
                   6387: echo "${ECHO_T}yes" >&6
1.62      paf      6388: else
                   6389:   echo "$as_me: failed program was:" >&5
                   6390: sed 's/^/| /' conftest.$ac_ext >&5
                   6391: 
1.66      paf      6392: echo "$as_me:$LINENO: result: no" >&5
                   6393: echo "${ECHO_T}no" >&6
1.62      paf      6394: fi
1.66      paf      6395: rm -f conftest.$ac_objext conftest.$ac_ext
1.62      paf      6396: 
1.66      paf      6397: echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
                   6398: echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
1.62      paf      6399: cat >conftest.$ac_ext <<_ACEOF
                   6400: #line $LINENO "configure"
                   6401: /* confdefs.h.  */
                   6402: _ACEOF
                   6403: cat confdefs.h >>conftest.$ac_ext
                   6404: cat >>conftest.$ac_ext <<_ACEOF
                   6405: /* end confdefs.h.  */
1.66      paf      6406: #include <time.h>
1.62      paf      6407: int
                   6408: main ()
                   6409: {
1.66      paf      6410: struct tm tm;
                   6411: tm.tm_gmtoff=0;
                   6412: 
1.62      paf      6413:   ;
                   6414:   return 0;
                   6415: }
                   6416: _ACEOF
1.66      paf      6417: rm -f conftest.$ac_objext
                   6418: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6419:   (eval $ac_compile) 2>&5
1.62      paf      6420:   ac_status=$?
                   6421:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6422:   (exit $ac_status); } &&
1.66      paf      6423:          { ac_try='test -s conftest.$ac_objext'
1.62      paf      6424:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6425:   (eval $ac_try) 2>&5
                   6426:   ac_status=$?
                   6427:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6428:   (exit $ac_status); }; }; then
1.66      paf      6429:   cat >>confdefs.h <<\_ACEOF
                   6430: #define HAVE_TM_GMTOFF 1
                   6431: _ACEOF
                   6432: 
                   6433: echo "$as_me:$LINENO: result: yes" >&5
                   6434: echo "${ECHO_T}yes" >&6
1.62      paf      6435: else
                   6436:   echo "$as_me: failed program was:" >&5
                   6437: sed 's/^/| /' conftest.$ac_ext >&5
                   6438: 
1.66      paf      6439: echo "$as_me:$LINENO: result: no" >&5
                   6440: echo "${ECHO_T}no" >&6
1.62      paf      6441: fi
1.66      paf      6442: rm -f conftest.$ac_objext conftest.$ac_ext
1.1       paf      6443: 
1.66      paf      6444: echo "$as_me:$LINENO: checking for tm_tzadj in struct tm" >&5
                   6445: echo $ECHO_N "checking for tm_tzadj in struct tm... $ECHO_C" >&6
1.62      paf      6446: cat >conftest.$ac_ext <<_ACEOF
                   6447: #line $LINENO "configure"
                   6448: /* confdefs.h.  */
                   6449: _ACEOF
                   6450: cat confdefs.h >>conftest.$ac_ext
                   6451: cat >>conftest.$ac_ext <<_ACEOF
                   6452: /* end confdefs.h.  */
1.66      paf      6453: #include <time.h>
1.62      paf      6454: int
                   6455: main ()
                   6456: {
1.66      paf      6457: struct tm tm;
                   6458: tm.tm_tzadj=0;
                   6459: 
1.62      paf      6460:   ;
                   6461:   return 0;
                   6462: }
                   6463: _ACEOF
1.66      paf      6464: rm -f conftest.$ac_objext
                   6465: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6466:   (eval $ac_compile) 2>&5
1.62      paf      6467:   ac_status=$?
                   6468:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6469:   (exit $ac_status); } &&
1.66      paf      6470:          { ac_try='test -s conftest.$ac_objext'
1.62      paf      6471:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6472:   (eval $ac_try) 2>&5
                   6473:   ac_status=$?
                   6474:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6475:   (exit $ac_status); }; }; then
1.66      paf      6476:   cat >>confdefs.h <<\_ACEOF
                   6477: #define HAVE_TM_TZADJ 1
                   6478: _ACEOF
                   6479: 
                   6480: echo "$as_me:$LINENO: result: yes" >&5
                   6481: echo "${ECHO_T}yes" >&6
1.62      paf      6482: else
                   6483:   echo "$as_me: failed program was:" >&5
                   6484: sed 's/^/| /' conftest.$ac_ext >&5
                   6485: 
1.66      paf      6486: echo "$as_me:$LINENO: result: no" >&5
                   6487: echo "${ECHO_T}no" >&6
1.62      paf      6488: fi
1.66      paf      6489: rm -f conftest.$ac_objext conftest.$ac_ext
1.31      paf      6490: 
                   6491: 
1.1       paf      6492: 
1.15      paf      6493: 
1.8       paf      6494: APACHE_LIBS="$LIBS $LIBADD_DL"
1.1       paf      6495: 
                   6496: 
                   6497: 
                   6498: 
                   6499: # expand apostrophed
1.4       paf      6500: e_prefix=$prefix
                   6501: test "x$e_prefix" = xNONE && e_prefix=$ac_default_prefix
                   6502: 
1.1       paf      6503: e_sysconfdir=$sysconfdir
1.4       paf      6504: test "$e_sysconfdir" = "\${prefix}/etc" && e_sysconfdir="${e_prefix}/etc"
1.1       paf      6505: 
                   6506: 
                   6507: charsetsdir=$e_sysconfdir/parser3.charsets
                   6508: 
                   6509: 
                   6510: # expand apostrophed
                   6511: e_libdir=$libdir
                   6512: if test "$e_libdir" = "\${exec_prefix}/lib"; then
                   6513: 
                   6514:     # Let make expand exec_prefix.
                   6515:     e_exec_prefix=$exec_prefix
1.10      paf      6516:     test "x$e_exec_prefix" = xNONE && e_exec_prefix=$e_prefix
1.1       paf      6517: 
                   6518:     # expand apostrophed
                   6519:     test "$e_libdir" = "\${exec_prefix}/lib" && e_libdir="${e_exec_prefix}/lib"
                   6520: fi
                   6521: 
                   6522: sqldriversdir=$e_libdir
                   6523: 
                   6524: 
                   6525: 
                   6526: 
                   6527: 
                   6528: 
                   6529: 
1.62      paf      6530: 
                   6531: 
                   6532: 
                   6533: 
                   6534: 
                   6535: 
                   6536: 
                   6537: 
                   6538: 
                   6539: 
                   6540: 
                   6541: 
                   6542: 
                   6543: 
                   6544: 
                   6545: 
                   6546: 
                   6547: 
                   6548: 
                   6549: 
                   6550: 
                   6551: 
                   6552: 
                   6553: 
                   6554: 
                   6555: 
                   6556:           ac_config_headers="$ac_config_headers src/include/pa_config_auto.h"
                   6557: 
                   6558:                                                                                                                                                                                                                                                 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"
                   6559: cat >confcache <<\_ACEOF
1.1       paf      6560: # This file is a shell script that caches the results of configure
                   6561: # tests run on this system so they can be shared between configure
1.62      paf      6562: # scripts and configure runs, see configure's option --config-cache.
                   6563: # It is not useful on other systems.  If it contains results you don't
                   6564: # want to keep, you may remove or edit it.
1.1       paf      6565: #
1.62      paf      6566: # config.status only pays attention to the cache file if you give it
                   6567: # the --recheck option to rerun configure.
1.1       paf      6568: #
1.62      paf      6569: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   6570: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   6571: # following values.
                   6572: 
                   6573: _ACEOF
                   6574: 
1.1       paf      6575: # The following way of writing the cache mishandles newlines in values,
                   6576: # but we know of no workaround that is simple, portable, and efficient.
                   6577: # So, don't put newlines in cache variables' values.
                   6578: # Ultrix sh set writes to stderr and can't be redirected directly,
                   6579: # and sets the high bit in the cache file unless we assign to the vars.
1.62      paf      6580: {
                   6581:   (set) 2>&1 |
                   6582:     case `(ac_space=' '; set | grep ac_space) 2>&1` in
                   6583:     *ac_space=\ *)
                   6584:       # `set' does not quote correctly, so add quotes (double-quote
                   6585:       # substitution turns \\\\ into \\, and sed turns \\ into \).
                   6586:       sed -n \
                   6587:         "s/'/'\\\\''/g;
                   6588:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   6589:       ;;
                   6590:     *)
                   6591:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   6592:       sed -n \
                   6593:         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
                   6594:       ;;
                   6595:     esac;
                   6596: } |
                   6597:   sed '
                   6598:      t clear
                   6599:      : clear
                   6600:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   6601:      t end
                   6602:      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   6603:      : end' >>confcache
                   6604: if diff $cache_file confcache >/dev/null 2>&1; then :; else
1.1       paf      6605:   if test -w $cache_file; then
1.62      paf      6606:     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
                   6607:     cat confcache >$cache_file
1.1       paf      6608:   else
                   6609:     echo "not updating unwritable cache $cache_file"
                   6610:   fi
                   6611: fi
                   6612: rm -f confcache
                   6613: 
                   6614: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   6615: # Let make expand exec_prefix.
                   6616: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   6617: 
1.62      paf      6618: # VPATH may cause trouble with some makes, so we remove $(srcdir),
                   6619: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
                   6620: # trailing colons and then remove the whole line if VPATH becomes empty
                   6621: # (actually we leave an empty line to preserve line numbers).
1.1       paf      6622: if test "x$srcdir" = x.; then
1.62      paf      6623:   ac_vpsub='/^[        ]*VPATH[        ]*=/{
                   6624: s/:*\$(srcdir):*/:/;
                   6625: s/:*\${srcdir}:*/:/;
                   6626: s/:*@srcdir@:*/:/;
                   6627: s/^\([^=]*=[   ]*\):*/\1/;
                   6628: s/:*$//;
                   6629: s/^[^=]*=[     ]*$//;
                   6630: }'
1.1       paf      6631: fi
                   6632: 
1.62      paf      6633: DEFS=-DHAVE_CONFIG_H
                   6634: 
                   6635: ac_libobjs=
                   6636: ac_ltlibobjs=
                   6637: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   6638:   # 1. Remove the extension, and $U if already installed.
                   6639:   ac_i=`echo "$ac_i" |
                   6640:          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
                   6641:   # 2. Add them.
                   6642:   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
                   6643:   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
                   6644: done
                   6645: LIBOBJS=$ac_libobjs
                   6646: 
                   6647: LTLIBOBJS=$ac_ltlibobjs
1.1       paf      6648: 
                   6649: 
1.62      paf      6650: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
                   6651:   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
                   6652: Usually this means the macro was only invoked conditionally." >&5
                   6653: echo "$as_me: error: conditional \"AMDEP\" was never defined.
                   6654: Usually this means the macro was only invoked conditionally." >&2;}
                   6655:    { (exit 1); exit 1; }; }
                   6656: fi
1.66      paf      6657: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
                   6658:   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
1.62      paf      6659: Usually this means the macro was only invoked conditionally." >&5
1.66      paf      6660: echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
1.62      paf      6661: Usually this means the macro was only invoked conditionally." >&2;}
                   6662:    { (exit 1); exit 1; }; }
                   6663: fi
1.66      paf      6664: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
                   6665:   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
1.62      paf      6666: Usually this means the macro was only invoked conditionally." >&5
1.66      paf      6667: echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
1.62      paf      6668: Usually this means the macro was only invoked conditionally." >&2;}
                   6669:    { (exit 1); exit 1; }; }
                   6670: fi
                   6671: if test -z "${DO_NOT_LINK_LIBSTDCPP_TRUE}" && test -z "${DO_NOT_LINK_LIBSTDCPP_FALSE}"; then
                   6672:   { { echo "$as_me:$LINENO: error: conditional \"DO_NOT_LINK_LIBSTDCPP\" was never defined.
                   6673: Usually this means the macro was only invoked conditionally." >&5
                   6674: echo "$as_me: error: conditional \"DO_NOT_LINK_LIBSTDCPP\" was never defined.
                   6675: Usually this means the macro was only invoked conditionally." >&2;}
                   6676:    { (exit 1); exit 1; }; }
                   6677: fi
                   6678: if test -z "${COMPILE_APACHE13_MODULE_TRUE}" && test -z "${COMPILE_APACHE13_MODULE_FALSE}"; then
                   6679:   { { echo "$as_me:$LINENO: error: conditional \"COMPILE_APACHE13_MODULE\" was never defined.
                   6680: Usually this means the macro was only invoked conditionally." >&5
                   6681: echo "$as_me: error: conditional \"COMPILE_APACHE13_MODULE\" was never defined.
                   6682: Usually this means the macro was only invoked conditionally." >&2;}
                   6683:    { (exit 1); exit 1; }; }
                   6684: fi
                   6685: 
1.1       paf      6686: : ${CONFIG_STATUS=./config.status}
1.62      paf      6687: ac_clean_files_save=$ac_clean_files
                   6688: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   6689: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
                   6690: echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   6691: cat >$CONFIG_STATUS <<_ACEOF
                   6692: #! $SHELL
                   6693: # Generated by $as_me.
                   6694: # Run this file to recreate the current configuration.
                   6695: # Compiler output produced by configure, useful for debugging
                   6696: # configure, is in config.log if it exists.
                   6697: 
                   6698: debug=false
                   6699: ac_cs_recheck=false
                   6700: ac_cs_silent=false
                   6701: SHELL=\${CONFIG_SHELL-$SHELL}
                   6702: _ACEOF
                   6703: 
                   6704: cat >>$CONFIG_STATUS <<\_ACEOF
                   6705: ## --------------------- ##
                   6706: ## M4sh Initialization.  ##
                   6707: ## --------------------- ##
                   6708: 
                   6709: # Be Bourne compatible
                   6710: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                   6711:   emulate sh
                   6712:   NULLCMD=:
                   6713:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
                   6714:   # is contrary to our usage.  Disable this feature.
                   6715:   alias -g '${1+"$@"}'='"$@"'
                   6716: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
                   6717:   set -o posix
                   6718: fi
                   6719: 
                   6720: # Support unset when possible.
                   6721: if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
                   6722:   as_unset=unset
                   6723: else
                   6724:   as_unset=false
                   6725: fi
                   6726: 
                   6727: 
                   6728: # Work around bugs in pre-3.0 UWIN ksh.
                   6729: $as_unset ENV MAIL MAILPATH
                   6730: PS1='$ '
                   6731: PS2='> '
                   6732: PS4='+ '
                   6733: 
                   6734: # NLS nuisances.
                   6735: for as_var in \
                   6736:   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
                   6737:   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
                   6738:   LC_TELEPHONE LC_TIME
                   6739: do
                   6740:   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
                   6741:     eval $as_var=C; export $as_var
                   6742:   else
                   6743:     $as_unset $as_var
                   6744:   fi
                   6745: done
1.1       paf      6746: 
1.62      paf      6747: # Required to use basename.
                   6748: if expr a : '\(a\)' >/dev/null 2>&1; then
                   6749:   as_expr=expr
                   6750: else
                   6751:   as_expr=false
                   6752: fi
                   6753: 
                   6754: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
                   6755:   as_basename=basename
                   6756: else
                   6757:   as_basename=false
                   6758: fi
                   6759: 
                   6760: 
                   6761: # Name of the executable.
                   6762: as_me=`$as_basename "$0" ||
                   6763: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   6764:         X"$0" : 'X\(//\)$' \| \
                   6765:         X"$0" : 'X\(/\)$' \| \
                   6766:         .     : '\(.\)' 2>/dev/null ||
                   6767: echo X/"$0" |
                   6768:     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
                   6769:          /^X\/\(\/\/\)$/{ s//\1/; q; }
                   6770:          /^X\/\(\/\).*/{ s//\1/; q; }
                   6771:          s/.*/./; q'`
                   6772: 
                   6773: 
                   6774: # PATH needs CR, and LINENO needs CR and PATH.
                   6775: # Avoid depending upon Character Ranges.
                   6776: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   6777: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   6778: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   6779: as_cr_digits='0123456789'
                   6780: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   6781: 
                   6782: # The user is always right.
                   6783: if test "${PATH_SEPARATOR+set}" != set; then
                   6784:   echo "#! /bin/sh" >conf$$.sh
                   6785:   echo  "exit 0"   >>conf$$.sh
                   6786:   chmod +x conf$$.sh
                   6787:   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
                   6788:     PATH_SEPARATOR=';'
                   6789:   else
                   6790:     PATH_SEPARATOR=:
                   6791:   fi
                   6792:   rm -f conf$$.sh
                   6793: fi
                   6794: 
                   6795: 
                   6796:   as_lineno_1=$LINENO
                   6797:   as_lineno_2=$LINENO
                   6798:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   6799:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   6800:   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
                   6801:   # Find who we are.  Look in the path if we contain no path at all
                   6802:   # relative or not.
                   6803:   case $0 in
                   6804:     *[\\/]* ) as_myself=$0 ;;
                   6805:     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6806: for as_dir in $PATH
                   6807: do
                   6808:   IFS=$as_save_IFS
                   6809:   test -z "$as_dir" && as_dir=.
                   6810:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   6811: done
                   6812: 
                   6813:        ;;
                   6814:   esac
                   6815:   # We did not find ourselves, most probably we were run as `sh COMMAND'
                   6816:   # in which case we are not to be found in the path.
                   6817:   if test "x$as_myself" = x; then
                   6818:     as_myself=$0
                   6819:   fi
                   6820:   if test ! -f "$as_myself"; then
                   6821:     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
                   6822: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
                   6823:    { (exit 1); exit 1; }; }
                   6824:   fi
                   6825:   case $CONFIG_SHELL in
                   6826:   '')
                   6827:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6828: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                   6829: do
                   6830:   IFS=$as_save_IFS
                   6831:   test -z "$as_dir" && as_dir=.
                   6832:   for as_base in sh bash ksh sh5; do
                   6833:         case $as_dir in
                   6834:         /*)
                   6835:           if ("$as_dir/$as_base" -c '
                   6836:   as_lineno_1=$LINENO
                   6837:   as_lineno_2=$LINENO
                   6838:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   6839:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   6840:   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
                   6841:             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
                   6842:             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
                   6843:             CONFIG_SHELL=$as_dir/$as_base
                   6844:             export CONFIG_SHELL
                   6845:             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
                   6846:           fi;;
                   6847:         esac
                   6848:        done
                   6849: done
                   6850: ;;
                   6851:   esac
                   6852: 
                   6853:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
                   6854:   # uniformly replaced by the line number.  The first 'sed' inserts a
                   6855:   # line-number line before each line; the second 'sed' does the real
                   6856:   # work.  The second script uses 'N' to pair each line-number line
                   6857:   # with the numbered line, and appends trailing '-' during
                   6858:   # substitution so that $LINENO is not a special case at line end.
                   6859:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
                   6860:   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
                   6861:   sed '=' <$as_myself |
                   6862:     sed '
                   6863:       N
                   6864:       s,$,-,
                   6865:       : loop
                   6866:       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
                   6867:       t loop
                   6868:       s,-$,,
                   6869:       s,^['$as_cr_digits']*\n,,
                   6870:     ' >$as_me.lineno &&
                   6871:   chmod +x $as_me.lineno ||
                   6872:     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
                   6873: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
                   6874:    { (exit 1); exit 1; }; }
                   6875: 
                   6876:   # Don't try to exec as it changes $[0], causing all sort of problems
                   6877:   # (the dirname of $[0] is not the place where we might find the
                   6878:   # original and so on.  Autoconf is especially sensible to this).
                   6879:   . ./$as_me.lineno
                   6880:   # Exit status is that of the last command.
                   6881:   exit
                   6882: }
                   6883: 
                   6884: 
                   6885: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
                   6886:   *c*,-n*) ECHO_N= ECHO_C='
                   6887: ' ECHO_T='     ' ;;
                   6888:   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
                   6889:   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
                   6890: esac
                   6891: 
                   6892: if expr a : '\(a\)' >/dev/null 2>&1; then
                   6893:   as_expr=expr
                   6894: else
                   6895:   as_expr=false
                   6896: fi
                   6897: 
                   6898: rm -f conf$$ conf$$.exe conf$$.file
                   6899: echo >conf$$.file
                   6900: if ln -s conf$$.file conf$$ 2>/dev/null; then
                   6901:   # We could just check for DJGPP; but this test a) works b) is more generic
                   6902:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
                   6903:   if test -f conf$$.exe; then
                   6904:     # Don't use ln at all; we don't have any links
                   6905:     as_ln_s='cp -p'
                   6906:   else
                   6907:     as_ln_s='ln -s'
                   6908:   fi
                   6909: elif ln conf$$.file conf$$ 2>/dev/null; then
                   6910:   as_ln_s=ln
                   6911: else
                   6912:   as_ln_s='cp -p'
                   6913: fi
                   6914: rm -f conf$$ conf$$.exe conf$$.file
                   6915: 
                   6916: if mkdir -p . 2>/dev/null; then
                   6917:   as_mkdir_p=:
                   6918: else
                   6919:   as_mkdir_p=false
                   6920: fi
                   6921: 
                   6922: as_executable_p="test -f"
                   6923: 
                   6924: # Sed expression to map a string onto a valid CPP name.
                   6925: as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
                   6926: 
                   6927: # Sed expression to map a string onto a valid variable name.
                   6928: as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
                   6929: 
                   6930: 
                   6931: # IFS
                   6932: # We need space, tab and new line, in precisely that order.
                   6933: as_nl='
                   6934: '
                   6935: IFS="  $as_nl"
                   6936: 
                   6937: # CDPATH.
                   6938: $as_unset CDPATH
                   6939: 
                   6940: exec 6>&1
                   6941: 
                   6942: # Open the log real soon, to keep \$[0] and so on meaningful, and to
                   6943: # report actual input values of CONFIG_FILES etc. instead of their
                   6944: # values after options handling.  Logging --version etc. is OK.
                   6945: exec 5>>config.log
                   6946: {
                   6947:   echo
                   6948:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   6949: ## Running $as_me. ##
                   6950: _ASBOX
                   6951: } >&5
                   6952: cat >&5 <<_CSEOF
                   6953: 
                   6954: This file was extended by $as_me, which was
                   6955: generated by GNU Autoconf 2.57.  Invocation command line was
                   6956: 
                   6957:   CONFIG_FILES    = $CONFIG_FILES
                   6958:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   6959:   CONFIG_LINKS    = $CONFIG_LINKS
                   6960:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   6961:   $ $0 $@
                   6962: 
                   6963: _CSEOF
                   6964: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
                   6965: echo >&5
                   6966: _ACEOF
                   6967: 
                   6968: # Files that config.status was made for.
                   6969: if test -n "$ac_config_files"; then
                   6970:   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
                   6971: fi
                   6972: 
                   6973: if test -n "$ac_config_headers"; then
                   6974:   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
                   6975: fi
                   6976: 
                   6977: if test -n "$ac_config_links"; then
                   6978:   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
                   6979: fi
                   6980: 
                   6981: if test -n "$ac_config_commands"; then
                   6982:   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
                   6983: fi
                   6984: 
                   6985: cat >>$CONFIG_STATUS <<\_ACEOF
                   6986: 
                   6987: ac_cs_usage="\
                   6988: \`$as_me' instantiates files from templates according to the
                   6989: current configuration.
                   6990: 
                   6991: Usage: $0 [OPTIONS] [FILE]...
                   6992: 
                   6993:   -h, --help       print this help, then exit
                   6994:   -V, --version    print version number, then exit
                   6995:   -q, --quiet      do not print progress messages
                   6996:   -d, --debug      don't remove temporary files
                   6997:       --recheck    update $as_me by reconfiguring in the same conditions
                   6998:   --file=FILE[:TEMPLATE]
                   6999:                    instantiate the configuration file FILE
                   7000:   --header=FILE[:TEMPLATE]
                   7001:                    instantiate the configuration header FILE
                   7002: 
                   7003: Configuration files:
                   7004: $config_files
                   7005: 
                   7006: Configuration headers:
                   7007: $config_headers
                   7008: 
                   7009: Configuration commands:
                   7010: $config_commands
                   7011: 
                   7012: Report bugs to <bug-autoconf@gnu.org>."
                   7013: _ACEOF
                   7014: 
                   7015: cat >>$CONFIG_STATUS <<_ACEOF
                   7016: ac_cs_version="\\
                   7017: config.status
                   7018: configured by $0, generated by GNU Autoconf 2.57,
                   7019:   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
                   7020: 
                   7021: Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
                   7022: Free Software Foundation, Inc.
                   7023: This config.status script is free software; the Free Software Foundation
                   7024: gives unlimited permission to copy, distribute and modify it."
                   7025: srcdir=$srcdir
                   7026: INSTALL="$INSTALL"
                   7027: _ACEOF
                   7028: 
                   7029: cat >>$CONFIG_STATUS <<\_ACEOF
                   7030: # If no file are specified by the user, then we need to provide default
                   7031: # value.  By we need to know if files were specified by the user.
                   7032: ac_need_defaults=:
                   7033: while test $# != 0
                   7034: do
                   7035:   case $1 in
                   7036:   --*=*)
                   7037:     ac_option=`expr "x$1" : 'x\([^=]*\)='`
                   7038:     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
                   7039:     ac_shift=:
                   7040:     ;;
                   7041:   -*)
                   7042:     ac_option=$1
                   7043:     ac_optarg=$2
                   7044:     ac_shift=shift
                   7045:     ;;
                   7046:   *) # This is not an option, so the user has probably given explicit
                   7047:      # arguments.
                   7048:      ac_option=$1
                   7049:      ac_need_defaults=false;;
                   7050:   esac
                   7051: 
                   7052:   case $ac_option in
                   7053:   # Handling of the options.
                   7054: _ACEOF
                   7055: cat >>$CONFIG_STATUS <<\_ACEOF
                   7056:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   7057:     ac_cs_recheck=: ;;
                   7058:   --version | --vers* | -V )
                   7059:     echo "$ac_cs_version"; exit 0 ;;
                   7060:   --he | --h)
                   7061:     # Conflict between --help and --header
                   7062:     { { echo "$as_me:$LINENO: error: ambiguous option: $1
                   7063: Try \`$0 --help' for more information." >&5
                   7064: echo "$as_me: error: ambiguous option: $1
                   7065: Try \`$0 --help' for more information." >&2;}
                   7066:    { (exit 1); exit 1; }; };;
                   7067:   --help | --hel | -h )
                   7068:     echo "$ac_cs_usage"; exit 0 ;;
                   7069:   --debug | --d* | -d )
                   7070:     debug=: ;;
                   7071:   --file | --fil | --fi | --f )
                   7072:     $ac_shift
                   7073:     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
                   7074:     ac_need_defaults=false;;
                   7075:   --header | --heade | --head | --hea )
                   7076:     $ac_shift
                   7077:     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
                   7078:     ac_need_defaults=false;;
                   7079:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   7080:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   7081:     ac_cs_silent=: ;;
                   7082: 
                   7083:   # This is an error.
                   7084:   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
                   7085: Try \`$0 --help' for more information." >&5
                   7086: echo "$as_me: error: unrecognized option: $1
                   7087: Try \`$0 --help' for more information." >&2;}
                   7088:    { (exit 1); exit 1; }; } ;;
                   7089: 
                   7090:   *) ac_config_targets="$ac_config_targets $1" ;;
                   7091: 
                   7092:   esac
                   7093:   shift
                   7094: done
                   7095: 
                   7096: ac_configure_extra_args=
                   7097: 
                   7098: if $ac_cs_silent; then
                   7099:   exec 6>/dev/null
                   7100:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   7101: fi
                   7102: 
                   7103: _ACEOF
                   7104: cat >>$CONFIG_STATUS <<_ACEOF
                   7105: if \$ac_cs_recheck; then
                   7106:   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
                   7107:   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   7108: fi
                   7109: 
                   7110: _ACEOF
                   7111: 
                   7112: cat >>$CONFIG_STATUS <<_ACEOF
1.1       paf      7113: #
1.62      paf      7114: # INIT-COMMANDS section.
1.1       paf      7115: #
                   7116: 
1.62      paf      7117: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   7118: 
                   7119: _ACEOF
                   7120: 
                   7121: 
                   7122: 
                   7123: cat >>$CONFIG_STATUS <<\_ACEOF
                   7124: for ac_config_target in $ac_config_targets
1.1       paf      7125: do
1.62      paf      7126:   case "$ac_config_target" in
                   7127:   # Handling of arguments.
                   7128:   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   7129:   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
                   7130:   "src/types/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/types/Makefile" ;;
                   7131:   "src/classes/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/classes/Makefile" ;;
                   7132:   "src/classes/gd/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/classes/gd/Makefile" ;;
                   7133:   "src/classes/smtp/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/classes/smtp/Makefile" ;;
                   7134:   "src/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
                   7135:   "src/main/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/main/Makefile" ;;
                   7136:   "src/sql/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/sql/Makefile" ;;
                   7137:   "src/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
                   7138:   "src/lib/ltdl/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/ltdl/Makefile" ;;
                   7139:   "src/lib/pcre/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/pcre/Makefile" ;;
                   7140:   "src/lib/md5/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/md5/Makefile" ;;
                   7141:   "src/lib/patches/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/patches/Makefile" ;;
                   7142:   "src/targets/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/Makefile" ;;
                   7143:   "src/targets/cgi/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/cgi/Makefile" ;;
                   7144:   "src/targets/apache13/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/apache13/Makefile" ;;
                   7145:   "src/targets/apache13/hook/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/apache13/hook/Makefile" ;;
                   7146:   "src/targets/apache13/p3runConfigure" ) CONFIG_FILES="$CONFIG_FILES src/targets/apache13/p3runConfigure" ;;
                   7147:   "src/targets/isapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/isapi/Makefile" ;;
                   7148:   "etc/Makefile" ) CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
                   7149:   "etc/parser3.charsets/Makefile" ) CONFIG_FILES="$CONFIG_FILES etc/parser3.charsets/Makefile" ;;
                   7150:   "bin/Makefile" ) CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
                   7151:   "bin/auto.p.dist" ) CONFIG_FILES="$CONFIG_FILES bin/auto.p.dist" ;;
                   7152:   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   7153:   "src/include/pa_config_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/include/pa_config_auto.h" ;;
                   7154:   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
                   7155: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
                   7156:    { (exit 1); exit 1; }; };;
1.1       paf      7157:   esac
                   7158: done
                   7159: 
1.62      paf      7160: # If the user did not use the arguments to specify the items to instantiate,
                   7161: # then the envvar interface is used.  Set only those that are not.
                   7162: # We use the long form for the default assignment because of an extremely
                   7163: # bizarre bug on SunOS 4.1.3.
                   7164: if $ac_need_defaults; then
                   7165:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   7166:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   7167:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   7168: fi
                   7169: 
                   7170: # Have a temporary directory for convenience.  Make it in the build tree
                   7171: # simply because there is no reason to put it here, and in addition,
                   7172: # creating and moving files from /tmp can sometimes cause problems.
                   7173: # Create a temporary directory, and hook for its removal unless debugging.
                   7174: $debug ||
                   7175: {
                   7176:   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
                   7177:   trap '{ (exit 1); exit 1; }' 1 2 13 15
                   7178: }
                   7179: 
                   7180: # Create a (secure) tmp directory for tmp files.
                   7181: 
                   7182: {
                   7183:   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
                   7184:   test -n "$tmp" && test -d "$tmp"
                   7185: }  ||
                   7186: {
                   7187:   tmp=./confstat$$-$RANDOM
                   7188:   (umask 077 && mkdir $tmp)
                   7189: } ||
                   7190: {
                   7191:    echo "$me: cannot create a temporary directory in ." >&2
                   7192:    { (exit 1); exit 1; }
                   7193: }
                   7194: 
                   7195: _ACEOF
1.1       paf      7196: 
1.62      paf      7197: cat >>$CONFIG_STATUS <<_ACEOF
                   7198: 
                   7199: #
                   7200: # CONFIG_FILES section.
                   7201: #
1.1       paf      7202: 
1.62      paf      7203: # No need to generate the scripts if there are no CONFIG_FILES.
                   7204: # This happens for instance when ./config.status config.h
                   7205: if test -n "\$CONFIG_FILES"; then
                   7206:   # Protect against being on the right side of a sed subst in config.status.
                   7207:   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
                   7208:    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
                   7209: s,@SHELL@,$SHELL,;t t
                   7210: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
                   7211: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
                   7212: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
                   7213: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
                   7214: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
                   7215: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
                   7216: s,@exec_prefix@,$exec_prefix,;t t
                   7217: s,@prefix@,$prefix,;t t
                   7218: s,@program_transform_name@,$program_transform_name,;t t
                   7219: s,@bindir@,$bindir,;t t
                   7220: s,@sbindir@,$sbindir,;t t
                   7221: s,@libexecdir@,$libexecdir,;t t
                   7222: s,@datadir@,$datadir,;t t
                   7223: s,@sysconfdir@,$sysconfdir,;t t
                   7224: s,@sharedstatedir@,$sharedstatedir,;t t
                   7225: s,@localstatedir@,$localstatedir,;t t
                   7226: s,@libdir@,$libdir,;t t
                   7227: s,@includedir@,$includedir,;t t
                   7228: s,@oldincludedir@,$oldincludedir,;t t
                   7229: s,@infodir@,$infodir,;t t
                   7230: s,@mandir@,$mandir,;t t
                   7231: s,@build_alias@,$build_alias,;t t
                   7232: s,@host_alias@,$host_alias,;t t
                   7233: s,@target_alias@,$target_alias,;t t
                   7234: s,@DEFS@,$DEFS,;t t
                   7235: s,@ECHO_C@,$ECHO_C,;t t
                   7236: s,@ECHO_N@,$ECHO_N,;t t
                   7237: s,@ECHO_T@,$ECHO_T,;t t
                   7238: s,@LIBS@,$LIBS,;t t
                   7239: s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
                   7240: s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
                   7241: s,@INSTALL_DATA@,$INSTALL_DATA,;t t
                   7242: s,@CYGPATH_W@,$CYGPATH_W,;t t
                   7243: s,@PACKAGE@,$PACKAGE,;t t
                   7244: s,@VERSION@,$VERSION,;t t
                   7245: s,@ACLOCAL@,$ACLOCAL,;t t
                   7246: s,@AUTOCONF@,$AUTOCONF,;t t
                   7247: s,@AUTOMAKE@,$AUTOMAKE,;t t
                   7248: s,@AUTOHEADER@,$AUTOHEADER,;t t
                   7249: s,@MAKEINFO@,$MAKEINFO,;t t
                   7250: s,@AMTAR@,$AMTAR,;t t
                   7251: s,@install_sh@,$install_sh,;t t
                   7252: s,@STRIP@,$STRIP,;t t
                   7253: s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
                   7254: s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
                   7255: s,@AWK@,$AWK,;t t
                   7256: s,@SET_MAKE@,$SET_MAKE,;t t
                   7257: s,@P3S@,$P3S,;t t
                   7258: s,@build@,$build,;t t
                   7259: s,@build_cpu@,$build_cpu,;t t
                   7260: s,@build_vendor@,$build_vendor,;t t
                   7261: s,@build_os@,$build_os,;t t
                   7262: s,@host@,$host,;t t
                   7263: s,@host_cpu@,$host_cpu,;t t
                   7264: s,@host_vendor@,$host_vendor,;t t
                   7265: s,@host_os@,$host_os,;t t
                   7266: s,@RANLIB@,$RANLIB,;t t
                   7267: s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
                   7268: s,@YACC@,$YACC,;t t
1.66      paf      7269: s,@CXX@,$CXX,;t t
                   7270: s,@CXXFLAGS@,$CXXFLAGS,;t t
1.62      paf      7271: s,@LDFLAGS@,$LDFLAGS,;t t
                   7272: s,@CPPFLAGS@,$CPPFLAGS,;t t
1.66      paf      7273: s,@ac_ct_CXX@,$ac_ct_CXX,;t t
1.62      paf      7274: s,@EXEEXT@,$EXEEXT,;t t
                   7275: s,@OBJEXT@,$OBJEXT,;t t
                   7276: s,@DEPDIR@,$DEPDIR,;t t
                   7277: s,@am__include@,$am__include,;t t
                   7278: s,@am__quote@,$am__quote,;t t
                   7279: s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
                   7280: s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
                   7281: s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
1.66      paf      7282: s,@CXXDEPMODE@,$CXXDEPMODE,;t t
                   7283: s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
                   7284: s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
                   7285: s,@CC@,$CC,;t t
                   7286: s,@CFLAGS@,$CFLAGS,;t t
                   7287: s,@ac_ct_CC@,$ac_ct_CC,;t t
1.62      paf      7288: s,@CCDEPMODE@,$CCDEPMODE,;t t
                   7289: s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
                   7290: s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
                   7291: s,@commentcharset_windows1251@,$commentcharset_windows1251,;t t
                   7292: s,@commentcharset_windows1250@,$commentcharset_windows1250,;t t
                   7293: s,@commentcharset_windows1257@,$commentcharset_windows1257,;t t
                   7294: s,@commentcharset_koi8r@,$commentcharset_koi8r,;t t
                   7295: s,@dll_extension@,$dll_extension,;t t
                   7296: s,@mysql_client@,$mysql_client,;t t
                   7297: s,@pgsql_client@,$pgsql_client,;t t
                   7298: s,@oracle_client@,$oracle_client,;t t
                   7299: s,@DO_NOT_LINK_LIBSTDCPP_TRUE@,$DO_NOT_LINK_LIBSTDCPP_TRUE,;t t
                   7300: s,@DO_NOT_LINK_LIBSTDCPP_FALSE@,$DO_NOT_LINK_LIBSTDCPP_FALSE,;t t
                   7301: s,@XML_INCLUDES@,$XML_INCLUDES,;t t
                   7302: s,@XML_LIBS@,$XML_LIBS,;t t
                   7303: s,@MIME_INCLUDES@,$MIME_INCLUDES,;t t
                   7304: s,@MIME_LIBS@,$MIME_LIBS,;t t
                   7305: s,@APACHE13@,$APACHE13,;t t
                   7306: s,@COMPILE_APACHE13_MODULE_TRUE@,$COMPILE_APACHE13_MODULE_TRUE,;t t
                   7307: s,@COMPILE_APACHE13_MODULE_FALSE@,$COMPILE_APACHE13_MODULE_FALSE,;t t
                   7308: s,@INCLTDL@,$INCLTDL,;t t
                   7309: s,@LIBLTDL@,$LIBLTDL,;t t
                   7310: s,@subdirs@,$subdirs,;t t
                   7311: s,@LIBADD_DL@,$LIBADD_DL,;t t
1.66      paf      7312: s,@CPP@,$CPP,;t t
                   7313: s,@EGREP@,$EGREP,;t t
1.62      paf      7314: s,@APACHE_LIBS@,$APACHE_LIBS,;t t
                   7315: s,@charsetsdir@,$charsetsdir,;t t
                   7316: s,@sqldriversdir@,$sqldriversdir,;t t
                   7317: s,@LIBOBJS@,$LIBOBJS,;t t
                   7318: s,@LTLIBOBJS@,$LTLIBOBJS,;t t
1.1       paf      7319: CEOF
                   7320: 
1.62      paf      7321: _ACEOF
1.1       paf      7322: 
1.62      paf      7323:   cat >>$CONFIG_STATUS <<\_ACEOF
                   7324:   # Split the substitutions into bite-sized pieces for seds with
                   7325:   # small command number limits, like on Digital OSF/1 and HP-UX.
                   7326:   ac_max_sed_lines=48
                   7327:   ac_sed_frag=1 # Number of current file.
                   7328:   ac_beg=1 # First line for current file.
                   7329:   ac_end=$ac_max_sed_lines # Line after last line for current file.
                   7330:   ac_more_lines=:
                   7331:   ac_sed_cmds=
                   7332:   while $ac_more_lines; do
                   7333:     if test $ac_beg -gt 1; then
                   7334:       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   7335:     else
                   7336:       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   7337:     fi
                   7338:     if test ! -s $tmp/subs.frag; then
                   7339:       ac_more_lines=false
1.1       paf      7340:     else
1.62      paf      7341:       # The purpose of the label and of the branching condition is to
                   7342:       # speed up the sed processing (if there are no `@' at all, there
                   7343:       # is no need to browse any of the substitutions).
                   7344:       # These are the two extra sed commands mentioned above.
                   7345:       (echo ':t
                   7346:   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
                   7347:       if test -z "$ac_sed_cmds"; then
                   7348:        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
                   7349:       else
                   7350:        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
                   7351:       fi
                   7352:       ac_sed_frag=`expr $ac_sed_frag + 1`
                   7353:       ac_beg=$ac_end
                   7354:       ac_end=`expr $ac_end + $ac_max_sed_lines`
1.1       paf      7355:     fi
1.62      paf      7356:   done
                   7357:   if test -z "$ac_sed_cmds"; then
                   7358:     ac_sed_cmds=cat
1.1       paf      7359:   fi
1.62      paf      7360: fi # test -n "$CONFIG_FILES"
1.1       paf      7361: 
1.62      paf      7362: _ACEOF
                   7363: cat >>$CONFIG_STATUS <<\_ACEOF
                   7364: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
1.1       paf      7365:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.62      paf      7366:   case $ac_file in
                   7367:   - | *:- | *:-:* ) # input from stdin
                   7368:         cat >$tmp/stdin
                   7369:         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   7370:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   7371:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   7372:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   7373:   * )   ac_file_in=$ac_file.in ;;
1.1       paf      7374:   esac
                   7375: 
1.62      paf      7376:   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
                   7377:   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
                   7378: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   7379:          X"$ac_file" : 'X\(//\)[^/]' \| \
                   7380:          X"$ac_file" : 'X\(//\)$' \| \
                   7381:          X"$ac_file" : 'X\(/\)' \| \
                   7382:          .     : '\(.\)' 2>/dev/null ||
                   7383: echo X"$ac_file" |
                   7384:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   7385:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   7386:          /^X\(\/\/\)$/{ s//\1/; q; }
                   7387:          /^X\(\/\).*/{ s//\1/; q; }
                   7388:          s/.*/./; q'`
                   7389:   { if $as_mkdir_p; then
                   7390:     mkdir -p "$ac_dir"
                   7391:   else
                   7392:     as_dir="$ac_dir"
                   7393:     as_dirs=
                   7394:     while test ! -d "$as_dir"; do
                   7395:       as_dirs="$as_dir $as_dirs"
                   7396:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   7397: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   7398:          X"$as_dir" : 'X\(//\)[^/]' \| \
                   7399:          X"$as_dir" : 'X\(//\)$' \| \
                   7400:          X"$as_dir" : 'X\(/\)' \| \
                   7401:          .     : '\(.\)' 2>/dev/null ||
                   7402: echo X"$as_dir" |
                   7403:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   7404:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   7405:          /^X\(\/\/\)$/{ s//\1/; q; }
                   7406:          /^X\(\/\).*/{ s//\1/; q; }
                   7407:          s/.*/./; q'`
                   7408:     done
                   7409:     test ! -n "$as_dirs" || mkdir $as_dirs
                   7410:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   7411: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   7412:    { (exit 1); exit 1; }; }; }
                   7413: 
                   7414:   ac_builddir=.
                   7415: 
                   7416: if test "$ac_dir" != .; then
                   7417:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   7418:   # A "../" for each directory in $ac_dir_suffix.
                   7419:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   7420: else
                   7421:   ac_dir_suffix= ac_top_builddir=
                   7422: fi
                   7423: 
                   7424: case $srcdir in
                   7425:   .)  # No --srcdir option.  We are building in place.
                   7426:     ac_srcdir=.
                   7427:     if test -z "$ac_top_builddir"; then
                   7428:        ac_top_srcdir=.
                   7429:     else
                   7430:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   7431:     fi ;;
                   7432:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   7433:     ac_srcdir=$srcdir$ac_dir_suffix;
                   7434:     ac_top_srcdir=$srcdir ;;
                   7435:   *) # Relative path.
                   7436:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   7437:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   7438: esac
                   7439: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
                   7440: # absolute.
                   7441: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
                   7442: ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
                   7443: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
                   7444: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
                   7445: 
1.1       paf      7446: 
1.62      paf      7447:   case $INSTALL in
                   7448:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   7449:   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
1.1       paf      7450:   esac
                   7451: 
1.62      paf      7452:   if test x"$ac_file" != x-; then
                   7453:     { echo "$as_me:$LINENO: creating $ac_file" >&5
                   7454: echo "$as_me: creating $ac_file" >&6;}
                   7455:     rm -f "$ac_file"
                   7456:   fi
                   7457:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   7458:   # use $as_me), people would be surprised to read:
                   7459:   #    /* config.h.  Generated by config.status.  */
                   7460:   if test x"$ac_file" = x-; then
                   7461:     configure_input=
                   7462:   else
                   7463:     configure_input="$ac_file.  "
                   7464:   fi
                   7465:   configure_input=$configure_input"Generated from `echo $ac_file_in |
                   7466:                                      sed 's,.*/,,'` by configure."
                   7467: 
                   7468:   # First look for the input files in the build tree, otherwise in the
                   7469:   # src tree.
                   7470:   ac_file_inputs=`IFS=:
                   7471:     for f in $ac_file_in; do
                   7472:       case $f in
                   7473:       -) echo $tmp/stdin ;;
                   7474:       [\\/$]*)
                   7475:          # Absolute (can't be DOS-style, as IFS=:)
                   7476:          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   7477: echo "$as_me: error: cannot find input file: $f" >&2;}
                   7478:    { (exit 1); exit 1; }; }
                   7479:          echo $f;;
                   7480:       *) # Relative
                   7481:          if test -f "$f"; then
                   7482:            # Build tree
                   7483:            echo $f
                   7484:          elif test -f "$srcdir/$f"; then
                   7485:            # Source tree
                   7486:            echo $srcdir/$f
                   7487:          else
                   7488:            # /dev/null tree
                   7489:            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   7490: echo "$as_me: error: cannot find input file: $f" >&2;}
                   7491:    { (exit 1); exit 1; }; }
                   7492:          fi;;
                   7493:       esac
                   7494:     done` || { (exit 1); exit 1; }
                   7495: _ACEOF
                   7496: cat >>$CONFIG_STATUS <<_ACEOF
                   7497:   sed "$ac_vpsub
                   7498: $extrasub
                   7499: _ACEOF
                   7500: cat >>$CONFIG_STATUS <<\_ACEOF
                   7501: :t
                   7502: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   7503: s,@configure_input@,$configure_input,;t t
                   7504: s,@srcdir@,$ac_srcdir,;t t
                   7505: s,@abs_srcdir@,$ac_abs_srcdir,;t t
                   7506: s,@top_srcdir@,$ac_top_srcdir,;t t
                   7507: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
                   7508: s,@builddir@,$ac_builddir,;t t
                   7509: s,@abs_builddir@,$ac_abs_builddir,;t t
                   7510: s,@top_builddir@,$ac_top_builddir,;t t
                   7511: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
                   7512: s,@INSTALL@,$ac_INSTALL,;t t
                   7513: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
                   7514:   rm -f $tmp/stdin
                   7515:   if test x"$ac_file" != x-; then
                   7516:     mv $tmp/out $ac_file
                   7517:   else
                   7518:     cat $tmp/out
                   7519:     rm -f $tmp/out
                   7520:   fi
1.1       paf      7521: 
1.62      paf      7522: done
                   7523: _ACEOF
                   7524: cat >>$CONFIG_STATUS <<\_ACEOF
1.1       paf      7525: 
1.62      paf      7526: #
                   7527: # CONFIG_HEADER section.
                   7528: #
1.1       paf      7529: 
                   7530: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
                   7531: # NAME is the cpp macro being defined and VALUE is the value it is being given.
                   7532: #
                   7533: # ac_d sets the value in "#define NAME VALUE" lines.
1.62      paf      7534: ac_dA='s,^\([  ]*\)#\([        ]*define[       ][      ]*\)'
                   7535: ac_dB='[       ].*$,\1#\2'
                   7536: ac_dC=' '
                   7537: ac_dD=',;t'
                   7538: # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
                   7539: ac_uA='s,^\([  ]*\)#\([        ]*\)undef\([    ][      ]*\)'
                   7540: ac_uB='$,\1#\2define\3'
1.1       paf      7541: ac_uC=' '
1.62      paf      7542: ac_uD=',;t'
                   7543: 
                   7544: for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
1.1       paf      7545:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.62      paf      7546:   case $ac_file in
                   7547:   - | *:- | *:-:* ) # input from stdin
                   7548:         cat >$tmp/stdin
                   7549:         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   7550:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   7551:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   7552:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   7553:   * )   ac_file_in=$ac_file.in ;;
1.1       paf      7554:   esac
                   7555: 
1.62      paf      7556:   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
                   7557: echo "$as_me: creating $ac_file" >&6;}
1.1       paf      7558: 
1.62      paf      7559:   # First look for the input files in the build tree, otherwise in the
                   7560:   # src tree.
                   7561:   ac_file_inputs=`IFS=:
                   7562:     for f in $ac_file_in; do
                   7563:       case $f in
                   7564:       -) echo $tmp/stdin ;;
                   7565:       [\\/$]*)
                   7566:          # Absolute (can't be DOS-style, as IFS=:)
                   7567:          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   7568: echo "$as_me: error: cannot find input file: $f" >&2;}
                   7569:    { (exit 1); exit 1; }; }
                   7570:          echo $f;;
                   7571:       *) # Relative
                   7572:          if test -f "$f"; then
                   7573:            # Build tree
                   7574:            echo $f
                   7575:          elif test -f "$srcdir/$f"; then
                   7576:            # Source tree
                   7577:            echo $srcdir/$f
                   7578:          else
                   7579:            # /dev/null tree
                   7580:            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   7581: echo "$as_me: error: cannot find input file: $f" >&2;}
                   7582:    { (exit 1); exit 1; }; }
                   7583:          fi;;
                   7584:       esac
                   7585:     done` || { (exit 1); exit 1; }
                   7586:   # Remove the trailing spaces.
                   7587:   sed 's/[     ]*$//' $ac_file_inputs >$tmp/in
                   7588: 
                   7589: _ACEOF
                   7590: 
                   7591: # Transform confdefs.h into two sed scripts, `conftest.defines' and
                   7592: # `conftest.undefs', that substitutes the proper values into
                   7593: # config.h.in to produce config.h.  The first handles `#define'
                   7594: # templates, and the second `#undef' templates.
                   7595: # And first: Protect against being on the right side of a sed subst in
                   7596: # config.status.  Protect against being in an unquoted here document
                   7597: # in config.status.
                   7598: rm -f conftest.defines conftest.undefs
                   7599: # Using a here document instead of a string reduces the quoting nightmare.
                   7600: # Putting comments in sed scripts is not portable.
                   7601: #
                   7602: # `end' is used to avoid that the second main sed command (meant for
                   7603: # 0-ary CPP macros) applies to n-ary macro definitions.
                   7604: # See the Autoconf documentation for `clear'.
                   7605: cat >confdef2sed.sed <<\_ACEOF
                   7606: s/[\\&,]/\\&/g
                   7607: s,[\\$`],\\&,g
                   7608: t clear
                   7609: : clear
                   7610: s,^[   ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
                   7611: t end
                   7612: s,^[   ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
                   7613: : end
                   7614: _ACEOF
                   7615: # If some macros were called several times there might be several times
                   7616: # the same #defines, which is useless.  Nevertheless, we may not want to
                   7617: # sort them, since we want the *last* AC-DEFINE to be honored.
                   7618: uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
                   7619: sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
                   7620: rm -f confdef2sed.sed
1.1       paf      7621: 
                   7622: # This sed command replaces #undef with comments.  This is necessary, for
                   7623: # example, in the case of _POSIX_SOURCE, which is predefined and required
                   7624: # on some systems where configure will not decide to define it.
1.62      paf      7625: cat >>conftest.undefs <<\_ACEOF
                   7626: s,^[   ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
                   7627: _ACEOF
                   7628: 
                   7629: # Break up conftest.defines because some shells have a limit on the size
                   7630: # of here documents, and old seds have small limits too (100 cmds).
                   7631: echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
                   7632: echo '  if grep "^[    ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
                   7633: echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
                   7634: echo '  :' >>$CONFIG_STATUS
                   7635: rm -f conftest.tail
                   7636: while grep . conftest.defines >/dev/null
                   7637: do
                   7638:   # Write a limited-size here document to $tmp/defines.sed.
                   7639:   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
                   7640:   # Speed up: don't consider the non `#define' lines.
                   7641:   echo '/^[    ]*#[    ]*define/!b' >>$CONFIG_STATUS
                   7642:   # Work around the forget-to-reset-the-flag bug.
                   7643:   echo 't clr' >>$CONFIG_STATUS
                   7644:   echo ': clr' >>$CONFIG_STATUS
                   7645:   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
                   7646:   echo 'CEOF
                   7647:   sed -f $tmp/defines.sed $tmp/in >$tmp/out
                   7648:   rm -f $tmp/in
                   7649:   mv $tmp/out $tmp/in
                   7650: ' >>$CONFIG_STATUS
                   7651:   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
                   7652:   rm -f conftest.defines
                   7653:   mv conftest.tail conftest.defines
                   7654: done
                   7655: rm -f conftest.defines
                   7656: echo '  fi # grep' >>$CONFIG_STATUS
                   7657: echo >>$CONFIG_STATUS
                   7658: 
                   7659: # Break up conftest.undefs because some shells have a limit on the size
                   7660: # of here documents, and old seds have small limits too (100 cmds).
                   7661: echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
1.1       paf      7662: rm -f conftest.tail
1.62      paf      7663: while grep . conftest.undefs >/dev/null
1.1       paf      7664: do
1.62      paf      7665:   # Write a limited-size here document to $tmp/undefs.sed.
                   7666:   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
                   7667:   # Speed up: don't consider the non `#undef'
                   7668:   echo '/^[    ]*#[    ]*undef/!b' >>$CONFIG_STATUS
                   7669:   # Work around the forget-to-reset-the-flag bug.
                   7670:   echo 't clr' >>$CONFIG_STATUS
                   7671:   echo ': clr' >>$CONFIG_STATUS
                   7672:   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
1.1       paf      7673:   echo 'CEOF
1.62      paf      7674:   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
                   7675:   rm -f $tmp/in
                   7676:   mv $tmp/out $tmp/in
                   7677: ' >>$CONFIG_STATUS
                   7678:   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
                   7679:   rm -f conftest.undefs
                   7680:   mv conftest.tail conftest.undefs
                   7681: done
                   7682: rm -f conftest.undefs
                   7683: 
                   7684: cat >>$CONFIG_STATUS <<\_ACEOF
                   7685:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   7686:   # use $as_me), people would be surprised to read:
                   7687:   #    /* config.h.  Generated by config.status.  */
                   7688:   if test x"$ac_file" = x-; then
                   7689:     echo "/* Generated by configure.  */" >$tmp/config.h
                   7690:   else
                   7691:     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
                   7692:   fi
                   7693:   cat $tmp/in >>$tmp/config.h
                   7694:   rm -f $tmp/in
                   7695:   if test x"$ac_file" != x-; then
                   7696:     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
                   7697:       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
                   7698: echo "$as_me: $ac_file is unchanged" >&6;}
                   7699:     else
                   7700:       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
                   7701: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   7702:          X"$ac_file" : 'X\(//\)[^/]' \| \
                   7703:          X"$ac_file" : 'X\(//\)$' \| \
                   7704:          X"$ac_file" : 'X\(/\)' \| \
                   7705:          .     : '\(.\)' 2>/dev/null ||
                   7706: echo X"$ac_file" |
                   7707:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   7708:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   7709:          /^X\(\/\/\)$/{ s//\1/; q; }
                   7710:          /^X\(\/\).*/{ s//\1/; q; }
                   7711:          s/.*/./; q'`
                   7712:       { if $as_mkdir_p; then
                   7713:     mkdir -p "$ac_dir"
                   7714:   else
                   7715:     as_dir="$ac_dir"
                   7716:     as_dirs=
                   7717:     while test ! -d "$as_dir"; do
                   7718:       as_dirs="$as_dir $as_dirs"
                   7719:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   7720: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   7721:          X"$as_dir" : 'X\(//\)[^/]' \| \
                   7722:          X"$as_dir" : 'X\(//\)$' \| \
                   7723:          X"$as_dir" : 'X\(/\)' \| \
                   7724:          .     : '\(.\)' 2>/dev/null ||
                   7725: echo X"$as_dir" |
                   7726:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   7727:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   7728:          /^X\(\/\/\)$/{ s//\1/; q; }
                   7729:          /^X\(\/\).*/{ s//\1/; q; }
                   7730:          s/.*/./; q'`
                   7731:     done
                   7732:     test ! -n "$as_dirs" || mkdir $as_dirs
                   7733:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   7734: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   7735:    { (exit 1); exit 1; }; }; }
                   7736: 
                   7737:       rm -f $ac_file
                   7738:       mv $tmp/config.h $ac_file
                   7739:     fi
                   7740:   else
                   7741:     cat $tmp/config.h
                   7742:     rm -f $tmp/config.h
                   7743:   fi
                   7744: _am_stamp_count=`expr ${_am_stamp_count-0} + 1`
                   7745: echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
                   7746: $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   7747:          X$ac_file : 'X\(//\)[^/]' \| \
                   7748:          X$ac_file : 'X\(//\)$' \| \
                   7749:          X$ac_file : 'X\(/\)' \| \
                   7750:          .     : '\(.\)' 2>/dev/null ||
                   7751: echo X$ac_file |
                   7752:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   7753:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   7754:          /^X\(\/\/\)$/{ s//\1/; q; }
                   7755:          /^X\(\/\).*/{ s//\1/; q; }
                   7756:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   7757: done
                   7758: _ACEOF
                   7759: cat >>$CONFIG_STATUS <<\_ACEOF
                   7760: 
                   7761: #
                   7762: # CONFIG_COMMANDS section.
                   7763: #
                   7764: for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
                   7765:   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
                   7766:   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   7767:   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
                   7768: $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   7769:          X"$ac_dest" : 'X\(//\)[^/]' \| \
                   7770:          X"$ac_dest" : 'X\(//\)$' \| \
                   7771:          X"$ac_dest" : 'X\(/\)' \| \
                   7772:          .     : '\(.\)' 2>/dev/null ||
                   7773: echo X"$ac_dest" |
                   7774:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   7775:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   7776:          /^X\(\/\/\)$/{ s//\1/; q; }
                   7777:          /^X\(\/\).*/{ s//\1/; q; }
                   7778:          s/.*/./; q'`
                   7779:   ac_builddir=.
                   7780: 
                   7781: if test "$ac_dir" != .; then
                   7782:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   7783:   # A "../" for each directory in $ac_dir_suffix.
                   7784:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   7785: else
                   7786:   ac_dir_suffix= ac_top_builddir=
                   7787: fi
                   7788: 
                   7789: case $srcdir in
                   7790:   .)  # No --srcdir option.  We are building in place.
                   7791:     ac_srcdir=.
                   7792:     if test -z "$ac_top_builddir"; then
                   7793:        ac_top_srcdir=.
                   7794:     else
                   7795:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   7796:     fi ;;
                   7797:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   7798:     ac_srcdir=$srcdir$ac_dir_suffix;
                   7799:     ac_top_srcdir=$srcdir ;;
                   7800:   *) # Relative path.
                   7801:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   7802:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   7803: esac
                   7804: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
                   7805: # absolute.
                   7806: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
                   7807: ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
                   7808: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
                   7809: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
                   7810: 
                   7811: 
                   7812:   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
                   7813: echo "$as_me: executing $ac_dest commands" >&6;}
                   7814:   case $ac_dest in
                   7815:     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
                   7816:   # Strip MF so we end up with the name of the file.
                   7817:   mf=`echo "$mf" | sed -e 's/:.*$//'`
                   7818:   # Check whether this is an Automake generated Makefile or not.
                   7819:   # We used to match only the files named `Makefile.in', but
                   7820:   # some people rename them; so instead we look at the file content.
                   7821:   # Grep'ing the first line is not enough: some people post-process
                   7822:   # each Makefile.in and add a new line on top of each file to say so.
                   7823:   # So let's grep whole file.
                   7824:   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
                   7825:     dirpart=`(dirname "$mf") 2>/dev/null ||
                   7826: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   7827:          X"$mf" : 'X\(//\)[^/]' \| \
                   7828:          X"$mf" : 'X\(//\)$' \| \
                   7829:          X"$mf" : 'X\(/\)' \| \
                   7830:          .     : '\(.\)' 2>/dev/null ||
                   7831: echo X"$mf" |
                   7832:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   7833:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   7834:          /^X\(\/\/\)$/{ s//\1/; q; }
                   7835:          /^X\(\/\).*/{ s//\1/; q; }
                   7836:          s/.*/./; q'`
                   7837:   else
                   7838:     continue
                   7839:   fi
                   7840:   grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
                   7841:   # Extract the definition of DEP_FILES from the Makefile without
                   7842:   # running `make'.
                   7843:   DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
                   7844:   test -z "$DEPDIR" && continue
                   7845:   # When using ansi2knr, U may be empty or an underscore; expand it
                   7846:   U=`sed -n -e '/^U = / s///p' < "$mf"`
                   7847:   test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
                   7848:   # We invoke sed twice because it is the simplest approach to
                   7849:   # changing $(DEPDIR) to its actual value in the expansion.
                   7850:   for file in `sed -n -e '
                   7851:     /^DEP_FILES = .*\\\\$/ {
                   7852:       s/^DEP_FILES = //
                   7853:       :loop
                   7854:        s/\\\\$//
                   7855:        p
                   7856:        n
                   7857:        /\\\\$/ b loop
                   7858:       p
                   7859:     }
                   7860:     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
                   7861:        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   7862:     # Make sure the directory exists.
                   7863:     test -f "$dirpart/$file" && continue
                   7864:     fdir=`(dirname "$file") 2>/dev/null ||
                   7865: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   7866:          X"$file" : 'X\(//\)[^/]' \| \
                   7867:          X"$file" : 'X\(//\)$' \| \
                   7868:          X"$file" : 'X\(/\)' \| \
                   7869:          .     : '\(.\)' 2>/dev/null ||
                   7870: echo X"$file" |
                   7871:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   7872:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   7873:          /^X\(\/\/\)$/{ s//\1/; q; }
                   7874:          /^X\(\/\).*/{ s//\1/; q; }
                   7875:          s/.*/./; q'`
                   7876:     { if $as_mkdir_p; then
                   7877:     mkdir -p $dirpart/$fdir
                   7878:   else
                   7879:     as_dir=$dirpart/$fdir
                   7880:     as_dirs=
                   7881:     while test ! -d "$as_dir"; do
                   7882:       as_dirs="$as_dir $as_dirs"
                   7883:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   7884: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   7885:          X"$as_dir" : 'X\(//\)[^/]' \| \
                   7886:          X"$as_dir" : 'X\(//\)$' \| \
                   7887:          X"$as_dir" : 'X\(/\)' \| \
                   7888:          .     : '\(.\)' 2>/dev/null ||
                   7889: echo X"$as_dir" |
                   7890:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   7891:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   7892:          /^X\(\/\/\)$/{ s//\1/; q; }
                   7893:          /^X\(\/\).*/{ s//\1/; q; }
                   7894:          s/.*/./; q'`
                   7895:     done
                   7896:     test ! -n "$as_dirs" || mkdir $as_dirs
                   7897:   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
                   7898: echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
                   7899:    { (exit 1); exit 1; }; }; }
1.1       paf      7900: 
1.62      paf      7901:     # echo "creating $dirpart/$file"
                   7902:     echo '# dummy' > "$dirpart/$file"
                   7903:   done
                   7904: done
                   7905:  ;;
                   7906:   esac
                   7907: done
                   7908: _ACEOF
                   7909: 
                   7910: cat >>$CONFIG_STATUS <<\_ACEOF
                   7911: 
                   7912: { (exit 0); exit 0; }
                   7913: _ACEOF
1.1       paf      7914: chmod +x $CONFIG_STATUS
1.62      paf      7915: ac_clean_files=$ac_clean_files_save
                   7916: 
1.1       paf      7917: 
1.62      paf      7918: # configure is writing to config.log, and then calls config.status.
                   7919: # config.status does its own redirection, appending to config.log.
                   7920: # Unfortunately, on DOS this fails, as config.log is still kept open
                   7921: # by configure, so config.status won't be able to write to it; its
                   7922: # output is simply discarded.  So we exec the FD to /dev/null,
                   7923: # effectively closing config.log, so it can be properly (re)opened and
                   7924: # appended to by config.status.  When coming back to configure, we
                   7925: # need to make the FD available again.
                   7926: if test "$no_create" != yes; then
                   7927:   ac_cs_success=:
                   7928:   ac_config_status_args=
                   7929:   test "$silent" = yes &&
                   7930:     ac_config_status_args="$ac_config_status_args --quiet"
                   7931:   exec 5>/dev/null
                   7932:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   7933:   exec 5>>config.log
                   7934:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   7935:   # would make configure fail if this is the last instruction.
                   7936:   $ac_cs_success || { (exit 1); exit 1; }
                   7937: fi
                   7938: 
                   7939: #
                   7940: # CONFIG_SUBDIRS section.
                   7941: #
1.1       paf      7942: if test "$no_recursion" != yes; then
                   7943: 
                   7944:   # Remove --cache-file and --srcdir arguments so they do not pile up.
                   7945:   ac_sub_configure_args=
                   7946:   ac_prev=
                   7947:   for ac_arg in $ac_configure_args; do
                   7948:     if test -n "$ac_prev"; then
                   7949:       ac_prev=
                   7950:       continue
                   7951:     fi
1.62      paf      7952:     case $ac_arg in
1.1       paf      7953:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   7954:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   7955:       ac_prev=cache_file ;;
                   7956:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.62      paf      7957:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   7958:     | --c=*)
                   7959:       ;;
                   7960:     --config-cache | -C)
1.1       paf      7961:       ;;
                   7962:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   7963:       ac_prev=srcdir ;;
                   7964:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   7965:       ;;
1.62      paf      7966:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   7967:       ac_prev=prefix ;;
                   7968:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   7969:       ;;
1.1       paf      7970:     *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
                   7971:     esac
                   7972:   done
                   7973: 
1.62      paf      7974:   # Always prepend --prefix to ensure using the same prefix
                   7975:   # in subdir configurations.
                   7976:   ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
                   7977: 
                   7978:   ac_popdir=`pwd`
                   7979:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
1.1       paf      7980: 
                   7981:     # Do not complain, so a configure script can configure whichever
                   7982:     # parts of a large source tree are present.
1.62      paf      7983:     test -d $srcdir/$ac_dir || continue
1.1       paf      7984: 
1.62      paf      7985:     { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
                   7986: echo "$as_me: configuring in $ac_dir" >&6;}
                   7987:     { if $as_mkdir_p; then
                   7988:     mkdir -p "$ac_dir"
                   7989:   else
                   7990:     as_dir="$ac_dir"
                   7991:     as_dirs=
                   7992:     while test ! -d "$as_dir"; do
                   7993:       as_dirs="$as_dir $as_dirs"
                   7994:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   7995: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   7996:          X"$as_dir" : 'X\(//\)[^/]' \| \
                   7997:          X"$as_dir" : 'X\(//\)$' \| \
                   7998:          X"$as_dir" : 'X\(/\)' \| \
                   7999:          .     : '\(.\)' 2>/dev/null ||
                   8000: echo X"$as_dir" |
                   8001:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   8002:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   8003:          /^X\(\/\/\)$/{ s//\1/; q; }
                   8004:          /^X\(\/\).*/{ s//\1/; q; }
                   8005:          s/.*/./; q'`
                   8006:     done
                   8007:     test ! -n "$as_dirs" || mkdir $as_dirs
                   8008:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   8009: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   8010:    { (exit 1); exit 1; }; }; }
                   8011: 
                   8012:     ac_builddir=.
                   8013: 
                   8014: if test "$ac_dir" != .; then
                   8015:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   8016:   # A "../" for each directory in $ac_dir_suffix.
                   8017:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   8018: else
                   8019:   ac_dir_suffix= ac_top_builddir=
                   8020: fi
                   8021: 
                   8022: case $srcdir in
                   8023:   .)  # No --srcdir option.  We are building in place.
                   8024:     ac_srcdir=.
                   8025:     if test -z "$ac_top_builddir"; then
                   8026:        ac_top_srcdir=.
                   8027:     else
                   8028:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   8029:     fi ;;
                   8030:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   8031:     ac_srcdir=$srcdir$ac_dir_suffix;
                   8032:     ac_top_srcdir=$srcdir ;;
                   8033:   *) # Relative path.
                   8034:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   8035:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   8036: esac
                   8037: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
                   8038: # absolute.
                   8039: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
                   8040: ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
                   8041: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
                   8042: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1.1       paf      8043: 
                   8044: 
1.62      paf      8045:     cd $ac_dir
1.1       paf      8046: 
                   8047:     # Check for guested configure; otherwise get Cygnus style configure.
1.62      paf      8048:     if test -f $ac_srcdir/configure.gnu; then
                   8049:       ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
                   8050:     elif test -f $ac_srcdir/configure; then
                   8051:       ac_sub_configure="$SHELL '$ac_srcdir/configure'"
                   8052:     elif test -f $ac_srcdir/configure.in; then
1.1       paf      8053:       ac_sub_configure=$ac_configure
                   8054:     else
1.62      paf      8055:       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
                   8056: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1       paf      8057:       ac_sub_configure=
                   8058:     fi
                   8059: 
                   8060:     # The recursion is here.
                   8061:     if test -n "$ac_sub_configure"; then
                   8062:       # Make the cache file name correct relative to the subdirectory.
1.62      paf      8063:       case $cache_file in
                   8064:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.1       paf      8065:       *) # Relative path.
1.62      paf      8066:         ac_sub_cache_file=$ac_top_builddir$cache_file ;;
1.1       paf      8067:       esac
                   8068: 
1.62      paf      8069:       { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
                   8070: echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
1.1       paf      8071:       # The eval makes quoting arguments work.
1.62      paf      8072:       eval $ac_sub_configure $ac_sub_configure_args \
                   8073:            --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
                   8074:         { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
                   8075: echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
                   8076:    { (exit 1); exit 1; }; }
1.1       paf      8077:     fi
                   8078: 
                   8079:     cd $ac_popdir
                   8080:   done
                   8081: fi
                   8082: 

E-mail: