Annotation of parser3/configure, revision 1.66.2.1

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

E-mail: