Annotation of parser3/configure, revision 1.77

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

E-mail: