Annotation of parser3/configure, revision 1.66.2.4

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

E-mail: