Annotation of parser3/configure, revision 1.79

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.78      paf      1589:  VERSION=3.1.4beta
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.79    ! paf      4610: echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
        !          4611: echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
        !          4612: if test "${ac_cv_c_bigendian+set}" = set; then
        !          4613:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          4614: else
        !          4615:   # See if sys/param.h defines the BYTE_ORDER macro.
        !          4616: cat >conftest.$ac_ext <<_ACEOF
        !          4617: #line $LINENO "configure"
        !          4618: /* confdefs.h.  */
        !          4619: _ACEOF
        !          4620: cat confdefs.h >>conftest.$ac_ext
        !          4621: cat >>conftest.$ac_ext <<_ACEOF
        !          4622: /* end confdefs.h.  */
        !          4623: #include <sys/types.h>
        !          4624: #include <sys/param.h>
        !          4625: 
        !          4626: int
        !          4627: main ()
        !          4628: {
        !          4629: #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
        !          4630:  bogus endian macros
        !          4631: #endif
        !          4632: 
        !          4633:   ;
        !          4634:   return 0;
        !          4635: }
        !          4636: _ACEOF
        !          4637: rm -f conftest.$ac_objext
        !          4638: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          4639:   (eval $ac_compile) 2>&5
        !          4640:   ac_status=$?
        !          4641:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4642:   (exit $ac_status); } &&
        !          4643:          { ac_try='test -s conftest.$ac_objext'
        !          4644:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          4645:   (eval $ac_try) 2>&5
        !          4646:   ac_status=$?
        !          4647:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4648:   (exit $ac_status); }; }; then
        !          4649:   # It does; now see whether it defined to BIG_ENDIAN or not.
        !          4650: cat >conftest.$ac_ext <<_ACEOF
        !          4651: #line $LINENO "configure"
        !          4652: /* confdefs.h.  */
        !          4653: _ACEOF
        !          4654: cat confdefs.h >>conftest.$ac_ext
        !          4655: cat >>conftest.$ac_ext <<_ACEOF
        !          4656: /* end confdefs.h.  */
        !          4657: #include <sys/types.h>
        !          4658: #include <sys/param.h>
        !          4659: 
        !          4660: int
        !          4661: main ()
        !          4662: {
        !          4663: #if BYTE_ORDER != BIG_ENDIAN
        !          4664:  not big endian
        !          4665: #endif
        !          4666: 
        !          4667:   ;
        !          4668:   return 0;
        !          4669: }
        !          4670: _ACEOF
        !          4671: rm -f conftest.$ac_objext
        !          4672: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          4673:   (eval $ac_compile) 2>&5
        !          4674:   ac_status=$?
        !          4675:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4676:   (exit $ac_status); } &&
        !          4677:          { ac_try='test -s conftest.$ac_objext'
        !          4678:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          4679:   (eval $ac_try) 2>&5
        !          4680:   ac_status=$?
        !          4681:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4682:   (exit $ac_status); }; }; then
        !          4683:   ac_cv_c_bigendian=yes
        !          4684: else
        !          4685:   echo "$as_me: failed program was:" >&5
        !          4686: sed 's/^/| /' conftest.$ac_ext >&5
        !          4687: 
        !          4688: ac_cv_c_bigendian=no
        !          4689: fi
        !          4690: rm -f conftest.$ac_objext conftest.$ac_ext
        !          4691: else
        !          4692:   echo "$as_me: failed program was:" >&5
        !          4693: sed 's/^/| /' conftest.$ac_ext >&5
        !          4694: 
        !          4695: # It does not; compile a test program.
        !          4696: if test "$cross_compiling" = yes; then
        !          4697:   # try to guess the endianness by grepping values into an object file
        !          4698:   ac_cv_c_bigendian=unknown
        !          4699:   cat >conftest.$ac_ext <<_ACEOF
        !          4700: #line $LINENO "configure"
        !          4701: /* confdefs.h.  */
        !          4702: _ACEOF
        !          4703: cat confdefs.h >>conftest.$ac_ext
        !          4704: cat >>conftest.$ac_ext <<_ACEOF
        !          4705: /* end confdefs.h.  */
        !          4706: short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
        !          4707: short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
        !          4708: void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
        !          4709: short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
        !          4710: short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
        !          4711: void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
        !          4712: int
        !          4713: main ()
        !          4714: {
        !          4715:  _ascii (); _ebcdic ();
        !          4716:   ;
        !          4717:   return 0;
        !          4718: }
        !          4719: _ACEOF
        !          4720: rm -f conftest.$ac_objext
        !          4721: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
        !          4722:   (eval $ac_compile) 2>&5
        !          4723:   ac_status=$?
        !          4724:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4725:   (exit $ac_status); } &&
        !          4726:          { ac_try='test -s conftest.$ac_objext'
        !          4727:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          4728:   (eval $ac_try) 2>&5
        !          4729:   ac_status=$?
        !          4730:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4731:   (exit $ac_status); }; }; then
        !          4732:   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
        !          4733:   ac_cv_c_bigendian=yes
        !          4734: fi
        !          4735: if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
        !          4736:   if test "$ac_cv_c_bigendian" = unknown; then
        !          4737:     ac_cv_c_bigendian=no
        !          4738:   else
        !          4739:     # finding both strings is unlikely to happen, but who knows?
        !          4740:     ac_cv_c_bigendian=unknown
        !          4741:   fi
        !          4742: fi
        !          4743: else
        !          4744:   echo "$as_me: failed program was:" >&5
        !          4745: sed 's/^/| /' conftest.$ac_ext >&5
        !          4746: 
        !          4747: fi
        !          4748: rm -f conftest.$ac_objext conftest.$ac_ext
        !          4749: else
        !          4750:   cat >conftest.$ac_ext <<_ACEOF
        !          4751: #line $LINENO "configure"
        !          4752: /* confdefs.h.  */
        !          4753: _ACEOF
        !          4754: cat confdefs.h >>conftest.$ac_ext
        !          4755: cat >>conftest.$ac_ext <<_ACEOF
        !          4756: /* end confdefs.h.  */
        !          4757: int
        !          4758: main ()
        !          4759: {
        !          4760:   /* Are we little or big endian?  From Harbison&Steele.  */
        !          4761:   union
        !          4762:   {
        !          4763:     long l;
        !          4764:     char c[sizeof (long)];
        !          4765:   } u;
        !          4766:   u.l = 1;
        !          4767:   exit (u.c[sizeof (long) - 1] == 1);
        !          4768: }
        !          4769: _ACEOF
        !          4770: rm -f conftest$ac_exeext
        !          4771: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
        !          4772:   (eval $ac_link) 2>&5
        !          4773:   ac_status=$?
        !          4774:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4775:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
        !          4776:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
        !          4777:   (eval $ac_try) 2>&5
        !          4778:   ac_status=$?
        !          4779:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          4780:   (exit $ac_status); }; }; then
        !          4781:   ac_cv_c_bigendian=no
        !          4782: else
        !          4783:   echo "$as_me: program exited with status $ac_status" >&5
        !          4784: echo "$as_me: failed program was:" >&5
        !          4785: sed 's/^/| /' conftest.$ac_ext >&5
        !          4786: 
        !          4787: ( exit $ac_status )
        !          4788: ac_cv_c_bigendian=yes
        !          4789: fi
        !          4790: rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
        !          4791: fi
        !          4792: fi
        !          4793: rm -f conftest.$ac_objext conftest.$ac_ext
        !          4794: fi
        !          4795: echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
        !          4796: echo "${ECHO_T}$ac_cv_c_bigendian" >&6
        !          4797: case $ac_cv_c_bigendian in
        !          4798:   yes)
        !          4799: 
        !          4800: cat >>confdefs.h <<\_ACEOF
        !          4801: #define PA_BIG_ENDIAN
        !          4802: _ACEOF
        !          4803: 
        !          4804:  ;;
        !          4805:   no)
        !          4806: 
        !          4807: cat >>confdefs.h <<\_ACEOF
        !          4808: #define PA_LITTLE_ENDIAN
        !          4809: _ACEOF
        !          4810: 
        !          4811:  ;;
        !          4812:   *)
        !          4813:     { { echo "$as_me:$LINENO: error: word endianness not determined for some obscure reason" >&5
        !          4814: echo "$as_me: error: word endianness not determined for some obscure reason" >&2;}
        !          4815:    { (exit 1); exit 1; }; }
        !          4816:  ;;
        !          4817: esac
        !          4818: 
        !          4819: 
1.66      paf      4820: ac_ext=c
                   4821: ac_cpp='$CPP $CPPFLAGS'
                   4822: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4823: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4824: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4825: echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
                   4826: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
                   4827: # On Suns, sometimes $CPP names a directory.
                   4828: if test -n "$CPP" && test -d "$CPP"; then
                   4829:   CPP=
                   4830: fi
                   4831: if test -z "$CPP"; then
                   4832:   if test "${ac_cv_prog_CPP+set}" = set; then
1.62      paf      4833:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4834: else
1.66      paf      4835:       # Double quotes because CPP needs to be expanded
                   4836:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   4837:     do
                   4838:       ac_preproc_ok=false
                   4839: for ac_c_preproc_warn_flag in '' yes
                   4840: do
                   4841:   # Use a header file that comes with gcc, so configuring glibc
                   4842:   # with a fresh cross-compiler works.
                   4843:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   4844:   # <limits.h> exists even on freestanding compilers.
                   4845:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   4846:   # not just through cpp. "Syntax error" is here to catch this case.
                   4847:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      4848: #line $LINENO "configure"
                   4849: /* confdefs.h.  */
                   4850: _ACEOF
                   4851: cat confdefs.h >>conftest.$ac_ext
                   4852: cat >>conftest.$ac_ext <<_ACEOF
                   4853: /* end confdefs.h.  */
1.66      paf      4854: #ifdef __STDC__
                   4855: # include <limits.h>
                   4856: #else
                   4857: # include <assert.h>
1.8       paf      4858: #endif
1.66      paf      4859:                      Syntax error
1.62      paf      4860: _ACEOF
1.66      paf      4861: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   4862:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.62      paf      4863:   ac_status=$?
1.66      paf      4864:   grep -v '^ *+' conftest.er1 >conftest.err
                   4865:   rm -f conftest.er1
                   4866:   cat conftest.err >&5
1.62      paf      4867:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      4868:   (exit $ac_status); } >/dev/null; then
                   4869:   if test -s conftest.err; then
                   4870:     ac_cpp_err=$ac_c_preproc_warn_flag
                   4871:   else
                   4872:     ac_cpp_err=
                   4873:   fi
                   4874: else
                   4875:   ac_cpp_err=yes
                   4876: fi
                   4877: if test -z "$ac_cpp_err"; then
                   4878:   :
1.62      paf      4879: else
                   4880:   echo "$as_me: failed program was:" >&5
                   4881: sed 's/^/| /' conftest.$ac_ext >&5
                   4882: 
1.66      paf      4883:   # Broken: fails on valid input.
                   4884: continue
1.62      paf      4885: fi
1.66      paf      4886: rm -f conftest.err conftest.$ac_ext
1.64      paf      4887: 
1.66      paf      4888:   # OK, works on sane cases.  Now check whether non-existent headers
                   4889:   # can be detected and how.
                   4890:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      4891: #line $LINENO "configure"
                   4892: /* confdefs.h.  */
                   4893: _ACEOF
                   4894: cat confdefs.h >>conftest.$ac_ext
                   4895: cat >>conftest.$ac_ext <<_ACEOF
                   4896: /* end confdefs.h.  */
1.66      paf      4897: #include <ac_nonexistent.h>
1.62      paf      4898: _ACEOF
1.66      paf      4899: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   4900:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.62      paf      4901:   ac_status=$?
1.66      paf      4902:   grep -v '^ *+' conftest.er1 >conftest.err
                   4903:   rm -f conftest.er1
                   4904:   cat conftest.err >&5
1.62      paf      4905:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      4906:   (exit $ac_status); } >/dev/null; then
                   4907:   if test -s conftest.err; then
                   4908:     ac_cpp_err=$ac_c_preproc_warn_flag
                   4909:   else
                   4910:     ac_cpp_err=
                   4911:   fi
                   4912: else
                   4913:   ac_cpp_err=yes
                   4914: fi
                   4915: if test -z "$ac_cpp_err"; then
                   4916:   # Broken: success on invalid input.
                   4917: continue
1.62      paf      4918: else
                   4919:   echo "$as_me: failed program was:" >&5
                   4920: sed 's/^/| /' conftest.$ac_ext >&5
                   4921: 
1.66      paf      4922:   # Passes both tests.
                   4923: ac_preproc_ok=:
                   4924: break
1.62      paf      4925: fi
1.66      paf      4926: rm -f conftest.err conftest.$ac_ext
                   4927: 
                   4928: done
                   4929: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   4930: rm -f conftest.err conftest.$ac_ext
                   4931: if $ac_preproc_ok; then
                   4932:   break
1.62      paf      4933: fi
1.64      paf      4934: 
1.66      paf      4935:     done
                   4936:     ac_cv_prog_CPP=$CPP
1.64      paf      4937: 
1.66      paf      4938: fi
                   4939:   CPP=$ac_cv_prog_CPP
1.64      paf      4940: else
1.66      paf      4941:   ac_cv_prog_CPP=$CPP
                   4942: fi
                   4943: echo "$as_me:$LINENO: result: $CPP" >&5
                   4944: echo "${ECHO_T}$CPP" >&6
                   4945: ac_preproc_ok=false
                   4946: for ac_c_preproc_warn_flag in '' yes
                   4947: do
                   4948:   # Use a header file that comes with gcc, so configuring glibc
                   4949:   # with a fresh cross-compiler works.
                   4950:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   4951:   # <limits.h> exists even on freestanding compilers.
                   4952:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   4953:   # not just through cpp. "Syntax error" is here to catch this case.
1.64      paf      4954:   cat >conftest.$ac_ext <<_ACEOF
                   4955: #line $LINENO "configure"
                   4956: /* confdefs.h.  */
                   4957: _ACEOF
                   4958: cat confdefs.h >>conftest.$ac_ext
                   4959: cat >>conftest.$ac_ext <<_ACEOF
                   4960: /* end confdefs.h.  */
1.66      paf      4961: #ifdef __STDC__
                   4962: # include <limits.h>
                   4963: #else
                   4964: # include <assert.h>
1.64      paf      4965: #endif
1.66      paf      4966:                      Syntax error
1.64      paf      4967: _ACEOF
1.66      paf      4968: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   4969:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.64      paf      4970:   ac_status=$?
1.66      paf      4971:   grep -v '^ *+' conftest.er1 >conftest.err
                   4972:   rm -f conftest.er1
                   4973:   cat conftest.err >&5
1.64      paf      4974:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      4975:   (exit $ac_status); } >/dev/null; then
                   4976:   if test -s conftest.err; then
                   4977:     ac_cpp_err=$ac_c_preproc_warn_flag
                   4978:   else
                   4979:     ac_cpp_err=
                   4980:   fi
                   4981: else
                   4982:   ac_cpp_err=yes
                   4983: fi
                   4984: if test -z "$ac_cpp_err"; then
                   4985:   :
1.62      paf      4986: else
1.64      paf      4987:   echo "$as_me: failed program was:" >&5
                   4988: sed 's/^/| /' conftest.$ac_ext >&5
                   4989: 
1.66      paf      4990:   # Broken: fails on valid input.
                   4991: continue
                   4992: fi
                   4993: rm -f conftest.err conftest.$ac_ext
                   4994: 
                   4995:   # OK, works on sane cases.  Now check whether non-existent headers
                   4996:   # can be detected and how.
                   4997:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      4998: #line $LINENO "configure"
                   4999: /* confdefs.h.  */
                   5000: _ACEOF
                   5001: cat confdefs.h >>conftest.$ac_ext
                   5002: cat >>conftest.$ac_ext <<_ACEOF
                   5003: /* end confdefs.h.  */
1.66      paf      5004: #include <ac_nonexistent.h>
1.62      paf      5005: _ACEOF
1.66      paf      5006: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   5007:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.62      paf      5008:   ac_status=$?
1.66      paf      5009:   grep -v '^ *+' conftest.er1 >conftest.err
                   5010:   rm -f conftest.er1
                   5011:   cat conftest.err >&5
1.62      paf      5012:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      5013:   (exit $ac_status); } >/dev/null; then
                   5014:   if test -s conftest.err; then
                   5015:     ac_cpp_err=$ac_c_preproc_warn_flag
                   5016:   else
                   5017:     ac_cpp_err=
                   5018:   fi
                   5019: else
                   5020:   ac_cpp_err=yes
                   5021: fi
                   5022: if test -z "$ac_cpp_err"; then
                   5023:   # Broken: success on invalid input.
                   5024: continue
1.62      paf      5025: else
                   5026:   echo "$as_me: failed program was:" >&5
                   5027: sed 's/^/| /' conftest.$ac_ext >&5
                   5028: 
1.66      paf      5029:   # Passes both tests.
                   5030: ac_preproc_ok=:
                   5031: break
1.62      paf      5032: fi
1.66      paf      5033: rm -f conftest.err conftest.$ac_ext
                   5034: 
                   5035: done
                   5036: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   5037: rm -f conftest.err conftest.$ac_ext
                   5038: if $ac_preproc_ok; then
                   5039:   :
                   5040: else
                   5041:   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
                   5042: See \`config.log' for more details." >&5
                   5043: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
                   5044: See \`config.log' for more details." >&2;}
                   5045:    { (exit 1); exit 1; }; }
1.62      paf      5046: fi
1.64      paf      5047: 
1.66      paf      5048: ac_ext=c
                   5049: ac_cpp='$CPP $CPPFLAGS'
                   5050: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   5051: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   5052: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   5053: 
1.1       paf      5054: 
1.66      paf      5055: echo "$as_me:$LINENO: checking for egrep" >&5
                   5056: echo $ECHO_N "checking for egrep... $ECHO_C" >&6
                   5057: if test "${ac_cv_prog_egrep+set}" = set; then
                   5058:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.64      paf      5059: else
1.66      paf      5060:   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
                   5061:     then ac_cv_prog_egrep='grep -E'
                   5062:     else ac_cv_prog_egrep='egrep'
                   5063:     fi
                   5064: fi
                   5065: echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
                   5066: echo "${ECHO_T}$ac_cv_prog_egrep" >&6
                   5067:  EGREP=$ac_cv_prog_egrep
                   5068: 
                   5069: 
                   5070: echo "$as_me:$LINENO: checking for ANSI C header files" >&5
                   5071: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
                   5072: if test "${ac_cv_header_stdc+set}" = set; then
1.62      paf      5073:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       paf      5074: else
1.66      paf      5075:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      5076: #line $LINENO "configure"
                   5077: /* confdefs.h.  */
                   5078: _ACEOF
                   5079: cat confdefs.h >>conftest.$ac_ext
                   5080: cat >>conftest.$ac_ext <<_ACEOF
                   5081: /* end confdefs.h.  */
1.66      paf      5082: #include <stdlib.h>
                   5083: #include <stdarg.h>
                   5084: #include <string.h>
                   5085: #include <float.h>
1.62      paf      5086: 
                   5087: int
                   5088: main ()
                   5089: {
1.66      paf      5090: 
1.62      paf      5091:   ;
                   5092:   return 0;
                   5093: }
                   5094: _ACEOF
1.66      paf      5095: rm -f conftest.$ac_objext
                   5096: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5097:   (eval $ac_compile) 2>&5
1.62      paf      5098:   ac_status=$?
                   5099:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5100:   (exit $ac_status); } &&
1.66      paf      5101:          { ac_try='test -s conftest.$ac_objext'
1.62      paf      5102:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5103:   (eval $ac_try) 2>&5
                   5104:   ac_status=$?
                   5105:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5106:   (exit $ac_status); }; }; then
1.66      paf      5107:   ac_cv_header_stdc=yes
1.62      paf      5108: else
                   5109:   echo "$as_me: failed program was:" >&5
                   5110: sed 's/^/| /' conftest.$ac_ext >&5
                   5111: 
1.66      paf      5112: ac_cv_header_stdc=no
1.62      paf      5113: fi
1.66      paf      5114: rm -f conftest.$ac_objext conftest.$ac_ext
1.64      paf      5115: 
1.66      paf      5116: if test $ac_cv_header_stdc = yes; then
                   5117:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   5118:   cat >conftest.$ac_ext <<_ACEOF
                   5119: #line $LINENO "configure"
                   5120: /* confdefs.h.  */
1.62      paf      5121: _ACEOF
1.66      paf      5122: cat confdefs.h >>conftest.$ac_ext
                   5123: cat >>conftest.$ac_ext <<_ACEOF
                   5124: /* end confdefs.h.  */
                   5125: #include <string.h>
1.64      paf      5126: 
1.66      paf      5127: _ACEOF
                   5128: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   5129:   $EGREP "memchr" >/dev/null 2>&1; then
                   5130:   :
                   5131: else
                   5132:   ac_cv_header_stdc=no
1.64      paf      5133: fi
1.66      paf      5134: rm -f conftest*
1.64      paf      5135: 
                   5136: fi
                   5137: 
1.66      paf      5138: if test $ac_cv_header_stdc = yes; then
                   5139:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   5140:   cat >conftest.$ac_ext <<_ACEOF
                   5141: #line $LINENO "configure"
                   5142: /* confdefs.h.  */
                   5143: _ACEOF
                   5144: cat confdefs.h >>conftest.$ac_ext
                   5145: cat >>conftest.$ac_ext <<_ACEOF
                   5146: /* end confdefs.h.  */
                   5147: #include <stdlib.h>
1.64      paf      5148: 
1.66      paf      5149: _ACEOF
                   5150: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   5151:   $EGREP "free" >/dev/null 2>&1; then
                   5152:   :
                   5153: else
                   5154:   ac_cv_header_stdc=no
1.64      paf      5155: fi
1.66      paf      5156: rm -f conftest*
1.64      paf      5157: 
                   5158: fi
                   5159: 
1.66      paf      5160: if test $ac_cv_header_stdc = yes; then
                   5161:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   5162:   if test "$cross_compiling" = yes; then
                   5163:   :
1.64      paf      5164: else
                   5165:   cat >conftest.$ac_ext <<_ACEOF
                   5166: #line $LINENO "configure"
                   5167: /* confdefs.h.  */
                   5168: _ACEOF
                   5169: cat confdefs.h >>conftest.$ac_ext
                   5170: cat >>conftest.$ac_ext <<_ACEOF
                   5171: /* end confdefs.h.  */
1.66      paf      5172: #include <ctype.h>
                   5173: #if ((' ' & 0x0FF) == 0x020)
                   5174: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   5175: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1.64      paf      5176: #else
1.66      paf      5177: # define ISLOWER(c) \
                   5178:                    (('a' <= (c) && (c) <= 'i') \
                   5179:                      || ('j' <= (c) && (c) <= 'r') \
                   5180:                      || ('s' <= (c) && (c) <= 'z'))
                   5181: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
1.64      paf      5182: #endif
                   5183: 
1.66      paf      5184: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1.64      paf      5185: int
                   5186: main ()
                   5187: {
1.66      paf      5188:   int i;
                   5189:   for (i = 0; i < 256; i++)
                   5190:     if (XOR (islower (i), ISLOWER (i))
                   5191:         || toupper (i) != TOUPPER (i))
                   5192:       exit(2);
                   5193:   exit (0);
1.64      paf      5194: }
                   5195: _ACEOF
1.66      paf      5196: rm -f conftest$ac_exeext
1.64      paf      5197: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5198:   (eval $ac_link) 2>&5
                   5199:   ac_status=$?
                   5200:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      5201:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.64      paf      5202:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5203:   (eval $ac_try) 2>&5
                   5204:   ac_status=$?
                   5205:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5206:   (exit $ac_status); }; }; then
1.66      paf      5207:   :
1.64      paf      5208: else
1.66      paf      5209:   echo "$as_me: program exited with status $ac_status" >&5
                   5210: echo "$as_me: failed program was:" >&5
1.64      paf      5211: sed 's/^/| /' conftest.$ac_ext >&5
                   5212: 
1.66      paf      5213: ( exit $ac_status )
                   5214: ac_cv_header_stdc=no
                   5215: fi
                   5216: rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
                   5217: fi
1.64      paf      5218: fi
                   5219: fi
1.66      paf      5220: echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
                   5221: echo "${ECHO_T}$ac_cv_header_stdc" >&6
                   5222: if test $ac_cv_header_stdc = yes; then
                   5223: 
                   5224: cat >>confdefs.h <<\_ACEOF
                   5225: #define STDC_HEADERS 1
1.64      paf      5226: _ACEOF
                   5227: 
                   5228: fi
                   5229: 
1.66      paf      5230: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   5231: 
                   5232: 
                   5233: 
                   5234: 
                   5235: 
1.1       paf      5236: 
                   5237: 
1.62      paf      5238: 
                   5239: 
1.66      paf      5240: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   5241:                   inttypes.h stdint.h unistd.h
                   5242: do
                   5243: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   5244: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   5245: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   5246: if eval "test \"\${$as_ac_Header+set}\" = set"; then
1.62      paf      5247:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5248: else
                   5249:   cat >conftest.$ac_ext <<_ACEOF
                   5250: #line $LINENO "configure"
                   5251: /* confdefs.h.  */
                   5252: _ACEOF
                   5253: cat confdefs.h >>conftest.$ac_ext
                   5254: cat >>conftest.$ac_ext <<_ACEOF
                   5255: /* end confdefs.h.  */
1.66      paf      5256: $ac_includes_default
                   5257: 
                   5258: #include <$ac_header>
1.62      paf      5259: _ACEOF
1.66      paf      5260: rm -f conftest.$ac_objext
                   5261: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5262:   (eval $ac_compile) 2>&5
                   5263:   ac_status=$?
                   5264:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5265:   (exit $ac_status); } &&
                   5266:          { ac_try='test -s conftest.$ac_objext'
                   5267:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5268:   (eval $ac_try) 2>&5
1.62      paf      5269:   ac_status=$?
                   5270:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      5271:   (exit $ac_status); }; }; then
                   5272:   eval "$as_ac_Header=yes"
1.62      paf      5273: else
                   5274:   echo "$as_me: failed program was:" >&5
                   5275: sed 's/^/| /' conftest.$ac_ext >&5
                   5276: 
1.66      paf      5277: eval "$as_ac_Header=no"
                   5278: fi
                   5279: rm -f conftest.$ac_objext conftest.$ac_ext
                   5280: fi
                   5281: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   5282: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   5283: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   5284:   cat >>confdefs.h <<_ACEOF
                   5285: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   5286: _ACEOF
                   5287: 
1.1       paf      5288: fi
                   5289: 
1.66      paf      5290: done
                   5291: 
                   5292: 
                   5293: echo "$as_me:$LINENO: checking for size_t" >&5
                   5294: echo $ECHO_N "checking for size_t... $ECHO_C" >&6
                   5295: if test "${ac_cv_type_size_t+set}" = set; then
                   5296:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5297: else
1.62      paf      5298:   cat >conftest.$ac_ext <<_ACEOF
                   5299: #line $LINENO "configure"
                   5300: /* confdefs.h.  */
                   5301: _ACEOF
                   5302: cat confdefs.h >>conftest.$ac_ext
                   5303: cat >>conftest.$ac_ext <<_ACEOF
                   5304: /* end confdefs.h.  */
1.66      paf      5305: $ac_includes_default
                   5306: int
                   5307: main ()
                   5308: {
                   5309: if ((size_t *) 0)
                   5310:   return 0;
                   5311: if (sizeof (size_t))
                   5312:   return 0;
                   5313:   ;
                   5314:   return 0;
                   5315: }
1.62      paf      5316: _ACEOF
1.66      paf      5317: rm -f conftest.$ac_objext
                   5318: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5319:   (eval $ac_compile) 2>&5
                   5320:   ac_status=$?
                   5321:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5322:   (exit $ac_status); } &&
                   5323:          { ac_try='test -s conftest.$ac_objext'
                   5324:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5325:   (eval $ac_try) 2>&5
1.62      paf      5326:   ac_status=$?
                   5327:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      5328:   (exit $ac_status); }; }; then
                   5329:   ac_cv_type_size_t=yes
1.1       paf      5330: else
1.62      paf      5331:   echo "$as_me: failed program was:" >&5
                   5332: sed 's/^/| /' conftest.$ac_ext >&5
                   5333: 
1.66      paf      5334: ac_cv_type_size_t=no
1.1       paf      5335: fi
1.66      paf      5336: rm -f conftest.$ac_objext conftest.$ac_ext
1.62      paf      5337: fi
1.66      paf      5338: echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
                   5339: echo "${ECHO_T}$ac_cv_type_size_t" >&6
                   5340: if test $ac_cv_type_size_t = yes; then
                   5341:   :
                   5342: else
1.1       paf      5343: 
1.66      paf      5344: cat >>confdefs.h <<_ACEOF
                   5345: #define size_t unsigned
                   5346: _ACEOF
1.62      paf      5347: 
                   5348: fi
1.66      paf      5349: 
                   5350: echo "$as_me:$LINENO: checking for off_t" >&5
                   5351: echo $ECHO_N "checking for off_t... $ECHO_C" >&6
                   5352: if test "${ac_cv_type_off_t+set}" = set; then
                   5353:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.62      paf      5354: else
                   5355:   cat >conftest.$ac_ext <<_ACEOF
                   5356: #line $LINENO "configure"
                   5357: /* confdefs.h.  */
                   5358: _ACEOF
                   5359: cat confdefs.h >>conftest.$ac_ext
                   5360: cat >>conftest.$ac_ext <<_ACEOF
                   5361: /* end confdefs.h.  */
1.66      paf      5362: $ac_includes_default
                   5363: int
                   5364: main ()
                   5365: {
                   5366: if ((off_t *) 0)
                   5367:   return 0;
                   5368: if (sizeof (off_t))
                   5369:   return 0;
                   5370:   ;
                   5371:   return 0;
                   5372: }
1.62      paf      5373: _ACEOF
1.66      paf      5374: rm -f conftest.$ac_objext
                   5375: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5376:   (eval $ac_compile) 2>&5
                   5377:   ac_status=$?
                   5378:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5379:   (exit $ac_status); } &&
                   5380:          { ac_try='test -s conftest.$ac_objext'
                   5381:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5382:   (eval $ac_try) 2>&5
1.62      paf      5383:   ac_status=$?
                   5384:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      5385:   (exit $ac_status); }; }; then
                   5386:   ac_cv_type_off_t=yes
1.62      paf      5387: else
1.66      paf      5388:   echo "$as_me: failed program was:" >&5
                   5389: sed 's/^/| /' conftest.$ac_ext >&5
                   5390: 
                   5391: ac_cv_type_off_t=no
                   5392: fi
                   5393: rm -f conftest.$ac_objext conftest.$ac_ext
1.1       paf      5394: fi
1.66      paf      5395: echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
                   5396: echo "${ECHO_T}$ac_cv_type_off_t" >&6
                   5397: if test $ac_cv_type_off_t = yes; then
1.62      paf      5398:   :
                   5399: else
1.1       paf      5400: 
1.66      paf      5401: cat >>confdefs.h <<_ACEOF
                   5402: #define off_t long
                   5403: _ACEOF
                   5404: 
1.62      paf      5405: fi
1.1       paf      5406: 
1.66      paf      5407: echo "$as_me:$LINENO: checking for ssize_t" >&5
                   5408: echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
                   5409: if test "${ac_cv_type_ssize_t+set}" = set; then
                   5410:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5411: else
1.62      paf      5412:   cat >conftest.$ac_ext <<_ACEOF
                   5413: #line $LINENO "configure"
                   5414: /* confdefs.h.  */
                   5415: _ACEOF
                   5416: cat confdefs.h >>conftest.$ac_ext
                   5417: cat >>conftest.$ac_ext <<_ACEOF
                   5418: /* end confdefs.h.  */
1.66      paf      5419: $ac_includes_default
                   5420: int
                   5421: main ()
                   5422: {
                   5423: if ((ssize_t *) 0)
                   5424:   return 0;
                   5425: if (sizeof (ssize_t))
                   5426:   return 0;
                   5427:   ;
                   5428:   return 0;
                   5429: }
1.62      paf      5430: _ACEOF
1.66      paf      5431: rm -f conftest.$ac_objext
                   5432: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5433:   (eval $ac_compile) 2>&5
                   5434:   ac_status=$?
                   5435:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5436:   (exit $ac_status); } &&
                   5437:          { ac_try='test -s conftest.$ac_objext'
                   5438:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5439:   (eval $ac_try) 2>&5
1.62      paf      5440:   ac_status=$?
                   5441:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      5442:   (exit $ac_status); }; }; then
                   5443:   ac_cv_type_ssize_t=yes
1.1       paf      5444: else
1.62      paf      5445:   echo "$as_me: failed program was:" >&5
                   5446: sed 's/^/| /' conftest.$ac_ext >&5
                   5447: 
1.66      paf      5448: ac_cv_type_ssize_t=no
                   5449: fi
                   5450: rm -f conftest.$ac_objext conftest.$ac_ext
1.62      paf      5451: fi
1.66      paf      5452: echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
                   5453: echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
                   5454: if test $ac_cv_type_ssize_t = yes; then
1.1       paf      5455:   :
                   5456: else
1.66      paf      5457: 
                   5458: cat >>confdefs.h <<_ACEOF
                   5459: #define ssize_t int
                   5460: _ACEOF
                   5461: 
1.1       paf      5462: fi
1.62      paf      5463: 
                   5464: 
                   5465: 
                   5466: 
1.66      paf      5467: echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
                   5468: echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
                   5469: if test "${ac_cv_header_time+set}" = set; then
1.62      paf      5470:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5471: else
                   5472:   cat >conftest.$ac_ext <<_ACEOF
                   5473: #line $LINENO "configure"
                   5474: /* confdefs.h.  */
                   5475: _ACEOF
                   5476: cat confdefs.h >>conftest.$ac_ext
                   5477: cat >>conftest.$ac_ext <<_ACEOF
                   5478: /* end confdefs.h.  */
1.66      paf      5479: #include <sys/types.h>
                   5480: #include <sys/time.h>
                   5481: #include <time.h>
1.62      paf      5482: 
                   5483: int
                   5484: main ()
                   5485: {
1.66      paf      5486: if ((struct tm *) 0)
                   5487: return 0;
1.62      paf      5488:   ;
                   5489:   return 0;
                   5490: }
                   5491: _ACEOF
                   5492: rm -f conftest.$ac_objext
                   5493: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5494:   (eval $ac_compile) 2>&5
                   5495:   ac_status=$?
                   5496:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5497:   (exit $ac_status); } &&
                   5498:          { ac_try='test -s conftest.$ac_objext'
                   5499:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5500:   (eval $ac_try) 2>&5
                   5501:   ac_status=$?
                   5502:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5503:   (exit $ac_status); }; }; then
1.66      paf      5504:   ac_cv_header_time=yes
1.1       paf      5505: else
1.62      paf      5506:   echo "$as_me: failed program was:" >&5
                   5507: sed 's/^/| /' conftest.$ac_ext >&5
                   5508: 
1.66      paf      5509: ac_cv_header_time=no
1.1       paf      5510: fi
1.62      paf      5511: rm -f conftest.$ac_objext conftest.$ac_ext
1.66      paf      5512: fi
                   5513: echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
                   5514: echo "${ECHO_T}$ac_cv_header_time" >&6
                   5515: if test $ac_cv_header_time = yes; then
1.1       paf      5516: 
1.66      paf      5517: cat >>confdefs.h <<\_ACEOF
                   5518: #define TIME_WITH_SYS_TIME 1
1.62      paf      5519: _ACEOF
                   5520: 
1.1       paf      5521: fi
                   5522: 
                   5523: 
1.62      paf      5524: 
1.1       paf      5525: 
1.66      paf      5526: 
                   5527: 
                   5528: 
                   5529: 
                   5530: 
                   5531: 
                   5532: 
                   5533: 
                   5534: 
                   5535: 
                   5536: 
                   5537: 
                   5538: 
                   5539: 
                   5540: 
                   5541: 
                   5542: 
                   5543: 
                   5544: 
                   5545: 
                   5546: 
                   5547: 
                   5548: 
                   5549: 
                   5550: 
                   5551: 
                   5552: 
                   5553: 
1.67      paf      5554: for ac_header in assert.h \
                   5555: signal.h \
1.66      paf      5556: unistd.h \
                   5557: process.h \
                   5558: stddef.h \
                   5559: stdarg.h \
                   5560: fcntl.h \
                   5561: sys/stat.h \
                   5562: io.h \
                   5563: stdio.h \
                   5564: errno.h \
                   5565: ctype.h \
                   5566: math.h \
                   5567: crypt.h \
                   5568: time.h sys/time.h \
                   5569: string.h \
                   5570: direct.h \
                   5571: setjmp.h \
                   5572: memory.h \
                   5573: sys/file.h \
                   5574: sys/locking.h \
                   5575: sys/types.h \
                   5576: sys/select.h \
                   5577: sys/resource.h \
                   5578: winsock.h \
                   5579: sys/socket.h \
                   5580: netinet/in.h \
                   5581: arpa/inet.h \
                   5582: netdb.h
                   5583: 
                   5584: do
                   5585: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   5586: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   5587:   echo "$as_me:$LINENO: checking for $ac_header" >&5
                   5588: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   5589: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   5590:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      5591: fi
1.66      paf      5592: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   5593: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1.1       paf      5594: else
1.66      paf      5595:   # Is the header compilable?
                   5596: echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   5597: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
                   5598: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      5599: #line $LINENO "configure"
                   5600: /* confdefs.h.  */
                   5601: _ACEOF
                   5602: cat confdefs.h >>conftest.$ac_ext
                   5603: cat >>conftest.$ac_ext <<_ACEOF
                   5604: /* end confdefs.h.  */
1.66      paf      5605: $ac_includes_default
                   5606: #include <$ac_header>
1.62      paf      5607: _ACEOF
1.66      paf      5608: rm -f conftest.$ac_objext
                   5609: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5610:   (eval $ac_compile) 2>&5
1.62      paf      5611:   ac_status=$?
                   5612:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      5613:   (exit $ac_status); } &&
                   5614:          { ac_try='test -s conftest.$ac_objext'
1.62      paf      5615:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5616:   (eval $ac_try) 2>&5
                   5617:   ac_status=$?
                   5618:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5619:   (exit $ac_status); }; }; then
1.66      paf      5620:   ac_header_compiler=yes
1.1       paf      5621: else
1.66      paf      5622:   echo "$as_me: failed program was:" >&5
1.62      paf      5623: sed 's/^/| /' conftest.$ac_ext >&5
                   5624: 
1.66      paf      5625: ac_header_compiler=no
1.1       paf      5626: fi
1.66      paf      5627: rm -f conftest.$ac_objext conftest.$ac_ext
                   5628: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   5629: echo "${ECHO_T}$ac_header_compiler" >&6
                   5630: 
                   5631: # Is the header present?
                   5632: echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   5633: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
                   5634: cat >conftest.$ac_ext <<_ACEOF
                   5635: #line $LINENO "configure"
                   5636: /* confdefs.h.  */
                   5637: _ACEOF
                   5638: cat confdefs.h >>conftest.$ac_ext
                   5639: cat >>conftest.$ac_ext <<_ACEOF
                   5640: /* end confdefs.h.  */
                   5641: #include <$ac_header>
                   5642: _ACEOF
                   5643: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   5644:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   5645:   ac_status=$?
                   5646:   grep -v '^ *+' conftest.er1 >conftest.err
                   5647:   rm -f conftest.er1
                   5648:   cat conftest.err >&5
                   5649:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5650:   (exit $ac_status); } >/dev/null; then
                   5651:   if test -s conftest.err; then
                   5652:     ac_cpp_err=$ac_c_preproc_warn_flag
                   5653:   else
                   5654:     ac_cpp_err=
                   5655:   fi
                   5656: else
                   5657:   ac_cpp_err=yes
1.1       paf      5658: fi
1.66      paf      5659: if test -z "$ac_cpp_err"; then
                   5660:   ac_header_preproc=yes
                   5661: else
                   5662:   echo "$as_me: failed program was:" >&5
                   5663: sed 's/^/| /' conftest.$ac_ext >&5
                   5664: 
                   5665:   ac_header_preproc=no
1.1       paf      5666: fi
1.66      paf      5667: rm -f conftest.err conftest.$ac_ext
                   5668: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   5669: echo "${ECHO_T}$ac_header_preproc" >&6
                   5670: 
                   5671: # So?  What about this header?
                   5672: case $ac_header_compiler:$ac_header_preproc in
                   5673:   yes:no )
                   5674:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   5675: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   5676:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   5677: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   5678:     (
                   5679:       cat <<\_ASBOX
                   5680: ## ------------------------------------ ##
                   5681: ## Report this to bug-autoconf@gnu.org. ##
                   5682: ## ------------------------------------ ##
                   5683: _ASBOX
                   5684:     ) |
                   5685:       sed "s/^/$as_me: WARNING:     /" >&2
                   5686:     ;;
                   5687:   no:yes )
                   5688:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   5689: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
                   5690:     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
                   5691: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
                   5692:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   5693: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   5694:     (
                   5695:       cat <<\_ASBOX
                   5696: ## ------------------------------------ ##
                   5697: ## Report this to bug-autoconf@gnu.org. ##
                   5698: ## ------------------------------------ ##
                   5699: _ASBOX
                   5700:     ) |
                   5701:       sed "s/^/$as_me: WARNING:     /" >&2
                   5702:     ;;
                   5703: esac
                   5704: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   5705: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   5706: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   5707:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5708: else
                   5709:   eval "$as_ac_Header=$ac_header_preproc"
1.1       paf      5710: fi
1.66      paf      5711: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   5712: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1.1       paf      5713: 
1.66      paf      5714: fi
                   5715: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   5716:   cat >>confdefs.h <<_ACEOF
                   5717: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.62      paf      5718: _ACEOF
                   5719: 
                   5720: fi
                   5721: 
1.66      paf      5722: done
1.62      paf      5723: 
                   5724: 
                   5725: 
1.66      paf      5726: case "$host" in
                   5727:   *-sunos5.6* | *-solaris2.6*)
1.62      paf      5728: 
1.66      paf      5729: echo "$as_me:$LINENO: checking for main in -lxnet" >&5
                   5730: echo $ECHO_N "checking for main in -lxnet... $ECHO_C" >&6
                   5731: if test "${ac_cv_lib_xnet_main+set}" = set; then
1.62      paf      5732:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5733: else
1.66      paf      5734:   ac_check_lib_save_LIBS=$LIBS
                   5735: LIBS="-lxnet  $LIBS"
                   5736: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      5737: #line $LINENO "configure"
                   5738: /* confdefs.h.  */
                   5739: _ACEOF
                   5740: cat confdefs.h >>conftest.$ac_ext
                   5741: cat >>conftest.$ac_ext <<_ACEOF
                   5742: /* end confdefs.h.  */
                   5743: 
1.66      paf      5744: 
                   5745: int
                   5746: main ()
                   5747: {
                   5748: main ();
                   5749:   ;
                   5750:   return 0;
                   5751: }
1.62      paf      5752: _ACEOF
1.66      paf      5753: rm -f conftest.$ac_objext conftest$ac_exeext
                   5754: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5755:   (eval $ac_link) 2>&5
1.62      paf      5756:   ac_status=$?
                   5757:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5758:   (exit $ac_status); } &&
1.66      paf      5759:          { ac_try='test -s conftest$ac_exeext'
1.62      paf      5760:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5761:   (eval $ac_try) 2>&5
                   5762:   ac_status=$?
                   5763:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5764:   (exit $ac_status); }; }; then
1.66      paf      5765:   ac_cv_lib_xnet_main=yes
1.62      paf      5766: else
                   5767:   echo "$as_me: failed program was:" >&5
                   5768: sed 's/^/| /' conftest.$ac_ext >&5
                   5769: 
1.66      paf      5770: ac_cv_lib_xnet_main=no
1.62      paf      5771: fi
1.66      paf      5772: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   5773: LIBS=$ac_check_lib_save_LIBS
1.62      paf      5774: fi
1.66      paf      5775: echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_main" >&5
                   5776: echo "${ECHO_T}$ac_cv_lib_xnet_main" >&6
                   5777: if test $ac_cv_lib_xnet_main = yes; then
1.62      paf      5778:   cat >>confdefs.h <<_ACEOF
1.66      paf      5779: #define HAVE_LIBXNET 1
1.62      paf      5780: _ACEOF
1.1       paf      5781: 
1.66      paf      5782:   LIBS="-lxnet $LIBS"
                   5783: 
1.1       paf      5784: fi
                   5785: 
1.66      paf      5786:   ;;
                   5787:   *-sunos5* | *-solaris2*)
1.62      paf      5788: 
1.66      paf      5789: echo "$as_me:$LINENO: checking for main in -lsocket" >&5
                   5790: echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
                   5791: if test "${ac_cv_lib_socket_main+set}" = set; then
1.62      paf      5792:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5793: else
1.66      paf      5794:   ac_check_lib_save_LIBS=$LIBS
                   5795: LIBS="-lsocket  $LIBS"
                   5796: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      5797: #line $LINENO "configure"
                   5798: /* confdefs.h.  */
                   5799: _ACEOF
                   5800: cat confdefs.h >>conftest.$ac_ext
                   5801: cat >>conftest.$ac_ext <<_ACEOF
                   5802: /* end confdefs.h.  */
1.66      paf      5803: 
                   5804: 
1.62      paf      5805: int
                   5806: main ()
                   5807: {
1.66      paf      5808: main ();
1.62      paf      5809:   ;
                   5810:   return 0;
                   5811: }
                   5812: _ACEOF
1.66      paf      5813: rm -f conftest.$ac_objext conftest$ac_exeext
                   5814: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5815:   (eval $ac_link) 2>&5
1.62      paf      5816:   ac_status=$?
                   5817:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5818:   (exit $ac_status); } &&
1.66      paf      5819:          { ac_try='test -s conftest$ac_exeext'
1.62      paf      5820:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5821:   (eval $ac_try) 2>&5
                   5822:   ac_status=$?
                   5823:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5824:   (exit $ac_status); }; }; then
1.66      paf      5825:   ac_cv_lib_socket_main=yes
1.1       paf      5826: else
1.62      paf      5827:   echo "$as_me: failed program was:" >&5
                   5828: sed 's/^/| /' conftest.$ac_ext >&5
                   5829: 
1.66      paf      5830: ac_cv_lib_socket_main=no
1.1       paf      5831: fi
1.66      paf      5832: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   5833: LIBS=$ac_check_lib_save_LIBS
1.62      paf      5834: fi
1.66      paf      5835: echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
                   5836: echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
                   5837: if test $ac_cv_lib_socket_main = yes; then
                   5838:   cat >>confdefs.h <<_ACEOF
                   5839: #define HAVE_LIBSOCKET 1
                   5840: _ACEOF
1.1       paf      5841: 
1.66      paf      5842:   LIBS="-lsocket $LIBS"
1.1       paf      5843: 
                   5844: fi
                   5845: 
1.66      paf      5846: 
                   5847: echo "$as_me:$LINENO: checking for main in -lnsl" >&5
                   5848: echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
                   5849: if test "${ac_cv_lib_nsl_main+set}" = set; then
1.62      paf      5850:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5851: else
1.66      paf      5852:   ac_check_lib_save_LIBS=$LIBS
                   5853: LIBS="-lnsl  $LIBS"
                   5854: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      5855: #line $LINENO "configure"
                   5856: /* confdefs.h.  */
                   5857: _ACEOF
                   5858: cat confdefs.h >>conftest.$ac_ext
                   5859: cat >>conftest.$ac_ext <<_ACEOF
                   5860: /* end confdefs.h.  */
1.66      paf      5861: 
                   5862: 
1.62      paf      5863: int
                   5864: main ()
                   5865: {
1.66      paf      5866: main ();
1.62      paf      5867:   ;
                   5868:   return 0;
                   5869: }
                   5870: _ACEOF
1.66      paf      5871: rm -f conftest.$ac_objext conftest$ac_exeext
                   5872: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5873:   (eval $ac_link) 2>&5
1.62      paf      5874:   ac_status=$?
                   5875:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5876:   (exit $ac_status); } &&
1.66      paf      5877:          { ac_try='test -s conftest$ac_exeext'
1.62      paf      5878:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5879:   (eval $ac_try) 2>&5
                   5880:   ac_status=$?
                   5881:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5882:   (exit $ac_status); }; }; then
1.66      paf      5883:   ac_cv_lib_nsl_main=yes
1.30      paf      5884: else
1.62      paf      5885:   echo "$as_me: failed program was:" >&5
                   5886: sed 's/^/| /' conftest.$ac_ext >&5
                   5887: 
1.66      paf      5888: ac_cv_lib_nsl_main=no
1.30      paf      5889: fi
1.66      paf      5890: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   5891: LIBS=$ac_check_lib_save_LIBS
1.62      paf      5892: fi
1.66      paf      5893: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
                   5894: echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
                   5895: if test $ac_cv_lib_nsl_main = yes; then
                   5896:   cat >>confdefs.h <<_ACEOF
                   5897: #define HAVE_LIBNSL 1
                   5898: _ACEOF
1.30      paf      5899: 
1.66      paf      5900:   LIBS="-lnsl $LIBS"
1.30      paf      5901: 
                   5902: fi
                   5903: 
1.66      paf      5904:   ;;
                   5905:   *-nec-sysv4*)
                   5906: 
                   5907: echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
                   5908: echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
                   5909: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
1.62      paf      5910:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5911: else
1.66      paf      5912:   ac_check_lib_save_LIBS=$LIBS
                   5913: LIBS="-lnsl  $LIBS"
                   5914: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      5915: #line $LINENO "configure"
                   5916: /* confdefs.h.  */
                   5917: _ACEOF
                   5918: cat confdefs.h >>conftest.$ac_ext
                   5919: cat >>conftest.$ac_ext <<_ACEOF
                   5920: /* end confdefs.h.  */
1.66      paf      5921: 
                   5922: /* Override any gcc2 internal prototype to avoid an error.  */
                   5923: #ifdef __cplusplus
                   5924: extern "C"
                   5925: #endif
                   5926: /* We use char because int might match the return type of a gcc2
                   5927:    builtin and then its argument prototype would still apply.  */
                   5928: char gethostbyname ();
1.62      paf      5929: int
                   5930: main ()
                   5931: {
1.66      paf      5932: gethostbyname ();
1.62      paf      5933:   ;
                   5934:   return 0;
                   5935: }
                   5936: _ACEOF
1.66      paf      5937: rm -f conftest.$ac_objext conftest$ac_exeext
                   5938: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5939:   (eval $ac_link) 2>&5
1.62      paf      5940:   ac_status=$?
                   5941:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5942:   (exit $ac_status); } &&
1.66      paf      5943:          { ac_try='test -s conftest$ac_exeext'
1.62      paf      5944:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5945:   (eval $ac_try) 2>&5
                   5946:   ac_status=$?
                   5947:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5948:   (exit $ac_status); }; }; then
1.66      paf      5949:   ac_cv_lib_nsl_gethostbyname=yes
1.30      paf      5950: else
1.62      paf      5951:   echo "$as_me: failed program was:" >&5
                   5952: sed 's/^/| /' conftest.$ac_ext >&5
                   5953: 
1.66      paf      5954: ac_cv_lib_nsl_gethostbyname=no
1.30      paf      5955: fi
1.66      paf      5956: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   5957: LIBS=$ac_check_lib_save_LIBS
1.62      paf      5958: fi
1.66      paf      5959: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   5960: echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
                   5961: if test $ac_cv_lib_nsl_gethostbyname = yes; then
                   5962:   cat >>confdefs.h <<_ACEOF
                   5963: #define HAVE_LIBNSL 1
                   5964: _ACEOF
1.30      paf      5965: 
1.66      paf      5966:   LIBS="-lnsl $LIBS"
1.30      paf      5967: 
                   5968: fi
                   5969: 
                   5970: 
1.66      paf      5971: echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
                   5972: echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
                   5973: if test "${ac_cv_lib_socket_socket+set}" = set; then
1.62      paf      5974:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       paf      5975: else
1.66      paf      5976:   ac_check_lib_save_LIBS=$LIBS
                   5977: LIBS="-lsocket  $LIBS"
                   5978: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      5979: #line $LINENO "configure"
                   5980: /* confdefs.h.  */
                   5981: _ACEOF
                   5982: cat confdefs.h >>conftest.$ac_ext
                   5983: cat >>conftest.$ac_ext <<_ACEOF
                   5984: /* end confdefs.h.  */
                   5985: 
1.66      paf      5986: /* Override any gcc2 internal prototype to avoid an error.  */
                   5987: #ifdef __cplusplus
                   5988: extern "C"
                   5989: #endif
                   5990: /* We use char because int might match the return type of a gcc2
                   5991:    builtin and then its argument prototype would still apply.  */
                   5992: char socket ();
1.62      paf      5993: int
                   5994: main ()
                   5995: {
1.66      paf      5996: socket ();
1.62      paf      5997:   ;
                   5998:   return 0;
                   5999: }
                   6000: _ACEOF
1.66      paf      6001: rm -f conftest.$ac_objext conftest$ac_exeext
                   6002: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   6003:   (eval $ac_link) 2>&5
1.62      paf      6004:   ac_status=$?
                   6005:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6006:   (exit $ac_status); } &&
1.66      paf      6007:          { ac_try='test -s conftest$ac_exeext'
1.62      paf      6008:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6009:   (eval $ac_try) 2>&5
                   6010:   ac_status=$?
                   6011:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6012:   (exit $ac_status); }; }; then
1.66      paf      6013:   ac_cv_lib_socket_socket=yes
1.8       paf      6014: else
1.62      paf      6015:   echo "$as_me: failed program was:" >&5
                   6016: sed 's/^/| /' conftest.$ac_ext >&5
                   6017: 
1.66      paf      6018: ac_cv_lib_socket_socket=no
1.8       paf      6019: fi
1.66      paf      6020: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   6021: LIBS=$ac_check_lib_save_LIBS
1.8       paf      6022: fi
1.66      paf      6023: echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
                   6024: echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
                   6025: if test $ac_cv_lib_socket_socket = yes; then
                   6026:   cat >>confdefs.h <<_ACEOF
                   6027: #define HAVE_LIBSOCKET 1
                   6028: _ACEOF
1.8       paf      6029: 
1.66      paf      6030:   LIBS="-lsocket $LIBS"
1.8       paf      6031: 
                   6032: fi
                   6033: 
1.66      paf      6034:   ;;
                   6035:   *-cygwin*)
1.8       paf      6036: 
1.66      paf      6037: cat >>confdefs.h <<\_ACEOF
                   6038: #define WIN32
                   6039: _ACEOF
1.62      paf      6040: 
                   6041: 
1.66      paf      6042: echo "$as_me:$LINENO: checking for socket in -lwsock32" >&5
                   6043: echo $ECHO_N "checking for socket in -lwsock32... $ECHO_C" >&6
                   6044: if test "${ac_cv_lib_wsock32_socket+set}" = set; then
1.62      paf      6045:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6046: else
1.66      paf      6047:   ac_check_lib_save_LIBS=$LIBS
                   6048: LIBS="-lwsock32  $LIBS"
1.62      paf      6049: cat >conftest.$ac_ext <<_ACEOF
                   6050: #line $LINENO "configure"
                   6051: /* confdefs.h.  */
                   6052: _ACEOF
                   6053: cat confdefs.h >>conftest.$ac_ext
                   6054: cat >>conftest.$ac_ext <<_ACEOF
                   6055: /* end confdefs.h.  */
1.66      paf      6056: 
                   6057: /* Override any gcc2 internal prototype to avoid an error.  */
                   6058: #ifdef __cplusplus
                   6059: extern "C"
                   6060: #endif
                   6061: /* We use char because int might match the return type of a gcc2
                   6062:    builtin and then its argument prototype would still apply.  */
                   6063: char socket ();
                   6064: int
                   6065: main ()
                   6066: {
                   6067: socket ();
                   6068:   ;
                   6069:   return 0;
                   6070: }
1.62      paf      6071: _ACEOF
1.66      paf      6072: rm -f conftest.$ac_objext conftest$ac_exeext
                   6073: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   6074:   (eval $ac_link) 2>&5
1.62      paf      6075:   ac_status=$?
                   6076:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6077:   (exit $ac_status); } &&
1.66      paf      6078:          { ac_try='test -s conftest$ac_exeext'
1.62      paf      6079:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6080:   (eval $ac_try) 2>&5
                   6081:   ac_status=$?
                   6082:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6083:   (exit $ac_status); }; }; then
1.66      paf      6084:   ac_cv_lib_wsock32_socket=yes
1.62      paf      6085: else
                   6086:   echo "$as_me: failed program was:" >&5
                   6087: sed 's/^/| /' conftest.$ac_ext >&5
                   6088: 
1.66      paf      6089: ac_cv_lib_wsock32_socket=no
                   6090: fi
                   6091: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   6092: LIBS=$ac_check_lib_save_LIBS
                   6093: fi
                   6094: echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_socket" >&5
                   6095: echo "${ECHO_T}$ac_cv_lib_wsock32_socket" >&6
                   6096: if test $ac_cv_lib_wsock32_socket = yes; then
                   6097:   cat >>confdefs.h <<_ACEOF
                   6098: #define HAVE_LIBWSOCK32 1
                   6099: _ACEOF
                   6100: 
                   6101:   LIBS="-lwsock32 $LIBS"
                   6102: 
1.62      paf      6103: fi
                   6104: 
1.66      paf      6105:   ;;
                   6106: # never tested this, only theoretically by letter from demos about parser2 build
                   6107:   *-hpux*)
                   6108: 
                   6109: echo "$as_me:$LINENO: checking for main in -lnsl" >&5
                   6110: echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
                   6111: if test "${ac_cv_lib_nsl_main+set}" = set; then
                   6112:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6113: else
                   6114:   ac_check_lib_save_LIBS=$LIBS
                   6115: LIBS="-lnsl  $LIBS"
1.62      paf      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.  */
1.66      paf      6123: 
                   6124: 
                   6125: int
                   6126: main ()
                   6127: {
                   6128: main ();
                   6129:   ;
                   6130:   return 0;
                   6131: }
1.62      paf      6132: _ACEOF
1.66      paf      6133: rm -f conftest.$ac_objext conftest$ac_exeext
                   6134: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   6135:   (eval $ac_link) 2>&5
                   6136:   ac_status=$?
                   6137:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6138:   (exit $ac_status); } &&
                   6139:          { ac_try='test -s conftest$ac_exeext'
                   6140:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6141:   (eval $ac_try) 2>&5
1.62      paf      6142:   ac_status=$?
                   6143:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      6144:   (exit $ac_status); }; }; then
                   6145:   ac_cv_lib_nsl_main=yes
1.62      paf      6146: else
                   6147:   echo "$as_me: failed program was:" >&5
                   6148: sed 's/^/| /' conftest.$ac_ext >&5
                   6149: 
1.66      paf      6150: ac_cv_lib_nsl_main=no
1.62      paf      6151: fi
1.66      paf      6152: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   6153: LIBS=$ac_check_lib_save_LIBS
1.1       paf      6154: fi
1.66      paf      6155: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
                   6156: echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
                   6157: if test $ac_cv_lib_nsl_main = yes; then
1.62      paf      6158:   cat >>confdefs.h <<_ACEOF
1.66      paf      6159: #define HAVE_LIBNSL 1
1.62      paf      6160: _ACEOF
                   6161: 
1.66      paf      6162:   LIBS="-lnsl $LIBS"
                   6163: 
1.1       paf      6164: fi
1.62      paf      6165: 
1.66      paf      6166:   ;;
                   6167: esac
1.1       paf      6168: 
                   6169: 
1.66      paf      6170: echo "$as_me:$LINENO: checking for sin in -lm" >&5
                   6171: echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
                   6172: if test "${ac_cv_lib_m_sin+set}" = set; then
1.62      paf      6173:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      6174: else
1.62      paf      6175:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      6176: LIBS="-lm  $LIBS"
1.62      paf      6177: cat >conftest.$ac_ext <<_ACEOF
                   6178: #line $LINENO "configure"
                   6179: /* confdefs.h.  */
                   6180: _ACEOF
                   6181: cat confdefs.h >>conftest.$ac_ext
                   6182: cat >>conftest.$ac_ext <<_ACEOF
                   6183: /* end confdefs.h.  */
                   6184: 
1.66      paf      6185: /* Override any gcc2 internal prototype to avoid an error.  */
                   6186: #ifdef __cplusplus
                   6187: extern "C"
                   6188: #endif
                   6189: /* We use char because int might match the return type of a gcc2
                   6190:    builtin and then its argument prototype would still apply.  */
                   6191: char sin ();
1.62      paf      6192: int
                   6193: main ()
                   6194: {
1.66      paf      6195: sin ();
1.62      paf      6196:   ;
                   6197:   return 0;
                   6198: }
                   6199: _ACEOF
                   6200: rm -f conftest.$ac_objext conftest$ac_exeext
                   6201: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   6202:   (eval $ac_link) 2>&5
                   6203:   ac_status=$?
                   6204:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6205:   (exit $ac_status); } &&
                   6206:          { ac_try='test -s conftest$ac_exeext'
                   6207:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6208:   (eval $ac_try) 2>&5
                   6209:   ac_status=$?
                   6210:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6211:   (exit $ac_status); }; }; then
1.66      paf      6212:   ac_cv_lib_m_sin=yes
1.62      paf      6213: else
                   6214:   echo "$as_me: failed program was:" >&5
                   6215: sed 's/^/| /' conftest.$ac_ext >&5
                   6216: 
1.66      paf      6217: ac_cv_lib_m_sin=no
1.62      paf      6218: fi
                   6219: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   6220: LIBS=$ac_check_lib_save_LIBS
                   6221: fi
1.66      paf      6222: echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
                   6223: echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
                   6224: if test $ac_cv_lib_m_sin = yes; then
1.62      paf      6225:   cat >>confdefs.h <<_ACEOF
1.66      paf      6226: #define HAVE_LIBM 1
1.62      paf      6227: _ACEOF
1.1       paf      6228: 
1.66      paf      6229:   LIBS="-lm $LIBS"
1.1       paf      6230: 
                   6231: fi
                   6232: 
1.62      paf      6233: 
1.66      paf      6234: 
                   6235: echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
                   6236: echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
                   6237: if test "${ac_cv_lib_crypt_crypt+set}" = set; then
1.62      paf      6238:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      6239: else
1.62      paf      6240:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      6241: LIBS="-lcrypt  $LIBS"
1.62      paf      6242: cat >conftest.$ac_ext <<_ACEOF
                   6243: #line $LINENO "configure"
                   6244: /* confdefs.h.  */
                   6245: _ACEOF
                   6246: cat confdefs.h >>conftest.$ac_ext
                   6247: cat >>conftest.$ac_ext <<_ACEOF
                   6248: /* end confdefs.h.  */
                   6249: 
1.66      paf      6250: /* Override any gcc2 internal prototype to avoid an error.  */
                   6251: #ifdef __cplusplus
                   6252: extern "C"
                   6253: #endif
                   6254: /* We use char because int might match the return type of a gcc2
                   6255:    builtin and then its argument prototype would still apply.  */
                   6256: char crypt ();
1.62      paf      6257: int
                   6258: main ()
                   6259: {
1.66      paf      6260: crypt ();
1.62      paf      6261:   ;
                   6262:   return 0;
                   6263: }
                   6264: _ACEOF
                   6265: rm -f conftest.$ac_objext conftest$ac_exeext
                   6266: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   6267:   (eval $ac_link) 2>&5
                   6268:   ac_status=$?
                   6269:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6270:   (exit $ac_status); } &&
                   6271:          { ac_try='test -s conftest$ac_exeext'
                   6272:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6273:   (eval $ac_try) 2>&5
                   6274:   ac_status=$?
                   6275:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6276:   (exit $ac_status); }; }; then
1.66      paf      6277:   ac_cv_lib_crypt_crypt=yes
1.62      paf      6278: else
                   6279:   echo "$as_me: failed program was:" >&5
                   6280: sed 's/^/| /' conftest.$ac_ext >&5
                   6281: 
1.66      paf      6282: ac_cv_lib_crypt_crypt=no
1.62      paf      6283: fi
                   6284: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   6285: LIBS=$ac_check_lib_save_LIBS
                   6286: fi
1.66      paf      6287: echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
                   6288: echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
                   6289: if test $ac_cv_lib_crypt_crypt = yes; then
1.62      paf      6290:   cat >>confdefs.h <<_ACEOF
1.66      paf      6291: #define HAVE_LIBCRYPT 1
1.62      paf      6292: _ACEOF
1.1       paf      6293: 
1.66      paf      6294:   LIBS="-lcrypt $LIBS"
                   6295: 
                   6296: fi
                   6297: 
                   6298: 
                   6299: 
                   6300: 
                   6301: 
                   6302: 
                   6303: 
                   6304: 
                   6305: 
                   6306: 
                   6307: 
                   6308: 
1.67      paf      6309: for ac_func in flock \
1.66      paf      6310: _locking \
                   6311: fcntl \
                   6312: lockf \
                   6313: ftruncate \
                   6314: getrusage \
                   6315: gettimeofday \
                   6316: crypt \
1.67      paf      6317: siglongjmp
1.66      paf      6318: 
                   6319: do
                   6320: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   6321: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   6322: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   6323: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   6324:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6325: else
                   6326:   cat >conftest.$ac_ext <<_ACEOF
                   6327: #line $LINENO "configure"
                   6328: /* confdefs.h.  */
                   6329: _ACEOF
                   6330: cat confdefs.h >>conftest.$ac_ext
                   6331: cat >>conftest.$ac_ext <<_ACEOF
                   6332: /* end confdefs.h.  */
                   6333: /* System header to define __stub macros and hopefully few prototypes,
                   6334:     which can conflict with char $ac_func (); below.
                   6335:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   6336:     <limits.h> exists even on freestanding compilers.  */
                   6337: #ifdef __STDC__
                   6338: # include <limits.h>
                   6339: #else
                   6340: # include <assert.h>
                   6341: #endif
                   6342: /* Override any gcc2 internal prototype to avoid an error.  */
                   6343: #ifdef __cplusplus
                   6344: extern "C"
                   6345: {
                   6346: #endif
                   6347: /* We use char because int might match the return type of a gcc2
                   6348:    builtin and then its argument prototype would still apply.  */
                   6349: char $ac_func ();
                   6350: /* The GNU C library defines this for functions which it implements
                   6351:     to always fail with ENOSYS.  Some functions are actually named
                   6352:     something starting with __ and the normal name is an alias.  */
                   6353: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   6354: choke me
                   6355: #else
                   6356: char (*f) () = $ac_func;
                   6357: #endif
                   6358: #ifdef __cplusplus
                   6359: }
                   6360: #endif
1.62      paf      6361: 
                   6362: int
                   6363: main ()
                   6364: {
1.66      paf      6365: return f != $ac_func;
1.62      paf      6366:   ;
                   6367:   return 0;
                   6368: }
                   6369: _ACEOF
                   6370: rm -f conftest.$ac_objext conftest$ac_exeext
                   6371: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   6372:   (eval $ac_link) 2>&5
                   6373:   ac_status=$?
                   6374:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6375:   (exit $ac_status); } &&
                   6376:          { ac_try='test -s conftest$ac_exeext'
                   6377:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6378:   (eval $ac_try) 2>&5
                   6379:   ac_status=$?
                   6380:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6381:   (exit $ac_status); }; }; then
1.66      paf      6382:   eval "$as_ac_var=yes"
1.62      paf      6383: else
                   6384:   echo "$as_me: failed program was:" >&5
                   6385: sed 's/^/| /' conftest.$ac_ext >&5
                   6386: 
1.66      paf      6387: eval "$as_ac_var=no"
1.62      paf      6388: fi
                   6389: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   6390: fi
1.66      paf      6391: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   6392: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   6393: if test `eval echo '${'$as_ac_var'}'` = yes; then
1.62      paf      6394:   cat >>confdefs.h <<_ACEOF
1.66      paf      6395: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.62      paf      6396: _ACEOF
1.1       paf      6397: 
1.66      paf      6398: fi
                   6399: done
                   6400: 
1.1       paf      6401: 
                   6402: 
1.67      paf      6403: pa_func=sigsetjmp
                   6404: echo "$as_me:$LINENO: checking for (maybe built-in) function $pa_func" >&5
                   6405: echo $ECHO_N "checking for (maybe built-in) function $pa_func... $ECHO_C" >&6
                   6406: cat >conftest.$ac_ext <<_ACEOF
                   6407: #line $LINENO "configure"
                   6408: /* confdefs.h.  */
                   6409: _ACEOF
                   6410: cat confdefs.h >>conftest.$ac_ext
                   6411: cat >>conftest.$ac_ext <<_ACEOF
                   6412: /* end confdefs.h.  */
                   6413: 
                   6414: #ifdef HAVE_SETJMP_H
                   6415: #      include <setjmp.h>
                   6416: #endif
                   6417: 
                   6418: int
                   6419: main ()
                   6420: {
                   6421: 
                   6422:         $pa_func(0,0);
                   6423: 
                   6424:   ;
                   6425:   return 0;
                   6426: }
                   6427: _ACEOF
                   6428: rm -f conftest.$ac_objext
                   6429: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6430:   (eval $ac_compile) 2>&5
                   6431:   ac_status=$?
                   6432:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6433:   (exit $ac_status); } &&
                   6434:          { ac_try='test -s conftest.$ac_objext'
                   6435:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6436:   (eval $ac_try) 2>&5
                   6437:   ac_status=$?
                   6438:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6439:   (exit $ac_status); }; }; then
                   6440:   echo "$as_me:$LINENO: result: yes" >&5
                   6441: echo "${ECHO_T}yes" >&6
                   6442: cat >>confdefs.h <<_ACEOF
                   6443: #define `echo "HAVE_$pa_func" | $as_tr_cpp` 1
                   6444: _ACEOF
                   6445: 
                   6446: 
                   6447: else
                   6448:   echo "$as_me: failed program was:" >&5
                   6449: sed 's/^/| /' conftest.$ac_ext >&5
                   6450: 
                   6451: echo "$as_me:$LINENO: result: no" >&5
                   6452: echo "${ECHO_T}no" >&6
                   6453: 
                   6454: fi
                   6455: rm -f conftest.$ac_objext conftest.$ac_ext
                   6456: 
                   6457: 
                   6458: 
                   6459: ac_ext=cc
                   6460: ac_cpp='$CXXCPP $CPPFLAGS'
                   6461: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6462: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6463: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   6464: 
                   6465: 
                   6466: 
                   6467: 
                   6468: 
                   6469: 
                   6470: 
                   6471: for pa_func in trunc \
                   6472: round \
                   6473: sign
                   6474: 
                   6475: do
                   6476: 
                   6477: echo "$as_me:$LINENO: checking for (maybe built-in) math function $pa_func" >&5
                   6478: echo $ECHO_N "checking for (maybe built-in) math function $pa_func... $ECHO_C" >&6
                   6479: cat >conftest.$ac_ext <<_ACEOF
                   6480: #line $LINENO "configure"
                   6481: /* confdefs.h.  */
                   6482: _ACEOF
                   6483: cat confdefs.h >>conftest.$ac_ext
                   6484: cat >>conftest.$ac_ext <<_ACEOF
                   6485: /* end confdefs.h.  */
                   6486: 
                   6487: #ifdef HAVE_MATH_H
                   6488: #       include <math.h>
                   6489: #endif
                   6490: 
                   6491: int
                   6492: main ()
                   6493: {
                   6494: 
                   6495:         double result=$pa_func(1.6);
                   6496: 
                   6497:   ;
                   6498:   return 0;
                   6499: }
                   6500: _ACEOF
                   6501: rm -f conftest.$ac_objext
                   6502: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6503:   (eval $ac_compile) 2>&5
                   6504:   ac_status=$?
                   6505:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6506:   (exit $ac_status); } &&
                   6507:          { ac_try='test -s conftest.$ac_objext'
                   6508:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6509:   (eval $ac_try) 2>&5
                   6510:   ac_status=$?
                   6511:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6512:   (exit $ac_status); }; }; then
                   6513:   echo "$as_me:$LINENO: result: yes" >&5
                   6514: echo "${ECHO_T}yes" >&6
                   6515: cat >>confdefs.h <<_ACEOF
                   6516: #define `echo "HAVE_$pa_func" | $as_tr_cpp`  1
                   6517: _ACEOF
                   6518: 
                   6519: else
                   6520:   echo "$as_me: failed program was:" >&5
                   6521: sed 's/^/| /' conftest.$ac_ext >&5
                   6522: 
                   6523: echo "$as_me:$LINENO: result: no" >&5
                   6524: echo "${ECHO_T}no" >&6
                   6525: 
                   6526: fi
                   6527: rm -f conftest.$ac_objext conftest.$ac_ext
                   6528: 
                   6529: done
                   6530: 
                   6531: ac_ext=c
                   6532: ac_cpp='$CPP $CPPFLAGS'
                   6533: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6534: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6535: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   6536: 
                   6537: 
                   6538: 
1.62      paf      6539: 
1.66      paf      6540: for ac_func in qsort
                   6541: do
                   6542: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   6543: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   6544: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   6545: if eval "test \"\${$as_ac_var+set}\" = set"; then
1.62      paf      6546:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      6547: else
1.66      paf      6548:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      6549: #line $LINENO "configure"
                   6550: /* confdefs.h.  */
                   6551: _ACEOF
                   6552: cat confdefs.h >>conftest.$ac_ext
                   6553: cat >>conftest.$ac_ext <<_ACEOF
                   6554: /* end confdefs.h.  */
1.66      paf      6555: /* System header to define __stub macros and hopefully few prototypes,
                   6556:     which can conflict with char $ac_func (); below.
                   6557:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   6558:     <limits.h> exists even on freestanding compilers.  */
                   6559: #ifdef __STDC__
                   6560: # include <limits.h>
                   6561: #else
                   6562: # include <assert.h>
                   6563: #endif
1.1       paf      6564: /* Override any gcc2 internal prototype to avoid an error.  */
                   6565: #ifdef __cplusplus
                   6566: extern "C"
1.66      paf      6567: {
1.1       paf      6568: #endif
                   6569: /* We use char because int might match the return type of a gcc2
1.62      paf      6570:    builtin and then its argument prototype would still apply.  */
1.66      paf      6571: char $ac_func ();
                   6572: /* The GNU C library defines this for functions which it implements
                   6573:     to always fail with ENOSYS.  Some functions are actually named
                   6574:     something starting with __ and the normal name is an alias.  */
                   6575: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   6576: choke me
                   6577: #else
                   6578: char (*f) () = $ac_func;
                   6579: #endif
                   6580: #ifdef __cplusplus
                   6581: }
                   6582: #endif
                   6583: 
1.62      paf      6584: int
                   6585: main ()
                   6586: {
1.66      paf      6587: return f != $ac_func;
1.62      paf      6588:   ;
                   6589:   return 0;
                   6590: }
                   6591: _ACEOF
                   6592: rm -f conftest.$ac_objext conftest$ac_exeext
                   6593: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   6594:   (eval $ac_link) 2>&5
                   6595:   ac_status=$?
                   6596:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6597:   (exit $ac_status); } &&
                   6598:          { ac_try='test -s conftest$ac_exeext'
                   6599:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6600:   (eval $ac_try) 2>&5
                   6601:   ac_status=$?
                   6602:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6603:   (exit $ac_status); }; }; then
1.66      paf      6604:   eval "$as_ac_var=yes"
1.62      paf      6605: else
                   6606:   echo "$as_me: failed program was:" >&5
                   6607: sed 's/^/| /' conftest.$ac_ext >&5
                   6608: 
1.66      paf      6609: eval "$as_ac_var=no"
1.62      paf      6610: fi
                   6611: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
                   6612: fi
1.66      paf      6613: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   6614: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   6615: if test `eval echo '${'$as_ac_var'}'` = yes; then
1.62      paf      6616:   cat >>confdefs.h <<_ACEOF
1.66      paf      6617: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.62      paf      6618: _ACEOF
1.1       paf      6619: 
1.66      paf      6620: else
                   6621:   { { echo "$as_me:$LINENO: error: No qsort library function." >&5
                   6622: echo "$as_me: error: No qsort library function." >&2;}
                   6623:    { (exit 1); exit 1; }; }
1.1       paf      6624: fi
1.66      paf      6625: done
1.1       paf      6626: 
                   6627: 
1.62      paf      6628: 
1.66      paf      6629: echo "$as_me:$LINENO: checking for timezone variable" >&5
                   6630: echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6
1.62      paf      6631: cat >conftest.$ac_ext <<_ACEOF
                   6632: #line $LINENO "configure"
                   6633: /* confdefs.h.  */
                   6634: _ACEOF
                   6635: cat confdefs.h >>conftest.$ac_ext
                   6636: cat >>conftest.$ac_ext <<_ACEOF
                   6637: /* end confdefs.h.  */
1.66      paf      6638: #include <time.h>
1.62      paf      6639: int
                   6640: main ()
                   6641: {
1.66      paf      6642: 
                   6643: time_t test=timezone;
                   6644: 
1.62      paf      6645:   ;
                   6646:   return 0;
                   6647: }
                   6648: _ACEOF
1.66      paf      6649: rm -f conftest.$ac_objext
                   6650: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6651:   (eval $ac_compile) 2>&5
1.62      paf      6652:   ac_status=$?
                   6653:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6654:   (exit $ac_status); } &&
1.66      paf      6655:          { ac_try='test -s conftest.$ac_objext'
1.62      paf      6656:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6657:   (eval $ac_try) 2>&5
                   6658:   ac_status=$?
                   6659:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6660:   (exit $ac_status); }; }; then
1.66      paf      6661:   cat >>confdefs.h <<\_ACEOF
                   6662: #define HAVE_TIMEZONE 1
                   6663: _ACEOF
                   6664: 
                   6665: echo "$as_me:$LINENO: result: yes" >&5
                   6666: echo "${ECHO_T}yes" >&6
1.62      paf      6667: else
                   6668:   echo "$as_me: failed program was:" >&5
                   6669: sed 's/^/| /' conftest.$ac_ext >&5
                   6670: 
1.66      paf      6671: echo "$as_me:$LINENO: result: no" >&5
                   6672: echo "${ECHO_T}no" >&6
1.62      paf      6673: fi
1.66      paf      6674: rm -f conftest.$ac_objext conftest.$ac_ext
1.1       paf      6675: 
1.66      paf      6676: echo "$as_me:$LINENO: checking for daylight variable" >&5
                   6677: echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6
1.62      paf      6678: cat >conftest.$ac_ext <<_ACEOF
                   6679: #line $LINENO "configure"
                   6680: /* confdefs.h.  */
                   6681: _ACEOF
                   6682: cat confdefs.h >>conftest.$ac_ext
                   6683: cat >>conftest.$ac_ext <<_ACEOF
                   6684: /* end confdefs.h.  */
1.66      paf      6685: #include <time.h>
1.62      paf      6686: int
                   6687: main ()
                   6688: {
1.66      paf      6689: 
                   6690: int test=daylight;
                   6691: 
1.62      paf      6692:   ;
                   6693:   return 0;
                   6694: }
                   6695: _ACEOF
1.66      paf      6696: rm -f conftest.$ac_objext
                   6697: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6698:   (eval $ac_compile) 2>&5
1.62      paf      6699:   ac_status=$?
                   6700:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6701:   (exit $ac_status); } &&
1.66      paf      6702:          { ac_try='test -s conftest.$ac_objext'
1.62      paf      6703:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6704:   (eval $ac_try) 2>&5
                   6705:   ac_status=$?
                   6706:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6707:   (exit $ac_status); }; }; then
1.66      paf      6708:   cat >>confdefs.h <<\_ACEOF
                   6709: #define HAVE_DAYLIGHT 1
                   6710: _ACEOF
                   6711: 
                   6712: echo "$as_me:$LINENO: result: yes" >&5
                   6713: echo "${ECHO_T}yes" >&6
1.62      paf      6714: else
                   6715:   echo "$as_me: failed program was:" >&5
                   6716: sed 's/^/| /' conftest.$ac_ext >&5
                   6717: 
1.66      paf      6718: echo "$as_me:$LINENO: result: no" >&5
                   6719: echo "${ECHO_T}no" >&6
1.62      paf      6720: fi
1.66      paf      6721: rm -f conftest.$ac_objext conftest.$ac_ext
1.62      paf      6722: 
1.66      paf      6723: echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
                   6724: echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
1.62      paf      6725: cat >conftest.$ac_ext <<_ACEOF
                   6726: #line $LINENO "configure"
                   6727: /* confdefs.h.  */
                   6728: _ACEOF
                   6729: cat confdefs.h >>conftest.$ac_ext
                   6730: cat >>conftest.$ac_ext <<_ACEOF
                   6731: /* end confdefs.h.  */
1.66      paf      6732: #include <time.h>
1.62      paf      6733: int
                   6734: main ()
                   6735: {
1.66      paf      6736: struct tm tm;
                   6737: tm.tm_gmtoff=0;
                   6738: 
1.62      paf      6739:   ;
                   6740:   return 0;
                   6741: }
                   6742: _ACEOF
1.66      paf      6743: rm -f conftest.$ac_objext
                   6744: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6745:   (eval $ac_compile) 2>&5
1.62      paf      6746:   ac_status=$?
                   6747:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6748:   (exit $ac_status); } &&
1.66      paf      6749:          { ac_try='test -s conftest.$ac_objext'
1.62      paf      6750:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6751:   (eval $ac_try) 2>&5
                   6752:   ac_status=$?
                   6753:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6754:   (exit $ac_status); }; }; then
1.66      paf      6755:   cat >>confdefs.h <<\_ACEOF
                   6756: #define HAVE_TM_GMTOFF 1
                   6757: _ACEOF
                   6758: 
                   6759: echo "$as_me:$LINENO: result: yes" >&5
                   6760: echo "${ECHO_T}yes" >&6
1.62      paf      6761: else
                   6762:   echo "$as_me: failed program was:" >&5
                   6763: sed 's/^/| /' conftest.$ac_ext >&5
                   6764: 
1.66      paf      6765: echo "$as_me:$LINENO: result: no" >&5
                   6766: echo "${ECHO_T}no" >&6
1.62      paf      6767: fi
1.66      paf      6768: rm -f conftest.$ac_objext conftest.$ac_ext
1.1       paf      6769: 
1.66      paf      6770: echo "$as_me:$LINENO: checking for tm_tzadj in struct tm" >&5
                   6771: echo $ECHO_N "checking for tm_tzadj in struct tm... $ECHO_C" >&6
1.62      paf      6772: cat >conftest.$ac_ext <<_ACEOF
                   6773: #line $LINENO "configure"
                   6774: /* confdefs.h.  */
                   6775: _ACEOF
                   6776: cat confdefs.h >>conftest.$ac_ext
                   6777: cat >>conftest.$ac_ext <<_ACEOF
                   6778: /* end confdefs.h.  */
1.66      paf      6779: #include <time.h>
1.62      paf      6780: int
                   6781: main ()
                   6782: {
1.66      paf      6783: struct tm tm;
                   6784: tm.tm_tzadj=0;
                   6785: 
1.62      paf      6786:   ;
                   6787:   return 0;
                   6788: }
                   6789: _ACEOF
1.66      paf      6790: rm -f conftest.$ac_objext
                   6791: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6792:   (eval $ac_compile) 2>&5
1.62      paf      6793:   ac_status=$?
                   6794:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6795:   (exit $ac_status); } &&
1.66      paf      6796:          { ac_try='test -s conftest.$ac_objext'
1.62      paf      6797:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6798:   (eval $ac_try) 2>&5
                   6799:   ac_status=$?
                   6800:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6801:   (exit $ac_status); }; }; then
1.66      paf      6802:   cat >>confdefs.h <<\_ACEOF
                   6803: #define HAVE_TM_TZADJ 1
                   6804: _ACEOF
                   6805: 
                   6806: echo "$as_me:$LINENO: result: yes" >&5
                   6807: echo "${ECHO_T}yes" >&6
1.62      paf      6808: else
                   6809:   echo "$as_me: failed program was:" >&5
                   6810: sed 's/^/| /' conftest.$ac_ext >&5
                   6811: 
1.66      paf      6812: echo "$as_me:$LINENO: result: no" >&5
                   6813: echo "${ECHO_T}no" >&6
1.62      paf      6814: fi
1.66      paf      6815: rm -f conftest.$ac_objext conftest.$ac_ext
1.31      paf      6816: 
                   6817: 
                   6818: 
                   6819: 
1.1       paf      6820: 
                   6821: 
                   6822: 
1.62      paf      6823: 
                   6824: 
                   6825: 
                   6826: 
                   6827: 
                   6828: 
                   6829: 
                   6830: 
                   6831: 
                   6832: 
                   6833: 
                   6834: 
                   6835: 
                   6836: 
                   6837: 
                   6838: 
                   6839: 
                   6840: 
                   6841: 
                   6842: 
                   6843: 
                   6844: 
                   6845: 
                   6846: 
                   6847: 
                   6848: 
                   6849:           ac_config_headers="$ac_config_headers src/include/pa_config_auto.h"
                   6850: 
1.73      paf      6851:                                                                                                                                                                                                                                                                                                                       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      6852: cat >confcache <<\_ACEOF
1.1       paf      6853: # This file is a shell script that caches the results of configure
                   6854: # tests run on this system so they can be shared between configure
1.62      paf      6855: # scripts and configure runs, see configure's option --config-cache.
                   6856: # It is not useful on other systems.  If it contains results you don't
                   6857: # want to keep, you may remove or edit it.
1.1       paf      6858: #
1.62      paf      6859: # config.status only pays attention to the cache file if you give it
                   6860: # the --recheck option to rerun configure.
1.1       paf      6861: #
1.62      paf      6862: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   6863: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   6864: # following values.
                   6865: 
                   6866: _ACEOF
                   6867: 
1.1       paf      6868: # The following way of writing the cache mishandles newlines in values,
                   6869: # but we know of no workaround that is simple, portable, and efficient.
                   6870: # So, don't put newlines in cache variables' values.
                   6871: # Ultrix sh set writes to stderr and can't be redirected directly,
                   6872: # and sets the high bit in the cache file unless we assign to the vars.
1.62      paf      6873: {
                   6874:   (set) 2>&1 |
                   6875:     case `(ac_space=' '; set | grep ac_space) 2>&1` in
                   6876:     *ac_space=\ *)
                   6877:       # `set' does not quote correctly, so add quotes (double-quote
                   6878:       # substitution turns \\\\ into \\, and sed turns \\ into \).
                   6879:       sed -n \
                   6880:         "s/'/'\\\\''/g;
                   6881:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   6882:       ;;
                   6883:     *)
                   6884:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   6885:       sed -n \
                   6886:         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
                   6887:       ;;
                   6888:     esac;
                   6889: } |
                   6890:   sed '
                   6891:      t clear
                   6892:      : clear
                   6893:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   6894:      t end
                   6895:      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   6896:      : end' >>confcache
                   6897: if diff $cache_file confcache >/dev/null 2>&1; then :; else
1.1       paf      6898:   if test -w $cache_file; then
1.62      paf      6899:     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
                   6900:     cat confcache >$cache_file
1.1       paf      6901:   else
                   6902:     echo "not updating unwritable cache $cache_file"
                   6903:   fi
                   6904: fi
                   6905: rm -f confcache
                   6906: 
                   6907: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   6908: # Let make expand exec_prefix.
                   6909: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   6910: 
1.62      paf      6911: # VPATH may cause trouble with some makes, so we remove $(srcdir),
                   6912: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
                   6913: # trailing colons and then remove the whole line if VPATH becomes empty
                   6914: # (actually we leave an empty line to preserve line numbers).
1.1       paf      6915: if test "x$srcdir" = x.; then
1.62      paf      6916:   ac_vpsub='/^[        ]*VPATH[        ]*=/{
                   6917: s/:*\$(srcdir):*/:/;
                   6918: s/:*\${srcdir}:*/:/;
                   6919: s/:*@srcdir@:*/:/;
                   6920: s/^\([^=]*=[   ]*\):*/\1/;
                   6921: s/:*$//;
                   6922: s/^[^=]*=[     ]*$//;
                   6923: }'
1.1       paf      6924: fi
                   6925: 
1.62      paf      6926: DEFS=-DHAVE_CONFIG_H
                   6927: 
                   6928: ac_libobjs=
                   6929: ac_ltlibobjs=
                   6930: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   6931:   # 1. Remove the extension, and $U if already installed.
                   6932:   ac_i=`echo "$ac_i" |
                   6933:          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
                   6934:   # 2. Add them.
                   6935:   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
                   6936:   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
                   6937: done
                   6938: LIBOBJS=$ac_libobjs
                   6939: 
                   6940: LTLIBOBJS=$ac_ltlibobjs
1.1       paf      6941: 
                   6942: 
1.62      paf      6943: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
                   6944:   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
                   6945: Usually this means the macro was only invoked conditionally." >&5
                   6946: echo "$as_me: error: conditional \"AMDEP\" was never defined.
                   6947: Usually this means the macro was only invoked conditionally." >&2;}
                   6948:    { (exit 1); exit 1; }; }
                   6949: fi
1.66      paf      6950: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
                   6951:   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
1.62      paf      6952: Usually this means the macro was only invoked conditionally." >&5
1.66      paf      6953: echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
1.62      paf      6954: Usually this means the macro was only invoked conditionally." >&2;}
                   6955:    { (exit 1); exit 1; }; }
                   6956: fi
1.66      paf      6957: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
                   6958:   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
1.62      paf      6959: Usually this means the macro was only invoked conditionally." >&5
1.66      paf      6960: echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
1.62      paf      6961: Usually this means the macro was only invoked conditionally." >&2;}
                   6962:    { (exit 1); exit 1; }; }
                   6963: fi
                   6964: if test -z "${COMPILE_APACHE13_MODULE_TRUE}" && test -z "${COMPILE_APACHE13_MODULE_FALSE}"; then
                   6965:   { { echo "$as_me:$LINENO: error: conditional \"COMPILE_APACHE13_MODULE\" was never defined.
                   6966: Usually this means the macro was only invoked conditionally." >&5
                   6967: echo "$as_me: error: conditional \"COMPILE_APACHE13_MODULE\" was never defined.
                   6968: Usually this means the macro was only invoked conditionally." >&2;}
                   6969:    { (exit 1); exit 1; }; }
                   6970: fi
                   6971: 
1.1       paf      6972: : ${CONFIG_STATUS=./config.status}
1.62      paf      6973: ac_clean_files_save=$ac_clean_files
                   6974: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   6975: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
                   6976: echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   6977: cat >$CONFIG_STATUS <<_ACEOF
                   6978: #! $SHELL
                   6979: # Generated by $as_me.
                   6980: # Run this file to recreate the current configuration.
                   6981: # Compiler output produced by configure, useful for debugging
                   6982: # configure, is in config.log if it exists.
                   6983: 
                   6984: debug=false
                   6985: ac_cs_recheck=false
                   6986: ac_cs_silent=false
                   6987: SHELL=\${CONFIG_SHELL-$SHELL}
                   6988: _ACEOF
                   6989: 
                   6990: cat >>$CONFIG_STATUS <<\_ACEOF
                   6991: ## --------------------- ##
                   6992: ## M4sh Initialization.  ##
                   6993: ## --------------------- ##
                   6994: 
                   6995: # Be Bourne compatible
                   6996: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                   6997:   emulate sh
                   6998:   NULLCMD=:
                   6999:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
                   7000:   # is contrary to our usage.  Disable this feature.
                   7001:   alias -g '${1+"$@"}'='"$@"'
                   7002: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
                   7003:   set -o posix
                   7004: fi
                   7005: 
                   7006: # Support unset when possible.
                   7007: if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
                   7008:   as_unset=unset
                   7009: else
                   7010:   as_unset=false
                   7011: fi
                   7012: 
                   7013: 
                   7014: # Work around bugs in pre-3.0 UWIN ksh.
                   7015: $as_unset ENV MAIL MAILPATH
                   7016: PS1='$ '
                   7017: PS2='> '
                   7018: PS4='+ '
                   7019: 
                   7020: # NLS nuisances.
                   7021: for as_var in \
                   7022:   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
                   7023:   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
                   7024:   LC_TELEPHONE LC_TIME
                   7025: do
                   7026:   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
                   7027:     eval $as_var=C; export $as_var
                   7028:   else
                   7029:     $as_unset $as_var
                   7030:   fi
                   7031: done
1.1       paf      7032: 
1.62      paf      7033: # Required to use basename.
                   7034: if expr a : '\(a\)' >/dev/null 2>&1; then
                   7035:   as_expr=expr
                   7036: else
                   7037:   as_expr=false
                   7038: fi
                   7039: 
                   7040: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
                   7041:   as_basename=basename
                   7042: else
                   7043:   as_basename=false
                   7044: fi
                   7045: 
                   7046: 
                   7047: # Name of the executable.
                   7048: as_me=`$as_basename "$0" ||
                   7049: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   7050:         X"$0" : 'X\(//\)$' \| \
                   7051:         X"$0" : 'X\(/\)$' \| \
                   7052:         .     : '\(.\)' 2>/dev/null ||
                   7053: echo X/"$0" |
                   7054:     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
                   7055:          /^X\/\(\/\/\)$/{ s//\1/; q; }
                   7056:          /^X\/\(\/\).*/{ s//\1/; q; }
                   7057:          s/.*/./; q'`
                   7058: 
                   7059: 
                   7060: # PATH needs CR, and LINENO needs CR and PATH.
                   7061: # Avoid depending upon Character Ranges.
                   7062: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   7063: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   7064: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   7065: as_cr_digits='0123456789'
                   7066: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   7067: 
                   7068: # The user is always right.
                   7069: if test "${PATH_SEPARATOR+set}" != set; then
                   7070:   echo "#! /bin/sh" >conf$$.sh
                   7071:   echo  "exit 0"   >>conf$$.sh
                   7072:   chmod +x conf$$.sh
                   7073:   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
                   7074:     PATH_SEPARATOR=';'
                   7075:   else
                   7076:     PATH_SEPARATOR=:
                   7077:   fi
                   7078:   rm -f conf$$.sh
                   7079: fi
                   7080: 
                   7081: 
                   7082:   as_lineno_1=$LINENO
                   7083:   as_lineno_2=$LINENO
                   7084:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   7085:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   7086:   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
                   7087:   # Find who we are.  Look in the path if we contain no path at all
                   7088:   # relative or not.
                   7089:   case $0 in
                   7090:     *[\\/]* ) as_myself=$0 ;;
                   7091:     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7092: for as_dir in $PATH
                   7093: do
                   7094:   IFS=$as_save_IFS
                   7095:   test -z "$as_dir" && as_dir=.
                   7096:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   7097: done
                   7098: 
                   7099:        ;;
                   7100:   esac
                   7101:   # We did not find ourselves, most probably we were run as `sh COMMAND'
                   7102:   # in which case we are not to be found in the path.
                   7103:   if test "x$as_myself" = x; then
                   7104:     as_myself=$0
                   7105:   fi
                   7106:   if test ! -f "$as_myself"; then
                   7107:     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
                   7108: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
                   7109:    { (exit 1); exit 1; }; }
                   7110:   fi
                   7111:   case $CONFIG_SHELL in
                   7112:   '')
                   7113:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7114: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                   7115: do
                   7116:   IFS=$as_save_IFS
                   7117:   test -z "$as_dir" && as_dir=.
                   7118:   for as_base in sh bash ksh sh5; do
                   7119:         case $as_dir in
                   7120:         /*)
                   7121:           if ("$as_dir/$as_base" -c '
                   7122:   as_lineno_1=$LINENO
                   7123:   as_lineno_2=$LINENO
                   7124:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   7125:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   7126:   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
                   7127:             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
                   7128:             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
                   7129:             CONFIG_SHELL=$as_dir/$as_base
                   7130:             export CONFIG_SHELL
                   7131:             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
                   7132:           fi;;
                   7133:         esac
                   7134:        done
                   7135: done
                   7136: ;;
                   7137:   esac
                   7138: 
                   7139:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
                   7140:   # uniformly replaced by the line number.  The first 'sed' inserts a
                   7141:   # line-number line before each line; the second 'sed' does the real
                   7142:   # work.  The second script uses 'N' to pair each line-number line
                   7143:   # with the numbered line, and appends trailing '-' during
                   7144:   # substitution so that $LINENO is not a special case at line end.
                   7145:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
                   7146:   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
                   7147:   sed '=' <$as_myself |
                   7148:     sed '
                   7149:       N
                   7150:       s,$,-,
                   7151:       : loop
                   7152:       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
                   7153:       t loop
                   7154:       s,-$,,
                   7155:       s,^['$as_cr_digits']*\n,,
                   7156:     ' >$as_me.lineno &&
                   7157:   chmod +x $as_me.lineno ||
                   7158:     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
                   7159: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
                   7160:    { (exit 1); exit 1; }; }
                   7161: 
                   7162:   # Don't try to exec as it changes $[0], causing all sort of problems
                   7163:   # (the dirname of $[0] is not the place where we might find the
                   7164:   # original and so on.  Autoconf is especially sensible to this).
                   7165:   . ./$as_me.lineno
                   7166:   # Exit status is that of the last command.
                   7167:   exit
                   7168: }
                   7169: 
                   7170: 
                   7171: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
                   7172:   *c*,-n*) ECHO_N= ECHO_C='
                   7173: ' ECHO_T='     ' ;;
                   7174:   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
                   7175:   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
                   7176: esac
                   7177: 
                   7178: if expr a : '\(a\)' >/dev/null 2>&1; then
                   7179:   as_expr=expr
                   7180: else
                   7181:   as_expr=false
                   7182: fi
                   7183: 
                   7184: rm -f conf$$ conf$$.exe conf$$.file
                   7185: echo >conf$$.file
                   7186: if ln -s conf$$.file conf$$ 2>/dev/null; then
                   7187:   # We could just check for DJGPP; but this test a) works b) is more generic
                   7188:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
                   7189:   if test -f conf$$.exe; then
                   7190:     # Don't use ln at all; we don't have any links
                   7191:     as_ln_s='cp -p'
                   7192:   else
                   7193:     as_ln_s='ln -s'
                   7194:   fi
                   7195: elif ln conf$$.file conf$$ 2>/dev/null; then
                   7196:   as_ln_s=ln
                   7197: else
                   7198:   as_ln_s='cp -p'
                   7199: fi
                   7200: rm -f conf$$ conf$$.exe conf$$.file
                   7201: 
                   7202: if mkdir -p . 2>/dev/null; then
                   7203:   as_mkdir_p=:
                   7204: else
                   7205:   as_mkdir_p=false
                   7206: fi
                   7207: 
                   7208: as_executable_p="test -f"
                   7209: 
                   7210: # Sed expression to map a string onto a valid CPP name.
                   7211: as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
                   7212: 
                   7213: # Sed expression to map a string onto a valid variable name.
                   7214: as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
                   7215: 
                   7216: 
                   7217: # IFS
                   7218: # We need space, tab and new line, in precisely that order.
                   7219: as_nl='
                   7220: '
                   7221: IFS="  $as_nl"
                   7222: 
                   7223: # CDPATH.
                   7224: $as_unset CDPATH
                   7225: 
                   7226: exec 6>&1
                   7227: 
                   7228: # Open the log real soon, to keep \$[0] and so on meaningful, and to
                   7229: # report actual input values of CONFIG_FILES etc. instead of their
                   7230: # values after options handling.  Logging --version etc. is OK.
                   7231: exec 5>>config.log
                   7232: {
                   7233:   echo
                   7234:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   7235: ## Running $as_me. ##
                   7236: _ASBOX
                   7237: } >&5
                   7238: cat >&5 <<_CSEOF
                   7239: 
                   7240: This file was extended by $as_me, which was
                   7241: generated by GNU Autoconf 2.57.  Invocation command line was
                   7242: 
                   7243:   CONFIG_FILES    = $CONFIG_FILES
                   7244:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   7245:   CONFIG_LINKS    = $CONFIG_LINKS
                   7246:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   7247:   $ $0 $@
                   7248: 
                   7249: _CSEOF
                   7250: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
                   7251: echo >&5
                   7252: _ACEOF
                   7253: 
                   7254: # Files that config.status was made for.
                   7255: if test -n "$ac_config_files"; then
                   7256:   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
                   7257: fi
                   7258: 
                   7259: if test -n "$ac_config_headers"; then
                   7260:   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
                   7261: fi
                   7262: 
                   7263: if test -n "$ac_config_links"; then
                   7264:   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
                   7265: fi
                   7266: 
                   7267: if test -n "$ac_config_commands"; then
                   7268:   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
                   7269: fi
                   7270: 
                   7271: cat >>$CONFIG_STATUS <<\_ACEOF
                   7272: 
                   7273: ac_cs_usage="\
                   7274: \`$as_me' instantiates files from templates according to the
                   7275: current configuration.
                   7276: 
                   7277: Usage: $0 [OPTIONS] [FILE]...
                   7278: 
                   7279:   -h, --help       print this help, then exit
                   7280:   -V, --version    print version number, then exit
                   7281:   -q, --quiet      do not print progress messages
                   7282:   -d, --debug      don't remove temporary files
                   7283:       --recheck    update $as_me by reconfiguring in the same conditions
                   7284:   --file=FILE[:TEMPLATE]
                   7285:                    instantiate the configuration file FILE
                   7286:   --header=FILE[:TEMPLATE]
                   7287:                    instantiate the configuration header FILE
                   7288: 
                   7289: Configuration files:
                   7290: $config_files
                   7291: 
                   7292: Configuration headers:
                   7293: $config_headers
                   7294: 
                   7295: Configuration commands:
                   7296: $config_commands
                   7297: 
                   7298: Report bugs to <bug-autoconf@gnu.org>."
                   7299: _ACEOF
                   7300: 
                   7301: cat >>$CONFIG_STATUS <<_ACEOF
                   7302: ac_cs_version="\\
                   7303: config.status
                   7304: configured by $0, generated by GNU Autoconf 2.57,
                   7305:   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
                   7306: 
                   7307: Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
                   7308: Free Software Foundation, Inc.
                   7309: This config.status script is free software; the Free Software Foundation
                   7310: gives unlimited permission to copy, distribute and modify it."
                   7311: srcdir=$srcdir
                   7312: INSTALL="$INSTALL"
                   7313: _ACEOF
                   7314: 
                   7315: cat >>$CONFIG_STATUS <<\_ACEOF
                   7316: # If no file are specified by the user, then we need to provide default
                   7317: # value.  By we need to know if files were specified by the user.
                   7318: ac_need_defaults=:
                   7319: while test $# != 0
                   7320: do
                   7321:   case $1 in
                   7322:   --*=*)
                   7323:     ac_option=`expr "x$1" : 'x\([^=]*\)='`
                   7324:     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
                   7325:     ac_shift=:
                   7326:     ;;
                   7327:   -*)
                   7328:     ac_option=$1
                   7329:     ac_optarg=$2
                   7330:     ac_shift=shift
                   7331:     ;;
                   7332:   *) # This is not an option, so the user has probably given explicit
                   7333:      # arguments.
                   7334:      ac_option=$1
                   7335:      ac_need_defaults=false;;
                   7336:   esac
                   7337: 
                   7338:   case $ac_option in
                   7339:   # Handling of the options.
                   7340: _ACEOF
                   7341: cat >>$CONFIG_STATUS <<\_ACEOF
                   7342:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   7343:     ac_cs_recheck=: ;;
                   7344:   --version | --vers* | -V )
                   7345:     echo "$ac_cs_version"; exit 0 ;;
                   7346:   --he | --h)
                   7347:     # Conflict between --help and --header
                   7348:     { { echo "$as_me:$LINENO: error: ambiguous option: $1
                   7349: Try \`$0 --help' for more information." >&5
                   7350: echo "$as_me: error: ambiguous option: $1
                   7351: Try \`$0 --help' for more information." >&2;}
                   7352:    { (exit 1); exit 1; }; };;
                   7353:   --help | --hel | -h )
                   7354:     echo "$ac_cs_usage"; exit 0 ;;
                   7355:   --debug | --d* | -d )
                   7356:     debug=: ;;
                   7357:   --file | --fil | --fi | --f )
                   7358:     $ac_shift
                   7359:     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
                   7360:     ac_need_defaults=false;;
                   7361:   --header | --heade | --head | --hea )
                   7362:     $ac_shift
                   7363:     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
                   7364:     ac_need_defaults=false;;
                   7365:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   7366:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   7367:     ac_cs_silent=: ;;
                   7368: 
                   7369:   # This is an error.
                   7370:   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
                   7371: Try \`$0 --help' for more information." >&5
                   7372: echo "$as_me: error: unrecognized option: $1
                   7373: Try \`$0 --help' for more information." >&2;}
                   7374:    { (exit 1); exit 1; }; } ;;
                   7375: 
                   7376:   *) ac_config_targets="$ac_config_targets $1" ;;
                   7377: 
                   7378:   esac
                   7379:   shift
                   7380: done
                   7381: 
                   7382: ac_configure_extra_args=
                   7383: 
                   7384: if $ac_cs_silent; then
                   7385:   exec 6>/dev/null
                   7386:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   7387: fi
                   7388: 
                   7389: _ACEOF
                   7390: cat >>$CONFIG_STATUS <<_ACEOF
                   7391: if \$ac_cs_recheck; then
                   7392:   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
                   7393:   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   7394: fi
                   7395: 
                   7396: _ACEOF
                   7397: 
                   7398: cat >>$CONFIG_STATUS <<_ACEOF
1.1       paf      7399: #
1.62      paf      7400: # INIT-COMMANDS section.
1.1       paf      7401: #
                   7402: 
1.62      paf      7403: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   7404: 
                   7405: _ACEOF
                   7406: 
                   7407: 
                   7408: 
                   7409: cat >>$CONFIG_STATUS <<\_ACEOF
                   7410: for ac_config_target in $ac_config_targets
1.1       paf      7411: do
1.62      paf      7412:   case "$ac_config_target" in
                   7413:   # Handling of arguments.
                   7414:   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   7415:   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
                   7416:   "src/types/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/types/Makefile" ;;
                   7417:   "src/classes/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/classes/Makefile" ;;
                   7418:   "src/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
                   7419:   "src/main/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/main/Makefile" ;;
                   7420:   "src/sql/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/sql/Makefile" ;;
                   7421:   "src/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
1.67      paf      7422:   "src/lib/patches/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/patches/Makefile" ;;
1.73      paf      7423:   "src/lib/gd/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gd/Makefile" ;;
                   7424:   "src/lib/smtp/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/smtp/Makefile" ;;
1.67      paf      7425:   "src/lib/gc/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gc/Makefile" ;;
                   7426:   "src/lib/gc/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gc/include/Makefile" ;;
                   7427:   "src/lib/cord/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/cord/Makefile" ;;
                   7428:   "src/lib/cord/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/Makefile" ;;
                   7429:   "src/lib/cord/include/private/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/private/Makefile" ;;
1.62      paf      7430:   "src/lib/ltdl/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/ltdl/Makefile" ;;
                   7431:   "src/lib/pcre/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/pcre/Makefile" ;;
                   7432:   "src/lib/md5/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/md5/Makefile" ;;
1.70      paf      7433:   "src/lib/sdbm/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/Makefile" ;;
                   7434:   "src/lib/sdbm/apr-include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/apr-include/Makefile" ;;
1.62      paf      7435:   "src/targets/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/Makefile" ;;
                   7436:   "src/targets/cgi/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/cgi/Makefile" ;;
1.68      paf      7437:   "src/targets/apache13core/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/apache13core/Makefile" ;;
1.62      paf      7438:   "src/targets/apache13/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/apache13/Makefile" ;;
                   7439:   "src/targets/apache13/p3runConfigure" ) CONFIG_FILES="$CONFIG_FILES src/targets/apache13/p3runConfigure" ;;
                   7440:   "src/targets/isapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/isapi/Makefile" ;;
                   7441:   "etc/Makefile" ) CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
                   7442:   "etc/parser3.charsets/Makefile" ) CONFIG_FILES="$CONFIG_FILES etc/parser3.charsets/Makefile" ;;
                   7443:   "bin/Makefile" ) CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
                   7444:   "bin/auto.p.dist" ) CONFIG_FILES="$CONFIG_FILES bin/auto.p.dist" ;;
                   7445:   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   7446:   "src/include/pa_config_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/include/pa_config_auto.h" ;;
                   7447:   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
                   7448: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
                   7449:    { (exit 1); exit 1; }; };;
1.1       paf      7450:   esac
                   7451: done
                   7452: 
1.62      paf      7453: # If the user did not use the arguments to specify the items to instantiate,
                   7454: # then the envvar interface is used.  Set only those that are not.
                   7455: # We use the long form for the default assignment because of an extremely
                   7456: # bizarre bug on SunOS 4.1.3.
                   7457: if $ac_need_defaults; then
                   7458:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   7459:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   7460:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   7461: fi
                   7462: 
                   7463: # Have a temporary directory for convenience.  Make it in the build tree
                   7464: # simply because there is no reason to put it here, and in addition,
                   7465: # creating and moving files from /tmp can sometimes cause problems.
                   7466: # Create a temporary directory, and hook for its removal unless debugging.
                   7467: $debug ||
                   7468: {
                   7469:   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
                   7470:   trap '{ (exit 1); exit 1; }' 1 2 13 15
                   7471: }
                   7472: 
                   7473: # Create a (secure) tmp directory for tmp files.
                   7474: 
                   7475: {
                   7476:   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
                   7477:   test -n "$tmp" && test -d "$tmp"
                   7478: }  ||
                   7479: {
                   7480:   tmp=./confstat$$-$RANDOM
                   7481:   (umask 077 && mkdir $tmp)
                   7482: } ||
                   7483: {
                   7484:    echo "$me: cannot create a temporary directory in ." >&2
                   7485:    { (exit 1); exit 1; }
                   7486: }
                   7487: 
                   7488: _ACEOF
1.1       paf      7489: 
1.62      paf      7490: cat >>$CONFIG_STATUS <<_ACEOF
                   7491: 
                   7492: #
                   7493: # CONFIG_FILES section.
                   7494: #
1.1       paf      7495: 
1.62      paf      7496: # No need to generate the scripts if there are no CONFIG_FILES.
                   7497: # This happens for instance when ./config.status config.h
                   7498: if test -n "\$CONFIG_FILES"; then
                   7499:   # Protect against being on the right side of a sed subst in config.status.
                   7500:   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
                   7501:    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
                   7502: s,@SHELL@,$SHELL,;t t
                   7503: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
                   7504: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
                   7505: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
                   7506: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
                   7507: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
                   7508: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
                   7509: s,@exec_prefix@,$exec_prefix,;t t
                   7510: s,@prefix@,$prefix,;t t
                   7511: s,@program_transform_name@,$program_transform_name,;t t
                   7512: s,@bindir@,$bindir,;t t
                   7513: s,@sbindir@,$sbindir,;t t
                   7514: s,@libexecdir@,$libexecdir,;t t
                   7515: s,@datadir@,$datadir,;t t
                   7516: s,@sysconfdir@,$sysconfdir,;t t
                   7517: s,@sharedstatedir@,$sharedstatedir,;t t
                   7518: s,@localstatedir@,$localstatedir,;t t
                   7519: s,@libdir@,$libdir,;t t
                   7520: s,@includedir@,$includedir,;t t
                   7521: s,@oldincludedir@,$oldincludedir,;t t
                   7522: s,@infodir@,$infodir,;t t
                   7523: s,@mandir@,$mandir,;t t
                   7524: s,@build_alias@,$build_alias,;t t
                   7525: s,@host_alias@,$host_alias,;t t
                   7526: s,@target_alias@,$target_alias,;t t
                   7527: s,@DEFS@,$DEFS,;t t
                   7528: s,@ECHO_C@,$ECHO_C,;t t
                   7529: s,@ECHO_N@,$ECHO_N,;t t
                   7530: s,@ECHO_T@,$ECHO_T,;t t
                   7531: s,@LIBS@,$LIBS,;t t
                   7532: s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
                   7533: s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
                   7534: s,@INSTALL_DATA@,$INSTALL_DATA,;t t
                   7535: s,@CYGPATH_W@,$CYGPATH_W,;t t
                   7536: s,@PACKAGE@,$PACKAGE,;t t
                   7537: s,@VERSION@,$VERSION,;t t
                   7538: s,@ACLOCAL@,$ACLOCAL,;t t
                   7539: s,@AUTOCONF@,$AUTOCONF,;t t
                   7540: s,@AUTOMAKE@,$AUTOMAKE,;t t
                   7541: s,@AUTOHEADER@,$AUTOHEADER,;t t
                   7542: s,@MAKEINFO@,$MAKEINFO,;t t
                   7543: s,@AMTAR@,$AMTAR,;t t
                   7544: s,@install_sh@,$install_sh,;t t
                   7545: s,@STRIP@,$STRIP,;t t
                   7546: s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
                   7547: s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
                   7548: s,@AWK@,$AWK,;t t
                   7549: s,@SET_MAKE@,$SET_MAKE,;t t
                   7550: s,@P3S@,$P3S,;t t
                   7551: s,@build@,$build,;t t
                   7552: s,@build_cpu@,$build_cpu,;t t
                   7553: s,@build_vendor@,$build_vendor,;t t
                   7554: s,@build_os@,$build_os,;t t
                   7555: s,@host@,$host,;t t
                   7556: s,@host_cpu@,$host_cpu,;t t
                   7557: s,@host_vendor@,$host_vendor,;t t
                   7558: s,@host_os@,$host_os,;t t
                   7559: s,@RANLIB@,$RANLIB,;t t
                   7560: s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
                   7561: s,@YACC@,$YACC,;t t
1.66      paf      7562: s,@CXX@,$CXX,;t t
                   7563: s,@CXXFLAGS@,$CXXFLAGS,;t t
1.62      paf      7564: s,@LDFLAGS@,$LDFLAGS,;t t
                   7565: s,@CPPFLAGS@,$CPPFLAGS,;t t
1.66      paf      7566: s,@ac_ct_CXX@,$ac_ct_CXX,;t t
1.62      paf      7567: s,@EXEEXT@,$EXEEXT,;t t
                   7568: s,@OBJEXT@,$OBJEXT,;t t
                   7569: s,@DEPDIR@,$DEPDIR,;t t
                   7570: s,@am__include@,$am__include,;t t
                   7571: s,@am__quote@,$am__quote,;t t
                   7572: s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
                   7573: s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
                   7574: s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
1.66      paf      7575: s,@CXXDEPMODE@,$CXXDEPMODE,;t t
                   7576: s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
                   7577: s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
                   7578: s,@CC@,$CC,;t t
                   7579: s,@CFLAGS@,$CFLAGS,;t t
                   7580: s,@ac_ct_CC@,$ac_ct_CC,;t t
1.62      paf      7581: s,@CCDEPMODE@,$CCDEPMODE,;t t
                   7582: s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
                   7583: s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
                   7584: s,@commentcharset_windows1251@,$commentcharset_windows1251,;t t
                   7585: s,@commentcharset_windows1250@,$commentcharset_windows1250,;t t
                   7586: s,@commentcharset_windows1257@,$commentcharset_windows1257,;t t
                   7587: s,@commentcharset_koi8r@,$commentcharset_koi8r,;t t
                   7588: s,@dll_extension@,$dll_extension,;t t
                   7589: s,@mysql_client@,$mysql_client,;t t
                   7590: s,@pgsql_client@,$pgsql_client,;t t
                   7591: s,@oracle_client@,$oracle_client,;t t
1.67      paf      7592: s,@CPP_LIBS@,$CPP_LIBS,;t t
                   7593: s,@GC_LIBS@,$GC_LIBS,;t t
1.62      paf      7594: s,@XML_INCLUDES@,$XML_INCLUDES,;t t
                   7595: s,@XML_LIBS@,$XML_LIBS,;t t
                   7596: s,@MIME_INCLUDES@,$MIME_INCLUDES,;t t
                   7597: s,@MIME_LIBS@,$MIME_LIBS,;t t
                   7598: s,@APACHE13@,$APACHE13,;t t
                   7599: s,@COMPILE_APACHE13_MODULE_TRUE@,$COMPILE_APACHE13_MODULE_TRUE,;t t
                   7600: s,@COMPILE_APACHE13_MODULE_FALSE@,$COMPILE_APACHE13_MODULE_FALSE,;t t
                   7601: s,@INCLTDL@,$INCLTDL,;t t
                   7602: s,@LIBLTDL@,$LIBLTDL,;t t
                   7603: s,@subdirs@,$subdirs,;t t
                   7604: s,@LIBADD_DL@,$LIBADD_DL,;t t
1.66      paf      7605: s,@CPP@,$CPP,;t t
                   7606: s,@EGREP@,$EGREP,;t t
1.62      paf      7607: s,@LIBOBJS@,$LIBOBJS,;t t
                   7608: s,@LTLIBOBJS@,$LTLIBOBJS,;t t
1.1       paf      7609: CEOF
                   7610: 
1.62      paf      7611: _ACEOF
1.1       paf      7612: 
1.62      paf      7613:   cat >>$CONFIG_STATUS <<\_ACEOF
                   7614:   # Split the substitutions into bite-sized pieces for seds with
                   7615:   # small command number limits, like on Digital OSF/1 and HP-UX.
                   7616:   ac_max_sed_lines=48
                   7617:   ac_sed_frag=1 # Number of current file.
                   7618:   ac_beg=1 # First line for current file.
                   7619:   ac_end=$ac_max_sed_lines # Line after last line for current file.
                   7620:   ac_more_lines=:
                   7621:   ac_sed_cmds=
                   7622:   while $ac_more_lines; do
                   7623:     if test $ac_beg -gt 1; then
                   7624:       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   7625:     else
                   7626:       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   7627:     fi
                   7628:     if test ! -s $tmp/subs.frag; then
                   7629:       ac_more_lines=false
1.1       paf      7630:     else
1.62      paf      7631:       # The purpose of the label and of the branching condition is to
                   7632:       # speed up the sed processing (if there are no `@' at all, there
                   7633:       # is no need to browse any of the substitutions).
                   7634:       # These are the two extra sed commands mentioned above.
                   7635:       (echo ':t
                   7636:   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
                   7637:       if test -z "$ac_sed_cmds"; then
                   7638:        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
                   7639:       else
                   7640:        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
                   7641:       fi
                   7642:       ac_sed_frag=`expr $ac_sed_frag + 1`
                   7643:       ac_beg=$ac_end
                   7644:       ac_end=`expr $ac_end + $ac_max_sed_lines`
1.1       paf      7645:     fi
1.62      paf      7646:   done
                   7647:   if test -z "$ac_sed_cmds"; then
                   7648:     ac_sed_cmds=cat
1.1       paf      7649:   fi
1.62      paf      7650: fi # test -n "$CONFIG_FILES"
1.1       paf      7651: 
1.62      paf      7652: _ACEOF
                   7653: cat >>$CONFIG_STATUS <<\_ACEOF
                   7654: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
1.1       paf      7655:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.62      paf      7656:   case $ac_file in
                   7657:   - | *:- | *:-:* ) # input from stdin
                   7658:         cat >$tmp/stdin
                   7659:         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   7660:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   7661:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   7662:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   7663:   * )   ac_file_in=$ac_file.in ;;
1.1       paf      7664:   esac
                   7665: 
1.62      paf      7666:   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
                   7667:   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
                   7668: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   7669:          X"$ac_file" : 'X\(//\)[^/]' \| \
                   7670:          X"$ac_file" : 'X\(//\)$' \| \
                   7671:          X"$ac_file" : 'X\(/\)' \| \
                   7672:          .     : '\(.\)' 2>/dev/null ||
                   7673: echo X"$ac_file" |
                   7674:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   7675:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   7676:          /^X\(\/\/\)$/{ s//\1/; q; }
                   7677:          /^X\(\/\).*/{ s//\1/; q; }
                   7678:          s/.*/./; q'`
                   7679:   { if $as_mkdir_p; then
                   7680:     mkdir -p "$ac_dir"
                   7681:   else
                   7682:     as_dir="$ac_dir"
                   7683:     as_dirs=
                   7684:     while test ! -d "$as_dir"; do
                   7685:       as_dirs="$as_dir $as_dirs"
                   7686:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   7687: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   7688:          X"$as_dir" : 'X\(//\)[^/]' \| \
                   7689:          X"$as_dir" : 'X\(//\)$' \| \
                   7690:          X"$as_dir" : 'X\(/\)' \| \
                   7691:          .     : '\(.\)' 2>/dev/null ||
                   7692: echo X"$as_dir" |
                   7693:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   7694:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   7695:          /^X\(\/\/\)$/{ s//\1/; q; }
                   7696:          /^X\(\/\).*/{ s//\1/; q; }
                   7697:          s/.*/./; q'`
                   7698:     done
                   7699:     test ! -n "$as_dirs" || mkdir $as_dirs
                   7700:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   7701: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   7702:    { (exit 1); exit 1; }; }; }
                   7703: 
                   7704:   ac_builddir=.
                   7705: 
                   7706: if test "$ac_dir" != .; then
                   7707:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   7708:   # A "../" for each directory in $ac_dir_suffix.
                   7709:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   7710: else
                   7711:   ac_dir_suffix= ac_top_builddir=
                   7712: fi
                   7713: 
                   7714: case $srcdir in
                   7715:   .)  # No --srcdir option.  We are building in place.
                   7716:     ac_srcdir=.
                   7717:     if test -z "$ac_top_builddir"; then
                   7718:        ac_top_srcdir=.
                   7719:     else
                   7720:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   7721:     fi ;;
                   7722:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   7723:     ac_srcdir=$srcdir$ac_dir_suffix;
                   7724:     ac_top_srcdir=$srcdir ;;
                   7725:   *) # Relative path.
                   7726:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   7727:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   7728: esac
                   7729: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
                   7730: # absolute.
                   7731: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
                   7732: ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
                   7733: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
                   7734: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
                   7735: 
1.1       paf      7736: 
1.62      paf      7737:   case $INSTALL in
                   7738:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   7739:   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
1.1       paf      7740:   esac
                   7741: 
1.62      paf      7742:   if test x"$ac_file" != x-; then
                   7743:     { echo "$as_me:$LINENO: creating $ac_file" >&5
                   7744: echo "$as_me: creating $ac_file" >&6;}
                   7745:     rm -f "$ac_file"
                   7746:   fi
                   7747:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   7748:   # use $as_me), people would be surprised to read:
                   7749:   #    /* config.h.  Generated by config.status.  */
                   7750:   if test x"$ac_file" = x-; then
                   7751:     configure_input=
                   7752:   else
                   7753:     configure_input="$ac_file.  "
                   7754:   fi
                   7755:   configure_input=$configure_input"Generated from `echo $ac_file_in |
                   7756:                                      sed 's,.*/,,'` by configure."
                   7757: 
                   7758:   # First look for the input files in the build tree, otherwise in the
                   7759:   # src tree.
                   7760:   ac_file_inputs=`IFS=:
                   7761:     for f in $ac_file_in; do
                   7762:       case $f in
                   7763:       -) echo $tmp/stdin ;;
                   7764:       [\\/$]*)
                   7765:          # Absolute (can't be DOS-style, as IFS=:)
                   7766:          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   7767: echo "$as_me: error: cannot find input file: $f" >&2;}
                   7768:    { (exit 1); exit 1; }; }
                   7769:          echo $f;;
                   7770:       *) # Relative
                   7771:          if test -f "$f"; then
                   7772:            # Build tree
                   7773:            echo $f
                   7774:          elif test -f "$srcdir/$f"; then
                   7775:            # Source tree
                   7776:            echo $srcdir/$f
                   7777:          else
                   7778:            # /dev/null tree
                   7779:            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   7780: echo "$as_me: error: cannot find input file: $f" >&2;}
                   7781:    { (exit 1); exit 1; }; }
                   7782:          fi;;
                   7783:       esac
                   7784:     done` || { (exit 1); exit 1; }
                   7785: _ACEOF
                   7786: cat >>$CONFIG_STATUS <<_ACEOF
                   7787:   sed "$ac_vpsub
                   7788: $extrasub
                   7789: _ACEOF
                   7790: cat >>$CONFIG_STATUS <<\_ACEOF
                   7791: :t
                   7792: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   7793: s,@configure_input@,$configure_input,;t t
                   7794: s,@srcdir@,$ac_srcdir,;t t
                   7795: s,@abs_srcdir@,$ac_abs_srcdir,;t t
                   7796: s,@top_srcdir@,$ac_top_srcdir,;t t
                   7797: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
                   7798: s,@builddir@,$ac_builddir,;t t
                   7799: s,@abs_builddir@,$ac_abs_builddir,;t t
                   7800: s,@top_builddir@,$ac_top_builddir,;t t
                   7801: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
                   7802: s,@INSTALL@,$ac_INSTALL,;t t
                   7803: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
                   7804:   rm -f $tmp/stdin
                   7805:   if test x"$ac_file" != x-; then
                   7806:     mv $tmp/out $ac_file
                   7807:   else
                   7808:     cat $tmp/out
                   7809:     rm -f $tmp/out
                   7810:   fi
1.1       paf      7811: 
1.62      paf      7812: done
                   7813: _ACEOF
                   7814: cat >>$CONFIG_STATUS <<\_ACEOF
1.1       paf      7815: 
1.62      paf      7816: #
                   7817: # CONFIG_HEADER section.
                   7818: #
1.1       paf      7819: 
                   7820: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
                   7821: # NAME is the cpp macro being defined and VALUE is the value it is being given.
                   7822: #
                   7823: # ac_d sets the value in "#define NAME VALUE" lines.
1.62      paf      7824: ac_dA='s,^\([  ]*\)#\([        ]*define[       ][      ]*\)'
                   7825: ac_dB='[       ].*$,\1#\2'
                   7826: ac_dC=' '
                   7827: ac_dD=',;t'
                   7828: # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
                   7829: ac_uA='s,^\([  ]*\)#\([        ]*\)undef\([    ][      ]*\)'
                   7830: ac_uB='$,\1#\2define\3'
1.1       paf      7831: ac_uC=' '
1.62      paf      7832: ac_uD=',;t'
                   7833: 
                   7834: for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
1.1       paf      7835:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.62      paf      7836:   case $ac_file in
                   7837:   - | *:- | *:-:* ) # input from stdin
                   7838:         cat >$tmp/stdin
                   7839:         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   7840:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   7841:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   7842:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   7843:   * )   ac_file_in=$ac_file.in ;;
1.1       paf      7844:   esac
                   7845: 
1.62      paf      7846:   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
                   7847: echo "$as_me: creating $ac_file" >&6;}
1.1       paf      7848: 
1.62      paf      7849:   # First look for the input files in the build tree, otherwise in the
                   7850:   # src tree.
                   7851:   ac_file_inputs=`IFS=:
                   7852:     for f in $ac_file_in; do
                   7853:       case $f in
                   7854:       -) echo $tmp/stdin ;;
                   7855:       [\\/$]*)
                   7856:          # Absolute (can't be DOS-style, as IFS=:)
                   7857:          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   7858: echo "$as_me: error: cannot find input file: $f" >&2;}
                   7859:    { (exit 1); exit 1; }; }
                   7860:          echo $f;;
                   7861:       *) # Relative
                   7862:          if test -f "$f"; then
                   7863:            # Build tree
                   7864:            echo $f
                   7865:          elif test -f "$srcdir/$f"; then
                   7866:            # Source tree
                   7867:            echo $srcdir/$f
                   7868:          else
                   7869:            # /dev/null tree
                   7870:            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   7871: echo "$as_me: error: cannot find input file: $f" >&2;}
                   7872:    { (exit 1); exit 1; }; }
                   7873:          fi;;
                   7874:       esac
                   7875:     done` || { (exit 1); exit 1; }
                   7876:   # Remove the trailing spaces.
                   7877:   sed 's/[     ]*$//' $ac_file_inputs >$tmp/in
                   7878: 
                   7879: _ACEOF
                   7880: 
                   7881: # Transform confdefs.h into two sed scripts, `conftest.defines' and
                   7882: # `conftest.undefs', that substitutes the proper values into
                   7883: # config.h.in to produce config.h.  The first handles `#define'
                   7884: # templates, and the second `#undef' templates.
                   7885: # And first: Protect against being on the right side of a sed subst in
                   7886: # config.status.  Protect against being in an unquoted here document
                   7887: # in config.status.
                   7888: rm -f conftest.defines conftest.undefs
                   7889: # Using a here document instead of a string reduces the quoting nightmare.
                   7890: # Putting comments in sed scripts is not portable.
                   7891: #
                   7892: # `end' is used to avoid that the second main sed command (meant for
                   7893: # 0-ary CPP macros) applies to n-ary macro definitions.
                   7894: # See the Autoconf documentation for `clear'.
                   7895: cat >confdef2sed.sed <<\_ACEOF
                   7896: s/[\\&,]/\\&/g
                   7897: s,[\\$`],\\&,g
                   7898: t clear
                   7899: : clear
                   7900: s,^[   ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
                   7901: t end
                   7902: s,^[   ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
                   7903: : end
                   7904: _ACEOF
                   7905: # If some macros were called several times there might be several times
                   7906: # the same #defines, which is useless.  Nevertheless, we may not want to
                   7907: # sort them, since we want the *last* AC-DEFINE to be honored.
                   7908: uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
                   7909: sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
                   7910: rm -f confdef2sed.sed
1.1       paf      7911: 
                   7912: # This sed command replaces #undef with comments.  This is necessary, for
                   7913: # example, in the case of _POSIX_SOURCE, which is predefined and required
                   7914: # on some systems where configure will not decide to define it.
1.62      paf      7915: cat >>conftest.undefs <<\_ACEOF
                   7916: s,^[   ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
                   7917: _ACEOF
                   7918: 
                   7919: # Break up conftest.defines because some shells have a limit on the size
                   7920: # of here documents, and old seds have small limits too (100 cmds).
                   7921: echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
                   7922: echo '  if grep "^[    ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
                   7923: echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
                   7924: echo '  :' >>$CONFIG_STATUS
                   7925: rm -f conftest.tail
                   7926: while grep . conftest.defines >/dev/null
                   7927: do
                   7928:   # Write a limited-size here document to $tmp/defines.sed.
                   7929:   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
                   7930:   # Speed up: don't consider the non `#define' lines.
                   7931:   echo '/^[    ]*#[    ]*define/!b' >>$CONFIG_STATUS
                   7932:   # Work around the forget-to-reset-the-flag bug.
                   7933:   echo 't clr' >>$CONFIG_STATUS
                   7934:   echo ': clr' >>$CONFIG_STATUS
                   7935:   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
                   7936:   echo 'CEOF
                   7937:   sed -f $tmp/defines.sed $tmp/in >$tmp/out
                   7938:   rm -f $tmp/in
                   7939:   mv $tmp/out $tmp/in
                   7940: ' >>$CONFIG_STATUS
                   7941:   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
                   7942:   rm -f conftest.defines
                   7943:   mv conftest.tail conftest.defines
                   7944: done
                   7945: rm -f conftest.defines
                   7946: echo '  fi # grep' >>$CONFIG_STATUS
                   7947: echo >>$CONFIG_STATUS
                   7948: 
                   7949: # Break up conftest.undefs because some shells have a limit on the size
                   7950: # of here documents, and old seds have small limits too (100 cmds).
                   7951: echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
1.1       paf      7952: rm -f conftest.tail
1.62      paf      7953: while grep . conftest.undefs >/dev/null
1.1       paf      7954: do
1.62      paf      7955:   # Write a limited-size here document to $tmp/undefs.sed.
                   7956:   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
                   7957:   # Speed up: don't consider the non `#undef'
                   7958:   echo '/^[    ]*#[    ]*undef/!b' >>$CONFIG_STATUS
                   7959:   # Work around the forget-to-reset-the-flag bug.
                   7960:   echo 't clr' >>$CONFIG_STATUS
                   7961:   echo ': clr' >>$CONFIG_STATUS
                   7962:   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
1.1       paf      7963:   echo 'CEOF
1.62      paf      7964:   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
                   7965:   rm -f $tmp/in
                   7966:   mv $tmp/out $tmp/in
                   7967: ' >>$CONFIG_STATUS
                   7968:   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
                   7969:   rm -f conftest.undefs
                   7970:   mv conftest.tail conftest.undefs
                   7971: done
                   7972: rm -f conftest.undefs
                   7973: 
                   7974: cat >>$CONFIG_STATUS <<\_ACEOF
                   7975:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   7976:   # use $as_me), people would be surprised to read:
                   7977:   #    /* config.h.  Generated by config.status.  */
                   7978:   if test x"$ac_file" = x-; then
                   7979:     echo "/* Generated by configure.  */" >$tmp/config.h
                   7980:   else
                   7981:     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
                   7982:   fi
                   7983:   cat $tmp/in >>$tmp/config.h
                   7984:   rm -f $tmp/in
                   7985:   if test x"$ac_file" != x-; then
                   7986:     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
                   7987:       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
                   7988: echo "$as_me: $ac_file is unchanged" >&6;}
                   7989:     else
                   7990:       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
                   7991: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   7992:          X"$ac_file" : 'X\(//\)[^/]' \| \
                   7993:          X"$ac_file" : 'X\(//\)$' \| \
                   7994:          X"$ac_file" : 'X\(/\)' \| \
                   7995:          .     : '\(.\)' 2>/dev/null ||
                   7996: echo X"$ac_file" |
                   7997:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   7998:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   7999:          /^X\(\/\/\)$/{ s//\1/; q; }
                   8000:          /^X\(\/\).*/{ s//\1/; q; }
                   8001:          s/.*/./; q'`
                   8002:       { if $as_mkdir_p; then
                   8003:     mkdir -p "$ac_dir"
                   8004:   else
                   8005:     as_dir="$ac_dir"
                   8006:     as_dirs=
                   8007:     while test ! -d "$as_dir"; do
                   8008:       as_dirs="$as_dir $as_dirs"
                   8009:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   8010: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   8011:          X"$as_dir" : 'X\(//\)[^/]' \| \
                   8012:          X"$as_dir" : 'X\(//\)$' \| \
                   8013:          X"$as_dir" : 'X\(/\)' \| \
                   8014:          .     : '\(.\)' 2>/dev/null ||
                   8015: echo X"$as_dir" |
                   8016:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   8017:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   8018:          /^X\(\/\/\)$/{ s//\1/; q; }
                   8019:          /^X\(\/\).*/{ s//\1/; q; }
                   8020:          s/.*/./; q'`
                   8021:     done
                   8022:     test ! -n "$as_dirs" || mkdir $as_dirs
                   8023:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   8024: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   8025:    { (exit 1); exit 1; }; }; }
                   8026: 
                   8027:       rm -f $ac_file
                   8028:       mv $tmp/config.h $ac_file
                   8029:     fi
                   8030:   else
                   8031:     cat $tmp/config.h
                   8032:     rm -f $tmp/config.h
                   8033:   fi
                   8034: _am_stamp_count=`expr ${_am_stamp_count-0} + 1`
                   8035: echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
                   8036: $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   8037:          X$ac_file : 'X\(//\)[^/]' \| \
                   8038:          X$ac_file : 'X\(//\)$' \| \
                   8039:          X$ac_file : 'X\(/\)' \| \
                   8040:          .     : '\(.\)' 2>/dev/null ||
                   8041: echo X$ac_file |
                   8042:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   8043:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   8044:          /^X\(\/\/\)$/{ s//\1/; q; }
                   8045:          /^X\(\/\).*/{ s//\1/; q; }
                   8046:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   8047: done
                   8048: _ACEOF
                   8049: cat >>$CONFIG_STATUS <<\_ACEOF
                   8050: 
                   8051: #
                   8052: # CONFIG_COMMANDS section.
                   8053: #
                   8054: for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
                   8055:   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
                   8056:   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   8057:   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
                   8058: $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   8059:          X"$ac_dest" : 'X\(//\)[^/]' \| \
                   8060:          X"$ac_dest" : 'X\(//\)$' \| \
                   8061:          X"$ac_dest" : 'X\(/\)' \| \
                   8062:          .     : '\(.\)' 2>/dev/null ||
                   8063: echo X"$ac_dest" |
                   8064:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   8065:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   8066:          /^X\(\/\/\)$/{ s//\1/; q; }
                   8067:          /^X\(\/\).*/{ s//\1/; q; }
                   8068:          s/.*/./; q'`
                   8069:   ac_builddir=.
                   8070: 
                   8071: if test "$ac_dir" != .; then
                   8072:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   8073:   # A "../" for each directory in $ac_dir_suffix.
                   8074:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   8075: else
                   8076:   ac_dir_suffix= ac_top_builddir=
                   8077: fi
                   8078: 
                   8079: case $srcdir in
                   8080:   .)  # No --srcdir option.  We are building in place.
                   8081:     ac_srcdir=.
                   8082:     if test -z "$ac_top_builddir"; then
                   8083:        ac_top_srcdir=.
                   8084:     else
                   8085:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   8086:     fi ;;
                   8087:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   8088:     ac_srcdir=$srcdir$ac_dir_suffix;
                   8089:     ac_top_srcdir=$srcdir ;;
                   8090:   *) # Relative path.
                   8091:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   8092:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   8093: esac
                   8094: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
                   8095: # absolute.
                   8096: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
                   8097: ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
                   8098: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
                   8099: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
                   8100: 
                   8101: 
                   8102:   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
                   8103: echo "$as_me: executing $ac_dest commands" >&6;}
                   8104:   case $ac_dest in
                   8105:     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
                   8106:   # Strip MF so we end up with the name of the file.
                   8107:   mf=`echo "$mf" | sed -e 's/:.*$//'`
                   8108:   # Check whether this is an Automake generated Makefile or not.
                   8109:   # We used to match only the files named `Makefile.in', but
                   8110:   # some people rename them; so instead we look at the file content.
                   8111:   # Grep'ing the first line is not enough: some people post-process
                   8112:   # each Makefile.in and add a new line on top of each file to say so.
                   8113:   # So let's grep whole file.
                   8114:   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
                   8115:     dirpart=`(dirname "$mf") 2>/dev/null ||
                   8116: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   8117:          X"$mf" : 'X\(//\)[^/]' \| \
                   8118:          X"$mf" : 'X\(//\)$' \| \
                   8119:          X"$mf" : 'X\(/\)' \| \
                   8120:          .     : '\(.\)' 2>/dev/null ||
                   8121: echo X"$mf" |
                   8122:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   8123:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   8124:          /^X\(\/\/\)$/{ s//\1/; q; }
                   8125:          /^X\(\/\).*/{ s//\1/; q; }
                   8126:          s/.*/./; q'`
                   8127:   else
                   8128:     continue
                   8129:   fi
                   8130:   grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
                   8131:   # Extract the definition of DEP_FILES from the Makefile without
                   8132:   # running `make'.
                   8133:   DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
                   8134:   test -z "$DEPDIR" && continue
                   8135:   # When using ansi2knr, U may be empty or an underscore; expand it
                   8136:   U=`sed -n -e '/^U = / s///p' < "$mf"`
                   8137:   test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
                   8138:   # We invoke sed twice because it is the simplest approach to
                   8139:   # changing $(DEPDIR) to its actual value in the expansion.
                   8140:   for file in `sed -n -e '
                   8141:     /^DEP_FILES = .*\\\\$/ {
                   8142:       s/^DEP_FILES = //
                   8143:       :loop
                   8144:        s/\\\\$//
                   8145:        p
                   8146:        n
                   8147:        /\\\\$/ b loop
                   8148:       p
                   8149:     }
                   8150:     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
                   8151:        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   8152:     # Make sure the directory exists.
                   8153:     test -f "$dirpart/$file" && continue
                   8154:     fdir=`(dirname "$file") 2>/dev/null ||
                   8155: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   8156:          X"$file" : 'X\(//\)[^/]' \| \
                   8157:          X"$file" : 'X\(//\)$' \| \
                   8158:          X"$file" : 'X\(/\)' \| \
                   8159:          .     : '\(.\)' 2>/dev/null ||
                   8160: echo X"$file" |
                   8161:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   8162:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   8163:          /^X\(\/\/\)$/{ s//\1/; q; }
                   8164:          /^X\(\/\).*/{ s//\1/; q; }
                   8165:          s/.*/./; q'`
                   8166:     { if $as_mkdir_p; then
                   8167:     mkdir -p $dirpart/$fdir
                   8168:   else
                   8169:     as_dir=$dirpart/$fdir
                   8170:     as_dirs=
                   8171:     while test ! -d "$as_dir"; do
                   8172:       as_dirs="$as_dir $as_dirs"
                   8173:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   8174: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   8175:          X"$as_dir" : 'X\(//\)[^/]' \| \
                   8176:          X"$as_dir" : 'X\(//\)$' \| \
                   8177:          X"$as_dir" : 'X\(/\)' \| \
                   8178:          .     : '\(.\)' 2>/dev/null ||
                   8179: echo X"$as_dir" |
                   8180:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   8181:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   8182:          /^X\(\/\/\)$/{ s//\1/; q; }
                   8183:          /^X\(\/\).*/{ s//\1/; q; }
                   8184:          s/.*/./; q'`
                   8185:     done
                   8186:     test ! -n "$as_dirs" || mkdir $as_dirs
                   8187:   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
                   8188: echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
                   8189:    { (exit 1); exit 1; }; }; }
1.1       paf      8190: 
1.62      paf      8191:     # echo "creating $dirpart/$file"
                   8192:     echo '# dummy' > "$dirpart/$file"
                   8193:   done
                   8194: done
                   8195:  ;;
                   8196:   esac
                   8197: done
                   8198: _ACEOF
                   8199: 
                   8200: cat >>$CONFIG_STATUS <<\_ACEOF
                   8201: 
                   8202: { (exit 0); exit 0; }
                   8203: _ACEOF
1.1       paf      8204: chmod +x $CONFIG_STATUS
1.62      paf      8205: ac_clean_files=$ac_clean_files_save
                   8206: 
1.1       paf      8207: 
1.62      paf      8208: # configure is writing to config.log, and then calls config.status.
                   8209: # config.status does its own redirection, appending to config.log.
                   8210: # Unfortunately, on DOS this fails, as config.log is still kept open
                   8211: # by configure, so config.status won't be able to write to it; its
                   8212: # output is simply discarded.  So we exec the FD to /dev/null,
                   8213: # effectively closing config.log, so it can be properly (re)opened and
                   8214: # appended to by config.status.  When coming back to configure, we
                   8215: # need to make the FD available again.
                   8216: if test "$no_create" != yes; then
                   8217:   ac_cs_success=:
                   8218:   ac_config_status_args=
                   8219:   test "$silent" = yes &&
                   8220:     ac_config_status_args="$ac_config_status_args --quiet"
                   8221:   exec 5>/dev/null
                   8222:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   8223:   exec 5>>config.log
                   8224:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   8225:   # would make configure fail if this is the last instruction.
                   8226:   $ac_cs_success || { (exit 1); exit 1; }
                   8227: fi
                   8228: 
                   8229: #
                   8230: # CONFIG_SUBDIRS section.
                   8231: #
1.1       paf      8232: if test "$no_recursion" != yes; then
                   8233: 
                   8234:   # Remove --cache-file and --srcdir arguments so they do not pile up.
                   8235:   ac_sub_configure_args=
                   8236:   ac_prev=
                   8237:   for ac_arg in $ac_configure_args; do
                   8238:     if test -n "$ac_prev"; then
                   8239:       ac_prev=
                   8240:       continue
                   8241:     fi
1.62      paf      8242:     case $ac_arg in
1.1       paf      8243:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   8244:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   8245:       ac_prev=cache_file ;;
                   8246:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.62      paf      8247:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   8248:     | --c=*)
                   8249:       ;;
                   8250:     --config-cache | -C)
1.1       paf      8251:       ;;
                   8252:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   8253:       ac_prev=srcdir ;;
                   8254:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   8255:       ;;
1.62      paf      8256:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   8257:       ac_prev=prefix ;;
                   8258:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   8259:       ;;
1.1       paf      8260:     *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
                   8261:     esac
                   8262:   done
                   8263: 
1.62      paf      8264:   # Always prepend --prefix to ensure using the same prefix
                   8265:   # in subdir configurations.
                   8266:   ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
                   8267: 
                   8268:   ac_popdir=`pwd`
                   8269:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
1.1       paf      8270: 
                   8271:     # Do not complain, so a configure script can configure whichever
                   8272:     # parts of a large source tree are present.
1.62      paf      8273:     test -d $srcdir/$ac_dir || continue
1.1       paf      8274: 
1.62      paf      8275:     { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
                   8276: echo "$as_me: configuring in $ac_dir" >&6;}
                   8277:     { if $as_mkdir_p; then
                   8278:     mkdir -p "$ac_dir"
                   8279:   else
                   8280:     as_dir="$ac_dir"
                   8281:     as_dirs=
                   8282:     while test ! -d "$as_dir"; do
                   8283:       as_dirs="$as_dir $as_dirs"
                   8284:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   8285: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   8286:          X"$as_dir" : 'X\(//\)[^/]' \| \
                   8287:          X"$as_dir" : 'X\(//\)$' \| \
                   8288:          X"$as_dir" : 'X\(/\)' \| \
                   8289:          .     : '\(.\)' 2>/dev/null ||
                   8290: echo X"$as_dir" |
                   8291:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   8292:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   8293:          /^X\(\/\/\)$/{ s//\1/; q; }
                   8294:          /^X\(\/\).*/{ s//\1/; q; }
                   8295:          s/.*/./; q'`
                   8296:     done
                   8297:     test ! -n "$as_dirs" || mkdir $as_dirs
                   8298:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   8299: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   8300:    { (exit 1); exit 1; }; }; }
                   8301: 
                   8302:     ac_builddir=.
                   8303: 
                   8304: if test "$ac_dir" != .; then
                   8305:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   8306:   # A "../" for each directory in $ac_dir_suffix.
                   8307:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   8308: else
                   8309:   ac_dir_suffix= ac_top_builddir=
                   8310: fi
                   8311: 
                   8312: case $srcdir in
                   8313:   .)  # No --srcdir option.  We are building in place.
                   8314:     ac_srcdir=.
                   8315:     if test -z "$ac_top_builddir"; then
                   8316:        ac_top_srcdir=.
                   8317:     else
                   8318:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   8319:     fi ;;
                   8320:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   8321:     ac_srcdir=$srcdir$ac_dir_suffix;
                   8322:     ac_top_srcdir=$srcdir ;;
                   8323:   *) # Relative path.
                   8324:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   8325:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   8326: esac
                   8327: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
                   8328: # absolute.
                   8329: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
                   8330: ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
                   8331: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
                   8332: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1.1       paf      8333: 
                   8334: 
1.62      paf      8335:     cd $ac_dir
1.1       paf      8336: 
                   8337:     # Check for guested configure; otherwise get Cygnus style configure.
1.62      paf      8338:     if test -f $ac_srcdir/configure.gnu; then
                   8339:       ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
                   8340:     elif test -f $ac_srcdir/configure; then
                   8341:       ac_sub_configure="$SHELL '$ac_srcdir/configure'"
                   8342:     elif test -f $ac_srcdir/configure.in; then
1.1       paf      8343:       ac_sub_configure=$ac_configure
                   8344:     else
1.62      paf      8345:       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
                   8346: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1       paf      8347:       ac_sub_configure=
                   8348:     fi
                   8349: 
                   8350:     # The recursion is here.
                   8351:     if test -n "$ac_sub_configure"; then
                   8352:       # Make the cache file name correct relative to the subdirectory.
1.62      paf      8353:       case $cache_file in
                   8354:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.1       paf      8355:       *) # Relative path.
1.62      paf      8356:         ac_sub_cache_file=$ac_top_builddir$cache_file ;;
1.1       paf      8357:       esac
                   8358: 
1.62      paf      8359:       { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
                   8360: echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
1.1       paf      8361:       # The eval makes quoting arguments work.
1.62      paf      8362:       eval $ac_sub_configure $ac_sub_configure_args \
                   8363:            --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
                   8364:         { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
                   8365: echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
                   8366:    { (exit 1); exit 1; }; }
1.1       paf      8367:     fi
                   8368: 
                   8369:     cd $ac_popdir
                   8370:   done
                   8371: fi
                   8372: 

E-mail: