Annotation of parser3/configure, revision 1.67

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

E-mail: