Annotation of parser3/configure, revision 1.85

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

E-mail: