Annotation of parser3/configure, revision 1.123

1.1       paf         1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.86      paf         3: # Generated by GNU Autoconf 2.59.
1.1       paf         4: #
1.86      paf         5: # Copyright (C) 2003 Free Software Foundation, Inc.
1.1       paf         6: # This configure script is free software; the Free Software Foundation
                      7: # gives unlimited permission to copy, distribute and modify it.
1.62      paf         8: ## --------------------- ##
                      9: ## M4sh Initialization.  ##
                     10: ## --------------------- ##
                     11: 
                     12: # Be Bourne compatible
                     13: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                     14:   emulate sh
                     15:   NULLCMD=:
                     16:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
                     17:   # is contrary to our usage.  Disable this feature.
                     18:   alias -g '${1+"$@"}'='"$@"'
                     19: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
                     20:   set -o posix
                     21: fi
1.86      paf        22: DUALCASE=1; export DUALCASE # for MKS sh
1.62      paf        23: 
                     24: # Support unset when possible.
1.86      paf        25: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1.62      paf        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
1.86      paf        44:   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1.62      paf        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
1.86      paf       221:   test -d ./-p && rmdir ./-p
1.62      paf       222:   as_mkdir_p=false
                    223: fi
                    224: 
                    225: as_executable_p="test -f"
                    226: 
                    227: # Sed expression to map a string onto a valid CPP name.
1.86      paf       228: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf       229: 
                    230: # Sed expression to map a string onto a valid variable name.
1.86      paf       231: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf       232: 
                    233: 
                    234: # IFS
                    235: # We need space, tab and new line, in precisely that order.
                    236: as_nl='
                    237: '
                    238: IFS="  $as_nl"
                    239: 
                    240: # CDPATH.
                    241: $as_unset CDPATH
                    242: 
1.1       paf       243: 
1.62      paf       244: # Name of the host.
                    245: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
                    246: # so uname gets run too.
                    247: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    248: 
                    249: exec 6>&1
                    250: 
                    251: #
                    252: # Initializations.
                    253: #
1.1       paf       254: ac_default_prefix=/usr/local
1.62      paf       255: ac_config_libobj_dir=.
                    256: cross_compiling=no
                    257: subdirs=
                    258: MFLAGS=
                    259: MAKEFLAGS=
                    260: SHELL=${CONFIG_SHELL-/bin/sh}
                    261: 
                    262: # Maximum number of lines to put in a shell here document.
                    263: # This variable seems obsolete.  It should probably be removed, and
                    264: # only ac_max_sed_lines should be used.
                    265: : ${ac_max_here_lines=38}
                    266: 
                    267: # Identity of this package.
                    268: PACKAGE_NAME=
                    269: PACKAGE_TARNAME=
                    270: PACKAGE_VERSION=
                    271: PACKAGE_STRING=
                    272: PACKAGE_BUGREPORT=
                    273: 
                    274: ac_unique_file="README"
                    275: ac_subdirs_all="$ac_subdirs_all src/lib/ltdl"
                    276: # Factoring default headers for most tests.
                    277: ac_includes_default="\
                    278: #include <stdio.h>
                    279: #if HAVE_SYS_TYPES_H
                    280: # include <sys/types.h>
                    281: #endif
                    282: #if HAVE_SYS_STAT_H
                    283: # include <sys/stat.h>
                    284: #endif
                    285: #if STDC_HEADERS
                    286: # include <stdlib.h>
                    287: # include <stddef.h>
                    288: #else
                    289: # if HAVE_STDLIB_H
                    290: #  include <stdlib.h>
                    291: # endif
                    292: #endif
                    293: #if HAVE_STRING_H
                    294: # if !STDC_HEADERS && HAVE_MEMORY_H
                    295: #  include <memory.h>
                    296: # endif
                    297: # include <string.h>
                    298: #endif
                    299: #if HAVE_STRINGS_H
                    300: # include <strings.h>
                    301: #endif
                    302: #if HAVE_INTTYPES_H
                    303: # include <inttypes.h>
                    304: #else
                    305: # if HAVE_STDINT_H
                    306: #  include <stdint.h>
                    307: # endif
                    308: #endif
                    309: #if HAVE_UNISTD_H
                    310: # include <unistd.h>
                    311: #endif"
                    312: 
1.122     moko      313: 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 install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar 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 sqlite_client CPP_LIBS GC_LIBS PCRE_INCLUDES PCRE_LIBS XML_INCLUDES XML_LIBS CURL_INCLUDES MIME_INCLUDES MIME_LIBS APACHE APACHE_INC APACHE_CFLAGS COMPILE_APACHE_MODULE_TRUE COMPILE_APACHE_MODULE_FALSE INCLTDL LIBLTDL subdirs LIBADD_DL CPP EGREP LIBOBJS LTLIBOBJS'
1.62      paf       314: ac_subst_files=''
1.1       paf       315: 
                    316: # Initialize some variables set by options.
1.62      paf       317: ac_init_help=
                    318: ac_init_version=false
1.1       paf       319: # The variables have the same names as the options, with
                    320: # dashes changed to underlines.
1.62      paf       321: cache_file=/dev/null
1.1       paf       322: exec_prefix=NONE
                    323: no_create=
                    324: no_recursion=
                    325: prefix=NONE
                    326: program_prefix=NONE
                    327: program_suffix=NONE
                    328: program_transform_name=s,x,x,
                    329: silent=
                    330: site=
                    331: srcdir=
                    332: verbose=
                    333: x_includes=NONE
                    334: x_libraries=NONE
1.62      paf       335: 
                    336: # Installation directory options.
                    337: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    338: # and all the variables that are supposed to be based on exec_prefix
                    339: # by default will actually change.
                    340: # Use braces instead of parens because sh, perl, etc. also accept them.
1.1       paf       341: bindir='${exec_prefix}/bin'
                    342: sbindir='${exec_prefix}/sbin'
                    343: libexecdir='${exec_prefix}/libexec'
                    344: datadir='${prefix}/share'
                    345: sysconfdir='${prefix}/etc'
                    346: sharedstatedir='${prefix}/com'
                    347: localstatedir='${prefix}/var'
                    348: libdir='${exec_prefix}/lib'
                    349: includedir='${prefix}/include'
                    350: oldincludedir='/usr/include'
                    351: infodir='${prefix}/info'
                    352: mandir='${prefix}/man'
                    353: 
                    354: ac_prev=
                    355: for ac_option
                    356: do
                    357:   # If the previous option needs an argument, assign it.
                    358:   if test -n "$ac_prev"; then
                    359:     eval "$ac_prev=\$ac_option"
                    360:     ac_prev=
                    361:     continue
                    362:   fi
                    363: 
1.62      paf       364:   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
1.1       paf       365: 
                    366:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    367: 
1.62      paf       368:   case $ac_option in
1.1       paf       369: 
                    370:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    371:     ac_prev=bindir ;;
                    372:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1.62      paf       373:     bindir=$ac_optarg ;;
1.1       paf       374: 
                    375:   -build | --build | --buil | --bui | --bu)
1.62      paf       376:     ac_prev=build_alias ;;
1.1       paf       377:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.62      paf       378:     build_alias=$ac_optarg ;;
1.1       paf       379: 
                    380:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    381:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    382:     ac_prev=cache_file ;;
                    383:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    384:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1.62      paf       385:     cache_file=$ac_optarg ;;
                    386: 
                    387:   --config-cache | -C)
                    388:     cache_file=config.cache ;;
1.1       paf       389: 
                    390:   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
                    391:     ac_prev=datadir ;;
                    392:   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
                    393:   | --da=*)
1.62      paf       394:     datadir=$ac_optarg ;;
1.1       paf       395: 
                    396:   -disable-* | --disable-*)
1.62      paf       397:     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       paf       398:     # Reject names that are not valid shell variable names.
1.62      paf       399:     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    400:       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
                    401:    { (exit 1); exit 1; }; }
                    402:     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
                    403:     eval "enable_$ac_feature=no" ;;
1.1       paf       404: 
                    405:   -enable-* | --enable-*)
1.62      paf       406:     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       paf       407:     # Reject names that are not valid shell variable names.
1.62      paf       408:     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    409:       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
                    410:    { (exit 1); exit 1; }; }
                    411:     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
                    412:     case $ac_option in
                    413:       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1.1       paf       414:       *) ac_optarg=yes ;;
                    415:     esac
1.62      paf       416:     eval "enable_$ac_feature='$ac_optarg'" ;;
1.1       paf       417: 
                    418:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    419:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    420:   | --exec | --exe | --ex)
                    421:     ac_prev=exec_prefix ;;
                    422:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    423:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    424:   | --exec=* | --exe=* | --ex=*)
1.62      paf       425:     exec_prefix=$ac_optarg ;;
1.1       paf       426: 
                    427:   -gas | --gas | --ga | --g)
                    428:     # Obsolete; use --with-gas.
                    429:     with_gas=yes ;;
                    430: 
1.62      paf       431:   -help | --help | --hel | --he | -h)
                    432:     ac_init_help=long ;;
                    433:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    434:     ac_init_help=recursive ;;
                    435:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    436:     ac_init_help=short ;;
1.1       paf       437: 
                    438:   -host | --host | --hos | --ho)
1.62      paf       439:     ac_prev=host_alias ;;
1.1       paf       440:   -host=* | --host=* | --hos=* | --ho=*)
1.62      paf       441:     host_alias=$ac_optarg ;;
1.1       paf       442: 
                    443:   -includedir | --includedir | --includedi | --included | --include \
                    444:   | --includ | --inclu | --incl | --inc)
                    445:     ac_prev=includedir ;;
                    446:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                    447:   | --includ=* | --inclu=* | --incl=* | --inc=*)
1.62      paf       448:     includedir=$ac_optarg ;;
1.1       paf       449: 
                    450:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                    451:     ac_prev=infodir ;;
                    452:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1.62      paf       453:     infodir=$ac_optarg ;;
1.1       paf       454: 
                    455:   -libdir | --libdir | --libdi | --libd)
                    456:     ac_prev=libdir ;;
                    457:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.62      paf       458:     libdir=$ac_optarg ;;
1.1       paf       459: 
                    460:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                    461:   | --libexe | --libex | --libe)
                    462:     ac_prev=libexecdir ;;
                    463:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                    464:   | --libexe=* | --libex=* | --libe=*)
1.62      paf       465:     libexecdir=$ac_optarg ;;
1.1       paf       466: 
                    467:   -localstatedir | --localstatedir | --localstatedi | --localstated \
                    468:   | --localstate | --localstat | --localsta | --localst \
                    469:   | --locals | --local | --loca | --loc | --lo)
                    470:     ac_prev=localstatedir ;;
                    471:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
                    472:   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
                    473:   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1.62      paf       474:     localstatedir=$ac_optarg ;;
1.1       paf       475: 
                    476:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                    477:     ac_prev=mandir ;;
                    478:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1.62      paf       479:     mandir=$ac_optarg ;;
1.1       paf       480: 
                    481:   -nfp | --nfp | --nf)
                    482:     # Obsolete; use --without-fp.
                    483:     with_fp=no ;;
                    484: 
                    485:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1.62      paf       486:   | --no-cr | --no-c | -n)
1.1       paf       487:     no_create=yes ;;
                    488: 
                    489:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                    490:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                    491:     no_recursion=yes ;;
                    492: 
                    493:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                    494:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                    495:   | --oldin | --oldi | --old | --ol | --o)
                    496:     ac_prev=oldincludedir ;;
                    497:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                    498:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                    499:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1.62      paf       500:     oldincludedir=$ac_optarg ;;
1.1       paf       501: 
                    502:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                    503:     ac_prev=prefix ;;
                    504:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1.62      paf       505:     prefix=$ac_optarg ;;
1.1       paf       506: 
                    507:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                    508:   | --program-pre | --program-pr | --program-p)
                    509:     ac_prev=program_prefix ;;
                    510:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                    511:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1.62      paf       512:     program_prefix=$ac_optarg ;;
1.1       paf       513: 
                    514:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                    515:   | --program-suf | --program-su | --program-s)
                    516:     ac_prev=program_suffix ;;
                    517:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                    518:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1.62      paf       519:     program_suffix=$ac_optarg ;;
1.1       paf       520: 
                    521:   -program-transform-name | --program-transform-name \
                    522:   | --program-transform-nam | --program-transform-na \
                    523:   | --program-transform-n | --program-transform- \
                    524:   | --program-transform | --program-transfor \
                    525:   | --program-transfo | --program-transf \
                    526:   | --program-trans | --program-tran \
                    527:   | --progr-tra | --program-tr | --program-t)
                    528:     ac_prev=program_transform_name ;;
                    529:   -program-transform-name=* | --program-transform-name=* \
                    530:   | --program-transform-nam=* | --program-transform-na=* \
                    531:   | --program-transform-n=* | --program-transform-=* \
                    532:   | --program-transform=* | --program-transfor=* \
                    533:   | --program-transfo=* | --program-transf=* \
                    534:   | --program-trans=* | --program-tran=* \
                    535:   | --progr-tra=* | --program-tr=* | --program-t=*)
1.62      paf       536:     program_transform_name=$ac_optarg ;;
1.1       paf       537: 
                    538:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                    539:   | -silent | --silent | --silen | --sile | --sil)
                    540:     silent=yes ;;
                    541: 
                    542:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                    543:     ac_prev=sbindir ;;
                    544:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                    545:   | --sbi=* | --sb=*)
1.62      paf       546:     sbindir=$ac_optarg ;;
1.1       paf       547: 
                    548:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                    549:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                    550:   | --sharedst | --shareds | --shared | --share | --shar \
                    551:   | --sha | --sh)
                    552:     ac_prev=sharedstatedir ;;
                    553:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                    554:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                    555:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                    556:   | --sha=* | --sh=*)
1.62      paf       557:     sharedstatedir=$ac_optarg ;;
1.1       paf       558: 
                    559:   -site | --site | --sit)
                    560:     ac_prev=site ;;
                    561:   -site=* | --site=* | --sit=*)
1.62      paf       562:     site=$ac_optarg ;;
1.1       paf       563: 
                    564:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                    565:     ac_prev=srcdir ;;
                    566:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1.62      paf       567:     srcdir=$ac_optarg ;;
1.1       paf       568: 
                    569:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                    570:   | --syscon | --sysco | --sysc | --sys | --sy)
                    571:     ac_prev=sysconfdir ;;
                    572:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                    573:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1.62      paf       574:     sysconfdir=$ac_optarg ;;
1.1       paf       575: 
                    576:   -target | --target | --targe | --targ | --tar | --ta | --t)
1.62      paf       577:     ac_prev=target_alias ;;
1.1       paf       578:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.62      paf       579:     target_alias=$ac_optarg ;;
1.1       paf       580: 
                    581:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                    582:     verbose=yes ;;
                    583: 
1.62      paf       584:   -version | --version | --versio | --versi | --vers | -V)
                    585:     ac_init_version=: ;;
1.1       paf       586: 
                    587:   -with-* | --with-*)
1.62      paf       588:     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       paf       589:     # Reject names that are not valid shell variable names.
1.62      paf       590:     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    591:       { echo "$as_me: error: invalid package name: $ac_package" >&2
                    592:    { (exit 1); exit 1; }; }
1.1       paf       593:     ac_package=`echo $ac_package| sed 's/-/_/g'`
1.62      paf       594:     case $ac_option in
                    595:       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1.1       paf       596:       *) ac_optarg=yes ;;
                    597:     esac
1.62      paf       598:     eval "with_$ac_package='$ac_optarg'" ;;
1.1       paf       599: 
                    600:   -without-* | --without-*)
1.62      paf       601:     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       paf       602:     # Reject names that are not valid shell variable names.
1.62      paf       603:     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    604:       { echo "$as_me: error: invalid package name: $ac_package" >&2
                    605:    { (exit 1); exit 1; }; }
                    606:     ac_package=`echo $ac_package | sed 's/-/_/g'`
                    607:     eval "with_$ac_package=no" ;;
1.1       paf       608: 
                    609:   --x)
                    610:     # Obsolete; use --with-x.
                    611:     with_x=yes ;;
                    612: 
                    613:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                    614:   | --x-incl | --x-inc | --x-in | --x-i)
                    615:     ac_prev=x_includes ;;
                    616:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                    617:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1.62      paf       618:     x_includes=$ac_optarg ;;
1.1       paf       619: 
                    620:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                    621:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                    622:     ac_prev=x_libraries ;;
                    623:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                    624:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1.62      paf       625:     x_libraries=$ac_optarg ;;
1.1       paf       626: 
1.62      paf       627:   -*) { echo "$as_me: error: unrecognized option: $ac_option
                    628: Try \`$0 --help' for more information." >&2
                    629:    { (exit 1); exit 1; }; }
1.1       paf       630:     ;;
                    631: 
1.62      paf       632:   *=*)
                    633:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                    634:     # Reject names that are not valid shell variable names.
                    635:     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
                    636:       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
                    637:    { (exit 1); exit 1; }; }
                    638:     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
                    639:     eval "$ac_envvar='$ac_optarg'"
                    640:     export $ac_envvar ;;
                    641: 
1.1       paf       642:   *)
1.62      paf       643:     # FIXME: should be removed in autoconf 3.0.
                    644:     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
                    645:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
                    646:       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
                    647:     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1.1       paf       648:     ;;
                    649: 
                    650:   esac
                    651: done
                    652: 
                    653: if test -n "$ac_prev"; then
1.62      paf       654:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
                    655:   { echo "$as_me: error: missing argument to $ac_option" >&2
                    656:    { (exit 1); exit 1; }; }
1.1       paf       657: fi
                    658: 
1.62      paf       659: # Be sure to have absolute paths.
                    660: for ac_var in exec_prefix prefix
                    661: do
                    662:   eval ac_val=$`echo $ac_var`
                    663:   case $ac_val in
                    664:     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
                    665:     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
                    666:    { (exit 1); exit 1; }; };;
                    667:   esac
                    668: done
1.1       paf       669: 
1.62      paf       670: # Be sure to have absolute paths.
                    671: for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
1.86      paf       672:              localstatedir libdir includedir oldincludedir infodir mandir
1.1       paf       673: do
1.62      paf       674:   eval ac_val=$`echo $ac_var`
                    675:   case $ac_val in
                    676:     [\\/$]* | ?:[\\/]* ) ;;
                    677:     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
                    678:    { (exit 1); exit 1; }; };;
1.1       paf       679:   esac
                    680: done
                    681: 
1.62      paf       682: # There might be people who depend on the old broken behavior: `$host'
                    683: # used to hold the argument of --host etc.
                    684: # FIXME: To remove some day.
                    685: build=$build_alias
                    686: host=$host_alias
                    687: target=$target_alias
                    688: 
                    689: # FIXME: To remove some day.
                    690: if test "x$host_alias" != x; then
                    691:   if test "x$build_alias" = x; then
                    692:     cross_compiling=maybe
                    693:     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
                    694:     If a cross compiler is detected then cross compile mode will be used." >&2
                    695:   elif test "x$build_alias" != "x$host_alias"; then
                    696:     cross_compiling=yes
                    697:   fi
                    698: fi
                    699: 
                    700: ac_tool_prefix=
                    701: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1.1       paf       702: 
1.62      paf       703: test "$silent" = yes && exec 6>/dev/null
1.1       paf       704: 
                    705: 
                    706: # Find the source files, if location was not specified.
                    707: if test -z "$srcdir"; then
                    708:   ac_srcdir_defaulted=yes
                    709:   # Try the directory containing this script, then its parent.
1.62      paf       710:   ac_confdir=`(dirname "$0") 2>/dev/null ||
                    711: $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf       712:         X"$0" : 'X\(//\)[^/]' \| \
                    713:         X"$0" : 'X\(//\)$' \| \
                    714:         X"$0" : 'X\(/\)' \| \
                    715:         .     : '\(.\)' 2>/dev/null ||
1.62      paf       716: echo X"$0" |
                    717:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                    718:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                    719:          /^X\(\/\/\)$/{ s//\1/; q; }
                    720:          /^X\(\/\).*/{ s//\1/; q; }
                    721:          s/.*/./; q'`
1.1       paf       722:   srcdir=$ac_confdir
                    723:   if test ! -r $srcdir/$ac_unique_file; then
                    724:     srcdir=..
                    725:   fi
                    726: else
                    727:   ac_srcdir_defaulted=no
                    728: fi
                    729: if test ! -r $srcdir/$ac_unique_file; then
                    730:   if test "$ac_srcdir_defaulted" = yes; then
1.62      paf       731:     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
                    732:    { (exit 1); exit 1; }; }
1.1       paf       733:   else
1.62      paf       734:     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
                    735:    { (exit 1); exit 1; }; }
1.1       paf       736:   fi
                    737: fi
1.62      paf       738: (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
                    739:   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
                    740:    { (exit 1); exit 1; }; }
                    741: srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
                    742: ac_env_build_alias_set=${build_alias+set}
                    743: ac_env_build_alias_value=$build_alias
                    744: ac_cv_env_build_alias_set=${build_alias+set}
                    745: ac_cv_env_build_alias_value=$build_alias
                    746: ac_env_host_alias_set=${host_alias+set}
                    747: ac_env_host_alias_value=$host_alias
                    748: ac_cv_env_host_alias_set=${host_alias+set}
                    749: ac_cv_env_host_alias_value=$host_alias
                    750: ac_env_target_alias_set=${target_alias+set}
                    751: ac_env_target_alias_value=$target_alias
                    752: ac_cv_env_target_alias_set=${target_alias+set}
                    753: ac_cv_env_target_alias_value=$target_alias
1.66      paf       754: ac_env_CXX_set=${CXX+set}
                    755: ac_env_CXX_value=$CXX
                    756: ac_cv_env_CXX_set=${CXX+set}
                    757: ac_cv_env_CXX_value=$CXX
                    758: ac_env_CXXFLAGS_set=${CXXFLAGS+set}
                    759: ac_env_CXXFLAGS_value=$CXXFLAGS
                    760: ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
                    761: ac_cv_env_CXXFLAGS_value=$CXXFLAGS
                    762: ac_env_LDFLAGS_set=${LDFLAGS+set}
                    763: ac_env_LDFLAGS_value=$LDFLAGS
                    764: ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
                    765: ac_cv_env_LDFLAGS_value=$LDFLAGS
                    766: ac_env_CPPFLAGS_set=${CPPFLAGS+set}
                    767: ac_env_CPPFLAGS_value=$CPPFLAGS
                    768: ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
                    769: ac_cv_env_CPPFLAGS_value=$CPPFLAGS
1.62      paf       770: ac_env_CC_set=${CC+set}
                    771: ac_env_CC_value=$CC
                    772: ac_cv_env_CC_set=${CC+set}
                    773: ac_cv_env_CC_value=$CC
                    774: ac_env_CFLAGS_set=${CFLAGS+set}
                    775: ac_env_CFLAGS_value=$CFLAGS
                    776: ac_cv_env_CFLAGS_set=${CFLAGS+set}
                    777: ac_cv_env_CFLAGS_value=$CFLAGS
1.66      paf       778: ac_env_CPP_set=${CPP+set}
                    779: ac_env_CPP_value=$CPP
                    780: ac_cv_env_CPP_set=${CPP+set}
                    781: ac_cv_env_CPP_value=$CPP
1.62      paf       782: 
                    783: #
                    784: # Report the --help message.
                    785: #
                    786: if test "$ac_init_help" = "long"; then
                    787:   # Omit some internal or obsolete options to make the list less imposing.
                    788:   # This message is too long to be a string in the A/UX 3.1 sh.
                    789:   cat <<_ACEOF
                    790: \`configure' configures this package to adapt to many kinds of systems.
                    791: 
                    792: Usage: $0 [OPTION]... [VAR=VALUE]...
                    793: 
                    794: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                    795: VAR=VALUE.  See below for descriptions of some of the useful variables.
                    796: 
                    797: Defaults for the options are specified in brackets.
                    798: 
                    799: Configuration:
                    800:   -h, --help              display this help and exit
                    801:       --help=short        display options specific to this package
                    802:       --help=recursive    display the short help of all the included packages
                    803:   -V, --version           display version information and exit
                    804:   -q, --quiet, --silent   do not print \`checking...' messages
                    805:       --cache-file=FILE   cache test results in FILE [disabled]
                    806:   -C, --config-cache      alias for \`--cache-file=config.cache'
                    807:   -n, --no-create         do not create output files
                    808:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                    809: 
                    810: _ACEOF
                    811: 
                    812:   cat <<_ACEOF
                    813: Installation directories:
                    814:   --prefix=PREFIX         install architecture-independent files in PREFIX
1.86      paf       815:                          [$ac_default_prefix]
1.62      paf       816:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1.86      paf       817:                          [PREFIX]
1.62      paf       818: 
                    819: By default, \`make install' will install all the files in
                    820: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                    821: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                    822: for instance \`--prefix=\$HOME'.
                    823: 
                    824: For better control, use the options below.
                    825: 
                    826: Fine tuning of the installation directories:
                    827:   --bindir=DIR           user executables [EPREFIX/bin]
                    828:   --sbindir=DIR          system admin executables [EPREFIX/sbin]
                    829:   --libexecdir=DIR       program executables [EPREFIX/libexec]
                    830:   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
                    831:   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
                    832:   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
                    833:   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
                    834:   --libdir=DIR           object code libraries [EPREFIX/lib]
                    835:   --includedir=DIR       C header files [PREFIX/include]
                    836:   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
                    837:   --infodir=DIR          info documentation [PREFIX/info]
                    838:   --mandir=DIR           man documentation [PREFIX/man]
                    839: _ACEOF
                    840: 
                    841:   cat <<\_ACEOF
                    842: 
                    843: Program names:
                    844:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                    845:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                    846:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                    847: 
                    848: System types:
                    849:   --build=BUILD     configure for building on BUILD [guessed]
                    850:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                    851: _ACEOF
                    852: fi
                    853: 
                    854: if test -n "$ac_init_help"; then
                    855: 
                    856:   cat <<\_ACEOF
                    857: 
                    858: Optional Features:
                    859:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                    860:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1.86      paf       861:   --disable-dependency-tracking  speeds up one-time build
                    862:   --enable-dependency-tracking   do not reject slow dependency extractors
1.67      paf       863:   --disable-safe-mode    to enable reading and executing
1.62      paf       864:                           files belonging to group+user other then effective
1.94      misha     865:   --disable-execs            to disable any execs
1.62      paf       866:                           (file::exec, file::cgi, unix mail:send)
1.94      misha     867:   --disable-stringstream  to disable stringstream usage.
                    868:                           when disabled table.save use more memory but it's safer on freebsd 4.x
1.62      paf       869: 
                    870: Optional Packages:
                    871:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                    872:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1.71      paf       873:   --with-build-warnings   to enable build-time compiler warnings if gcc is used
1.67      paf       874:   --with-assertions       to enable assertions
1.62      paf       875:   --with-charsets=CHARSET,CHARSET,...  Enables charsets in root config (windows-1251,
                    876:                           windows-1250 windows-1257 koi8-r; Default is windows-1251)
                    877:   --with-mysql-client=mysqlclientlib?withparams
                    878:                           MySQL client dynamic library to root config
                    879:   --with-pgsql-client=pgsqlclientlib?withparams
                    880:                           PgSQL client dynamic library to root config
                    881:   --with-oracle-client=oracleclientlib?withparams
                    882:                           Oracle client dynamic library
1.92      misha     883:   --with-sqlite-client=sqliteclientlib?withparams
                    884:                           SQLite client dynamic library to root config
1.62      paf       885:   --with-pathlink=LKEY    put dynamic libraries paths to binary
                    886:                           using linker key (-R, -rpath-link)
1.67      paf       887:   --with-dynamic-stdcpp   link libstdc++ dynamically
                    888:                           by default, libstdc++ is linked statically
1.62      paf       889:   --with-sjlj-exceptions  enable simple 'throw' from dynamic library
1.67      paf       890:   --with-shared-gc=D      D is the directory where
                    891:                           Boehm garbage collecting library is installed (shared lib)
                    892:   --with-static-gc=D      D is the directory where
                    893:                           Boehm garbage collecting library is installed (static lib)
1.119     misha     894:   --with-static-pcre=D    D is the directory where
1.100     misha     895:                           PCRE library is installed (static lib)
1.62      paf       896:   --with-shared-xml=D     D is the directory where
                    897:                           Gnome XML libraries are installed (shared libs)
                    898:   --with-static-xml=D     D is the directory where
                    899:                           Gnome XML libraries are installed (static libs)
1.119     misha     900:   --with-curl=D           D is the curl includes directory
1.90      paf       901:   --with-glib-config=FILE FILE is glib library
                    902:                           configuration file (search for glib*-config)
1.62      paf       903:   --with-shared-mailreceive=D is the directory where
1.67      paf       904:                           Gnome MIME library is installed (shared lib)
1.62      paf       905:   --with-static-mailreceive=D is the directory where
                    906:                           Gnome MIME library is installed (static lib)
                    907:   \"--with-sendmail=COMMAND\" forces this command to send mail.
                    908:                           example: \"--with-sendmail=/usr/sbin/sendmail -t\"
                    909:                           (makes parser ignore user-defined sendmail commands)
1.122     moko      910:   --with-apache=FILE is the full path for APXS
                    911:                           builds apache DSO module using apxs
1.62      paf       912: 
                    913: Some influential environment variables:
1.66      paf       914:   CXX         C++ compiler command
                    915:   CXXFLAGS    C++ compiler flags
1.62      paf       916:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                    917:               nonstandard directory <lib dir>
                    918:   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
                    919:               headers in a nonstandard directory <include dir>
1.66      paf       920:   CC          C compiler command
                    921:   CFLAGS      C compiler flags
                    922:   CPP         C preprocessor
1.62      paf       923: 
                    924: Use these variables to override the choices made by `configure' or to help
                    925: it to find libraries and programs with nonstandard names/locations.
                    926: 
                    927: _ACEOF
                    928: fi
                    929: 
                    930: if test "$ac_init_help" = "recursive"; then
                    931:   # If there are subdirs, report their specific --help.
                    932:   ac_popdir=`pwd`
                    933:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
                    934:     test -d $ac_dir || continue
                    935:     ac_builddir=.
                    936: 
                    937: if test "$ac_dir" != .; then
                    938:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                    939:   # A "../" for each directory in $ac_dir_suffix.
                    940:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                    941: else
                    942:   ac_dir_suffix= ac_top_builddir=
                    943: fi
                    944: 
                    945: case $srcdir in
                    946:   .)  # No --srcdir option.  We are building in place.
                    947:     ac_srcdir=.
                    948:     if test -z "$ac_top_builddir"; then
                    949:        ac_top_srcdir=.
                    950:     else
                    951:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                    952:     fi ;;
                    953:   [\\/]* | ?:[\\/]* )  # Absolute path.
                    954:     ac_srcdir=$srcdir$ac_dir_suffix;
                    955:     ac_top_srcdir=$srcdir ;;
                    956:   *) # Relative path.
                    957:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                    958:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                    959: esac
1.86      paf       960: 
                    961: # Do not use `cd foo && pwd` to compute absolute paths, because
                    962: # the directories may not exist.
                    963: case `pwd` in
                    964: .) ac_abs_builddir="$ac_dir";;
                    965: *)
                    966:   case "$ac_dir" in
                    967:   .) ac_abs_builddir=`pwd`;;
                    968:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                    969:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                    970:   esac;;
                    971: esac
                    972: case $ac_abs_builddir in
                    973: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                    974: *)
                    975:   case ${ac_top_builddir}. in
                    976:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                    977:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                    978:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                    979:   esac;;
                    980: esac
                    981: case $ac_abs_builddir in
                    982: .) ac_abs_srcdir=$ac_srcdir;;
                    983: *)
                    984:   case $ac_srcdir in
                    985:   .) ac_abs_srcdir=$ac_abs_builddir;;
                    986:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                    987:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                    988:   esac;;
                    989: esac
                    990: case $ac_abs_builddir in
                    991: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                    992: *)
                    993:   case $ac_top_srcdir in
                    994:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                    995:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                    996:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                    997:   esac;;
                    998: esac
1.62      paf       999: 
                   1000:     cd $ac_dir
                   1001:     # Check for guested configure; otherwise get Cygnus style configure.
                   1002:     if test -f $ac_srcdir/configure.gnu; then
                   1003:       echo
                   1004:       $SHELL $ac_srcdir/configure.gnu  --help=recursive
                   1005:     elif test -f $ac_srcdir/configure; then
                   1006:       echo
                   1007:       $SHELL $ac_srcdir/configure  --help=recursive
                   1008:     elif test -f $ac_srcdir/configure.ac ||
1.86      paf      1009:           test -f $ac_srcdir/configure.in; then
1.62      paf      1010:       echo
                   1011:       $ac_configure --help
                   1012:     else
                   1013:       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                   1014:     fi
                   1015:     cd $ac_popdir
                   1016:   done
                   1017: fi
                   1018: 
                   1019: test -n "$ac_init_help" && exit 0
                   1020: if $ac_init_version; then
                   1021:   cat <<\_ACEOF
                   1022: 
1.86      paf      1023: Copyright (C) 2003 Free Software Foundation, Inc.
1.62      paf      1024: This configure script is free software; the Free Software Foundation
                   1025: gives unlimited permission to copy, distribute and modify it.
                   1026: _ACEOF
                   1027:   exit 0
                   1028: fi
                   1029: exec 5>config.log
                   1030: cat >&5 <<_ACEOF
                   1031: This file contains any messages produced by compilers while
                   1032: running configure, to aid debugging if configure makes a mistake.
                   1033: 
                   1034: It was created by $as_me, which was
1.86      paf      1035: generated by GNU Autoconf 2.59.  Invocation command line was
1.62      paf      1036: 
                   1037:   $ $0 $@
                   1038: 
                   1039: _ACEOF
                   1040: {
                   1041: cat <<_ASUNAME
                   1042: ## --------- ##
                   1043: ## Platform. ##
                   1044: ## --------- ##
                   1045: 
                   1046: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   1047: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   1048: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   1049: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   1050: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   1051: 
                   1052: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   1053: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                   1054: 
                   1055: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   1056: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   1057: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
                   1058: hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
                   1059: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   1060: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   1061: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   1062: 
                   1063: _ASUNAME
                   1064: 
                   1065: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1066: for as_dir in $PATH
                   1067: do
                   1068:   IFS=$as_save_IFS
                   1069:   test -z "$as_dir" && as_dir=.
                   1070:   echo "PATH: $as_dir"
                   1071: done
1.1       paf      1072: 
1.62      paf      1073: } >&5
                   1074: 
                   1075: cat >&5 <<_ACEOF
                   1076: 
                   1077: 
                   1078: ## ----------- ##
                   1079: ## Core tests. ##
                   1080: ## ----------- ##
                   1081: 
                   1082: _ACEOF
                   1083: 
                   1084: 
                   1085: # Keep a trace of the command line.
                   1086: # Strip out --no-create and --no-recursion so they do not pile up.
                   1087: # Strip out --silent because we don't want to record it for future runs.
                   1088: # Also quote any args containing shell meta-characters.
                   1089: # Make two passes to allow for proper duplicate-argument suppression.
                   1090: ac_configure_args=
                   1091: ac_configure_args0=
                   1092: ac_configure_args1=
                   1093: ac_sep=
                   1094: ac_must_keep_next=false
                   1095: for ac_pass in 1 2
                   1096: do
                   1097:   for ac_arg
                   1098:   do
                   1099:     case $ac_arg in
                   1100:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   1101:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1102:     | -silent | --silent | --silen | --sile | --sil)
                   1103:       continue ;;
                   1104:     *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
                   1105:       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   1106:     esac
                   1107:     case $ac_pass in
                   1108:     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
                   1109:     2)
                   1110:       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
                   1111:       if test $ac_must_keep_next = true; then
1.86      paf      1112:        ac_must_keep_next=false # Got value, back to normal.
1.62      paf      1113:       else
1.86      paf      1114:        case $ac_arg in
                   1115:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   1116:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   1117:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   1118:          | -with-* | --with-* | -without-* | --without-* | --x)
                   1119:            case "$ac_configure_args0 " in
                   1120:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   1121:            esac
                   1122:            ;;
                   1123:          -* ) ac_must_keep_next=true ;;
                   1124:        esac
1.62      paf      1125:       fi
                   1126:       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
                   1127:       # Get rid of the leading space.
                   1128:       ac_sep=" "
                   1129:       ;;
                   1130:     esac
                   1131:   done
                   1132: done
                   1133: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
                   1134: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
                   1135: 
                   1136: # When interrupted or exit'd, cleanup temporary files, and complete
                   1137: # config.log.  We remove comments because anyway the quotes in there
                   1138: # would cause problems or look ugly.
                   1139: # WARNING: Be sure not to use single quotes in there, as some shells,
                   1140: # such as our DU 5.0 friend, will then `close' the trap.
                   1141: trap 'exit_status=$?
                   1142:   # Save into config.log some information that might help in debugging.
                   1143:   {
                   1144:     echo
                   1145: 
                   1146:     cat <<\_ASBOX
                   1147: ## ---------------- ##
                   1148: ## Cache variables. ##
                   1149: ## ---------------- ##
                   1150: _ASBOX
                   1151:     echo
                   1152:     # The following way of writing the cache mishandles newlines in values,
                   1153: {
                   1154:   (set) 2>&1 |
                   1155:     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
                   1156:     *ac_space=\ *)
                   1157:       sed -n \
1.86      paf      1158:        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
                   1159:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1.62      paf      1160:       ;;
                   1161:     *)
                   1162:       sed -n \
1.86      paf      1163:        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1.62      paf      1164:       ;;
                   1165:     esac;
                   1166: }
                   1167:     echo
                   1168: 
                   1169:     cat <<\_ASBOX
                   1170: ## ----------------- ##
                   1171: ## Output variables. ##
                   1172: ## ----------------- ##
                   1173: _ASBOX
                   1174:     echo
                   1175:     for ac_var in $ac_subst_vars
                   1176:     do
                   1177:       eval ac_val=$`echo $ac_var`
                   1178:       echo "$ac_var='"'"'$ac_val'"'"'"
                   1179:     done | sort
                   1180:     echo
                   1181: 
                   1182:     if test -n "$ac_subst_files"; then
                   1183:       cat <<\_ASBOX
                   1184: ## ------------- ##
                   1185: ## Output files. ##
                   1186: ## ------------- ##
                   1187: _ASBOX
                   1188:       echo
                   1189:       for ac_var in $ac_subst_files
                   1190:       do
                   1191:        eval ac_val=$`echo $ac_var`
1.86      paf      1192:        echo "$ac_var='"'"'$ac_val'"'"'"
1.62      paf      1193:       done | sort
                   1194:       echo
                   1195:     fi
                   1196: 
                   1197:     if test -s confdefs.h; then
                   1198:       cat <<\_ASBOX
                   1199: ## ----------- ##
                   1200: ## confdefs.h. ##
                   1201: ## ----------- ##
                   1202: _ASBOX
                   1203:       echo
                   1204:       sed "/^$/d" confdefs.h | sort
                   1205:       echo
                   1206:     fi
                   1207:     test "$ac_signal" != 0 &&
                   1208:       echo "$as_me: caught signal $ac_signal"
                   1209:     echo "$as_me: exit $exit_status"
                   1210:   } >&5
1.86      paf      1211:   rm -f core *.core &&
1.62      paf      1212:   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
                   1213:     exit $exit_status
                   1214:      ' 0
                   1215: for ac_signal in 1 2 13 15; do
                   1216:   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
                   1217: done
                   1218: ac_signal=0
                   1219: 
                   1220: # confdefs.h avoids OS command line length limits that DEFS can exceed.
                   1221: rm -rf conftest* confdefs.h
                   1222: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
                   1223: echo >confdefs.h
                   1224: 
                   1225: # Predefined preprocessor variables.
                   1226: 
                   1227: cat >>confdefs.h <<_ACEOF
                   1228: #define PACKAGE_NAME "$PACKAGE_NAME"
                   1229: _ACEOF
                   1230: 
                   1231: 
                   1232: cat >>confdefs.h <<_ACEOF
                   1233: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   1234: _ACEOF
                   1235: 
                   1236: 
                   1237: cat >>confdefs.h <<_ACEOF
                   1238: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   1239: _ACEOF
                   1240: 
                   1241: 
                   1242: cat >>confdefs.h <<_ACEOF
                   1243: #define PACKAGE_STRING "$PACKAGE_STRING"
                   1244: _ACEOF
                   1245: 
                   1246: 
                   1247: cat >>confdefs.h <<_ACEOF
                   1248: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   1249: _ACEOF
                   1250: 
                   1251: 
                   1252: # Let the site file select an alternate cache file if it wants to.
1.1       paf      1253: # Prefer explicitly selected file to automatically selected ones.
                   1254: if test -z "$CONFIG_SITE"; then
                   1255:   if test "x$prefix" != xNONE; then
                   1256:     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
                   1257:   else
                   1258:     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
                   1259:   fi
                   1260: fi
                   1261: for ac_site_file in $CONFIG_SITE; do
                   1262:   if test -r "$ac_site_file"; then
1.62      paf      1263:     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
                   1264: echo "$as_me: loading site script $ac_site_file" >&6;}
                   1265:     sed 's/^/| /' "$ac_site_file" >&5
1.1       paf      1266:     . "$ac_site_file"
                   1267:   fi
                   1268: done
                   1269: 
                   1270: if test -r "$cache_file"; then
1.62      paf      1271:   # Some versions of bash will fail to source /dev/null (special
                   1272:   # files actually), so we avoid doing that.
                   1273:   if test -f "$cache_file"; then
                   1274:     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
                   1275: echo "$as_me: loading cache $cache_file" >&6;}
                   1276:     case $cache_file in
                   1277:       [\\/]* | ?:[\\/]* ) . $cache_file;;
                   1278:       *)                      . ./$cache_file;;
                   1279:     esac
                   1280:   fi
1.1       paf      1281: else
1.62      paf      1282:   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
                   1283: echo "$as_me: creating cache $cache_file" >&6;}
                   1284:   >$cache_file
                   1285: fi
                   1286: 
                   1287: # Check that the precious variables saved in the cache have kept the same
                   1288: # value.
                   1289: ac_cache_corrupted=false
                   1290: for ac_var in `(set) 2>&1 |
1.86      paf      1291:               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1.62      paf      1292:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   1293:   eval ac_new_set=\$ac_env_${ac_var}_set
                   1294:   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
                   1295:   eval ac_new_val="\$ac_env_${ac_var}_value"
                   1296:   case $ac_old_set,$ac_new_set in
                   1297:     set,)
                   1298:       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   1299: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
                   1300:       ac_cache_corrupted=: ;;
                   1301:     ,set)
                   1302:       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
                   1303: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
                   1304:       ac_cache_corrupted=: ;;
                   1305:     ,);;
                   1306:     *)
                   1307:       if test "x$ac_old_val" != "x$ac_new_val"; then
1.86      paf      1308:        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1.62      paf      1309: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1.86      paf      1310:        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1.62      paf      1311: echo "$as_me:   former value:  $ac_old_val" >&2;}
1.86      paf      1312:        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1.62      paf      1313: echo "$as_me:   current value: $ac_new_val" >&2;}
1.86      paf      1314:        ac_cache_corrupted=:
1.62      paf      1315:       fi;;
                   1316:   esac
                   1317:   # Pass precious variables to config.status.
                   1318:   if test "$ac_new_set" = set; then
                   1319:     case $ac_new_val in
                   1320:     *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
                   1321:       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
                   1322:     *) ac_arg=$ac_var=$ac_new_val ;;
                   1323:     esac
                   1324:     case " $ac_configure_args " in
                   1325:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
                   1326:       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
                   1327:     esac
                   1328:   fi
                   1329: done
                   1330: if $ac_cache_corrupted; then
                   1331:   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
                   1332: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   1333:   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
                   1334: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
                   1335:    { (exit 1); exit 1; }; }
1.1       paf      1336: fi
                   1337: 
                   1338: ac_ext=c
                   1339: ac_cpp='$CPP $CPPFLAGS'
1.62      paf      1340: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   1341: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   1342: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   1343: 
                   1344: 
                   1345: 
                   1346: 
                   1347: 
                   1348: 
                   1349: 
                   1350: 
                   1351: 
                   1352: 
                   1353: 
1.1       paf      1354: 
                   1355: 
1.62      paf      1356: 
                   1357: 
                   1358: 
                   1359: 
                   1360: 
                   1361: 
1.63      paf      1362: 
                   1363: 
1.86      paf      1364: am__api_version="1.9"
1.1       paf      1365: ac_aux_dir=
                   1366: for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
                   1367:   if test -f $ac_dir/install-sh; then
                   1368:     ac_aux_dir=$ac_dir
                   1369:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   1370:     break
                   1371:   elif test -f $ac_dir/install.sh; then
                   1372:     ac_aux_dir=$ac_dir
                   1373:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   1374:     break
1.62      paf      1375:   elif test -f $ac_dir/shtool; then
                   1376:     ac_aux_dir=$ac_dir
                   1377:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   1378:     break
1.1       paf      1379:   fi
                   1380: done
                   1381: if test -z "$ac_aux_dir"; then
1.62      paf      1382:   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
                   1383: echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
                   1384:    { (exit 1); exit 1; }; }
                   1385: fi
                   1386: ac_config_guess="$SHELL $ac_aux_dir/config.guess"
                   1387: ac_config_sub="$SHELL $ac_aux_dir/config.sub"
                   1388: ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1.1       paf      1389: 
                   1390: # Find a good install program.  We prefer a C program (faster),
                   1391: # so one script is as good as another.  But avoid the broken or
                   1392: # incompatible versions:
                   1393: # SysV /etc/install, /usr/sbin/install
                   1394: # SunOS /usr/etc/install
                   1395: # IRIX /sbin/install
                   1396: # AIX /bin/install
1.62      paf      1397: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       paf      1398: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   1399: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   1400: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.86      paf      1401: # OS/2's system install, which has a completely different semantic
1.1       paf      1402: # ./install, which can be erroneously created by make from ./install.sh.
1.62      paf      1403: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
                   1404: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1.1       paf      1405: if test -z "$INSTALL"; then
1.62      paf      1406: if test "${ac_cv_path_install+set}" = set; then
                   1407:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      1408: else
1.62      paf      1409:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1410: for as_dir in $PATH
                   1411: do
                   1412:   IFS=$as_save_IFS
                   1413:   test -z "$as_dir" && as_dir=.
                   1414:   # Account for people who put trailing slashes in PATH elements.
                   1415: case $as_dir/ in
                   1416:   ./ | .// | /cC/* | \
                   1417:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.86      paf      1418:   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1.62      paf      1419:   /usr/ucb/* ) ;;
                   1420:   *)
                   1421:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   1422:     # Don't use installbsd from OSF since it installs stuff as root
                   1423:     # by default.
                   1424:     for ac_prog in ginstall scoinst install; do
                   1425:       for ac_exec_ext in '' $ac_executable_extensions; do
1.86      paf      1426:        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
                   1427:          if test $ac_prog = install &&
                   1428:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1429:            # AIX install.  It has an incompatible calling convention.
                   1430:            :
                   1431:          elif test $ac_prog = install &&
                   1432:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1433:            # program-specific install script used by HP pwplus--don't use.
                   1434:            :
                   1435:          else
                   1436:            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   1437:            break 3
                   1438:          fi
                   1439:        fi
1.1       paf      1440:       done
1.62      paf      1441:     done
                   1442:     ;;
                   1443: esac
                   1444: done
                   1445: 
1.1       paf      1446: 
                   1447: fi
                   1448:   if test "${ac_cv_path_install+set}" = set; then
1.62      paf      1449:     INSTALL=$ac_cv_path_install
1.1       paf      1450:   else
                   1451:     # As a last resort, use the slow shell script.  We don't cache a
                   1452:     # path for INSTALL within a source directory, because that will
                   1453:     # break other packages using the cache if that directory is
                   1454:     # removed, or if the path is relative.
1.62      paf      1455:     INSTALL=$ac_install_sh
1.1       paf      1456:   fi
                   1457: fi
1.62      paf      1458: echo "$as_me:$LINENO: result: $INSTALL" >&5
                   1459: echo "${ECHO_T}$INSTALL" >&6
1.1       paf      1460: 
                   1461: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   1462: # It thinks the first close brace ends the variable substitution.
                   1463: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   1464: 
1.62      paf      1465: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       paf      1466: 
                   1467: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   1468: 
1.62      paf      1469: echo "$as_me:$LINENO: checking whether build environment is sane" >&5
                   1470: echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1.1       paf      1471: # Just in case
                   1472: sleep 1
1.62      paf      1473: echo timestamp > conftest.file
1.1       paf      1474: # Do `set' in a subshell so we don't clobber the current shell's
                   1475: # arguments.  Must try -L first in case configure is actually a
                   1476: # symlink; some systems play weird games with the mod time of symlinks
                   1477: # (eg FreeBSD returns the mod time of the symlink's containing
                   1478: # directory).
                   1479: if (
1.62      paf      1480:    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1.1       paf      1481:    if test "$*" = "X"; then
                   1482:       # -L didn't work.
1.62      paf      1483:       set X `ls -t $srcdir/configure conftest.file`
1.1       paf      1484:    fi
1.62      paf      1485:    rm -f conftest.file
                   1486:    if test "$*" != "X $srcdir/configure conftest.file" \
                   1487:       && test "$*" != "X conftest.file $srcdir/configure"; then
1.1       paf      1488: 
                   1489:       # If neither matched, then we have a broken ls.  This can happen
                   1490:       # if, for instance, CONFIG_SHELL is bash and it inherits a
                   1491:       # broken ls alias from the environment.  This has actually
                   1492:       # happened.  Such a system could not be considered "sane".
1.62      paf      1493:       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
                   1494: alias in your environment" >&5
                   1495: echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
                   1496: alias in your environment" >&2;}
                   1497:    { (exit 1); exit 1; }; }
1.1       paf      1498:    fi
                   1499: 
1.62      paf      1500:    test "$2" = conftest.file
1.1       paf      1501:    )
                   1502: then
                   1503:    # Ok.
                   1504:    :
                   1505: else
1.62      paf      1506:    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
                   1507: Check your system clock" >&5
                   1508: echo "$as_me: error: newly created file is older than distributed files!
                   1509: Check your system clock" >&2;}
                   1510:    { (exit 1); exit 1; }; }
1.1       paf      1511: fi
1.62      paf      1512: echo "$as_me:$LINENO: result: yes" >&5
                   1513: echo "${ECHO_T}yes" >&6
1.1       paf      1514: test "$program_prefix" != NONE &&
1.62      paf      1515:   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1.1       paf      1516: # Use a double $ so make ignores it.
                   1517: test "$program_suffix" != NONE &&
1.62      paf      1518:   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
                   1519: # Double any \ or $.  echo might interpret backslashes.
                   1520: # By default was `s,x,x', remove it if useless.
                   1521: cat <<\_ACEOF >conftest.sed
                   1522: s/[\\$]/&&/g;s/;s,x,x,$//
                   1523: _ACEOF
                   1524: program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
                   1525: rm conftest.sed
                   1526: 
                   1527: # expand $ac_aux_dir to an absolute path
                   1528: am_aux_dir=`cd $ac_aux_dir && pwd`
                   1529: 
                   1530: test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
                   1531: # Use eval to expand $SHELL
                   1532: if eval "$MISSING --run true"; then
                   1533:   am_missing_run="$MISSING --run "
                   1534: else
                   1535:   am_missing_run=
                   1536:   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
                   1537: echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
                   1538: fi
                   1539: 
1.86      paf      1540: if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
                   1541:   # We used to keeping the `.' as first argument, in order to
                   1542:   # allow $(mkdir_p) to be used without argument.  As in
                   1543:   #   $(mkdir_p) $(somedir)
                   1544:   # where $(somedir) is conditionally defined.  However this is wrong
                   1545:   # for two reasons:
                   1546:   #  1. if the package is installed by a user who cannot write `.'
                   1547:   #     make install will fail,
                   1548:   #  2. the above comment should most certainly read
                   1549:   #     $(mkdir_p) $(DESTDIR)$(somedir)
                   1550:   #     so it does not work when $(somedir) is undefined and
                   1551:   #     $(DESTDIR) is not.
                   1552:   #  To support the latter case, we have to write
                   1553:   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
                   1554:   #  so the `.' trick is pointless.
                   1555:   mkdir_p='mkdir -p --'
                   1556: else
                   1557:   # On NextStep and OpenStep, the `mkdir' command does not
                   1558:   # recognize any option.  It will interpret all options as
                   1559:   # directories to create, and then abort because `.' already
                   1560:   # exists.
                   1561:   for d in ./-p ./--version;
                   1562:   do
                   1563:     test -d $d && rmdir $d
                   1564:   done
                   1565:   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
                   1566:   if test -f "$ac_aux_dir/mkinstalldirs"; then
                   1567:     mkdir_p='$(mkinstalldirs)'
                   1568:   else
                   1569:     mkdir_p='$(install_sh) -d'
                   1570:   fi
                   1571: fi
                   1572: 
1.62      paf      1573: for ac_prog in gawk mawk nawk awk
                   1574: do
                   1575:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   1576: set dummy $ac_prog; ac_word=$2
                   1577: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1578: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1579: if test "${ac_cv_prog_AWK+set}" = set; then
                   1580:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1581: else
                   1582:   if test -n "$AWK"; then
                   1583:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   1584: else
                   1585: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1586: for as_dir in $PATH
                   1587: do
                   1588:   IFS=$as_save_IFS
                   1589:   test -z "$as_dir" && as_dir=.
                   1590:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1591:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1592:     ac_cv_prog_AWK="$ac_prog"
                   1593:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1594:     break 2
                   1595:   fi
                   1596: done
                   1597: done
                   1598: 
                   1599: fi
                   1600: fi
                   1601: AWK=$ac_cv_prog_AWK
                   1602: if test -n "$AWK"; then
                   1603:   echo "$as_me:$LINENO: result: $AWK" >&5
                   1604: echo "${ECHO_T}$AWK" >&6
                   1605: else
                   1606:   echo "$as_me:$LINENO: result: no" >&5
                   1607: echo "${ECHO_T}no" >&6
                   1608: fi
1.1       paf      1609: 
1.62      paf      1610:   test -n "$AWK" && break
                   1611: done
1.1       paf      1612: 
1.62      paf      1613: echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   1614: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1.86      paf      1615: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1.62      paf      1616: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
                   1617:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      1618: else
1.62      paf      1619:   cat >conftest.make <<\_ACEOF
1.1       paf      1620: all:
1.62      paf      1621:        @echo 'ac_maketemp="$(MAKE)"'
                   1622: _ACEOF
1.1       paf      1623: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.62      paf      1624: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1.1       paf      1625: if test -n "$ac_maketemp"; then
                   1626:   eval ac_cv_prog_make_${ac_make}_set=yes
                   1627: else
                   1628:   eval ac_cv_prog_make_${ac_make}_set=no
                   1629: fi
1.62      paf      1630: rm -f conftest.make
1.1       paf      1631: fi
                   1632: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1.62      paf      1633:   echo "$as_me:$LINENO: result: yes" >&5
                   1634: echo "${ECHO_T}yes" >&6
1.1       paf      1635:   SET_MAKE=
                   1636: else
1.62      paf      1637:   echo "$as_me:$LINENO: result: no" >&5
                   1638: echo "${ECHO_T}no" >&6
1.1       paf      1639:   SET_MAKE="MAKE=${MAKE-make}"
                   1640: fi
                   1641: 
1.86      paf      1642: rm -rf .tst 2>/dev/null
                   1643: mkdir .tst 2>/dev/null
                   1644: if test -d .tst; then
                   1645:   am__leading_dot=.
                   1646: else
                   1647:   am__leading_dot=_
                   1648: fi
                   1649: rmdir .tst 2>/dev/null
                   1650: 
                   1651: # test to see if srcdir already configured
1.62      paf      1652: if test "`cd $srcdir && pwd`" != "`pwd`" &&
                   1653:    test -f $srcdir/config.status; then
                   1654:   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
                   1655: echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
                   1656:    { (exit 1); exit 1; }; }
                   1657: fi
                   1658: 
                   1659: # test whether we have cygpath
                   1660: if test -z "$CYGPATH_W"; then
                   1661:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   1662:     CYGPATH_W='cygpath -w'
                   1663:   else
                   1664:     CYGPATH_W=echo
                   1665:   fi
                   1666: fi
                   1667: 
                   1668: 
                   1669: # Define the identity of the package.
                   1670:  PACKAGE=parser
1.116     misha    1671:  VERSION=3.4.1b
1.1       paf      1672: 
                   1673: 
1.62      paf      1674: # Some tools Automake needs.
                   1675: 
                   1676: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   1677: 
                   1678: 
                   1679: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   1680: 
                   1681: 
                   1682: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   1683: 
                   1684: 
                   1685: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   1686: 
                   1687: 
                   1688: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.1       paf      1689: 
1.62      paf      1690: install_sh=${install_sh-"$am_aux_dir/install-sh"}
1.1       paf      1691: 
1.62      paf      1692: # Installed binaries are usually stripped using `strip' when the user
                   1693: # run `make install-strip'.  However `strip' might not be the right
                   1694: # tool to use in cross-compilation environments, therefore Automake
                   1695: # will honor the `STRIP' environment variable to overrule this program.
                   1696: if test "$cross_compiling" != no; then
                   1697:   if test -n "$ac_tool_prefix"; then
                   1698:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   1699: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   1700: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1701: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1702: if test "${ac_cv_prog_STRIP+set}" = set; then
                   1703:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      1704: else
1.62      paf      1705:   if test -n "$STRIP"; then
                   1706:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   1707: else
                   1708: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1709: for as_dir in $PATH
                   1710: do
                   1711:   IFS=$as_save_IFS
                   1712:   test -z "$as_dir" && as_dir=.
                   1713:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1714:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1715:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   1716:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1717:     break 2
                   1718:   fi
                   1719: done
                   1720: done
                   1721: 
                   1722: fi
                   1723: fi
                   1724: STRIP=$ac_cv_prog_STRIP
                   1725: if test -n "$STRIP"; then
                   1726:   echo "$as_me:$LINENO: result: $STRIP" >&5
                   1727: echo "${ECHO_T}$STRIP" >&6
                   1728: else
                   1729:   echo "$as_me:$LINENO: result: no" >&5
                   1730: echo "${ECHO_T}no" >&6
1.1       paf      1731: fi
                   1732: 
1.62      paf      1733: fi
                   1734: if test -z "$ac_cv_prog_STRIP"; then
                   1735:   ac_ct_STRIP=$STRIP
                   1736:   # Extract the first word of "strip", so it can be a program name with args.
                   1737: set dummy strip; ac_word=$2
                   1738: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1739: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1740: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
                   1741:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1742: else
                   1743:   if test -n "$ac_ct_STRIP"; then
                   1744:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.1       paf      1745: else
1.62      paf      1746: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1747: for as_dir in $PATH
                   1748: do
                   1749:   IFS=$as_save_IFS
                   1750:   test -z "$as_dir" && as_dir=.
                   1751:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1752:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1753:     ac_cv_prog_ac_ct_STRIP="strip"
                   1754:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1755:     break 2
                   1756:   fi
                   1757: done
                   1758: done
                   1759: 
                   1760:   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
                   1761: fi
1.1       paf      1762: fi
1.62      paf      1763: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   1764: if test -n "$ac_ct_STRIP"; then
                   1765:   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
                   1766: echo "${ECHO_T}$ac_ct_STRIP" >&6
1.1       paf      1767: else
1.62      paf      1768:   echo "$as_me:$LINENO: result: no" >&5
                   1769: echo "${ECHO_T}no" >&6
1.1       paf      1770: fi
                   1771: 
1.62      paf      1772:   STRIP=$ac_ct_STRIP
1.1       paf      1773: else
1.62      paf      1774:   STRIP="$ac_cv_prog_STRIP"
1.1       paf      1775: fi
                   1776: 
                   1777: fi
1.62      paf      1778: INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
                   1779: 
                   1780: # We need awk for the "check" target.  The system "awk" is bad on
                   1781: # some platforms.
1.86      paf      1782: # Always define AMTAR for backward compatibility.
                   1783: 
                   1784: AMTAR=${AMTAR-"${am_missing_run}tar"}
                   1785: 
                   1786: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
                   1787: 
                   1788: 
1.62      paf      1789: 
1.1       paf      1790: 
                   1791: 
                   1792: 
1.12      paf      1793: P3S=`cd $srcdir/src ; pwd`
1.1       paf      1794: 
                   1795: 
1.41      paf      1796: # Make sure we can run config.sub.
1.62      paf      1797: $ac_config_sub sun4 >/dev/null 2>&1 ||
                   1798:   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
                   1799: echo "$as_me: error: cannot run $ac_config_sub" >&2;}
                   1800:    { (exit 1); exit 1; }; }
                   1801: 
                   1802: echo "$as_me:$LINENO: checking build system type" >&5
                   1803: echo $ECHO_N "checking build system type... $ECHO_C" >&6
                   1804: if test "${ac_cv_build+set}" = set; then
                   1805:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1806: else
                   1807:   ac_cv_build_alias=$build_alias
                   1808: test -z "$ac_cv_build_alias" &&
                   1809:   ac_cv_build_alias=`$ac_config_guess`
                   1810: test -z "$ac_cv_build_alias" &&
                   1811:   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
                   1812: echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
                   1813:    { (exit 1); exit 1; }; }
                   1814: ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
                   1815:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
                   1816: echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
                   1817:    { (exit 1); exit 1; }; }
                   1818: 
                   1819: fi
                   1820: echo "$as_me:$LINENO: result: $ac_cv_build" >&5
                   1821: echo "${ECHO_T}$ac_cv_build" >&6
                   1822: build=$ac_cv_build
                   1823: build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                   1824: build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                   1825: build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
                   1826: 
                   1827: 
                   1828: echo "$as_me:$LINENO: checking host system type" >&5
                   1829: echo $ECHO_N "checking host system type... $ECHO_C" >&6
                   1830: if test "${ac_cv_host+set}" = set; then
                   1831:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1832: else
                   1833:   ac_cv_host_alias=$host_alias
                   1834: test -z "$ac_cv_host_alias" &&
                   1835:   ac_cv_host_alias=$ac_cv_build_alias
                   1836: ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
                   1837:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
                   1838: echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
                   1839:    { (exit 1); exit 1; }; }
                   1840: 
                   1841: fi
                   1842: echo "$as_me:$LINENO: result: $ac_cv_host" >&5
                   1843: echo "${ECHO_T}$ac_cv_host" >&6
                   1844: host=$ac_cv_host
                   1845: host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                   1846: host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                   1847: host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1.81      paf      1848: 
                   1849: 
                   1850: 
                   1851: PARSER_VERSION="$VERSION (compiled on $host)"
                   1852: echo "/* automatically generated by configure */" > $srcdir/src/include/pa_version.h.new
                   1853: echo "/* edit configure.in to change version number */" >> $srcdir/src/include/pa_version.h.new
                   1854: echo "#define PARSER_VERSION \"$PARSER_VERSION\"" >> $srcdir/src/include/pa_version.h.new
                   1855: cmp $srcdir/src/include/pa_version.h.new $srcdir/src/include/pa_version.h >/dev/null 2>&1
                   1856: if test $? -ne 0 ; then
                   1857:        rm -f $srcdir/src/include/pa_version.h && mv $srcdir/src/include/pa_version.h.new $srcdir/src/include/pa_version.h && \
                   1858:        echo Updated $srcdir/src/include/pa_version.h
                   1859: else
                   1860:        rm -f $srcdir/src/include/pa_version.h.new
                   1861: fi
                   1862: 
1.41      paf      1863: 
                   1864: 
                   1865: 
1.67      paf      1866: case $host_os in
                   1867:   *cygwin* )
                   1868: cat >>confdefs.h <<\_ACEOF
                   1869: #define CYGWIN
                   1870: _ACEOF
                   1871: ;;
                   1872: esac
1.41      paf      1873: 
1.1       paf      1874: # Find a good install program.  We prefer a C program (faster),
                   1875: # so one script is as good as another.  But avoid the broken or
                   1876: # incompatible versions:
                   1877: # SysV /etc/install, /usr/sbin/install
                   1878: # SunOS /usr/etc/install
                   1879: # IRIX /sbin/install
                   1880: # AIX /bin/install
1.62      paf      1881: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       paf      1882: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   1883: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   1884: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.86      paf      1885: # OS/2's system install, which has a completely different semantic
1.1       paf      1886: # ./install, which can be erroneously created by make from ./install.sh.
1.62      paf      1887: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
                   1888: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1.1       paf      1889: if test -z "$INSTALL"; then
1.62      paf      1890: if test "${ac_cv_path_install+set}" = set; then
                   1891:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      1892: else
1.62      paf      1893:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1894: for as_dir in $PATH
                   1895: do
                   1896:   IFS=$as_save_IFS
                   1897:   test -z "$as_dir" && as_dir=.
                   1898:   # Account for people who put trailing slashes in PATH elements.
                   1899: case $as_dir/ in
                   1900:   ./ | .// | /cC/* | \
                   1901:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.86      paf      1902:   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1.62      paf      1903:   /usr/ucb/* ) ;;
                   1904:   *)
                   1905:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   1906:     # Don't use installbsd from OSF since it installs stuff as root
                   1907:     # by default.
                   1908:     for ac_prog in ginstall scoinst install; do
                   1909:       for ac_exec_ext in '' $ac_executable_extensions; do
1.86      paf      1910:        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
                   1911:          if test $ac_prog = install &&
                   1912:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1913:            # AIX install.  It has an incompatible calling convention.
                   1914:            :
                   1915:          elif test $ac_prog = install &&
                   1916:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1917:            # program-specific install script used by HP pwplus--don't use.
                   1918:            :
                   1919:          else
                   1920:            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   1921:            break 3
                   1922:          fi
                   1923:        fi
1.1       paf      1924:       done
1.62      paf      1925:     done
                   1926:     ;;
                   1927: esac
                   1928: done
                   1929: 
1.1       paf      1930: 
                   1931: fi
                   1932:   if test "${ac_cv_path_install+set}" = set; then
1.62      paf      1933:     INSTALL=$ac_cv_path_install
1.1       paf      1934:   else
                   1935:     # As a last resort, use the slow shell script.  We don't cache a
                   1936:     # path for INSTALL within a source directory, because that will
                   1937:     # break other packages using the cache if that directory is
                   1938:     # removed, or if the path is relative.
1.62      paf      1939:     INSTALL=$ac_install_sh
1.1       paf      1940:   fi
                   1941: fi
1.62      paf      1942: echo "$as_me:$LINENO: result: $INSTALL" >&5
                   1943: echo "${ECHO_T}$INSTALL" >&6
1.1       paf      1944: 
                   1945: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   1946: # It thinks the first close brace ends the variable substitution.
                   1947: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   1948: 
1.62      paf      1949: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       paf      1950: 
                   1951: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   1952: 
1.62      paf      1953: echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   1954: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1.86      paf      1955: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1.62      paf      1956: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
                   1957:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.41      paf      1958: else
1.62      paf      1959:   cat >conftest.make <<\_ACEOF
1.41      paf      1960: all:
1.62      paf      1961:        @echo 'ac_maketemp="$(MAKE)"'
                   1962: _ACEOF
1.41      paf      1963: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.62      paf      1964: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1.41      paf      1965: if test -n "$ac_maketemp"; then
                   1966:   eval ac_cv_prog_make_${ac_make}_set=yes
                   1967: else
                   1968:   eval ac_cv_prog_make_${ac_make}_set=no
                   1969: fi
1.62      paf      1970: rm -f conftest.make
1.41      paf      1971: fi
                   1972: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1.62      paf      1973:   echo "$as_me:$LINENO: result: yes" >&5
                   1974: echo "${ECHO_T}yes" >&6
1.41      paf      1975:   SET_MAKE=
                   1976: else
1.62      paf      1977:   echo "$as_me:$LINENO: result: no" >&5
                   1978: echo "${ECHO_T}no" >&6
1.41      paf      1979:   SET_MAKE="MAKE=${MAKE-make}"
                   1980: fi
                   1981: 
1.62      paf      1982: if test -n "$ac_tool_prefix"; then
                   1983:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   1984: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
                   1985: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1986: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1987: if test "${ac_cv_prog_RANLIB+set}" = set; then
                   1988:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.41      paf      1989: else
                   1990:   if test -n "$RANLIB"; then
                   1991:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   1992: else
1.62      paf      1993: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1994: for as_dir in $PATH
                   1995: do
                   1996:   IFS=$as_save_IFS
                   1997:   test -z "$as_dir" && as_dir=.
                   1998:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1999:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2000:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
                   2001:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2002:     break 2
                   2003:   fi
                   2004: done
                   2005: done
                   2006: 
1.41      paf      2007: fi
                   2008: fi
1.62      paf      2009: RANLIB=$ac_cv_prog_RANLIB
1.41      paf      2010: if test -n "$RANLIB"; then
1.62      paf      2011:   echo "$as_me:$LINENO: result: $RANLIB" >&5
                   2012: echo "${ECHO_T}$RANLIB" >&6
                   2013: else
                   2014:   echo "$as_me:$LINENO: result: no" >&5
                   2015: echo "${ECHO_T}no" >&6
                   2016: fi
                   2017: 
                   2018: fi
                   2019: if test -z "$ac_cv_prog_RANLIB"; then
                   2020:   ac_ct_RANLIB=$RANLIB
                   2021:   # Extract the first word of "ranlib", so it can be a program name with args.
                   2022: set dummy ranlib; ac_word=$2
                   2023: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2024: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2025: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
                   2026:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2027: else
                   2028:   if test -n "$ac_ct_RANLIB"; then
                   2029:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   2030: else
                   2031: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2032: for as_dir in $PATH
                   2033: do
                   2034:   IFS=$as_save_IFS
                   2035:   test -z "$as_dir" && as_dir=.
                   2036:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2037:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2038:     ac_cv_prog_ac_ct_RANLIB="ranlib"
                   2039:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2040:     break 2
                   2041:   fi
                   2042: done
                   2043: done
                   2044: 
                   2045:   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
                   2046: fi
                   2047: fi
                   2048: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   2049: if test -n "$ac_ct_RANLIB"; then
                   2050:   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
                   2051: echo "${ECHO_T}$ac_ct_RANLIB" >&6
                   2052: else
                   2053:   echo "$as_me:$LINENO: result: no" >&5
                   2054: echo "${ECHO_T}no" >&6
                   2055: fi
                   2056: 
                   2057:   RANLIB=$ac_ct_RANLIB
1.41      paf      2058: else
1.62      paf      2059:   RANLIB="$ac_cv_prog_RANLIB"
1.41      paf      2060: fi
                   2061: 
1.62      paf      2062: for ac_prog in gawk mawk nawk awk
1.41      paf      2063: do
1.62      paf      2064:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41      paf      2065: set dummy $ac_prog; ac_word=$2
1.62      paf      2066: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2067: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2068: if test "${ac_cv_prog_AWK+set}" = set; then
                   2069:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.41      paf      2070: else
                   2071:   if test -n "$AWK"; then
                   2072:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   2073: else
1.62      paf      2074: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2075: for as_dir in $PATH
                   2076: do
                   2077:   IFS=$as_save_IFS
                   2078:   test -z "$as_dir" && as_dir=.
                   2079:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2080:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2081:     ac_cv_prog_AWK="$ac_prog"
                   2082:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2083:     break 2
                   2084:   fi
                   2085: done
                   2086: done
                   2087: 
1.41      paf      2088: fi
                   2089: fi
1.62      paf      2090: AWK=$ac_cv_prog_AWK
1.41      paf      2091: if test -n "$AWK"; then
1.62      paf      2092:   echo "$as_me:$LINENO: result: $AWK" >&5
                   2093: echo "${ECHO_T}$AWK" >&6
1.41      paf      2094: else
1.62      paf      2095:   echo "$as_me:$LINENO: result: no" >&5
                   2096: echo "${ECHO_T}no" >&6
1.41      paf      2097: fi
                   2098: 
1.62      paf      2099:   test -n "$AWK" && break
1.41      paf      2100: done
                   2101: 
                   2102: 
                   2103: for ac_prog in 'bison -y' byacc
                   2104: do
1.62      paf      2105:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41      paf      2106: set dummy $ac_prog; ac_word=$2
1.62      paf      2107: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2108: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2109: if test "${ac_cv_prog_YACC+set}" = set; then
                   2110:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.41      paf      2111: else
                   2112:   if test -n "$YACC"; then
                   2113:   ac_cv_prog_YACC="$YACC" # Let the user override the test.
                   2114: else
1.62      paf      2115: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2116: for as_dir in $PATH
                   2117: do
                   2118:   IFS=$as_save_IFS
                   2119:   test -z "$as_dir" && as_dir=.
                   2120:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2121:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2122:     ac_cv_prog_YACC="$ac_prog"
                   2123:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2124:     break 2
                   2125:   fi
                   2126: done
                   2127: done
                   2128: 
1.41      paf      2129: fi
                   2130: fi
1.62      paf      2131: YACC=$ac_cv_prog_YACC
1.41      paf      2132: if test -n "$YACC"; then
1.62      paf      2133:   echo "$as_me:$LINENO: result: $YACC" >&5
                   2134: echo "${ECHO_T}$YACC" >&6
1.41      paf      2135: else
1.62      paf      2136:   echo "$as_me:$LINENO: result: no" >&5
                   2137: echo "${ECHO_T}no" >&6
1.41      paf      2138: fi
                   2139: 
1.62      paf      2140:   test -n "$YACC" && break
1.41      paf      2141: done
                   2142: test -n "$YACC" || YACC="yacc"
                   2143: 
                   2144: if test "$YACC" != "bison -y"; then
1.67      paf      2145:        { echo "$as_me:$LINENO: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&5
1.62      paf      2146: echo "$as_me: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&2;}
1.41      paf      2147: else
1.67      paf      2148:        echo "$as_me:$LINENO: checking bison version" >&5
1.62      paf      2149: echo $ECHO_N "checking bison version... $ECHO_C" >&6
1.67      paf      2150:        oldIFS=$IFS; IFS=.
                   2151:        set `bison -V | sed -e 's/^GNU Bison version //' -e 's/^bison (GNU Bison) //' -e 's/$/./'`
                   2152:        IFS=$oldIFS
                   2153:        if test "$1" = "1" -a "$2" -lt "25"; then
                   2154:                { echo "$as_me:$LINENO: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&5
1.62      paf      2155: echo "$as_me: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&2;}
1.67      paf      2156:        fi
                   2157:        echo "$as_me:$LINENO: result: $1.$2 (ok)" >&5
1.62      paf      2158: echo "${ECHO_T}$1.$2 (ok)" >&6
                   2159: fi
                   2160: 
1.66      paf      2161: ac_ext=cc
                   2162: ac_cpp='$CXXCPP $CPPFLAGS'
                   2163: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2164: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2165: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.62      paf      2166: if test -n "$ac_tool_prefix"; then
1.66      paf      2167:   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
                   2168:   do
                   2169:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   2170: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.62      paf      2171: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2172: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.66      paf      2173: if test "${ac_cv_prog_CXX+set}" = set; then
1.62      paf      2174:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2175: else
1.66      paf      2176:   if test -n "$CXX"; then
                   2177:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
1.62      paf      2178: else
                   2179: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2180: for as_dir in $PATH
                   2181: do
                   2182:   IFS=$as_save_IFS
                   2183:   test -z "$as_dir" && as_dir=.
                   2184:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2185:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      2186:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1.62      paf      2187:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2188:     break 2
                   2189:   fi
                   2190: done
                   2191: done
                   2192: 
                   2193: fi
                   2194: fi
1.66      paf      2195: CXX=$ac_cv_prog_CXX
                   2196: if test -n "$CXX"; then
                   2197:   echo "$as_me:$LINENO: result: $CXX" >&5
                   2198: echo "${ECHO_T}$CXX" >&6
1.62      paf      2199: else
                   2200:   echo "$as_me:$LINENO: result: no" >&5
                   2201: echo "${ECHO_T}no" >&6
1.41      paf      2202: fi
                   2203: 
1.66      paf      2204:     test -n "$CXX" && break
                   2205:   done
1.62      paf      2206: fi
1.66      paf      2207: if test -z "$CXX"; then
                   2208:   ac_ct_CXX=$CXX
                   2209:   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
                   2210: do
                   2211:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2212: set dummy $ac_prog; ac_word=$2
1.62      paf      2213: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2214: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.66      paf      2215: if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1.62      paf      2216:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2217: else
1.66      paf      2218:   if test -n "$ac_ct_CXX"; then
                   2219:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1.62      paf      2220: else
                   2221: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2222: for as_dir in $PATH
                   2223: do
                   2224:   IFS=$as_save_IFS
                   2225:   test -z "$as_dir" && as_dir=.
                   2226:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2227:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      2228:     ac_cv_prog_ac_ct_CXX="$ac_prog"
1.62      paf      2229:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2230:     break 2
                   2231:   fi
                   2232: done
                   2233: done
                   2234: 
                   2235: fi
                   2236: fi
1.66      paf      2237: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
                   2238: if test -n "$ac_ct_CXX"; then
                   2239:   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
                   2240: echo "${ECHO_T}$ac_ct_CXX" >&6
1.62      paf      2241: else
                   2242:   echo "$as_me:$LINENO: result: no" >&5
                   2243: echo "${ECHO_T}no" >&6
                   2244: fi
                   2245: 
1.66      paf      2246:   test -n "$ac_ct_CXX" && break
                   2247: done
                   2248: test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
                   2249: 
                   2250:   CXX=$ac_ct_CXX
1.62      paf      2251: fi
                   2252: 
1.66      paf      2253: 
                   2254: # Provide some information about the compiler.
                   2255: echo "$as_me:$LINENO:" \
                   2256:      "checking for C++ compiler version" >&5
                   2257: ac_compiler=`set X $ac_compile; echo $2`
                   2258: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
                   2259:   (eval $ac_compiler --version </dev/null >&5) 2>&5
                   2260:   ac_status=$?
                   2261:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2262:   (exit $ac_status); }
                   2263: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
                   2264:   (eval $ac_compiler -v </dev/null >&5) 2>&5
                   2265:   ac_status=$?
                   2266:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2267:   (exit $ac_status); }
                   2268: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
                   2269:   (eval $ac_compiler -V </dev/null >&5) 2>&5
                   2270:   ac_status=$?
                   2271:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2272:   (exit $ac_status); }
                   2273: 
                   2274: cat >conftest.$ac_ext <<_ACEOF
                   2275: /* confdefs.h.  */
                   2276: _ACEOF
                   2277: cat confdefs.h >>conftest.$ac_ext
                   2278: cat >>conftest.$ac_ext <<_ACEOF
                   2279: /* end confdefs.h.  */
                   2280: 
                   2281: int
                   2282: main ()
                   2283: {
                   2284: 
                   2285:   ;
                   2286:   return 0;
                   2287: }
                   2288: _ACEOF
                   2289: ac_clean_files_save=$ac_clean_files
                   2290: ac_clean_files="$ac_clean_files a.out a.exe b.out"
                   2291: # Try to create an executable without -o first, disregard a.out.
                   2292: # It will help us diagnose broken compilers, and finding out an intuition
                   2293: # of exeext.
1.86      paf      2294: echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
                   2295: echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
1.66      paf      2296: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   2297: if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
                   2298:   (eval $ac_link_default) 2>&5
                   2299:   ac_status=$?
                   2300:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2301:   (exit $ac_status); }; then
                   2302:   # Find the output, starting from the most likely.  This scheme is
                   2303: # not robust to junk in `.', hence go to wildcards (a.*) only as a last
                   2304: # resort.
                   2305: 
                   2306: # Be careful to initialize this variable, since it used to be cached.
                   2307: # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
                   2308: ac_cv_exeext=
                   2309: # b.out is created by i960 compilers.
                   2310: for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1.62      paf      2311: do
1.66      paf      2312:   test -f "$ac_file" || continue
                   2313:   case $ac_file in
                   2314:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1.86      paf      2315:        ;;
1.66      paf      2316:     conftest.$ac_ext )
1.86      paf      2317:        # This is the source file.
                   2318:        ;;
1.66      paf      2319:     [ab].out )
1.86      paf      2320:        # We found the default executable, but exeext='' is most
                   2321:        # certainly right.
                   2322:        break;;
1.66      paf      2323:     *.* )
1.86      paf      2324:        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   2325:        # FIXME: I believe we export ac_cv_exeext for Libtool,
                   2326:        # but it would be cool to find out if it's true.  Does anybody
                   2327:        # maintain Libtool? --akim.
                   2328:        export ac_cv_exeext
                   2329:        break;;
1.66      paf      2330:     * )
1.86      paf      2331:        break;;
1.66      paf      2332:   esac
1.62      paf      2333: done
1.66      paf      2334: else
                   2335:   echo "$as_me: failed program was:" >&5
                   2336: sed 's/^/| /' conftest.$ac_ext >&5
1.62      paf      2337: 
1.66      paf      2338: { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
                   2339: See \`config.log' for more details." >&5
                   2340: echo "$as_me: error: C++ compiler cannot create executables
                   2341: See \`config.log' for more details." >&2;}
                   2342:    { (exit 77); exit 77; }; }
1.1       paf      2343: fi
1.66      paf      2344: 
                   2345: ac_exeext=$ac_cv_exeext
                   2346: echo "$as_me:$LINENO: result: $ac_file" >&5
                   2347: echo "${ECHO_T}$ac_file" >&6
                   2348: 
                   2349: # Check the compiler produces executables we can run.  If not, either
                   2350: # the compiler is broken, or we cross compile.
                   2351: echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
                   2352: echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
                   2353: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
                   2354: # If not cross compiling, check that we can run a simple program.
                   2355: if test "$cross_compiling" != yes; then
                   2356:   if { ac_try='./$ac_file'
                   2357:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2358:   (eval $ac_try) 2>&5
                   2359:   ac_status=$?
                   2360:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2361:   (exit $ac_status); }; }; then
                   2362:     cross_compiling=no
                   2363:   else
                   2364:     if test "$cross_compiling" = maybe; then
                   2365:        cross_compiling=yes
                   2366:     else
                   2367:        { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
                   2368: If you meant to cross compile, use \`--host'.
                   2369: See \`config.log' for more details." >&5
                   2370: echo "$as_me: error: cannot run C++ compiled programs.
                   2371: If you meant to cross compile, use \`--host'.
                   2372: See \`config.log' for more details." >&2;}
                   2373:    { (exit 1); exit 1; }; }
                   2374:     fi
                   2375:   fi
1.1       paf      2376: fi
1.66      paf      2377: echo "$as_me:$LINENO: result: yes" >&5
                   2378: echo "${ECHO_T}yes" >&6
1.62      paf      2379: 
1.66      paf      2380: rm -f a.out a.exe conftest$ac_cv_exeext b.out
                   2381: ac_clean_files=$ac_clean_files_save
                   2382: # Check the compiler produces executables we can run.  If not, either
1.62      paf      2383: # the compiler is broken, or we cross compile.
                   2384: echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
                   2385: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
                   2386: echo "$as_me:$LINENO: result: $cross_compiling" >&5
                   2387: echo "${ECHO_T}$cross_compiling" >&6
                   2388: 
                   2389: echo "$as_me:$LINENO: checking for suffix of executables" >&5
                   2390: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
                   2391: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   2392:   (eval $ac_link) 2>&5
                   2393:   ac_status=$?
                   2394:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2395:   (exit $ac_status); }; then
                   2396:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   2397: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   2398: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   2399: # `rm'.
                   2400: for ac_file in conftest.exe conftest conftest.*; do
                   2401:   test -f "$ac_file" || continue
                   2402:   case $ac_file in
                   2403:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
                   2404:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.86      paf      2405:          export ac_cv_exeext
                   2406:          break;;
1.62      paf      2407:     * ) break;;
                   2408:   esac
                   2409: done
                   2410: else
                   2411:   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
                   2412: See \`config.log' for more details." >&5
                   2413: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
                   2414: See \`config.log' for more details." >&2;}
                   2415:    { (exit 1); exit 1; }; }
                   2416: fi
                   2417: 
                   2418: rm -f conftest$ac_cv_exeext
                   2419: echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
                   2420: echo "${ECHO_T}$ac_cv_exeext" >&6
                   2421: 
                   2422: rm -f conftest.$ac_ext
                   2423: EXEEXT=$ac_cv_exeext
                   2424: ac_exeext=$EXEEXT
                   2425: echo "$as_me:$LINENO: checking for suffix of object files" >&5
                   2426: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
                   2427: if test "${ac_cv_objext+set}" = set; then
                   2428:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2429: else
                   2430:   cat >conftest.$ac_ext <<_ACEOF
                   2431: /* confdefs.h.  */
                   2432: _ACEOF
                   2433: cat confdefs.h >>conftest.$ac_ext
                   2434: cat >>conftest.$ac_ext <<_ACEOF
                   2435: /* end confdefs.h.  */
                   2436: 
                   2437: int
                   2438: main ()
                   2439: {
                   2440: 
                   2441:   ;
                   2442:   return 0;
                   2443: }
                   2444: _ACEOF
                   2445: rm -f conftest.o conftest.obj
                   2446: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2447:   (eval $ac_compile) 2>&5
                   2448:   ac_status=$?
                   2449:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2450:   (exit $ac_status); }; then
                   2451:   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
                   2452:   case $ac_file in
                   2453:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
                   2454:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   2455:        break;;
                   2456:   esac
                   2457: done
                   2458: else
                   2459:   echo "$as_me: failed program was:" >&5
                   2460: sed 's/^/| /' conftest.$ac_ext >&5
                   2461: 
                   2462: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
                   2463: See \`config.log' for more details." >&5
                   2464: echo "$as_me: error: cannot compute suffix of object files: cannot compile
                   2465: See \`config.log' for more details." >&2;}
                   2466:    { (exit 1); exit 1; }; }
                   2467: fi
                   2468: 
                   2469: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   2470: fi
1.66      paf      2471: echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
                   2472: echo "${ECHO_T}$ac_cv_objext" >&6
                   2473: OBJEXT=$ac_cv_objext
                   2474: ac_objext=$OBJEXT
                   2475: echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
                   2476: echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
                   2477: if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1.62      paf      2478:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2479: else
1.66      paf      2480:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      2481: /* confdefs.h.  */
                   2482: _ACEOF
                   2483: cat confdefs.h >>conftest.$ac_ext
                   2484: cat >>conftest.$ac_ext <<_ACEOF
                   2485: /* end confdefs.h.  */
1.66      paf      2486: 
1.62      paf      2487: int
                   2488: main ()
                   2489: {
1.66      paf      2490: #ifndef __GNUC__
                   2491:        choke me
                   2492: #endif
                   2493: 
1.62      paf      2494:   ;
                   2495:   return 0;
                   2496: }
                   2497: _ACEOF
1.66      paf      2498: rm -f conftest.$ac_objext
1.62      paf      2499: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      2500:   (eval $ac_compile) 2>conftest.er1
1.62      paf      2501:   ac_status=$?
1.86      paf      2502:   grep -v '^ *+' conftest.er1 >conftest.err
                   2503:   rm -f conftest.er1
                   2504:   cat conftest.err >&5
1.62      paf      2505:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2506:   (exit $ac_status); } &&
1.86      paf      2507:         { ac_try='test -z "$ac_cxx_werror_flag"
                   2508:                         || test ! -s conftest.err'
                   2509:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2510:   (eval $ac_try) 2>&5
                   2511:   ac_status=$?
                   2512:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2513:   (exit $ac_status); }; } &&
                   2514:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      2515:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2516:   (eval $ac_try) 2>&5
                   2517:   ac_status=$?
                   2518:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2519:   (exit $ac_status); }; }; then
1.66      paf      2520:   ac_compiler_gnu=yes
1.62      paf      2521: else
                   2522:   echo "$as_me: failed program was:" >&5
                   2523: sed 's/^/| /' conftest.$ac_ext >&5
1.1       paf      2524: 
1.66      paf      2525: ac_compiler_gnu=no
1.1       paf      2526: fi
1.86      paf      2527: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      2528: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1.1       paf      2529: 
                   2530: fi
1.66      paf      2531: echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
                   2532: echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
                   2533: GXX=`test $ac_compiler_gnu = yes && echo yes`
                   2534: ac_test_CXXFLAGS=${CXXFLAGS+set}
                   2535: ac_save_CXXFLAGS=$CXXFLAGS
                   2536: CXXFLAGS="-g"
                   2537: echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
                   2538: echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
                   2539: if test "${ac_cv_prog_cxx_g+set}" = set; then
                   2540:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2541: else
                   2542:   cat >conftest.$ac_ext <<_ACEOF
                   2543: /* confdefs.h.  */
                   2544: _ACEOF
                   2545: cat confdefs.h >>conftest.$ac_ext
                   2546: cat >>conftest.$ac_ext <<_ACEOF
                   2547: /* end confdefs.h.  */
1.1       paf      2548: 
1.66      paf      2549: int
                   2550: main ()
                   2551: {
1.1       paf      2552: 
1.66      paf      2553:   ;
                   2554:   return 0;
                   2555: }
1.62      paf      2556: _ACEOF
                   2557: rm -f conftest.$ac_objext
                   2558: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      2559:   (eval $ac_compile) 2>conftest.er1
1.62      paf      2560:   ac_status=$?
1.86      paf      2561:   grep -v '^ *+' conftest.er1 >conftest.err
                   2562:   rm -f conftest.er1
                   2563:   cat conftest.err >&5
1.62      paf      2564:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2565:   (exit $ac_status); } &&
1.86      paf      2566:         { ac_try='test -z "$ac_cxx_werror_flag"
                   2567:                         || test ! -s conftest.err'
                   2568:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2569:   (eval $ac_try) 2>&5
                   2570:   ac_status=$?
                   2571:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2572:   (exit $ac_status); }; } &&
                   2573:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      2574:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2575:   (eval $ac_try) 2>&5
                   2576:   ac_status=$?
                   2577:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2578:   (exit $ac_status); }; }; then
1.66      paf      2579:   ac_cv_prog_cxx_g=yes
                   2580: else
                   2581:   echo "$as_me: failed program was:" >&5
                   2582: sed 's/^/| /' conftest.$ac_ext >&5
                   2583: 
                   2584: ac_cv_prog_cxx_g=no
                   2585: fi
1.86      paf      2586: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      2587: fi
                   2588: echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
                   2589: echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
                   2590: if test "$ac_test_CXXFLAGS" = set; then
                   2591:   CXXFLAGS=$ac_save_CXXFLAGS
                   2592: elif test $ac_cv_prog_cxx_g = yes; then
                   2593:   if test "$GXX" = yes; then
                   2594:     CXXFLAGS="-g -O2"
                   2595:   else
                   2596:     CXXFLAGS="-g"
                   2597:   fi
                   2598: else
                   2599:   if test "$GXX" = yes; then
                   2600:     CXXFLAGS="-O2"
                   2601:   else
                   2602:     CXXFLAGS=
                   2603:   fi
                   2604: fi
                   2605: for ac_declaration in \
1.86      paf      2606:    '' \
1.62      paf      2607:    'extern "C" void std::exit (int) throw (); using std::exit;' \
                   2608:    'extern "C" void std::exit (int); using std::exit;' \
                   2609:    'extern "C" void exit (int) throw ();' \
                   2610:    'extern "C" void exit (int);' \
                   2611:    'void exit (int);'
1.1       paf      2612: do
1.62      paf      2613:   cat >conftest.$ac_ext <<_ACEOF
                   2614: /* confdefs.h.  */
                   2615: _ACEOF
                   2616: cat confdefs.h >>conftest.$ac_ext
                   2617: cat >>conftest.$ac_ext <<_ACEOF
                   2618: /* end confdefs.h.  */
1.86      paf      2619: $ac_declaration
1.62      paf      2620: #include <stdlib.h>
                   2621: int
                   2622: main ()
                   2623: {
                   2624: exit (42);
                   2625:   ;
                   2626:   return 0;
                   2627: }
                   2628: _ACEOF
                   2629: rm -f conftest.$ac_objext
                   2630: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      2631:   (eval $ac_compile) 2>conftest.er1
1.62      paf      2632:   ac_status=$?
1.86      paf      2633:   grep -v '^ *+' conftest.er1 >conftest.err
                   2634:   rm -f conftest.er1
                   2635:   cat conftest.err >&5
1.62      paf      2636:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2637:   (exit $ac_status); } &&
1.86      paf      2638:         { ac_try='test -z "$ac_cxx_werror_flag"
                   2639:                         || test ! -s conftest.err'
                   2640:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2641:   (eval $ac_try) 2>&5
                   2642:   ac_status=$?
                   2643:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2644:   (exit $ac_status); }; } &&
                   2645:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      2646:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2647:   (eval $ac_try) 2>&5
                   2648:   ac_status=$?
                   2649:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2650:   (exit $ac_status); }; }; then
                   2651:   :
1.1       paf      2652: else
1.62      paf      2653:   echo "$as_me: failed program was:" >&5
                   2654: sed 's/^/| /' conftest.$ac_ext >&5
                   2655: 
                   2656: continue
                   2657: fi
1.86      paf      2658: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      2659:   cat >conftest.$ac_ext <<_ACEOF
                   2660: /* confdefs.h.  */
                   2661: _ACEOF
                   2662: cat confdefs.h >>conftest.$ac_ext
                   2663: cat >>conftest.$ac_ext <<_ACEOF
                   2664: /* end confdefs.h.  */
                   2665: $ac_declaration
                   2666: int
                   2667: main ()
                   2668: {
                   2669: exit (42);
                   2670:   ;
                   2671:   return 0;
                   2672: }
                   2673: _ACEOF
                   2674: rm -f conftest.$ac_objext
                   2675: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      2676:   (eval $ac_compile) 2>conftest.er1
1.62      paf      2677:   ac_status=$?
1.86      paf      2678:   grep -v '^ *+' conftest.er1 >conftest.err
                   2679:   rm -f conftest.er1
                   2680:   cat conftest.err >&5
1.62      paf      2681:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2682:   (exit $ac_status); } &&
1.86      paf      2683:         { ac_try='test -z "$ac_cxx_werror_flag"
                   2684:                         || test ! -s conftest.err'
                   2685:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2686:   (eval $ac_try) 2>&5
                   2687:   ac_status=$?
                   2688:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2689:   (exit $ac_status); }; } &&
                   2690:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      2691:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2692:   (eval $ac_try) 2>&5
                   2693:   ac_status=$?
                   2694:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2695:   (exit $ac_status); }; }; then
                   2696:   break
1.1       paf      2697: else
1.62      paf      2698:   echo "$as_me: failed program was:" >&5
                   2699: sed 's/^/| /' conftest.$ac_ext >&5
                   2700: 
1.1       paf      2701: fi
1.86      paf      2702: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      2703: done
                   2704: rm -f conftest*
                   2705: if test -n "$ac_declaration"; then
                   2706:   echo '#ifdef __cplusplus' >>confdefs.h
                   2707:   echo $ac_declaration      >>confdefs.h
                   2708:   echo '#endif'             >>confdefs.h
1.1       paf      2709: fi
1.62      paf      2710: 
                   2711: ac_ext=c
                   2712: ac_cpp='$CPP $CPPFLAGS'
                   2713: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2714: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2715: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.86      paf      2716: DEPDIR="${am__leading_dot}deps"
1.62      paf      2717: 
                   2718:           ac_config_commands="$ac_config_commands depfiles"
                   2719: 
                   2720: 
                   2721: am_make=${MAKE-make}
                   2722: cat > confinc << 'END'
1.86      paf      2723: am__doit:
1.62      paf      2724:        @echo done
1.86      paf      2725: .PHONY: am__doit
1.62      paf      2726: END
                   2727: # If we don't find an include directive, just comment out the code.
                   2728: echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
                   2729: echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
                   2730: am__include="#"
                   2731: am__quote=
                   2732: _am_result=none
                   2733: # First try GNU make style include.
                   2734: echo "include confinc" > confmf
                   2735: # We grep out `Entering directory' and `Leaving directory'
                   2736: # messages which can occur if `w' ends up in MAKEFLAGS.
                   2737: # In particular we don't look at `^make:' because GNU make might
                   2738: # be invoked under some other name (usually "gmake"), in which
                   2739: # case it prints its new name instead of `make'.
                   2740: if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
                   2741:    am__include=include
                   2742:    am__quote=
                   2743:    _am_result=GNU
                   2744: fi
                   2745: # Now try BSD make style include.
                   2746: if test "$am__include" = "#"; then
                   2747:    echo '.include "confinc"' > confmf
                   2748:    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
                   2749:       am__include=.include
                   2750:       am__quote="\""
                   2751:       _am_result=BSD
                   2752:    fi
                   2753: fi
                   2754: 
                   2755: 
                   2756: echo "$as_me:$LINENO: result: $_am_result" >&5
                   2757: echo "${ECHO_T}$_am_result" >&6
                   2758: rm -f confinc confmf
                   2759: 
                   2760: # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
                   2761: if test "${enable_dependency_tracking+set}" = set; then
                   2762:   enableval="$enable_dependency_tracking"
                   2763: 
                   2764: fi;
                   2765: if test "x$enable_dependency_tracking" != xno; then
                   2766:   am_depcomp="$ac_aux_dir/depcomp"
                   2767:   AMDEPBACKSLASH='\'
1.1       paf      2768: fi
                   2769: 
1.62      paf      2770: 
                   2771: if test "x$enable_dependency_tracking" != xno; then
                   2772:   AMDEP_TRUE=
                   2773:   AMDEP_FALSE='#'
                   2774: else
                   2775:   AMDEP_TRUE='#'
                   2776:   AMDEP_FALSE=
                   2777: fi
1.1       paf      2778: 
                   2779: 
                   2780: 
                   2781: 
1.66      paf      2782: depcc="$CXX"  am_compiler_list=
1.1       paf      2783: 
1.62      paf      2784: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
                   2785: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
1.66      paf      2786: if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
1.62      paf      2787:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2788: else
                   2789:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   2790:   # We make a subdir and do the tests there.  Otherwise we can end up
                   2791:   # making bogus files that we don't know about and never remove.  For
                   2792:   # instance it was reported that on HP-UX the gcc test will end up
                   2793:   # making a dummy file named `D' -- because `-MD' means `put the output
                   2794:   # in D'.
                   2795:   mkdir conftest.dir
                   2796:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   2797:   # using a relative directory.
                   2798:   cp "$am_depcomp" conftest.dir
                   2799:   cd conftest.dir
1.86      paf      2800:   # We will build objects and dependencies in a subdirectory because
                   2801:   # it helps to detect inapplicable dependency modes.  For instance
                   2802:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   2803:   # side effect of compilation, but ICC will put the dependencies in
                   2804:   # the current directory while Tru64 will put them in the object
                   2805:   # directory.
                   2806:   mkdir sub
1.1       paf      2807: 
1.66      paf      2808:   am_cv_CXX_dependencies_compiler_type=none
1.62      paf      2809:   if test "$am_compiler_list" = ""; then
                   2810:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.1       paf      2811:   fi
1.62      paf      2812:   for depmode in $am_compiler_list; do
1.86      paf      2813:     # Setup a source with many dependencies, because some compilers
                   2814:     # like to wrap large dependency lists on column 80 (with \), and
                   2815:     # we should not choose a depcomp mode which is confused by this.
                   2816:     #
1.62      paf      2817:     # We need to recreate these files for each test, as the compiler may
                   2818:     # overwrite some of them when testing with obscure command lines.
                   2819:     # This happens at least with the AIX C compiler.
1.86      paf      2820:     : > sub/conftest.c
                   2821:     for i in 1 2 3 4 5 6; do
                   2822:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   2823:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   2824:       # Solaris 8's {/usr,}/bin/sh.
                   2825:       touch sub/conftst$i.h
                   2826:     done
                   2827:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.62      paf      2828: 
                   2829:     case $depmode in
                   2830:     nosideeffect)
                   2831:       # after this tag, mechanisms are not by side-effect, so they'll
                   2832:       # only be used when explicitly requested
                   2833:       if test "x$enable_dependency_tracking" = xyes; then
                   2834:        continue
                   2835:       else
                   2836:        break
                   2837:       fi
                   2838:       ;;
                   2839:     none) break ;;
                   2840:     esac
                   2841:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   2842:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   2843:     # handle `-M -o', and we need to detect this.
                   2844:     if depmode=$depmode \
1.86      paf      2845:        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
                   2846:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   2847:        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
                   2848:          >/dev/null 2>conftest.err &&
                   2849:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   2850:        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.62      paf      2851:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.86      paf      2852:       # icc doesn't choke on unknown options, it will just issue warnings
                   2853:       # or remarks (even with -Werror).  So we grep stderr for any message
                   2854:       # that says an option was ignored or not supported.
                   2855:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   2856:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   2857:       # The diagnosis changed in icc 8.0:
                   2858:       #   icc: Command line remark: option '-MP' not supported
                   2859:       if (grep 'ignoring option' conftest.err ||
                   2860:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   2861:         am_cv_CXX_dependencies_compiler_type=$depmode
                   2862:         break
                   2863:       fi
1.66      paf      2864:     fi
                   2865:   done
                   2866: 
                   2867:   cd ..
                   2868:   rm -rf conftest.dir
                   2869: else
                   2870:   am_cv_CXX_dependencies_compiler_type=none
                   2871: fi
                   2872: 
                   2873: fi
                   2874: echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
                   2875: echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
                   2876: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
                   2877: 
                   2878: 
                   2879: 
                   2880: if
                   2881:   test "x$enable_dependency_tracking" != xno \
                   2882:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
                   2883:   am__fastdepCXX_TRUE=
                   2884:   am__fastdepCXX_FALSE='#'
                   2885: else
                   2886:   am__fastdepCXX_TRUE='#'
                   2887:   am__fastdepCXX_FALSE=
                   2888: fi
                   2889: 
                   2890: 
                   2891: ac_ext=c
                   2892: ac_cpp='$CPP $CPPFLAGS'
                   2893: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2894: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2895: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2896: if test -n "$ac_tool_prefix"; then
                   2897:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   2898: set dummy ${ac_tool_prefix}gcc; ac_word=$2
                   2899: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2900: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2901: if test "${ac_cv_prog_CC+set}" = set; then
                   2902:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2903: else
                   2904:   if test -n "$CC"; then
                   2905:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2906: else
                   2907: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2908: for as_dir in $PATH
                   2909: do
                   2910:   IFS=$as_save_IFS
                   2911:   test -z "$as_dir" && as_dir=.
                   2912:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2913:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2914:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
                   2915:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2916:     break 2
                   2917:   fi
                   2918: done
                   2919: done
                   2920: 
                   2921: fi
                   2922: fi
                   2923: CC=$ac_cv_prog_CC
                   2924: if test -n "$CC"; then
                   2925:   echo "$as_me:$LINENO: result: $CC" >&5
                   2926: echo "${ECHO_T}$CC" >&6
                   2927: else
                   2928:   echo "$as_me:$LINENO: result: no" >&5
                   2929: echo "${ECHO_T}no" >&6
                   2930: fi
                   2931: 
                   2932: fi
                   2933: if test -z "$ac_cv_prog_CC"; then
                   2934:   ac_ct_CC=$CC
                   2935:   # Extract the first word of "gcc", so it can be a program name with args.
                   2936: set dummy gcc; ac_word=$2
                   2937: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2938: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2939: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   2940:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2941: else
                   2942:   if test -n "$ac_ct_CC"; then
                   2943:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2944: else
                   2945: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2946: for as_dir in $PATH
                   2947: do
                   2948:   IFS=$as_save_IFS
                   2949:   test -z "$as_dir" && as_dir=.
                   2950:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2951:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2952:     ac_cv_prog_ac_ct_CC="gcc"
                   2953:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2954:     break 2
                   2955:   fi
                   2956: done
                   2957: done
                   2958: 
                   2959: fi
                   2960: fi
                   2961: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2962: if test -n "$ac_ct_CC"; then
                   2963:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   2964: echo "${ECHO_T}$ac_ct_CC" >&6
1.1       paf      2965: else
1.66      paf      2966:   echo "$as_me:$LINENO: result: no" >&5
                   2967: echo "${ECHO_T}no" >&6
1.62      paf      2968: fi
                   2969: 
1.66      paf      2970:   CC=$ac_ct_CC
                   2971: else
                   2972:   CC="$ac_cv_prog_CC"
1.1       paf      2973: fi
1.62      paf      2974: 
1.66      paf      2975: if test -z "$CC"; then
                   2976:   if test -n "$ac_tool_prefix"; then
                   2977:   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   2978: set dummy ${ac_tool_prefix}cc; ac_word=$2
                   2979: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2980: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2981: if test "${ac_cv_prog_CC+set}" = set; then
                   2982:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2983: else
                   2984:   if test -n "$CC"; then
                   2985:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2986: else
                   2987: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2988: for as_dir in $PATH
                   2989: do
                   2990:   IFS=$as_save_IFS
                   2991:   test -z "$as_dir" && as_dir=.
                   2992:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2993:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2994:     ac_cv_prog_CC="${ac_tool_prefix}cc"
                   2995:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2996:     break 2
                   2997:   fi
                   2998: done
                   2999: done
1.62      paf      3000: 
1.66      paf      3001: fi
                   3002: fi
                   3003: CC=$ac_cv_prog_CC
                   3004: if test -n "$CC"; then
                   3005:   echo "$as_me:$LINENO: result: $CC" >&5
                   3006: echo "${ECHO_T}$CC" >&6
1.62      paf      3007: else
1.66      paf      3008:   echo "$as_me:$LINENO: result: no" >&5
                   3009: echo "${ECHO_T}no" >&6
1.1       paf      3010: fi
                   3011: 
1.66      paf      3012: fi
                   3013: if test -z "$ac_cv_prog_CC"; then
                   3014:   ac_ct_CC=$CC
                   3015:   # Extract the first word of "cc", so it can be a program name with args.
                   3016: set dummy cc; ac_word=$2
                   3017: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   3018: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   3019: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   3020:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3021: else
                   3022:   if test -n "$ac_ct_CC"; then
                   3023:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3024: else
                   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
                   3032:     ac_cv_prog_ac_ct_CC="cc"
                   3033:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3034:     break 2
                   3035:   fi
                   3036: done
                   3037: done
1.62      paf      3038: 
1.66      paf      3039: fi
                   3040: fi
                   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.66      paf      3046:   echo "$as_me:$LINENO: result: no" >&5
                   3047: echo "${ECHO_T}no" >&6
                   3048: fi
1.62      paf      3049: 
1.66      paf      3050:   CC=$ac_ct_CC
1.1       paf      3051: else
1.66      paf      3052:   CC="$ac_cv_prog_CC"
                   3053: fi
1.62      paf      3054: 
1.1       paf      3055: fi
1.66      paf      3056: if test -z "$CC"; then
                   3057:   # Extract the first word of "cc", so it can be a program name with args.
                   3058: set dummy cc; ac_word=$2
                   3059: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   3060: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   3061: if test "${ac_cv_prog_CC+set}" = set; then
                   3062:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3063: else
                   3064:   if test -n "$CC"; then
                   3065:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3066: else
                   3067:   ac_prog_rejected=no
                   3068: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3069: for as_dir in $PATH
                   3070: do
                   3071:   IFS=$as_save_IFS
                   3072:   test -z "$as_dir" && as_dir=.
                   3073:   for ac_exec_ext in '' $ac_executable_extensions; do
                   3074:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   3075:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   3076:        ac_prog_rejected=yes
                   3077:        continue
                   3078:      fi
                   3079:     ac_cv_prog_CC="cc"
                   3080:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3081:     break 2
                   3082:   fi
                   3083: done
1.62      paf      3084: done
                   3085: 
1.66      paf      3086: if test $ac_prog_rejected = yes; then
                   3087:   # We found a bogon in the path, so make sure we never use it.
                   3088:   set dummy $ac_cv_prog_CC
                   3089:   shift
                   3090:   if test $# != 0; then
                   3091:     # We chose a different compiler from the bogus one.
                   3092:     # However, it has the same basename, so the bogon will be chosen
                   3093:     # first if we set CC to just the basename; use the full file name.
                   3094:     shift
                   3095:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   3096:   fi
                   3097: fi
                   3098: fi
                   3099: fi
                   3100: CC=$ac_cv_prog_CC
                   3101: if test -n "$CC"; then
                   3102:   echo "$as_me:$LINENO: result: $CC" >&5
                   3103: echo "${ECHO_T}$CC" >&6
                   3104: else
                   3105:   echo "$as_me:$LINENO: result: no" >&5
                   3106: echo "${ECHO_T}no" >&6
1.1       paf      3107: fi
                   3108: 
1.66      paf      3109: fi
                   3110: if test -z "$CC"; then
                   3111:   if test -n "$ac_tool_prefix"; then
                   3112:   for ac_prog in cl
1.62      paf      3113:   do
                   3114:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3115: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   3116: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   3117: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.66      paf      3118: if test "${ac_cv_prog_CC+set}" = set; then
1.62      paf      3119:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3120: else
1.66      paf      3121:   if test -n "$CC"; then
                   3122:   ac_cv_prog_CC="$CC" # Let the user override the test.
1.62      paf      3123: else
                   3124: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3125: for as_dir in $PATH
                   3126: do
                   3127:   IFS=$as_save_IFS
                   3128:   test -z "$as_dir" && as_dir=.
                   3129:   for ac_exec_ext in '' $ac_executable_extensions; do
                   3130:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      3131:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.62      paf      3132:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3133:     break 2
                   3134:   fi
                   3135: done
                   3136: done
1.1       paf      3137: 
1.62      paf      3138: fi
                   3139: fi
1.66      paf      3140: CC=$ac_cv_prog_CC
                   3141: if test -n "$CC"; then
                   3142:   echo "$as_me:$LINENO: result: $CC" >&5
                   3143: echo "${ECHO_T}$CC" >&6
1.1       paf      3144: else
1.62      paf      3145:   echo "$as_me:$LINENO: result: no" >&5
                   3146: echo "${ECHO_T}no" >&6
1.1       paf      3147: fi
                   3148: 
1.66      paf      3149:     test -n "$CC" && break
1.62      paf      3150:   done
                   3151: fi
1.66      paf      3152: if test -z "$CC"; then
                   3153:   ac_ct_CC=$CC
                   3154:   for ac_prog in cl
1.62      paf      3155: do
                   3156:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3157: set dummy $ac_prog; ac_word=$2
                   3158: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   3159: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1.66      paf      3160: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.62      paf      3161:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3162: else
1.66      paf      3163:   if test -n "$ac_ct_CC"; then
                   3164:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1       paf      3165: else
1.62      paf      3166: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3167: for as_dir in $PATH
                   3168: do
                   3169:   IFS=$as_save_IFS
                   3170:   test -z "$as_dir" && as_dir=.
                   3171:   for ac_exec_ext in '' $ac_executable_extensions; do
                   3172:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      3173:     ac_cv_prog_ac_ct_CC="$ac_prog"
1.62      paf      3174:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3175:     break 2
                   3176:   fi
                   3177: done
                   3178: done
                   3179: 
                   3180: fi
                   3181: fi
1.66      paf      3182: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3183: if test -n "$ac_ct_CC"; then
                   3184:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   3185: echo "${ECHO_T}$ac_ct_CC" >&6
1.1       paf      3186: else
1.62      paf      3187:   echo "$as_me:$LINENO: result: no" >&5
                   3188: echo "${ECHO_T}no" >&6
1.1       paf      3189: fi
                   3190: 
1.66      paf      3191:   test -n "$ac_ct_CC" && break
                   3192: done
                   3193: 
                   3194:   CC=$ac_ct_CC
                   3195: fi
                   3196: 
                   3197: fi
1.62      paf      3198: 
1.1       paf      3199: 
1.66      paf      3200: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
                   3201: See \`config.log' for more details." >&5
                   3202: echo "$as_me: error: no acceptable C compiler found in \$PATH
                   3203: See \`config.log' for more details." >&2;}
                   3204:    { (exit 1); exit 1; }; }
1.62      paf      3205: 
                   3206: # Provide some information about the compiler.
                   3207: echo "$as_me:$LINENO:" \
1.66      paf      3208:      "checking for C compiler version" >&5
1.62      paf      3209: ac_compiler=`set X $ac_compile; echo $2`
                   3210: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
                   3211:   (eval $ac_compiler --version </dev/null >&5) 2>&5
                   3212:   ac_status=$?
                   3213:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3214:   (exit $ac_status); }
                   3215: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
                   3216:   (eval $ac_compiler -v </dev/null >&5) 2>&5
                   3217:   ac_status=$?
                   3218:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3219:   (exit $ac_status); }
                   3220: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
                   3221:   (eval $ac_compiler -V </dev/null >&5) 2>&5
                   3222:   ac_status=$?
                   3223:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3224:   (exit $ac_status); }
                   3225: 
1.66      paf      3226: echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
                   3227: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
                   3228: if test "${ac_cv_c_compiler_gnu+set}" = set; then
1.62      paf      3229:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3230: else
                   3231:   cat >conftest.$ac_ext <<_ACEOF
                   3232: /* confdefs.h.  */
                   3233: _ACEOF
                   3234: cat confdefs.h >>conftest.$ac_ext
                   3235: cat >>conftest.$ac_ext <<_ACEOF
                   3236: /* end confdefs.h.  */
                   3237: 
                   3238: int
                   3239: main ()
                   3240: {
                   3241: #ifndef __GNUC__
                   3242:        choke me
                   3243: #endif
                   3244: 
                   3245:   ;
                   3246:   return 0;
                   3247: }
                   3248: _ACEOF
                   3249: rm -f conftest.$ac_objext
                   3250: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      3251:   (eval $ac_compile) 2>conftest.er1
1.62      paf      3252:   ac_status=$?
1.86      paf      3253:   grep -v '^ *+' conftest.er1 >conftest.err
                   3254:   rm -f conftest.er1
                   3255:   cat conftest.err >&5
1.62      paf      3256:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3257:   (exit $ac_status); } &&
1.86      paf      3258:         { ac_try='test -z "$ac_c_werror_flag"
                   3259:                         || test ! -s conftest.err'
                   3260:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3261:   (eval $ac_try) 2>&5
                   3262:   ac_status=$?
                   3263:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3264:   (exit $ac_status); }; } &&
                   3265:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      3266:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3267:   (eval $ac_try) 2>&5
                   3268:   ac_status=$?
                   3269:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3270:   (exit $ac_status); }; }; then
                   3271:   ac_compiler_gnu=yes
                   3272: else
                   3273:   echo "$as_me: failed program was:" >&5
                   3274: sed 's/^/| /' conftest.$ac_ext >&5
                   3275: 
                   3276: ac_compiler_gnu=no
                   3277: fi
1.86      paf      3278: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      3279: ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.62      paf      3280: 
                   3281: fi
1.66      paf      3282: echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
                   3283: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
                   3284: GCC=`test $ac_compiler_gnu = yes && echo yes`
                   3285: ac_test_CFLAGS=${CFLAGS+set}
                   3286: ac_save_CFLAGS=$CFLAGS
                   3287: CFLAGS="-g"
                   3288: echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
                   3289: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
                   3290: if test "${ac_cv_prog_cc_g+set}" = set; then
1.62      paf      3291:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3292: else
                   3293:   cat >conftest.$ac_ext <<_ACEOF
                   3294: /* confdefs.h.  */
                   3295: _ACEOF
                   3296: cat confdefs.h >>conftest.$ac_ext
                   3297: cat >>conftest.$ac_ext <<_ACEOF
                   3298: /* end confdefs.h.  */
                   3299: 
                   3300: int
                   3301: main ()
                   3302: {
                   3303: 
                   3304:   ;
                   3305:   return 0;
                   3306: }
                   3307: _ACEOF
                   3308: rm -f conftest.$ac_objext
                   3309: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      3310:   (eval $ac_compile) 2>conftest.er1
1.62      paf      3311:   ac_status=$?
1.86      paf      3312:   grep -v '^ *+' conftest.er1 >conftest.err
                   3313:   rm -f conftest.er1
                   3314:   cat conftest.err >&5
1.62      paf      3315:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3316:   (exit $ac_status); } &&
1.86      paf      3317:         { ac_try='test -z "$ac_c_werror_flag"
                   3318:                         || test ! -s conftest.err'
                   3319:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3320:   (eval $ac_try) 2>&5
                   3321:   ac_status=$?
                   3322:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3323:   (exit $ac_status); }; } &&
                   3324:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      3325:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3326:   (eval $ac_try) 2>&5
                   3327:   ac_status=$?
                   3328:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3329:   (exit $ac_status); }; }; then
1.66      paf      3330:   ac_cv_prog_cc_g=yes
1.62      paf      3331: else
                   3332:   echo "$as_me: failed program was:" >&5
                   3333: sed 's/^/| /' conftest.$ac_ext >&5
                   3334: 
1.66      paf      3335: ac_cv_prog_cc_g=no
1.62      paf      3336: fi
1.86      paf      3337: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      3338: fi
1.66      paf      3339: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
                   3340: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
                   3341: if test "$ac_test_CFLAGS" = set; then
                   3342:   CFLAGS=$ac_save_CFLAGS
                   3343: elif test $ac_cv_prog_cc_g = yes; then
                   3344:   if test "$GCC" = yes; then
                   3345:     CFLAGS="-g -O2"
1.1       paf      3346:   else
1.66      paf      3347:     CFLAGS="-g"
1.1       paf      3348:   fi
                   3349: else
1.66      paf      3350:   if test "$GCC" = yes; then
                   3351:     CFLAGS="-O2"
1.1       paf      3352:   else
1.66      paf      3353:     CFLAGS=
1.1       paf      3354:   fi
                   3355: fi
1.66      paf      3356: echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
                   3357: echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
                   3358: if test "${ac_cv_prog_cc_stdc+set}" = set; then
                   3359:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3360: else
                   3361:   ac_cv_prog_cc_stdc=no
                   3362: ac_save_CC=$CC
                   3363: cat >conftest.$ac_ext <<_ACEOF
                   3364: /* confdefs.h.  */
                   3365: _ACEOF
                   3366: cat confdefs.h >>conftest.$ac_ext
                   3367: cat >>conftest.$ac_ext <<_ACEOF
                   3368: /* end confdefs.h.  */
                   3369: #include <stdarg.h>
                   3370: #include <stdio.h>
                   3371: #include <sys/types.h>
                   3372: #include <sys/stat.h>
                   3373: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   3374: struct buf { int x; };
                   3375: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   3376: static char *e (p, i)
                   3377:      char **p;
                   3378:      int i;
                   3379: {
                   3380:   return p[i];
                   3381: }
                   3382: static char *f (char * (*g) (char **, int), char **p, ...)
                   3383: {
                   3384:   char *s;
                   3385:   va_list v;
                   3386:   va_start (v,p);
                   3387:   s = g (p, va_arg (v,int));
                   3388:   va_end (v);
                   3389:   return s;
                   3390: }
1.86      paf      3391: 
                   3392: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   3393:    function prototypes and stuff, but not '\xHH' hex character constants.
                   3394:    These don't provoke an error unfortunately, instead are silently treated
                   3395:    as 'x'.  The following induces an error, until -std1 is added to get
                   3396:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   3397:    array size at least.  It's necessary to write '\x00'==0 to get something
                   3398:    that's true only with -std1.  */
                   3399: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   3400: 
1.66      paf      3401: int test (int i, double x);
                   3402: struct s1 {int (*f) (int a);};
                   3403: struct s2 {int (*f) (double a);};
                   3404: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   3405: int argc;
                   3406: char **argv;
                   3407: int
                   3408: main ()
                   3409: {
                   3410: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   3411:   ;
                   3412:   return 0;
                   3413: }
                   3414: _ACEOF
                   3415: # Don't try gcc -ansi; that turns off useful extensions and
                   3416: # breaks some systems' header files.
                   3417: # AIX                  -qlanglvl=ansi
                   3418: # Ultrix and OSF/1     -std1
                   3419: # HP-UX 10.20 and later        -Ae
                   3420: # HP-UX older versions -Aa -D_HPUX_SOURCE
                   3421: # SVR4                 -Xc -D__EXTENSIONS__
                   3422: for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
                   3423: do
                   3424:   CC="$ac_save_CC $ac_arg"
                   3425:   rm -f conftest.$ac_objext
                   3426: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      3427:   (eval $ac_compile) 2>conftest.er1
1.66      paf      3428:   ac_status=$?
1.86      paf      3429:   grep -v '^ *+' conftest.er1 >conftest.err
                   3430:   rm -f conftest.er1
                   3431:   cat conftest.err >&5
1.66      paf      3432:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3433:   (exit $ac_status); } &&
1.86      paf      3434:         { ac_try='test -z "$ac_c_werror_flag"
                   3435:                         || test ! -s conftest.err'
                   3436:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3437:   (eval $ac_try) 2>&5
                   3438:   ac_status=$?
                   3439:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3440:   (exit $ac_status); }; } &&
                   3441:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      3442:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3443:   (eval $ac_try) 2>&5
                   3444:   ac_status=$?
                   3445:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3446:   (exit $ac_status); }; }; then
                   3447:   ac_cv_prog_cc_stdc=$ac_arg
                   3448: break
                   3449: else
                   3450:   echo "$as_me: failed program was:" >&5
                   3451: sed 's/^/| /' conftest.$ac_ext >&5
                   3452: 
                   3453: fi
1.86      paf      3454: rm -f conftest.err conftest.$ac_objext
1.66      paf      3455: done
                   3456: rm -f conftest.$ac_ext conftest.$ac_objext
                   3457: CC=$ac_save_CC
                   3458: 
                   3459: fi
                   3460: 
                   3461: case "x$ac_cv_prog_cc_stdc" in
                   3462:   x|xno)
                   3463:     echo "$as_me:$LINENO: result: none needed" >&5
                   3464: echo "${ECHO_T}none needed" >&6 ;;
                   3465:   *)
                   3466:     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
                   3467: echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
                   3468:     CC="$CC $ac_cv_prog_cc_stdc" ;;
                   3469: esac
                   3470: 
                   3471: # Some people use a C++ compiler to compile C.  Since we use `exit',
                   3472: # in C++ we need to declare it.  In case someone uses the same compiler
                   3473: # for both compiling C and C++ we need to have the C++ compiler decide
                   3474: # the declaration of exit, since it's the most demanding environment.
                   3475: cat >conftest.$ac_ext <<_ACEOF
                   3476: #ifndef __cplusplus
                   3477:   choke me
                   3478: #endif
                   3479: _ACEOF
                   3480: rm -f conftest.$ac_objext
                   3481: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      3482:   (eval $ac_compile) 2>conftest.er1
1.66      paf      3483:   ac_status=$?
1.86      paf      3484:   grep -v '^ *+' conftest.er1 >conftest.err
                   3485:   rm -f conftest.er1
                   3486:   cat conftest.err >&5
1.66      paf      3487:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3488:   (exit $ac_status); } &&
1.86      paf      3489:         { ac_try='test -z "$ac_c_werror_flag"
                   3490:                         || test ! -s conftest.err'
                   3491:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3492:   (eval $ac_try) 2>&5
                   3493:   ac_status=$?
                   3494:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3495:   (exit $ac_status); }; } &&
                   3496:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      3497:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3498:   (eval $ac_try) 2>&5
                   3499:   ac_status=$?
                   3500:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3501:   (exit $ac_status); }; }; then
                   3502:   for ac_declaration in \
1.86      paf      3503:    '' \
1.62      paf      3504:    'extern "C" void std::exit (int) throw (); using std::exit;' \
                   3505:    'extern "C" void std::exit (int); using std::exit;' \
                   3506:    'extern "C" void exit (int) throw ();' \
                   3507:    'extern "C" void exit (int);' \
                   3508:    'void exit (int);'
                   3509: do
                   3510:   cat >conftest.$ac_ext <<_ACEOF
                   3511: /* confdefs.h.  */
                   3512: _ACEOF
                   3513: cat confdefs.h >>conftest.$ac_ext
                   3514: cat >>conftest.$ac_ext <<_ACEOF
                   3515: /* end confdefs.h.  */
1.86      paf      3516: $ac_declaration
1.62      paf      3517: #include <stdlib.h>
                   3518: int
                   3519: main ()
                   3520: {
                   3521: exit (42);
                   3522:   ;
                   3523:   return 0;
                   3524: }
                   3525: _ACEOF
                   3526: rm -f conftest.$ac_objext
                   3527: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      3528:   (eval $ac_compile) 2>conftest.er1
1.62      paf      3529:   ac_status=$?
1.86      paf      3530:   grep -v '^ *+' conftest.er1 >conftest.err
                   3531:   rm -f conftest.er1
                   3532:   cat conftest.err >&5
1.62      paf      3533:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3534:   (exit $ac_status); } &&
1.86      paf      3535:         { ac_try='test -z "$ac_c_werror_flag"
                   3536:                         || test ! -s conftest.err'
                   3537:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3538:   (eval $ac_try) 2>&5
                   3539:   ac_status=$?
                   3540:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3541:   (exit $ac_status); }; } &&
                   3542:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      3543:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3544:   (eval $ac_try) 2>&5
                   3545:   ac_status=$?
                   3546:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3547:   (exit $ac_status); }; }; then
                   3548:   :
                   3549: else
                   3550:   echo "$as_me: failed program was:" >&5
                   3551: sed 's/^/| /' conftest.$ac_ext >&5
                   3552: 
                   3553: continue
                   3554: fi
1.86      paf      3555: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      3556:   cat >conftest.$ac_ext <<_ACEOF
                   3557: /* confdefs.h.  */
                   3558: _ACEOF
                   3559: cat confdefs.h >>conftest.$ac_ext
                   3560: cat >>conftest.$ac_ext <<_ACEOF
                   3561: /* end confdefs.h.  */
                   3562: $ac_declaration
                   3563: int
                   3564: main ()
                   3565: {
                   3566: exit (42);
                   3567:   ;
                   3568:   return 0;
                   3569: }
                   3570: _ACEOF
                   3571: rm -f conftest.$ac_objext
                   3572: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      3573:   (eval $ac_compile) 2>conftest.er1
1.62      paf      3574:   ac_status=$?
1.86      paf      3575:   grep -v '^ *+' conftest.er1 >conftest.err
                   3576:   rm -f conftest.er1
                   3577:   cat conftest.err >&5
1.62      paf      3578:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3579:   (exit $ac_status); } &&
1.86      paf      3580:         { ac_try='test -z "$ac_c_werror_flag"
                   3581:                         || test ! -s conftest.err'
                   3582:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3583:   (eval $ac_try) 2>&5
                   3584:   ac_status=$?
                   3585:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3586:   (exit $ac_status); }; } &&
                   3587:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      3588:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3589:   (eval $ac_try) 2>&5
                   3590:   ac_status=$?
                   3591:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3592:   (exit $ac_status); }; }; then
                   3593:   break
                   3594: else
                   3595:   echo "$as_me: failed program was:" >&5
                   3596: sed 's/^/| /' conftest.$ac_ext >&5
                   3597: 
                   3598: fi
1.86      paf      3599: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      3600: done
                   3601: rm -f conftest*
                   3602: if test -n "$ac_declaration"; then
                   3603:   echo '#ifdef __cplusplus' >>confdefs.h
                   3604:   echo $ac_declaration      >>confdefs.h
                   3605:   echo '#endif'             >>confdefs.h
                   3606: fi
                   3607: 
1.66      paf      3608: else
                   3609:   echo "$as_me: failed program was:" >&5
                   3610: sed 's/^/| /' conftest.$ac_ext >&5
                   3611: 
                   3612: fi
1.86      paf      3613: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      3614: ac_ext=c
                   3615: ac_cpp='$CPP $CPPFLAGS'
                   3616: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3617: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3618: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3619: 
1.66      paf      3620: depcc="$CC"   am_compiler_list=
1.62      paf      3621: 
                   3622: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
                   3623: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
1.66      paf      3624: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
1.62      paf      3625:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3626: else
                   3627:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   3628:   # We make a subdir and do the tests there.  Otherwise we can end up
                   3629:   # making bogus files that we don't know about and never remove.  For
                   3630:   # instance it was reported that on HP-UX the gcc test will end up
                   3631:   # making a dummy file named `D' -- because `-MD' means `put the output
                   3632:   # in D'.
                   3633:   mkdir conftest.dir
                   3634:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   3635:   # using a relative directory.
                   3636:   cp "$am_depcomp" conftest.dir
                   3637:   cd conftest.dir
1.86      paf      3638:   # We will build objects and dependencies in a subdirectory because
                   3639:   # it helps to detect inapplicable dependency modes.  For instance
                   3640:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   3641:   # side effect of compilation, but ICC will put the dependencies in
                   3642:   # the current directory while Tru64 will put them in the object
                   3643:   # directory.
                   3644:   mkdir sub
1.62      paf      3645: 
1.66      paf      3646:   am_cv_CC_dependencies_compiler_type=none
1.62      paf      3647:   if test "$am_compiler_list" = ""; then
                   3648:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   3649:   fi
                   3650:   for depmode in $am_compiler_list; do
1.86      paf      3651:     # Setup a source with many dependencies, because some compilers
                   3652:     # like to wrap large dependency lists on column 80 (with \), and
                   3653:     # we should not choose a depcomp mode which is confused by this.
                   3654:     #
1.62      paf      3655:     # We need to recreate these files for each test, as the compiler may
                   3656:     # overwrite some of them when testing with obscure command lines.
                   3657:     # This happens at least with the AIX C compiler.
1.86      paf      3658:     : > sub/conftest.c
                   3659:     for i in 1 2 3 4 5 6; do
                   3660:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   3661:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   3662:       # Solaris 8's {/usr,}/bin/sh.
                   3663:       touch sub/conftst$i.h
                   3664:     done
                   3665:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.62      paf      3666: 
                   3667:     case $depmode in
                   3668:     nosideeffect)
                   3669:       # after this tag, mechanisms are not by side-effect, so they'll
                   3670:       # only be used when explicitly requested
                   3671:       if test "x$enable_dependency_tracking" = xyes; then
                   3672:        continue
                   3673:       else
                   3674:        break
                   3675:       fi
                   3676:       ;;
                   3677:     none) break ;;
                   3678:     esac
                   3679:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   3680:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   3681:     # handle `-M -o', and we need to detect this.
1.66      paf      3682:     if depmode=$depmode \
1.86      paf      3683:        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
                   3684:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   3685:        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
                   3686:          >/dev/null 2>conftest.err &&
                   3687:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   3688:        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.66      paf      3689:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.86      paf      3690:       # icc doesn't choke on unknown options, it will just issue warnings
                   3691:       # or remarks (even with -Werror).  So we grep stderr for any message
                   3692:       # that says an option was ignored or not supported.
                   3693:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   3694:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   3695:       # The diagnosis changed in icc 8.0:
                   3696:       #   icc: Command line remark: option '-MP' not supported
                   3697:       if (grep 'ignoring option' conftest.err ||
                   3698:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   3699:         am_cv_CC_dependencies_compiler_type=$depmode
                   3700:         break
                   3701:       fi
1.66      paf      3702:     fi
                   3703:   done
                   3704: 
                   3705:   cd ..
                   3706:   rm -rf conftest.dir
                   3707: else
                   3708:   am_cv_CC_dependencies_compiler_type=none
                   3709: fi
                   3710: 
                   3711: fi
                   3712: echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
                   3713: echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
                   3714: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   3715: 
                   3716: 
                   3717: 
                   3718: if
                   3719:   test "x$enable_dependency_tracking" != xno \
                   3720:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   3721:   am__fastdepCC_TRUE=
                   3722:   am__fastdepCC_FALSE='#'
                   3723: else
                   3724:   am__fastdepCC_TRUE='#'
                   3725:   am__fastdepCC_FALSE=
                   3726: fi
                   3727: 
                   3728: 
                   3729: ac_ext=c
                   3730: ac_cpp='$CPP $CPPFLAGS'
                   3731: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3732: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3733: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3734: 
1.67      paf      3735: 
1.66      paf      3736: echo "$as_me:$LINENO: checking for inline" >&5
                   3737: echo $ECHO_N "checking for inline... $ECHO_C" >&6
                   3738: if test "${ac_cv_c_inline+set}" = set; then
                   3739:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3740: else
                   3741:   ac_cv_c_inline=no
                   3742: for ac_kw in inline __inline__ __inline; do
                   3743:   cat >conftest.$ac_ext <<_ACEOF
                   3744: /* confdefs.h.  */
                   3745: _ACEOF
                   3746: cat confdefs.h >>conftest.$ac_ext
                   3747: cat >>conftest.$ac_ext <<_ACEOF
                   3748: /* end confdefs.h.  */
                   3749: #ifndef __cplusplus
                   3750: typedef int foo_t;
                   3751: static $ac_kw foo_t static_foo () {return 0; }
                   3752: $ac_kw foo_t foo () {return 0; }
                   3753: #endif
1.62      paf      3754: 
1.66      paf      3755: _ACEOF
                   3756: rm -f conftest.$ac_objext
                   3757: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      3758:   (eval $ac_compile) 2>conftest.er1
1.66      paf      3759:   ac_status=$?
1.86      paf      3760:   grep -v '^ *+' conftest.er1 >conftest.err
                   3761:   rm -f conftest.er1
                   3762:   cat conftest.err >&5
1.66      paf      3763:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3764:   (exit $ac_status); } &&
1.86      paf      3765:         { ac_try='test -z "$ac_c_werror_flag"
                   3766:                         || test ! -s conftest.err'
                   3767:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3768:   (eval $ac_try) 2>&5
                   3769:   ac_status=$?
                   3770:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3771:   (exit $ac_status); }; } &&
                   3772:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      3773:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3774:   (eval $ac_try) 2>&5
                   3775:   ac_status=$?
                   3776:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3777:   (exit $ac_status); }; }; then
                   3778:   ac_cv_c_inline=$ac_kw; break
1.62      paf      3779: else
1.66      paf      3780:   echo "$as_me: failed program was:" >&5
                   3781: sed 's/^/| /' conftest.$ac_ext >&5
1.62      paf      3782: 
                   3783: fi
1.86      paf      3784: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      3785: done
1.62      paf      3786: 
                   3787: fi
1.66      paf      3788: echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
                   3789: echo "${ECHO_T}$ac_cv_c_inline" >&6
1.86      paf      3790: 
                   3791: 
1.66      paf      3792: case $ac_cv_c_inline in
                   3793:   inline | yes) ;;
1.86      paf      3794:   *)
                   3795:     case $ac_cv_c_inline in
                   3796:       no) ac_val=;;
                   3797:       *) ac_val=$ac_cv_c_inline;;
                   3798:     esac
                   3799:     cat >>confdefs.h <<_ACEOF
                   3800: #ifndef __cplusplus
                   3801: #define inline $ac_val
                   3802: #endif
1.66      paf      3803: _ACEOF
1.86      paf      3804:     ;;
1.66      paf      3805: esac
1.1       paf      3806: 
1.71      paf      3807: 
                   3808: 
                   3809: 
                   3810: # Check whether --with-build-warnings or --without-build-warnings was given.
                   3811: if test "${with_build_warnings+set}" = set; then
                   3812:   withval="$with_build_warnings"
                   3813:   { echo "$as_me:$LINENO: WARNING: enabling compiler warnings" >&5
                   3814: echo "$as_me: WARNING: enabling compiler warnings" >&2;}
                   3815:        CXXFLAGS="$CXXFLAGS -W -Wall -Wstrict-prototypes -Wmissing-prototypes"
                   3816: 
                   3817: fi;
1.1       paf      3818: 
                   3819: 
1.67      paf      3820: 
                   3821: # Check whether --with-assertions or --without-assertions was given.
                   3822: if test "${with_assertions+set}" = set; then
                   3823:   withval="$with_assertions"
                   3824:   { echo "$as_me:$LINENO: WARNING: enabling assertions" >&5
                   3825: echo "$as_me: WARNING: enabling assertions" >&2;}
                   3826: 
                   3827: else
                   3828: 
                   3829: cat >>confdefs.h <<\_ACEOF
                   3830: #define NDEBUG
                   3831: _ACEOF
                   3832: 
                   3833: 
                   3834: fi;
                   3835: 
1.94      misha    3836: 
1.60      paf      3837: # Check whether --enable-safe-mode or --disable-safe-mode was given.
                   3838: if test "${enable_safe_mode+set}" = set; then
                   3839:   enableval="$enable_safe_mode"
1.62      paf      3840: 
1.67      paf      3841:        SAFE_MODE=$enableval
1.60      paf      3842: 
1.1       paf      3843: 
1.62      paf      3844: fi;
1.60      paf      3845: if test "$SAFE_MODE" = "no"; then
1.62      paf      3846:        { echo "$as_me:$LINENO: WARNING: enabling reading of files belonging to group+user other then effective" >&5
                   3847: echo "$as_me: WARNING: enabling reading of files belonging to group+user other then effective" >&2;}
1.60      paf      3848: else
1.62      paf      3849: 
                   3850: cat >>confdefs.h <<\_ACEOF
                   3851: #define PA_SAFE_MODE
                   3852: _ACEOF
1.1       paf      3853: 
                   3854: fi
                   3855: 
1.94      misha    3856: 
1.13      paf      3857: # Check whether --enable-execs or --disable-execs was given.
                   3858: if test "${enable_execs+set}" = set; then
                   3859:   enableval="$enable_execs"
1.62      paf      3860: 
1.13      paf      3861: if test "$enableval" = "no"; then
1.62      paf      3862:        { echo "$as_me:$LINENO: WARNING: disabling file execs" >&5
                   3863: echo "$as_me: WARNING: disabling file execs" >&2;}
                   3864: 
                   3865: cat >>confdefs.h <<\_ACEOF
                   3866: #define NO_PA_EXECS
                   3867: _ACEOF
1.13      paf      3868: 
                   3869: fi
                   3870: 
                   3871: 
1.62      paf      3872: fi;
1.13      paf      3873: 
1.60      paf      3874: 
1.94      misha    3875: # Check whether --enable-stringstream or --disable-stringstream was given.
                   3876: if test "${enable_stringstream+set}" = set; then
                   3877:   enableval="$enable_stringstream"
                   3878: 
                   3879: if test "$enableval" = "no"; then
                   3880:        { echo "$as_me:$LINENO: WARNING: disabling stringstream usage" >&5
                   3881: echo "$as_me: WARNING: disabling stringstream usage" >&2;}
                   3882: 
                   3883: cat >>confdefs.h <<\_ACEOF
                   3884: #define NO_STRINGSTREAM
                   3885: _ACEOF
                   3886: 
                   3887: fi
                   3888: 
                   3889: 
                   3890: fi;
                   3891: 
                   3892: 
1.18      paf      3893: srccharsetsdir=$srcdir/etc/parser3.charsets
1.17      paf      3894: CHARSETS_REQUESTED="windows-1251"
1.62      paf      3895: 
1.17      paf      3896: # Check whether --with-charsets or --without-charsets was given.
                   3897: if test "${with_charsets+set}" = set; then
                   3898:   withval="$with_charsets"
                   3899:   CHARSETS_REQUESTED=`echo $withval | sed -e 's/,/ /g'`
1.62      paf      3900: fi;
1.17      paf      3901: 
1.18      paf      3902: # Checking whether all requested charsets have corresponding .cfg files
                   3903: for c in $CHARSETS_REQUESTED; do
                   3904:        if test \! -f $srccharsetsdir/$c.cfg; then
1.62      paf      3905:                { { echo "$as_me:$LINENO: error: bad charset requested \"$c\" - file $srccharsetsdir/$c.cfg not found" >&5
                   3906: echo "$as_me: error: bad charset requested \"$c\" - file $srccharsetsdir/$c.cfg not found" >&2;}
                   3907:    { (exit 1); exit 1; }; }
1.18      paf      3908:        fi
                   3909: done
1.17      paf      3910: 
1.18      paf      3911: # Switching on commentcharset_XXX='#'
1.17      paf      3912: 
                   3913: 
                   3914:        commentcharset_windows1251='#'
1.18      paf      3915:        for c in $CHARSETS_REQUESTED; do
1.17      paf      3916:                if test "windows-1251" = "$c"; then
1.62      paf      3917:                        { echo "$as_me:$LINENO: WARNING: enabling charset windows-1251" >&5
                   3918: echo "$as_me: WARNING: enabling charset windows-1251" >&2;}
1.18      paf      3919:                        commentcharset_windows1251=
1.17      paf      3920:                fi
                   3921:        done
1.62      paf      3922: 
1.17      paf      3923: 
                   3924: 
                   3925:        commentcharset_windows1250='#'
1.18      paf      3926:        for c in $CHARSETS_REQUESTED; do
1.17      paf      3927:                if test "windows-1250" = "$c"; then
1.62      paf      3928:                        { echo "$as_me:$LINENO: WARNING: enabling charset windows-1250" >&5
                   3929: echo "$as_me: WARNING: enabling charset windows-1250" >&2;}
1.18      paf      3930:                        commentcharset_windows1250=
1.17      paf      3931:                fi
                   3932:        done
1.62      paf      3933: 
1.17      paf      3934: 
                   3935: 
                   3936:        commentcharset_windows1257='#'
1.18      paf      3937:        for c in $CHARSETS_REQUESTED; do
1.17      paf      3938:                if test "windows-1257" = "$c"; then
1.62      paf      3939:                        { echo "$as_me:$LINENO: WARNING: enabling charset windows-1257" >&5
                   3940: echo "$as_me: WARNING: enabling charset windows-1257" >&2;}
1.18      paf      3941:                        commentcharset_windows1257=
1.17      paf      3942:                fi
                   3943:        done
1.62      paf      3944: 
1.17      paf      3945: 
                   3946: 
                   3947:        commentcharset_koi8r='#'
1.18      paf      3948:        for c in $CHARSETS_REQUESTED; do
1.17      paf      3949:                if test "koi8-r" = "$c"; then
1.62      paf      3950:                        { echo "$as_me:$LINENO: WARNING: enabling charset koi8-r" >&5
                   3951: echo "$as_me: WARNING: enabling charset koi8-r" >&2;}
1.18      paf      3952:                        commentcharset_koi8r=
1.17      paf      3953:                fi
                   3954:        done
                   3955: 
                   3956: 
                   3957: 
1.62      paf      3958: 
                   3959: echo "$as_me:$LINENO: checking for dynamic-link library extension" >&5
                   3960: echo $ECHO_N "checking for dynamic-link library extension... $ECHO_C" >&6
1.40      paf      3961: case "$host_os" in
                   3962: hpux9* | hpux10* | hpux11*)
1.67      paf      3963:        dll_extension=sl
                   3964:        ;;
1.40      paf      3965: cygwin)
1.67      paf      3966:        dll_extension=dll
                   3967:        ;;
1.40      paf      3968: *)
1.67      paf      3969:        dll_extension=so
1.40      paf      3970: esac
1.62      paf      3971: echo "$as_me:$LINENO: result: $dll_extension" >&5
                   3972: echo "${ECHO_T}$dll_extension" >&6
                   3973: 
1.40      paf      3974: 
                   3975: 
1.17      paf      3976: # Check whether --with-mysql-client or --without-mysql-client was given.
                   3977: if test "${with_mysql_client+set}" = set; then
                   3978:   withval="$with_mysql_client"
                   3979:   mysql_client=$withval
                   3980: 
                   3981: else
1.62      paf      3982:   echo "$as_me:$LINENO: checking for mysql client" >&5
                   3983: echo $ECHO_N "checking for mysql client... $ECHO_C" >&6
1.17      paf      3984:        for lib in \
1.40      paf      3985:                /usr/local/lib/mysql/libmysqlclient.$dll_extension \
                   3986:                /usr/local/lib/libmysqlclient.$dll_extension \
                   3987:                /usr/lib/libmysqlclient.$dll_extension; do
1.17      paf      3988:                if test -f $lib; then mysql_client=$lib; fi
                   3989:        done
                   3990: 
                   3991:        if test -z "$mysql_client"; then
                   3992:                mysql_client="-configure could not guess-"
1.66      paf      3993:                echo "$as_me:$LINENO: result: could not guess" >&5
                   3994: echo "${ECHO_T}could not guess" >&6
1.17      paf      3995:        else
1.62      paf      3996:                echo "$as_me:$LINENO: result: $mysql_client" >&5
                   3997: echo "${ECHO_T}$mysql_client" >&6
1.17      paf      3998:        fi
                   3999: 
                   4000: 
1.62      paf      4001: fi;
1.17      paf      4002: 
                   4003: 
                   4004: 
1.92      misha    4005: 
1.17      paf      4006: # Check whether --with-pgsql-client or --without-pgsql-client was given.
                   4007: if test "${with_pgsql_client+set}" = set; then
                   4008:   withval="$with_pgsql_client"
1.92      misha    4009:   pgsql_client=$withval
1.17      paf      4010: 
                   4011: else
1.62      paf      4012:   echo "$as_me:$LINENO: checking for pgsql client" >&5
                   4013: echo $ECHO_N "checking for pgsql client... $ECHO_C" >&6
1.17      paf      4014:        for lib in \
1.40      paf      4015:                /usr/local/pgsql/lib/libpq.$dll_extension \
                   4016:                /usr/local/lib/libpq.$dll_extension \
                   4017:                /usr/lib/libpq.$dll_extension; do
1.17      paf      4018:                if test -f $lib; then pgsql_client=$lib; fi
                   4019:        done
                   4020: 
                   4021:        if test -z "$pgsql_client"; then
                   4022:                pgsql_client="-configure could not guess-"
1.66      paf      4023:                echo "$as_me:$LINENO: result: could not guess" >&5
                   4024: echo "${ECHO_T}could not guess" >&6
1.17      paf      4025:        else
1.62      paf      4026:                echo "$as_me:$LINENO: result: $pgsql_client" >&5
                   4027: echo "${ECHO_T}$pgsql_client" >&6
1.17      paf      4028:        fi
                   4029: 
                   4030: 
1.62      paf      4031: fi;
1.17      paf      4032: 
                   4033: 
                   4034: 
1.92      misha    4035: 
1.17      paf      4036: # Check whether --with-oracle-client or --without-oracle-client was given.
                   4037: if test "${with_oracle_client+set}" = set; then
                   4038:   withval="$with_oracle_client"
                   4039:   oracle_client=$withval
                   4040: 
                   4041: else
1.62      paf      4042:   echo "$as_me:$LINENO: checking for oracle client" >&5
                   4043: echo $ECHO_N "checking for oracle client... $ECHO_C" >&6
1.40      paf      4044:        lib=$ORACLE_HOME/lib/libclntsh.$dll_extension
1.17      paf      4045:        if test -f $lib; then oracle_client=$lib; fi
                   4046: 
                   4047:        if test -z "$oracle_client"; then
                   4048:                oracle_client="-configure could not guess-"
1.66      paf      4049:                echo "$as_me:$LINENO: result: could not guess" >&5
                   4050: echo "${ECHO_T}could not guess" >&6
1.17      paf      4051:        else
                   4052:                oracle_client="$oracle_client?ORACLE_HOME=$ORACLE_HOME&ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data"
1.62      paf      4053:                echo "$as_me:$LINENO: result: $oracle_client" >&5
                   4054: echo "${ECHO_T}$oracle_client" >&6
1.17      paf      4055:        fi
                   4056: 
                   4057: 
1.62      paf      4058: fi;
1.17      paf      4059: 
                   4060: 
                   4061: 
                   4062: 
1.92      misha    4063: # Check whether --with-sqlite-client or --without-sqlite-client was given.
                   4064: if test "${with_sqlite_client+set}" = set; then
                   4065:   withval="$with_sqlite_client"
                   4066:   sqlite_client=$withval
                   4067: 
                   4068: else
                   4069:   echo "$as_me:$LINENO: checking for sqlite_client client" >&5
                   4070: echo $ECHO_N "checking for sqlite_client client... $ECHO_C" >&6
                   4071:        for lib in \
                   4072:                /usr/local/sqlite/lib/sqlite3.$dll_extension \
                   4073:                /usr/local/lib/sqlite3.$dll_extension \
                   4074:                /usr/lib/sqlite3.$dll_extension; do
                   4075:                if test -f $lib; then sqlite_client=$lib; fi
                   4076:        done
                   4077: 
                   4078:        if test -z "$sqlite_client"; then
                   4079:                sqlite_client="-configure could not guess-"
                   4080:                echo "$as_me:$LINENO: result: could not guess" >&5
                   4081: echo "${ECHO_T}could not guess" >&6
                   4082:        else
                   4083:                echo "$as_me:$LINENO: result: $sqlite_client" >&5
                   4084: echo "${ECHO_T}$sqlite_client" >&6
                   4085:        fi
                   4086: 
                   4087: 
                   4088: fi;
                   4089: 
                   4090: 
                   4091: 
                   4092: 
1.14      paf      4093: 
1.1       paf      4094: # Check whether --with-pathlink or --without-pathlink was given.
                   4095: if test "${with_pathlink+set}" = set; then
                   4096:   withval="$with_pathlink"
                   4097:   LD_PATHLINK=$withval
                   4098: 
1.62      paf      4099: fi;
1.1       paf      4100: 
1.67      paf      4101: # Check whether --with-dynamic-stdcpp or --without-dynamic-stdcpp was given.
                   4102: if test "${with_dynamic_stdcpp+set}" = set; then
                   4103:   withval="$with_dynamic_stdcpp"
1.59      paf      4104: 
1.67      paf      4105:        { echo "$as_me:$LINENO: WARNING: libstdc++ will be linked dynamically: this is probably incompatible with other platforms" >&5
                   4106: echo "$as_me: WARNING: libstdc++ will be linked dynamically: this is probably incompatible with other platforms" >&2;}
                   4107:        # this is for apache, it's linked with gcc and need to know
                   4108:        # and it would not harm linking with c++ toolchain
                   4109:        CPP_LIBS="-lstdc++"
1.59      paf      4110: 
                   4111: else
                   4112: 
1.67      paf      4113:        CPP_LIBS="-Wl,-Bstatic -lstdc++ -Wl,-Bdynamic"
1.59      paf      4114: 
1.67      paf      4115: fi;
1.59      paf      4116: 
1.62      paf      4117: 
                   4118: 
1.37      paf      4119: # Check whether --with-sjlj-exceptions or --without-sjlj-exceptions was given.
                   4120: if test "${with_sjlj_exceptions+set}" = set; then
                   4121:   withval="$with_sjlj_exceptions"
1.62      paf      4122: 
                   4123: cat >>confdefs.h <<\_ACEOF
                   4124: #define PA_WITH_SJLJ_EXCEPTIONS
                   4125: _ACEOF
1.37      paf      4126: 
                   4127: 
1.62      paf      4128: fi;
1.37      paf      4129: 
1.67      paf      4130: GC_LIB_NAME=gc
                   4131: 
                   4132: # Check whether --with-shared-gc or --without-shared-gc was given.
                   4133: if test "${with_shared_gc+set}" = set; then
                   4134:   withval="$with_shared_gc"
                   4135: 
                   4136:        GC_LIBS="-L$withval -l$GC_LIB_NAME"
                   4137: 
                   4138: fi;
                   4139: 
                   4140: # Check whether --with-static-gc or --without-static-gc was given.
                   4141: if test "${with_static_gc+set}" = set; then
                   4142:   withval="$with_static_gc"
                   4143: 
1.122     moko     4144:        GC_LIBS="$withval/lib$GC_LIB_NAME.a"
1.67      paf      4145: 
                   4146: fi;
                   4147: if test -z "$GC_LIBS"; then
                   4148:        #undefined? use any found in system
                   4149:        GC_LIBS="-l$GC_LIB_NAME"
                   4150:        { echo "$as_me:$LINENO: WARNING: neither --with-shared/static-gc were specified, hoping linker would find it" >&5
                   4151: echo "$as_me: WARNING: neither --with-shared/static-gc were specified, hoping linker would find it" >&2;}
                   4152: fi
                   4153: 
                   4154: echo "$as_me:$LINENO: checking for libgc" >&5
                   4155: echo $ECHO_N "checking for libgc... $ECHO_C" >&6
                   4156: SAVE_LIBS=$LIBS
                   4157: LIBS="$LIBS $GC_LIBS"
                   4158: cat >conftest.$ac_ext <<_ACEOF
                   4159: /* confdefs.h.  */
                   4160: _ACEOF
                   4161: cat confdefs.h >>conftest.$ac_ext
                   4162: cat >>conftest.$ac_ext <<_ACEOF
                   4163: /* end confdefs.h.  */
                   4164: 
                   4165:        extern int GC_dont_gc;
                   4166: 
                   4167: int
                   4168: main ()
                   4169: {
                   4170: 
                   4171:        GC_dont_gc=0;
                   4172: 
                   4173:   ;
                   4174:   return 0;
                   4175: }
                   4176: _ACEOF
                   4177: rm -f conftest.$ac_objext conftest$ac_exeext
                   4178: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      4179:   (eval $ac_link) 2>conftest.er1
1.67      paf      4180:   ac_status=$?
1.86      paf      4181:   grep -v '^ *+' conftest.er1 >conftest.err
                   4182:   rm -f conftest.er1
                   4183:   cat conftest.err >&5
1.67      paf      4184:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4185:   (exit $ac_status); } &&
1.86      paf      4186:         { ac_try='test -z "$ac_c_werror_flag"
                   4187:                         || test ! -s conftest.err'
                   4188:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4189:   (eval $ac_try) 2>&5
                   4190:   ac_status=$?
                   4191:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4192:   (exit $ac_status); }; } &&
                   4193:         { ac_try='test -s conftest$ac_exeext'
1.67      paf      4194:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4195:   (eval $ac_try) 2>&5
                   4196:   ac_status=$?
                   4197:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4198:   (exit $ac_status); }; }; then
                   4199:   echo "$as_me:$LINENO: result: yes" >&5
                   4200: echo "${ECHO_T}yes" >&6
                   4201: 
                   4202: else
                   4203:   echo "$as_me: failed program was:" >&5
                   4204: sed 's/^/| /' conftest.$ac_ext >&5
                   4205: 
                   4206: echo "$as_me:$LINENO: result: no" >&5
                   4207: echo "${ECHO_T}no" >&6
                   4208:        { { echo "$as_me:$LINENO: error: please specify path to libgc: --with-shared-gc OR --with-static-gc" >&5
                   4209: echo "$as_me: error: please specify path to libgc: --with-shared-gc OR --with-static-gc" >&2;}
                   4210:    { (exit 1); exit 1; }; }
                   4211: 
                   4212: fi
1.86      paf      4213: rm -f conftest.err conftest.$ac_objext \
                   4214:       conftest$ac_exeext conftest.$ac_ext
1.67      paf      4215: 
                   4216: LIBS=$SAVE_LIBS
                   4217: 
1.1       paf      4218: 
1.15      paf      4219: 
1.100     misha    4220: # Check whether --with-static-pcre or --without-static-pcre was given.
                   4221: if test "${with_static_pcre+set}" = set; then
                   4222:   withval="$with_static_pcre"
                   4223: 
                   4224:        PCRE=$withval
                   4225:        PCREINC="$PCRE/include"
                   4226:        PCRELIB="$PCRE/lib"
                   4227: 
                   4228:        if test \! -d $PCREINC -o \! -d $PCRELIB; then
                   4229:                { { echo "$as_me:$LINENO: error: $PCRE does not seem to be valid PCRE installation directory" >&5
                   4230: echo "$as_me: error: $PCRE does not seem to be valid PCRE installation directory" >&2;}
                   4231:    { (exit 1); exit 1; }; }
                   4232:        fi
                   4233: 
                   4234:        PCRE_INCLUDES="-I$PCREINC"
                   4235:        PCRE_LIBS="$PCRELIB/libpcre.a"
                   4236: 
                   4237: fi;
                   4238: 
                   4239: 
                   4240: 
                   4241: 
                   4242: 
1.66      paf      4243: # Check whether --with-shared-xml or --without-shared-xml was given.
                   4244: if test "${with_shared_xml+set}" = set; then
                   4245:   withval="$with_shared_xml"
                   4246: 
1.67      paf      4247:        GNOME_XML=$withval
                   4248:        XMLBIN="$GNOME_XML/bin"
                   4249:        XMLINC="$GNOME_XML/include"
                   4250:        XMLLIB="$GNOME_XML/lib"
1.66      paf      4251: 
1.67      paf      4252:        if test \! -d $XMLBIN -o \! -d $XMLINC -o \! -d $XMLLIB; then
                   4253:                { { echo "$as_me:$LINENO: error: $GNOME_XML does not seem to be valid Gnome installation directory" >&5
1.66      paf      4254: echo "$as_me: error: $GNOME_XML does not seem to be valid Gnome installation directory" >&2;}
                   4255:    { (exit 1); exit 1; }; }
1.67      paf      4256:        fi
1.66      paf      4257: 
                   4258: 
                   4259: cat >>confdefs.h <<\_ACEOF
                   4260: #define XML
                   4261: _ACEOF
                   4262: 
                   4263: 
1.67      paf      4264:        LIBXML2_SO_NAME=`cd $XMLLIB ; ls libxml2.?? libxml2.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'`
                   4265:        LIBXSLT_SO_NAME=`cd $XMLLIB ; ls libxslt.?? libxslt.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'`
                   4266:        LIBEXSLT_SO_NAME=`cd $XMLLIB ; ls libexslt.?? libexslt.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'`
                   4267: 
1.90      paf      4268:        XML_INCLUDES="$GLIB_CFLAGS -I$XMLINC -I$XMLINC/libxml2"
                   4269:        XML_LIBS="-L$XMLLIB -l$LIBXML2_SO_NAME -l$LIBXSLT_SO_NAME -l$LIBEXSLT_SO_NAME"
1.67      paf      4270:        if test \! -z "$LD_PATHLINK"; then
1.66      paf      4271:        XML_LIBS="$XML_LIBS -Wl,$LD_PATHLINK -Wl,$XMLLIB"
1.67      paf      4272:        fi
1.66      paf      4273: 
                   4274: fi;
                   4275: 
                   4276: # Check whether --with-static-xml or --without-static-xml was given.
                   4277: if test "${with_static_xml+set}" = set; then
                   4278:   withval="$with_static_xml"
                   4279: 
1.67      paf      4280:        GNOME_XML=$withval
                   4281:        XMLBIN="$GNOME_XML/bin"
                   4282:        XMLINC="$GNOME_XML/include"
                   4283:        XMLLIB="$GNOME_XML/lib"
1.66      paf      4284: 
1.67      paf      4285:        if test \! -d $XMLBIN -o \! -d $XMLINC -o \! -d $XMLLIB; then
                   4286:                { { echo "$as_me:$LINENO: error: $GNOME_XML does not seem to be valid Gnome installation directory" >&5
1.66      paf      4287: echo "$as_me: error: $GNOME_XML does not seem to be valid Gnome installation directory" >&2;}
                   4288:    { (exit 1); exit 1; }; }
1.67      paf      4289:        fi
1.66      paf      4290: 
                   4291: 
                   4292: cat >>confdefs.h <<\_ACEOF
                   4293: #define XML
                   4294: _ACEOF
                   4295: 
                   4296: 
1.90      paf      4297:        XML_INCLUDES="$GLIB_CFLAGS -I$XMLINC -I$XMLINC/libxml2"
                   4298:        XML_LIBS="$XMLLIB/libxslt.a $XMLLIB/libexslt.a $XMLLIB/libxml2.a"
                   4299: 
                   4300: fi;
1.66      paf      4301: 
                   4302: 
                   4303: 
                   4304: 
1.119     misha    4305: # Check whether --with-curl or --without-curl was given.
                   4306: if test "${with_curl+set}" = set; then
                   4307:   withval="$with_curl"
                   4308: 
                   4309:        CURLINC=$withval
                   4310: 
                   4311:        if test \! -d $CURLINC -o \! -r $CURLINC/curl.h; then
                   4312:                { { echo "$as_me:$LINENO: error: $CURLINC does not seem to be valid curl includes directory" >&5
                   4313: echo "$as_me: error: $CURLINC does not seem to be valid curl includes directory" >&2;}
                   4314:    { (exit 1); exit 1; }; }
                   4315:        fi
                   4316: 
                   4317: 
                   4318: cat >>confdefs.h <<\_ACEOF
                   4319: #define HAVE_CURL
                   4320: _ACEOF
                   4321: 
                   4322: 
1.120     misha    4323:        CURL_INCLUDES="-I$CURLINC -I$CURLINC/../"
1.119     misha    4324: 
                   4325: fi;
                   4326: 
                   4327: 
                   4328: 
1.90      paf      4329: # Check whether --with-glib-config or --without-glib-config was given.
                   4330: if test "${with_glib_config+set}" = set; then
                   4331:   withval="$with_glib_config"
                   4332:   GLIB_CONFIG=$withval
                   4333: 
                   4334: fi;
1.66      paf      4335: 
                   4336: 
                   4337: # Check whether --with-shared-mailreceive or --without-shared-mailreceive was given.
                   4338: if test "${with_shared_mailreceive+set}" = set; then
                   4339:   withval="$with_shared_mailreceive"
                   4340: 
1.67      paf      4341:        GNOME_MIME=$withval
                   4342:        MIMEBIN="$GNOME_MIME/bin"
                   4343:        MIMEINC="$GNOME_MIME/include"
                   4344:        MIMELIB="$GNOME_MIME/lib"
1.66      paf      4345: 
1.67      paf      4346:        if test \! -d $MIMEBIN -o \! -d $MIMEINC -o \! -d $MIMELIB; then
                   4347:                { { echo "$as_me:$LINENO: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&5
1.66      paf      4348: echo "$as_me: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&2;}
                   4349:    { (exit 1); exit 1; }; }
1.67      paf      4350:        fi
1.66      paf      4351: 
                   4352: 
                   4353: cat >>confdefs.h <<\_ACEOF
                   4354: #define WITH_MAILRECEIVE
                   4355: _ACEOF
                   4356: 
                   4357: 
1.67      paf      4358:        LIBMIME_SO_NAME=`cd $MIMELIB ; ls libgmime.?? libgmime.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'`
1.66      paf      4359: 
1.67      paf      4360:        if test -z "$GLIB_CONFIG"; then
1.90      paf      4361:                GLIB_CONFIG=$XMLBIN/glib-config
1.67      paf      4362:                if test \! -x $GLIB_CONFIG; then
1.90      paf      4363:                        GLIB_CONFIG=$XMLBIN/glib2-config
                   4364:                        if test \! -x $GLIB_CONFIG; then
                   4365:                                GLIB_CONFIG=glib-config
                   4366:                        fi
1.67      paf      4367:                fi
                   4368:        fi
                   4369:        GLIB_CFLAGS=`$GLIB_CONFIG --cflags`
                   4370:        GLIB_LIBS=`$GLIB_CONFIG --libs`
1.66      paf      4371: 
1.67      paf      4372:        MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime"
                   4373:        MIME_LIBS="$GLIB_LIBS -L$MIMELIB -l$LIBMIME_SO_NAME"
                   4374:        if test \! -z "$LD_PATHLINK"; then
1.66      paf      4375:        MIME_LIBS="$MIME_LIBS -Wl,$LD_PATHLINK -Wl,$MIMELIB"
1.67      paf      4376:        fi
1.66      paf      4377: 
                   4378: fi;
                   4379: 
                   4380: # Check whether --with-static-mailreceive or --without-static-mailreceive was given.
                   4381: if test "${with_static_mailreceive+set}" = set; then
                   4382:   withval="$with_static_mailreceive"
                   4383: 
1.67      paf      4384:        GNOME_MIME=$withval
                   4385:        MIMEBIN="$GNOME_MIME/bin"
                   4386:        MIMEINC="$GNOME_MIME/include"
                   4387:        MIMELIB="$GNOME_MIME/lib"
1.66      paf      4388: 
1.67      paf      4389:        if test \! -d $MIMEBIN -o \! -d $MIMEINC -o \! -d $MIMELIB; then
                   4390:                { { echo "$as_me:$LINENO: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&5
1.66      paf      4391: echo "$as_me: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&2;}
                   4392:    { (exit 1); exit 1; }; }
1.67      paf      4393:        fi
1.66      paf      4394: 
                   4395: 
                   4396: cat >>confdefs.h <<\_ACEOF
                   4397: #define WITH_MAILRECEIVE
                   4398: _ACEOF
                   4399: 
                   4400: 
1.67      paf      4401:        if test -z "$GLIB_CONFIG"; then
1.90      paf      4402:                GLIB_CONFIG=$XMLBIN/glib-config
1.67      paf      4403:                if test \! -x $GLIB_CONFIG; then
1.90      paf      4404:                        GLIB_CONFIG=$XMLBIN/glib2-config
                   4405:                        if test \! -x $GLIB_CONFIG; then
                   4406:                                GLIB_CONFIG=glib-config
                   4407:                        fi
1.67      paf      4408:                fi
                   4409:        fi
                   4410:        GLIB_CFLAGS=`$GLIB_CONFIG --cflags`
1.66      paf      4411: 
1.67      paf      4412:        GLIB_DIR=`$GLIB_CONFIG --libs | sed 's/.*-L\([^ ]*\).*/\1/'`
                   4413:        GLIB_NAME=`$GLIB_CONFIG --libs | sed 's/.*-l\([^ ]*\).*/\1/'`
                   4414:        MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime"
                   4415:        MIME_LIBS="$MIMELIB/libgmime.a $GLIB_DIR/lib$GLIB_NAME.a"
1.66      paf      4416: 
                   4417: fi;
                   4418: 
                   4419: 
                   4420: 
                   4421: 
                   4422: 
                   4423: # Check whether --with-sendmail or --without-sendmail was given.
                   4424: if test "${with_sendmail+set}" = set; then
                   4425:   withval="$with_sendmail"
                   4426: 
                   4427: cat >>confdefs.h <<_ACEOF
                   4428: #define PA_FORCED_SENDMAIL "$withval"
                   4429: _ACEOF
                   4430: 
                   4431: 
                   4432: fi;
                   4433: 
                   4434: 
                   4435: 
1.122     moko     4436: # Check whether --with-apache or --without-apache was given.
                   4437: if test "${with_apache+set}" = set; then
                   4438:   withval="$with_apache"
                   4439: 
                   4440:        APXS=$withval
                   4441: 
                   4442:        if test -z "$APXS" -o "$APXS" = "yes"; then
                   4443:                APXS=`which apxs 2>/dev/null`
                   4444:        fi;
                   4445: 
                   4446:        APACHE=`$APXS -q TARGET 2>/dev/null`
                   4447: 
                   4448:        if test -z "$APACHE"; then
                   4449:                { { echo "$as_me:$LINENO: error: $APXS does not seem to be valid apache apxs utility path" >&5
                   4450: echo "$as_me: error: $APXS does not seem to be valid apache apxs utility path" >&2;}
1.66      paf      4451:    { (exit 1); exit 1; }; }
1.67      paf      4452:        fi
1.7       paf      4453: 
1.122     moko     4454:        APACHE_MAIN_INC=`$APXS -q INCLUDEDIR`
                   4455:        APACHE_EXTRA_INC=`$APXS -q EXTRA_INCLUDES 2>/dev/null`
                   4456:        APACHE_INC="-I$APACHE_MAIN_INC $APACHE_EXTRA_INC"
                   4457:        APACHE_CFLAGS=`$APXS -q CFLAGS`
                   4458: 
1.62      paf      4459: fi;
1.7       paf      4460: 
                   4461: 
1.62      paf      4462: 
1.122     moko     4463: 
                   4464: 
                   4465: if test -n "$APACHE"; then
                   4466:   COMPILE_APACHE_MODULE_TRUE=
                   4467:   COMPILE_APACHE_MODULE_FALSE='#'
1.66      paf      4468: else
1.122     moko     4469:   COMPILE_APACHE_MODULE_TRUE='#'
                   4470:   COMPILE_APACHE_MODULE_FALSE=
1.66      paf      4471: fi
1.1       paf      4472: 
                   4473: 
                   4474: 
1.66      paf      4475:   LIBLTDL='${top_builddir}/'src/lib/ltdl/libltdlc.a
                   4476:   INCLTDL='-I${top_srcdir}/'src/lib/ltdl
1.62      paf      4477: 
                   4478: 
1.7       paf      4479: 
1.1       paf      4480: 
                   4481: 
                   4482: 
1.66      paf      4483: subdirs="$subdirs src/lib/ltdl"
1.62      paf      4484: 
1.10      paf      4485: 
1.66      paf      4486: LIBADD_DL=
1.10      paf      4487: 
1.62      paf      4488: 
1.66      paf      4489: echo "$as_me:$LINENO: checking for shl_load" >&5
                   4490: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
                   4491: if test "${ac_cv_func_shl_load+set}" = set; then
                   4492:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4493: else
                   4494:   cat >conftest.$ac_ext <<_ACEOF
                   4495: /* confdefs.h.  */
1.62      paf      4496: _ACEOF
1.66      paf      4497: cat confdefs.h >>conftest.$ac_ext
                   4498: cat >>conftest.$ac_ext <<_ACEOF
                   4499: /* end confdefs.h.  */
1.86      paf      4500: /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
                   4501:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   4502: #define shl_load innocuous_shl_load
                   4503: 
1.66      paf      4504: /* System header to define __stub macros and hopefully few prototypes,
                   4505:     which can conflict with char shl_load (); below.
                   4506:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   4507:     <limits.h> exists even on freestanding compilers.  */
1.86      paf      4508: 
1.66      paf      4509: #ifdef __STDC__
                   4510: # include <limits.h>
                   4511: #else
                   4512: # include <assert.h>
                   4513: #endif
1.86      paf      4514: 
                   4515: #undef shl_load
                   4516: 
1.66      paf      4517: /* Override any gcc2 internal prototype to avoid an error.  */
                   4518: #ifdef __cplusplus
                   4519: extern "C"
                   4520: {
                   4521: #endif
                   4522: /* We use char because int might match the return type of a gcc2
                   4523:    builtin and then its argument prototype would still apply.  */
                   4524: char shl_load ();
                   4525: /* The GNU C library defines this for functions which it implements
                   4526:     to always fail with ENOSYS.  Some functions are actually named
                   4527:     something starting with __ and the normal name is an alias.  */
                   4528: #if defined (__stub_shl_load) || defined (__stub___shl_load)
                   4529: choke me
                   4530: #else
                   4531: char (*f) () = shl_load;
                   4532: #endif
                   4533: #ifdef __cplusplus
                   4534: }
                   4535: #endif
1.10      paf      4536: 
1.66      paf      4537: int
                   4538: main ()
                   4539: {
                   4540: return f != shl_load;
                   4541:   ;
                   4542:   return 0;
                   4543: }
                   4544: _ACEOF
                   4545: rm -f conftest.$ac_objext conftest$ac_exeext
                   4546: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      4547:   (eval $ac_link) 2>conftest.er1
1.66      paf      4548:   ac_status=$?
1.86      paf      4549:   grep -v '^ *+' conftest.er1 >conftest.err
                   4550:   rm -f conftest.er1
                   4551:   cat conftest.err >&5
1.66      paf      4552:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4553:   (exit $ac_status); } &&
1.86      paf      4554:         { ac_try='test -z "$ac_c_werror_flag"
                   4555:                         || test ! -s conftest.err'
                   4556:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4557:   (eval $ac_try) 2>&5
                   4558:   ac_status=$?
                   4559:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4560:   (exit $ac_status); }; } &&
                   4561:         { ac_try='test -s conftest$ac_exeext'
1.66      paf      4562:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4563:   (eval $ac_try) 2>&5
                   4564:   ac_status=$?
                   4565:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4566:   (exit $ac_status); }; }; then
                   4567:   ac_cv_func_shl_load=yes
                   4568: else
                   4569:   echo "$as_me: failed program was:" >&5
                   4570: sed 's/^/| /' conftest.$ac_ext >&5
1.10      paf      4571: 
1.66      paf      4572: ac_cv_func_shl_load=no
                   4573: fi
1.86      paf      4574: rm -f conftest.err conftest.$ac_objext \
                   4575:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      4576: fi
                   4577: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
                   4578: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
                   4579: if test $ac_cv_func_shl_load = yes; then
1.10      paf      4580: 
1.66      paf      4581: cat >>confdefs.h <<\_ACEOF
                   4582: #define HAVE_SHL_LOAD 1
                   4583: _ACEOF
1.10      paf      4584: 
1.66      paf      4585: else
                   4586:   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
                   4587: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
                   4588: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
                   4589:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4590: else
                   4591:   ac_check_lib_save_LIBS=$LIBS
                   4592: LIBS="-ldld  $LIBS"
                   4593: cat >conftest.$ac_ext <<_ACEOF
                   4594: /* confdefs.h.  */
                   4595: _ACEOF
                   4596: cat confdefs.h >>conftest.$ac_ext
                   4597: cat >>conftest.$ac_ext <<_ACEOF
                   4598: /* end confdefs.h.  */
1.10      paf      4599: 
1.66      paf      4600: /* Override any gcc2 internal prototype to avoid an error.  */
                   4601: #ifdef __cplusplus
                   4602: extern "C"
                   4603: #endif
                   4604: /* We use char because int might match the return type of a gcc2
                   4605:    builtin and then its argument prototype would still apply.  */
                   4606: char shl_load ();
                   4607: int
                   4608: main ()
                   4609: {
                   4610: shl_load ();
                   4611:   ;
                   4612:   return 0;
                   4613: }
                   4614: _ACEOF
                   4615: rm -f conftest.$ac_objext conftest$ac_exeext
                   4616: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      4617:   (eval $ac_link) 2>conftest.er1
1.66      paf      4618:   ac_status=$?
1.86      paf      4619:   grep -v '^ *+' conftest.er1 >conftest.err
                   4620:   rm -f conftest.er1
                   4621:   cat conftest.err >&5
1.66      paf      4622:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4623:   (exit $ac_status); } &&
1.86      paf      4624:         { ac_try='test -z "$ac_c_werror_flag"
                   4625:                         || test ! -s conftest.err'
                   4626:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4627:   (eval $ac_try) 2>&5
                   4628:   ac_status=$?
                   4629:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4630:   (exit $ac_status); }; } &&
                   4631:         { ac_try='test -s conftest$ac_exeext'
1.66      paf      4632:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4633:   (eval $ac_try) 2>&5
                   4634:   ac_status=$?
                   4635:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4636:   (exit $ac_status); }; }; then
                   4637:   ac_cv_lib_dld_shl_load=yes
                   4638: else
                   4639:   echo "$as_me: failed program was:" >&5
                   4640: sed 's/^/| /' conftest.$ac_ext >&5
1.10      paf      4641: 
1.66      paf      4642: ac_cv_lib_dld_shl_load=no
                   4643: fi
1.86      paf      4644: rm -f conftest.err conftest.$ac_objext \
                   4645:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      4646: LIBS=$ac_check_lib_save_LIBS
                   4647: fi
                   4648: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
                   4649: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
                   4650: if test $ac_cv_lib_dld_shl_load = yes; then
1.1       paf      4651: 
1.66      paf      4652: cat >>confdefs.h <<\_ACEOF
                   4653: #define HAVE_SHL_LOAD 1
                   4654: _ACEOF
1.1       paf      4655: 
1.66      paf      4656:        LIBADD_DL="$LIBADD_DL -ldld"
                   4657: else
                   4658:   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
                   4659: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
                   4660: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
                   4661:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4662: else
                   4663:   ac_check_lib_save_LIBS=$LIBS
                   4664: LIBS="-ldl  $LIBS"
                   4665: cat >conftest.$ac_ext <<_ACEOF
                   4666: /* confdefs.h.  */
                   4667: _ACEOF
                   4668: cat confdefs.h >>conftest.$ac_ext
                   4669: cat >>conftest.$ac_ext <<_ACEOF
                   4670: /* end confdefs.h.  */
1.62      paf      4671: 
1.66      paf      4672: /* Override any gcc2 internal prototype to avoid an error.  */
                   4673: #ifdef __cplusplus
                   4674: extern "C"
                   4675: #endif
                   4676: /* We use char because int might match the return type of a gcc2
                   4677:    builtin and then its argument prototype would still apply.  */
                   4678: char dlopen ();
                   4679: int
                   4680: main ()
                   4681: {
                   4682: dlopen ();
                   4683:   ;
                   4684:   return 0;
                   4685: }
                   4686: _ACEOF
                   4687: rm -f conftest.$ac_objext conftest$ac_exeext
                   4688: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      4689:   (eval $ac_link) 2>conftest.er1
1.66      paf      4690:   ac_status=$?
1.86      paf      4691:   grep -v '^ *+' conftest.er1 >conftest.err
                   4692:   rm -f conftest.er1
                   4693:   cat conftest.err >&5
1.66      paf      4694:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4695:   (exit $ac_status); } &&
1.86      paf      4696:         { ac_try='test -z "$ac_c_werror_flag"
                   4697:                         || test ! -s conftest.err'
                   4698:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4699:   (eval $ac_try) 2>&5
                   4700:   ac_status=$?
                   4701:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4702:   (exit $ac_status); }; } &&
                   4703:         { ac_try='test -s conftest$ac_exeext'
1.66      paf      4704:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4705:   (eval $ac_try) 2>&5
                   4706:   ac_status=$?
                   4707:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4708:   (exit $ac_status); }; }; then
                   4709:   ac_cv_lib_dl_dlopen=yes
                   4710: else
                   4711:   echo "$as_me: failed program was:" >&5
                   4712: sed 's/^/| /' conftest.$ac_ext >&5
1.29      paf      4713: 
1.66      paf      4714: ac_cv_lib_dl_dlopen=no
                   4715: fi
1.86      paf      4716: rm -f conftest.err conftest.$ac_objext \
                   4717:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      4718: LIBS=$ac_check_lib_save_LIBS
                   4719: fi
                   4720: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
                   4721: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
                   4722: if test $ac_cv_lib_dl_dlopen = yes; then
1.29      paf      4723: 
1.62      paf      4724: cat >>confdefs.h <<\_ACEOF
1.66      paf      4725: #define HAVE_LIBDL 1
1.62      paf      4726: _ACEOF
                   4727: 
1.66      paf      4728:          LIBADD_DL="-ldl"
                   4729: else
                   4730:   cat >conftest.$ac_ext <<_ACEOF
                   4731: /* confdefs.h.  */
                   4732: _ACEOF
                   4733: cat confdefs.h >>conftest.$ac_ext
                   4734: cat >>conftest.$ac_ext <<_ACEOF
                   4735: /* end confdefs.h.  */
                   4736: #if HAVE_DLFCN_H
                   4737: #  include <dlfcn.h>
                   4738: #endif
1.62      paf      4739: 
1.66      paf      4740: int
                   4741: main ()
                   4742: {
                   4743: dlopen(0, 0);
                   4744:   ;
                   4745:   return 0;
                   4746: }
                   4747: _ACEOF
                   4748: rm -f conftest.$ac_objext conftest$ac_exeext
                   4749: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      4750:   (eval $ac_link) 2>conftest.er1
1.66      paf      4751:   ac_status=$?
1.86      paf      4752:   grep -v '^ *+' conftest.er1 >conftest.err
                   4753:   rm -f conftest.er1
                   4754:   cat conftest.err >&5
1.66      paf      4755:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4756:   (exit $ac_status); } &&
1.86      paf      4757:         { ac_try='test -z "$ac_c_werror_flag"
                   4758:                         || test ! -s conftest.err'
                   4759:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4760:   (eval $ac_try) 2>&5
                   4761:   ac_status=$?
                   4762:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4763:   (exit $ac_status); }; } &&
                   4764:         { ac_try='test -s conftest$ac_exeext'
1.66      paf      4765:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4766:   (eval $ac_try) 2>&5
                   4767:   ac_status=$?
                   4768:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4769:   (exit $ac_status); }; }; then
1.29      paf      4770: 
1.66      paf      4771: cat >>confdefs.h <<\_ACEOF
                   4772: #define HAVE_LIBDL 1
                   4773: _ACEOF
1.29      paf      4774: 
1.66      paf      4775: else
                   4776:   echo "$as_me: failed program was:" >&5
                   4777: sed 's/^/| /' conftest.$ac_ext >&5
1.29      paf      4778: 
1.66      paf      4779: echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
                   4780: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
                   4781: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
                   4782:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4783: else
                   4784:   ac_check_lib_save_LIBS=$LIBS
                   4785: LIBS="-lsvld  $LIBS"
                   4786: cat >conftest.$ac_ext <<_ACEOF
                   4787: /* confdefs.h.  */
                   4788: _ACEOF
                   4789: cat confdefs.h >>conftest.$ac_ext
                   4790: cat >>conftest.$ac_ext <<_ACEOF
                   4791: /* end confdefs.h.  */
1.29      paf      4792: 
1.66      paf      4793: /* Override any gcc2 internal prototype to avoid an error.  */
                   4794: #ifdef __cplusplus
                   4795: extern "C"
                   4796: #endif
                   4797: /* We use char because int might match the return type of a gcc2
                   4798:    builtin and then its argument prototype would still apply.  */
                   4799: char dlopen ();
                   4800: int
                   4801: main ()
                   4802: {
                   4803: dlopen ();
                   4804:   ;
                   4805:   return 0;
                   4806: }
                   4807: _ACEOF
                   4808: rm -f conftest.$ac_objext conftest$ac_exeext
                   4809: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      4810:   (eval $ac_link) 2>conftest.er1
1.66      paf      4811:   ac_status=$?
1.86      paf      4812:   grep -v '^ *+' conftest.er1 >conftest.err
                   4813:   rm -f conftest.er1
                   4814:   cat conftest.err >&5
1.66      paf      4815:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4816:   (exit $ac_status); } &&
1.86      paf      4817:         { ac_try='test -z "$ac_c_werror_flag"
                   4818:                         || test ! -s conftest.err'
                   4819:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4820:   (eval $ac_try) 2>&5
                   4821:   ac_status=$?
                   4822:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4823:   (exit $ac_status); }; } &&
                   4824:         { ac_try='test -s conftest$ac_exeext'
1.66      paf      4825:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4826:   (eval $ac_try) 2>&5
                   4827:   ac_status=$?
                   4828:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4829:   (exit $ac_status); }; }; then
                   4830:   ac_cv_lib_svld_dlopen=yes
                   4831: else
                   4832:   echo "$as_me: failed program was:" >&5
                   4833: sed 's/^/| /' conftest.$ac_ext >&5
1.29      paf      4834: 
1.66      paf      4835: ac_cv_lib_svld_dlopen=no
                   4836: fi
1.86      paf      4837: rm -f conftest.err conftest.$ac_objext \
                   4838:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      4839: LIBS=$ac_check_lib_save_LIBS
                   4840: fi
                   4841: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
                   4842: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
                   4843: if test $ac_cv_lib_svld_dlopen = yes; then
1.62      paf      4844: 
                   4845: cat >>confdefs.h <<\_ACEOF
1.66      paf      4846: #define HAVE_LIBDL 1
1.62      paf      4847: _ACEOF
1.29      paf      4848: 
1.66      paf      4849:              LIBADD_DL="-lsvld"
                   4850: else
                   4851:   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
                   4852: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
                   4853: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
                   4854:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4855: else
                   4856:   ac_check_lib_save_LIBS=$LIBS
                   4857: LIBS="-ldld  $LIBS"
                   4858: cat >conftest.$ac_ext <<_ACEOF
                   4859: /* confdefs.h.  */
                   4860: _ACEOF
                   4861: cat confdefs.h >>conftest.$ac_ext
                   4862: cat >>conftest.$ac_ext <<_ACEOF
                   4863: /* end confdefs.h.  */
1.29      paf      4864: 
1.66      paf      4865: /* Override any gcc2 internal prototype to avoid an error.  */
                   4866: #ifdef __cplusplus
                   4867: extern "C"
                   4868: #endif
                   4869: /* We use char because int might match the return type of a gcc2
                   4870:    builtin and then its argument prototype would still apply.  */
                   4871: char dld_link ();
                   4872: int
                   4873: main ()
                   4874: {
                   4875: dld_link ();
                   4876:   ;
                   4877:   return 0;
                   4878: }
                   4879: _ACEOF
                   4880: rm -f conftest.$ac_objext conftest$ac_exeext
                   4881: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      4882:   (eval $ac_link) 2>conftest.er1
1.66      paf      4883:   ac_status=$?
1.86      paf      4884:   grep -v '^ *+' conftest.er1 >conftest.err
                   4885:   rm -f conftest.er1
                   4886:   cat conftest.err >&5
1.66      paf      4887:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4888:   (exit $ac_status); } &&
1.86      paf      4889:         { ac_try='test -z "$ac_c_werror_flag"
                   4890:                         || test ! -s conftest.err'
                   4891:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4892:   (eval $ac_try) 2>&5
                   4893:   ac_status=$?
                   4894:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4895:   (exit $ac_status); }; } &&
                   4896:         { ac_try='test -s conftest$ac_exeext'
1.66      paf      4897:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4898:   (eval $ac_try) 2>&5
                   4899:   ac_status=$?
                   4900:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4901:   (exit $ac_status); }; }; then
                   4902:   ac_cv_lib_dld_dld_link=yes
                   4903: else
                   4904:   echo "$as_me: failed program was:" >&5
                   4905: sed 's/^/| /' conftest.$ac_ext >&5
1.29      paf      4906: 
1.66      paf      4907: ac_cv_lib_dld_dld_link=no
                   4908: fi
1.86      paf      4909: rm -f conftest.err conftest.$ac_objext \
                   4910:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      4911: LIBS=$ac_check_lib_save_LIBS
                   4912: fi
                   4913: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
                   4914: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
                   4915: if test $ac_cv_lib_dld_dld_link = yes; then
1.29      paf      4916: 
1.66      paf      4917: cat >>confdefs.h <<\_ACEOF
                   4918: #define HAVE_DLD 1
1.62      paf      4919: _ACEOF
1.16      paf      4920: 
1.66      paf      4921:                LIBADD_DL="$LIBADD_DL -ldld"
1.16      paf      4922: 
1.66      paf      4923: fi
1.16      paf      4924: 
                   4925: 
1.66      paf      4926: fi
1.12      paf      4927: 
                   4928: 
1.66      paf      4929: fi
1.86      paf      4930: rm -f conftest.err conftest.$ac_objext \
                   4931:       conftest$ac_exeext conftest.$ac_ext
1.12      paf      4932: 
                   4933: fi
                   4934: 
                   4935: 
1.66      paf      4936: fi
1.62      paf      4937: 
1.1       paf      4938: 
1.66      paf      4939: fi
1.1       paf      4940: 
                   4941: 
1.66      paf      4942: if test "x$ac_cv_func_dlopen" = xyes || test "x$ac_cv_lib_dl_dlopen" = xyes; then
                   4943:  LIBS_SAVE="$LIBS"
                   4944:  LIBS="$LIBS $LIBADD_DL"
1.1       paf      4945: 
1.66      paf      4946: for ac_func in dlerror
                   4947: do
                   4948: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   4949: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   4950: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   4951: if eval "test \"\${$as_ac_var+set}\" = set"; then
1.62      paf      4952:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      4953: else
1.64      paf      4954:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      4955: /* confdefs.h.  */
                   4956: _ACEOF
                   4957: cat confdefs.h >>conftest.$ac_ext
                   4958: cat >>conftest.$ac_ext <<_ACEOF
                   4959: /* end confdefs.h.  */
1.86      paf      4960: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   4961:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   4962: #define $ac_func innocuous_$ac_func
                   4963: 
1.64      paf      4964: /* System header to define __stub macros and hopefully few prototypes,
1.66      paf      4965:     which can conflict with char $ac_func (); below.
1.64      paf      4966:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   4967:     <limits.h> exists even on freestanding compilers.  */
1.86      paf      4968: 
1.64      paf      4969: #ifdef __STDC__
                   4970: # include <limits.h>
                   4971: #else
                   4972: # include <assert.h>
                   4973: #endif
1.86      paf      4974: 
                   4975: #undef $ac_func
                   4976: 
1.8       paf      4977: /* Override any gcc2 internal prototype to avoid an error.  */
                   4978: #ifdef __cplusplus
                   4979: extern "C"
1.64      paf      4980: {
1.8       paf      4981: #endif
                   4982: /* We use char because int might match the return type of a gcc2
1.62      paf      4983:    builtin and then its argument prototype would still apply.  */
1.66      paf      4984: char $ac_func ();
1.64      paf      4985: /* The GNU C library defines this for functions which it implements
                   4986:     to always fail with ENOSYS.  Some functions are actually named
                   4987:     something starting with __ and the normal name is an alias.  */
1.66      paf      4988: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1.64      paf      4989: choke me
                   4990: #else
1.66      paf      4991: char (*f) () = $ac_func;
1.64      paf      4992: #endif
                   4993: #ifdef __cplusplus
                   4994: }
                   4995: #endif
                   4996: 
1.62      paf      4997: int
                   4998: main ()
                   4999: {
1.66      paf      5000: return f != $ac_func;
1.62      paf      5001:   ;
                   5002:   return 0;
                   5003: }
                   5004: _ACEOF
                   5005: rm -f conftest.$ac_objext conftest$ac_exeext
                   5006: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      5007:   (eval $ac_link) 2>conftest.er1
1.62      paf      5008:   ac_status=$?
1.86      paf      5009:   grep -v '^ *+' conftest.er1 >conftest.err
                   5010:   rm -f conftest.er1
                   5011:   cat conftest.err >&5
1.62      paf      5012:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5013:   (exit $ac_status); } &&
1.86      paf      5014:         { ac_try='test -z "$ac_c_werror_flag"
                   5015:                         || test ! -s conftest.err'
                   5016:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5017:   (eval $ac_try) 2>&5
                   5018:   ac_status=$?
                   5019:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5020:   (exit $ac_status); }; } &&
                   5021:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      5022:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5023:   (eval $ac_try) 2>&5
                   5024:   ac_status=$?
                   5025:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5026:   (exit $ac_status); }; }; then
1.66      paf      5027:   eval "$as_ac_var=yes"
1.62      paf      5028: else
                   5029:   echo "$as_me: failed program was:" >&5
                   5030: sed 's/^/| /' conftest.$ac_ext >&5
                   5031: 
1.66      paf      5032: eval "$as_ac_var=no"
1.62      paf      5033: fi
1.86      paf      5034: rm -f conftest.err conftest.$ac_objext \
                   5035:       conftest$ac_exeext conftest.$ac_ext
1.62      paf      5036: fi
1.66      paf      5037: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   5038: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   5039: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   5040:   cat >>confdefs.h <<_ACEOF
                   5041: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   5042: _ACEOF
                   5043: 
                   5044: fi
                   5045: done
                   5046: 
                   5047:  LIBS="$LIBS_SAVE"
                   5048: fi
                   5049: 
                   5050: 
1.64      paf      5051: 
                   5052: 
1.79      paf      5053: echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
                   5054: echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
                   5055: if test "${ac_cv_c_bigendian+set}" = set; then
                   5056:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5057: else
                   5058:   # See if sys/param.h defines the BYTE_ORDER macro.
                   5059: cat >conftest.$ac_ext <<_ACEOF
                   5060: /* confdefs.h.  */
                   5061: _ACEOF
                   5062: cat confdefs.h >>conftest.$ac_ext
                   5063: cat >>conftest.$ac_ext <<_ACEOF
                   5064: /* end confdefs.h.  */
                   5065: #include <sys/types.h>
                   5066: #include <sys/param.h>
                   5067: 
                   5068: int
                   5069: main ()
                   5070: {
                   5071: #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
                   5072:  bogus endian macros
                   5073: #endif
                   5074: 
                   5075:   ;
                   5076:   return 0;
                   5077: }
                   5078: _ACEOF
                   5079: rm -f conftest.$ac_objext
                   5080: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      5081:   (eval $ac_compile) 2>conftest.er1
1.79      paf      5082:   ac_status=$?
1.86      paf      5083:   grep -v '^ *+' conftest.er1 >conftest.err
                   5084:   rm -f conftest.er1
                   5085:   cat conftest.err >&5
1.79      paf      5086:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5087:   (exit $ac_status); } &&
1.86      paf      5088:         { ac_try='test -z "$ac_c_werror_flag"
                   5089:                         || test ! -s conftest.err'
                   5090:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5091:   (eval $ac_try) 2>&5
                   5092:   ac_status=$?
                   5093:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5094:   (exit $ac_status); }; } &&
                   5095:         { ac_try='test -s conftest.$ac_objext'
1.79      paf      5096:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5097:   (eval $ac_try) 2>&5
                   5098:   ac_status=$?
                   5099:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5100:   (exit $ac_status); }; }; then
                   5101:   # It does; now see whether it defined to BIG_ENDIAN or not.
                   5102: cat >conftest.$ac_ext <<_ACEOF
                   5103: /* confdefs.h.  */
                   5104: _ACEOF
                   5105: cat confdefs.h >>conftest.$ac_ext
                   5106: cat >>conftest.$ac_ext <<_ACEOF
                   5107: /* end confdefs.h.  */
                   5108: #include <sys/types.h>
                   5109: #include <sys/param.h>
                   5110: 
                   5111: int
                   5112: main ()
                   5113: {
                   5114: #if BYTE_ORDER != BIG_ENDIAN
                   5115:  not big endian
                   5116: #endif
                   5117: 
                   5118:   ;
                   5119:   return 0;
                   5120: }
                   5121: _ACEOF
                   5122: rm -f conftest.$ac_objext
                   5123: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      5124:   (eval $ac_compile) 2>conftest.er1
1.79      paf      5125:   ac_status=$?
1.86      paf      5126:   grep -v '^ *+' conftest.er1 >conftest.err
                   5127:   rm -f conftest.er1
                   5128:   cat conftest.err >&5
1.79      paf      5129:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5130:   (exit $ac_status); } &&
1.86      paf      5131:         { ac_try='test -z "$ac_c_werror_flag"
                   5132:                         || test ! -s conftest.err'
                   5133:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5134:   (eval $ac_try) 2>&5
                   5135:   ac_status=$?
                   5136:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5137:   (exit $ac_status); }; } &&
                   5138:         { ac_try='test -s conftest.$ac_objext'
1.79      paf      5139:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5140:   (eval $ac_try) 2>&5
                   5141:   ac_status=$?
                   5142:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5143:   (exit $ac_status); }; }; then
                   5144:   ac_cv_c_bigendian=yes
                   5145: else
                   5146:   echo "$as_me: failed program was:" >&5
                   5147: sed 's/^/| /' conftest.$ac_ext >&5
                   5148: 
                   5149: ac_cv_c_bigendian=no
                   5150: fi
1.86      paf      5151: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.79      paf      5152: else
                   5153:   echo "$as_me: failed program was:" >&5
                   5154: sed 's/^/| /' conftest.$ac_ext >&5
                   5155: 
                   5156: # It does not; compile a test program.
                   5157: if test "$cross_compiling" = yes; then
                   5158:   # try to guess the endianness by grepping values into an object file
                   5159:   ac_cv_c_bigendian=unknown
                   5160:   cat >conftest.$ac_ext <<_ACEOF
                   5161: /* confdefs.h.  */
                   5162: _ACEOF
                   5163: cat confdefs.h >>conftest.$ac_ext
                   5164: cat >>conftest.$ac_ext <<_ACEOF
                   5165: /* end confdefs.h.  */
                   5166: short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
                   5167: short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
                   5168: void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
                   5169: short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
                   5170: short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
                   5171: void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
                   5172: int
                   5173: main ()
                   5174: {
                   5175:  _ascii (); _ebcdic ();
                   5176:   ;
                   5177:   return 0;
                   5178: }
                   5179: _ACEOF
                   5180: rm -f conftest.$ac_objext
                   5181: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      5182:   (eval $ac_compile) 2>conftest.er1
1.79      paf      5183:   ac_status=$?
1.86      paf      5184:   grep -v '^ *+' conftest.er1 >conftest.err
                   5185:   rm -f conftest.er1
                   5186:   cat conftest.err >&5
1.79      paf      5187:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5188:   (exit $ac_status); } &&
1.86      paf      5189:         { ac_try='test -z "$ac_c_werror_flag"
                   5190:                         || test ! -s conftest.err'
                   5191:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5192:   (eval $ac_try) 2>&5
                   5193:   ac_status=$?
                   5194:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5195:   (exit $ac_status); }; } &&
                   5196:         { ac_try='test -s conftest.$ac_objext'
1.79      paf      5197:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5198:   (eval $ac_try) 2>&5
                   5199:   ac_status=$?
                   5200:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5201:   (exit $ac_status); }; }; then
                   5202:   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
                   5203:   ac_cv_c_bigendian=yes
                   5204: fi
                   5205: if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
                   5206:   if test "$ac_cv_c_bigendian" = unknown; then
                   5207:     ac_cv_c_bigendian=no
                   5208:   else
                   5209:     # finding both strings is unlikely to happen, but who knows?
                   5210:     ac_cv_c_bigendian=unknown
                   5211:   fi
                   5212: fi
                   5213: else
                   5214:   echo "$as_me: failed program was:" >&5
                   5215: sed 's/^/| /' conftest.$ac_ext >&5
                   5216: 
                   5217: fi
1.86      paf      5218: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.79      paf      5219: else
                   5220:   cat >conftest.$ac_ext <<_ACEOF
                   5221: /* confdefs.h.  */
                   5222: _ACEOF
                   5223: cat confdefs.h >>conftest.$ac_ext
                   5224: cat >>conftest.$ac_ext <<_ACEOF
                   5225: /* end confdefs.h.  */
                   5226: int
                   5227: main ()
                   5228: {
                   5229:   /* Are we little or big endian?  From Harbison&Steele.  */
                   5230:   union
                   5231:   {
                   5232:     long l;
                   5233:     char c[sizeof (long)];
                   5234:   } u;
                   5235:   u.l = 1;
                   5236:   exit (u.c[sizeof (long) - 1] == 1);
                   5237: }
                   5238: _ACEOF
                   5239: rm -f conftest$ac_exeext
                   5240: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5241:   (eval $ac_link) 2>&5
                   5242:   ac_status=$?
                   5243:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5244:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   5245:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5246:   (eval $ac_try) 2>&5
                   5247:   ac_status=$?
                   5248:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5249:   (exit $ac_status); }; }; then
                   5250:   ac_cv_c_bigendian=no
                   5251: else
                   5252:   echo "$as_me: program exited with status $ac_status" >&5
                   5253: echo "$as_me: failed program was:" >&5
                   5254: sed 's/^/| /' conftest.$ac_ext >&5
                   5255: 
                   5256: ( exit $ac_status )
                   5257: ac_cv_c_bigendian=yes
                   5258: fi
1.86      paf      5259: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.79      paf      5260: fi
                   5261: fi
1.86      paf      5262: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.79      paf      5263: fi
                   5264: echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
                   5265: echo "${ECHO_T}$ac_cv_c_bigendian" >&6
                   5266: case $ac_cv_c_bigendian in
                   5267:   yes)
                   5268: 
                   5269: cat >>confdefs.h <<\_ACEOF
                   5270: #define PA_BIG_ENDIAN
                   5271: _ACEOF
                   5272: 
                   5273:  ;;
                   5274:   no)
                   5275: 
                   5276: cat >>confdefs.h <<\_ACEOF
                   5277: #define PA_LITTLE_ENDIAN
                   5278: _ACEOF
                   5279: 
                   5280:  ;;
                   5281:   *)
                   5282:     { { echo "$as_me:$LINENO: error: word endianness not determined for some obscure reason" >&5
                   5283: echo "$as_me: error: word endianness not determined for some obscure reason" >&2;}
                   5284:    { (exit 1); exit 1; }; }
                   5285:  ;;
                   5286: esac
                   5287: 
                   5288: 
1.66      paf      5289: ac_ext=c
                   5290: ac_cpp='$CPP $CPPFLAGS'
                   5291: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   5292: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   5293: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   5294: echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
                   5295: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
                   5296: # On Suns, sometimes $CPP names a directory.
                   5297: if test -n "$CPP" && test -d "$CPP"; then
                   5298:   CPP=
                   5299: fi
                   5300: if test -z "$CPP"; then
                   5301:   if test "${ac_cv_prog_CPP+set}" = set; then
1.62      paf      5302:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5303: else
1.66      paf      5304:       # Double quotes because CPP needs to be expanded
                   5305:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   5306:     do
                   5307:       ac_preproc_ok=false
                   5308: for ac_c_preproc_warn_flag in '' yes
                   5309: do
                   5310:   # Use a header file that comes with gcc, so configuring glibc
                   5311:   # with a fresh cross-compiler works.
                   5312:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   5313:   # <limits.h> exists even on freestanding compilers.
                   5314:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   5315:   # not just through cpp. "Syntax error" is here to catch this case.
                   5316:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      5317: /* confdefs.h.  */
                   5318: _ACEOF
                   5319: cat confdefs.h >>conftest.$ac_ext
                   5320: cat >>conftest.$ac_ext <<_ACEOF
                   5321: /* end confdefs.h.  */
1.66      paf      5322: #ifdef __STDC__
                   5323: # include <limits.h>
                   5324: #else
                   5325: # include <assert.h>
1.8       paf      5326: #endif
1.86      paf      5327:                     Syntax error
1.62      paf      5328: _ACEOF
1.66      paf      5329: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   5330:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.62      paf      5331:   ac_status=$?
1.66      paf      5332:   grep -v '^ *+' conftest.er1 >conftest.err
                   5333:   rm -f conftest.er1
                   5334:   cat conftest.err >&5
1.62      paf      5335:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      5336:   (exit $ac_status); } >/dev/null; then
                   5337:   if test -s conftest.err; then
                   5338:     ac_cpp_err=$ac_c_preproc_warn_flag
1.86      paf      5339:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.66      paf      5340:   else
                   5341:     ac_cpp_err=
                   5342:   fi
                   5343: else
                   5344:   ac_cpp_err=yes
                   5345: fi
                   5346: if test -z "$ac_cpp_err"; then
                   5347:   :
1.62      paf      5348: else
                   5349:   echo "$as_me: failed program was:" >&5
                   5350: sed 's/^/| /' conftest.$ac_ext >&5
                   5351: 
1.66      paf      5352:   # Broken: fails on valid input.
                   5353: continue
1.62      paf      5354: fi
1.66      paf      5355: rm -f conftest.err conftest.$ac_ext
1.64      paf      5356: 
1.66      paf      5357:   # OK, works on sane cases.  Now check whether non-existent headers
                   5358:   # can be detected and how.
                   5359:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      5360: /* confdefs.h.  */
                   5361: _ACEOF
                   5362: cat confdefs.h >>conftest.$ac_ext
                   5363: cat >>conftest.$ac_ext <<_ACEOF
                   5364: /* end confdefs.h.  */
1.66      paf      5365: #include <ac_nonexistent.h>
1.62      paf      5366: _ACEOF
1.66      paf      5367: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   5368:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.62      paf      5369:   ac_status=$?
1.66      paf      5370:   grep -v '^ *+' conftest.er1 >conftest.err
                   5371:   rm -f conftest.er1
                   5372:   cat conftest.err >&5
1.62      paf      5373:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      5374:   (exit $ac_status); } >/dev/null; then
                   5375:   if test -s conftest.err; then
                   5376:     ac_cpp_err=$ac_c_preproc_warn_flag
1.86      paf      5377:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.66      paf      5378:   else
                   5379:     ac_cpp_err=
                   5380:   fi
                   5381: else
                   5382:   ac_cpp_err=yes
                   5383: fi
                   5384: if test -z "$ac_cpp_err"; then
                   5385:   # Broken: success on invalid input.
                   5386: continue
1.62      paf      5387: else
                   5388:   echo "$as_me: failed program was:" >&5
                   5389: sed 's/^/| /' conftest.$ac_ext >&5
                   5390: 
1.66      paf      5391:   # Passes both tests.
                   5392: ac_preproc_ok=:
                   5393: break
1.62      paf      5394: fi
1.66      paf      5395: rm -f conftest.err conftest.$ac_ext
                   5396: 
                   5397: done
                   5398: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   5399: rm -f conftest.err conftest.$ac_ext
                   5400: if $ac_preproc_ok; then
                   5401:   break
1.62      paf      5402: fi
1.64      paf      5403: 
1.66      paf      5404:     done
                   5405:     ac_cv_prog_CPP=$CPP
1.64      paf      5406: 
1.66      paf      5407: fi
                   5408:   CPP=$ac_cv_prog_CPP
1.64      paf      5409: else
1.66      paf      5410:   ac_cv_prog_CPP=$CPP
                   5411: fi
                   5412: echo "$as_me:$LINENO: result: $CPP" >&5
                   5413: echo "${ECHO_T}$CPP" >&6
                   5414: ac_preproc_ok=false
                   5415: for ac_c_preproc_warn_flag in '' yes
                   5416: do
                   5417:   # Use a header file that comes with gcc, so configuring glibc
                   5418:   # with a fresh cross-compiler works.
                   5419:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   5420:   # <limits.h> exists even on freestanding compilers.
                   5421:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   5422:   # not just through cpp. "Syntax error" is here to catch this case.
1.64      paf      5423:   cat >conftest.$ac_ext <<_ACEOF
                   5424: /* confdefs.h.  */
                   5425: _ACEOF
                   5426: cat confdefs.h >>conftest.$ac_ext
                   5427: cat >>conftest.$ac_ext <<_ACEOF
                   5428: /* end confdefs.h.  */
1.66      paf      5429: #ifdef __STDC__
                   5430: # include <limits.h>
                   5431: #else
                   5432: # include <assert.h>
1.64      paf      5433: #endif
1.86      paf      5434:                     Syntax error
1.64      paf      5435: _ACEOF
1.66      paf      5436: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   5437:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.64      paf      5438:   ac_status=$?
1.66      paf      5439:   grep -v '^ *+' conftest.er1 >conftest.err
                   5440:   rm -f conftest.er1
                   5441:   cat conftest.err >&5
1.64      paf      5442:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      5443:   (exit $ac_status); } >/dev/null; then
                   5444:   if test -s conftest.err; then
                   5445:     ac_cpp_err=$ac_c_preproc_warn_flag
1.86      paf      5446:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.66      paf      5447:   else
                   5448:     ac_cpp_err=
                   5449:   fi
                   5450: else
                   5451:   ac_cpp_err=yes
                   5452: fi
                   5453: if test -z "$ac_cpp_err"; then
                   5454:   :
1.62      paf      5455: else
1.64      paf      5456:   echo "$as_me: failed program was:" >&5
                   5457: sed 's/^/| /' conftest.$ac_ext >&5
                   5458: 
1.66      paf      5459:   # Broken: fails on valid input.
                   5460: continue
                   5461: fi
                   5462: rm -f conftest.err conftest.$ac_ext
                   5463: 
                   5464:   # OK, works on sane cases.  Now check whether non-existent headers
                   5465:   # can be detected and how.
                   5466:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      5467: /* confdefs.h.  */
                   5468: _ACEOF
                   5469: cat confdefs.h >>conftest.$ac_ext
                   5470: cat >>conftest.$ac_ext <<_ACEOF
                   5471: /* end confdefs.h.  */
1.66      paf      5472: #include <ac_nonexistent.h>
1.62      paf      5473: _ACEOF
1.66      paf      5474: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   5475:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1.62      paf      5476:   ac_status=$?
1.66      paf      5477:   grep -v '^ *+' conftest.er1 >conftest.err
                   5478:   rm -f conftest.er1
                   5479:   cat conftest.err >&5
1.62      paf      5480:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      5481:   (exit $ac_status); } >/dev/null; then
                   5482:   if test -s conftest.err; then
                   5483:     ac_cpp_err=$ac_c_preproc_warn_flag
1.86      paf      5484:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.66      paf      5485:   else
                   5486:     ac_cpp_err=
                   5487:   fi
                   5488: else
                   5489:   ac_cpp_err=yes
                   5490: fi
                   5491: if test -z "$ac_cpp_err"; then
                   5492:   # Broken: success on invalid input.
                   5493: continue
1.62      paf      5494: else
                   5495:   echo "$as_me: failed program was:" >&5
                   5496: sed 's/^/| /' conftest.$ac_ext >&5
                   5497: 
1.66      paf      5498:   # Passes both tests.
                   5499: ac_preproc_ok=:
                   5500: break
1.62      paf      5501: fi
1.66      paf      5502: rm -f conftest.err conftest.$ac_ext
                   5503: 
                   5504: done
                   5505: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   5506: rm -f conftest.err conftest.$ac_ext
                   5507: if $ac_preproc_ok; then
                   5508:   :
                   5509: else
                   5510:   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
                   5511: See \`config.log' for more details." >&5
                   5512: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
                   5513: See \`config.log' for more details." >&2;}
                   5514:    { (exit 1); exit 1; }; }
1.62      paf      5515: fi
1.64      paf      5516: 
1.66      paf      5517: ac_ext=c
                   5518: ac_cpp='$CPP $CPPFLAGS'
                   5519: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   5520: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   5521: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   5522: 
1.1       paf      5523: 
1.66      paf      5524: echo "$as_me:$LINENO: checking for egrep" >&5
                   5525: echo $ECHO_N "checking for egrep... $ECHO_C" >&6
                   5526: if test "${ac_cv_prog_egrep+set}" = set; then
                   5527:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.64      paf      5528: else
1.66      paf      5529:   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
                   5530:     then ac_cv_prog_egrep='grep -E'
                   5531:     else ac_cv_prog_egrep='egrep'
                   5532:     fi
                   5533: fi
                   5534: echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
                   5535: echo "${ECHO_T}$ac_cv_prog_egrep" >&6
                   5536:  EGREP=$ac_cv_prog_egrep
                   5537: 
                   5538: 
                   5539: echo "$as_me:$LINENO: checking for ANSI C header files" >&5
                   5540: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
                   5541: if test "${ac_cv_header_stdc+set}" = set; then
1.62      paf      5542:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       paf      5543: else
1.66      paf      5544:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      5545: /* confdefs.h.  */
                   5546: _ACEOF
                   5547: cat confdefs.h >>conftest.$ac_ext
                   5548: cat >>conftest.$ac_ext <<_ACEOF
                   5549: /* end confdefs.h.  */
1.66      paf      5550: #include <stdlib.h>
                   5551: #include <stdarg.h>
                   5552: #include <string.h>
                   5553: #include <float.h>
1.62      paf      5554: 
                   5555: int
                   5556: main ()
                   5557: {
1.66      paf      5558: 
1.62      paf      5559:   ;
                   5560:   return 0;
                   5561: }
                   5562: _ACEOF
1.66      paf      5563: rm -f conftest.$ac_objext
                   5564: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      5565:   (eval $ac_compile) 2>conftest.er1
1.62      paf      5566:   ac_status=$?
1.86      paf      5567:   grep -v '^ *+' conftest.er1 >conftest.err
                   5568:   rm -f conftest.er1
                   5569:   cat conftest.err >&5
1.62      paf      5570:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5571:   (exit $ac_status); } &&
1.86      paf      5572:         { ac_try='test -z "$ac_c_werror_flag"
                   5573:                         || test ! -s conftest.err'
                   5574:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5575:   (eval $ac_try) 2>&5
                   5576:   ac_status=$?
                   5577:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5578:   (exit $ac_status); }; } &&
                   5579:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      5580:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5581:   (eval $ac_try) 2>&5
                   5582:   ac_status=$?
                   5583:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5584:   (exit $ac_status); }; }; then
1.66      paf      5585:   ac_cv_header_stdc=yes
1.62      paf      5586: else
                   5587:   echo "$as_me: failed program was:" >&5
                   5588: sed 's/^/| /' conftest.$ac_ext >&5
                   5589: 
1.66      paf      5590: ac_cv_header_stdc=no
1.62      paf      5591: fi
1.86      paf      5592: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.64      paf      5593: 
1.66      paf      5594: if test $ac_cv_header_stdc = yes; then
                   5595:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   5596:   cat >conftest.$ac_ext <<_ACEOF
                   5597: /* confdefs.h.  */
1.62      paf      5598: _ACEOF
1.66      paf      5599: cat confdefs.h >>conftest.$ac_ext
                   5600: cat >>conftest.$ac_ext <<_ACEOF
                   5601: /* end confdefs.h.  */
                   5602: #include <string.h>
1.64      paf      5603: 
1.66      paf      5604: _ACEOF
                   5605: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   5606:   $EGREP "memchr" >/dev/null 2>&1; then
                   5607:   :
                   5608: else
                   5609:   ac_cv_header_stdc=no
1.64      paf      5610: fi
1.66      paf      5611: rm -f conftest*
1.64      paf      5612: 
                   5613: fi
                   5614: 
1.66      paf      5615: if test $ac_cv_header_stdc = yes; then
                   5616:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   5617:   cat >conftest.$ac_ext <<_ACEOF
                   5618: /* confdefs.h.  */
                   5619: _ACEOF
                   5620: cat confdefs.h >>conftest.$ac_ext
                   5621: cat >>conftest.$ac_ext <<_ACEOF
                   5622: /* end confdefs.h.  */
                   5623: #include <stdlib.h>
1.64      paf      5624: 
1.66      paf      5625: _ACEOF
                   5626: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   5627:   $EGREP "free" >/dev/null 2>&1; then
                   5628:   :
                   5629: else
                   5630:   ac_cv_header_stdc=no
1.64      paf      5631: fi
1.66      paf      5632: rm -f conftest*
1.64      paf      5633: 
                   5634: fi
                   5635: 
1.66      paf      5636: if test $ac_cv_header_stdc = yes; then
                   5637:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   5638:   if test "$cross_compiling" = yes; then
                   5639:   :
1.64      paf      5640: else
                   5641:   cat >conftest.$ac_ext <<_ACEOF
                   5642: /* confdefs.h.  */
                   5643: _ACEOF
                   5644: cat confdefs.h >>conftest.$ac_ext
                   5645: cat >>conftest.$ac_ext <<_ACEOF
                   5646: /* end confdefs.h.  */
1.66      paf      5647: #include <ctype.h>
                   5648: #if ((' ' & 0x0FF) == 0x020)
                   5649: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   5650: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1.64      paf      5651: #else
1.66      paf      5652: # define ISLOWER(c) \
1.86      paf      5653:                   (('a' <= (c) && (c) <= 'i') \
                   5654:                     || ('j' <= (c) && (c) <= 'r') \
                   5655:                     || ('s' <= (c) && (c) <= 'z'))
1.66      paf      5656: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
1.64      paf      5657: #endif
                   5658: 
1.66      paf      5659: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1.64      paf      5660: int
                   5661: main ()
                   5662: {
1.66      paf      5663:   int i;
                   5664:   for (i = 0; i < 256; i++)
                   5665:     if (XOR (islower (i), ISLOWER (i))
1.86      paf      5666:        || toupper (i) != TOUPPER (i))
1.66      paf      5667:       exit(2);
                   5668:   exit (0);
1.64      paf      5669: }
                   5670: _ACEOF
1.66      paf      5671: rm -f conftest$ac_exeext
1.64      paf      5672: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5673:   (eval $ac_link) 2>&5
                   5674:   ac_status=$?
                   5675:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      5676:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1.64      paf      5677:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5678:   (eval $ac_try) 2>&5
                   5679:   ac_status=$?
                   5680:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5681:   (exit $ac_status); }; }; then
1.66      paf      5682:   :
1.64      paf      5683: else
1.66      paf      5684:   echo "$as_me: program exited with status $ac_status" >&5
                   5685: echo "$as_me: failed program was:" >&5
1.64      paf      5686: sed 's/^/| /' conftest.$ac_ext >&5
                   5687: 
1.66      paf      5688: ( exit $ac_status )
                   5689: ac_cv_header_stdc=no
                   5690: fi
1.86      paf      5691: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.66      paf      5692: fi
1.64      paf      5693: fi
                   5694: fi
1.66      paf      5695: echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
                   5696: echo "${ECHO_T}$ac_cv_header_stdc" >&6
                   5697: if test $ac_cv_header_stdc = yes; then
                   5698: 
                   5699: cat >>confdefs.h <<\_ACEOF
                   5700: #define STDC_HEADERS 1
1.64      paf      5701: _ACEOF
                   5702: 
                   5703: fi
                   5704: 
1.66      paf      5705: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   5706: 
                   5707: 
                   5708: 
                   5709: 
                   5710: 
1.1       paf      5711: 
                   5712: 
1.62      paf      5713: 
                   5714: 
1.66      paf      5715: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
1.86      paf      5716:                  inttypes.h stdint.h unistd.h
1.66      paf      5717: do
                   5718: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   5719: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   5720: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   5721: if eval "test \"\${$as_ac_Header+set}\" = set"; then
1.62      paf      5722:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5723: else
                   5724:   cat >conftest.$ac_ext <<_ACEOF
                   5725: /* confdefs.h.  */
                   5726: _ACEOF
                   5727: cat confdefs.h >>conftest.$ac_ext
                   5728: cat >>conftest.$ac_ext <<_ACEOF
                   5729: /* end confdefs.h.  */
1.66      paf      5730: $ac_includes_default
                   5731: 
                   5732: #include <$ac_header>
1.62      paf      5733: _ACEOF
1.66      paf      5734: rm -f conftest.$ac_objext
                   5735: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      5736:   (eval $ac_compile) 2>conftest.er1
1.66      paf      5737:   ac_status=$?
1.86      paf      5738:   grep -v '^ *+' conftest.er1 >conftest.err
                   5739:   rm -f conftest.er1
                   5740:   cat conftest.err >&5
1.66      paf      5741:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5742:   (exit $ac_status); } &&
1.86      paf      5743:         { ac_try='test -z "$ac_c_werror_flag"
                   5744:                         || test ! -s conftest.err'
                   5745:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5746:   (eval $ac_try) 2>&5
                   5747:   ac_status=$?
                   5748:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5749:   (exit $ac_status); }; } &&
                   5750:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      5751:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5752:   (eval $ac_try) 2>&5
1.62      paf      5753:   ac_status=$?
                   5754:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      5755:   (exit $ac_status); }; }; then
                   5756:   eval "$as_ac_Header=yes"
1.62      paf      5757: else
                   5758:   echo "$as_me: failed program was:" >&5
                   5759: sed 's/^/| /' conftest.$ac_ext >&5
                   5760: 
1.66      paf      5761: eval "$as_ac_Header=no"
                   5762: fi
1.86      paf      5763: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      5764: fi
                   5765: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   5766: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   5767: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   5768:   cat >>confdefs.h <<_ACEOF
                   5769: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   5770: _ACEOF
                   5771: 
1.1       paf      5772: fi
                   5773: 
1.66      paf      5774: done
                   5775: 
                   5776: 
                   5777: echo "$as_me:$LINENO: checking for size_t" >&5
                   5778: echo $ECHO_N "checking for size_t... $ECHO_C" >&6
                   5779: if test "${ac_cv_type_size_t+set}" = set; then
                   5780:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5781: else
1.62      paf      5782:   cat >conftest.$ac_ext <<_ACEOF
                   5783: /* confdefs.h.  */
                   5784: _ACEOF
                   5785: cat confdefs.h >>conftest.$ac_ext
                   5786: cat >>conftest.$ac_ext <<_ACEOF
                   5787: /* end confdefs.h.  */
1.66      paf      5788: $ac_includes_default
                   5789: int
                   5790: main ()
                   5791: {
                   5792: if ((size_t *) 0)
                   5793:   return 0;
                   5794: if (sizeof (size_t))
                   5795:   return 0;
                   5796:   ;
                   5797:   return 0;
                   5798: }
1.62      paf      5799: _ACEOF
1.66      paf      5800: rm -f conftest.$ac_objext
                   5801: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      5802:   (eval $ac_compile) 2>conftest.er1
1.66      paf      5803:   ac_status=$?
1.86      paf      5804:   grep -v '^ *+' conftest.er1 >conftest.err
                   5805:   rm -f conftest.er1
                   5806:   cat conftest.err >&5
1.66      paf      5807:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5808:   (exit $ac_status); } &&
1.86      paf      5809:         { ac_try='test -z "$ac_c_werror_flag"
                   5810:                         || test ! -s conftest.err'
                   5811:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5812:   (eval $ac_try) 2>&5
                   5813:   ac_status=$?
                   5814:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5815:   (exit $ac_status); }; } &&
                   5816:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      5817:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5818:   (eval $ac_try) 2>&5
1.62      paf      5819:   ac_status=$?
                   5820:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      5821:   (exit $ac_status); }; }; then
                   5822:   ac_cv_type_size_t=yes
1.1       paf      5823: else
1.62      paf      5824:   echo "$as_me: failed program was:" >&5
                   5825: sed 's/^/| /' conftest.$ac_ext >&5
                   5826: 
1.66      paf      5827: ac_cv_type_size_t=no
1.1       paf      5828: fi
1.86      paf      5829: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      5830: fi
1.66      paf      5831: echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
                   5832: echo "${ECHO_T}$ac_cv_type_size_t" >&6
                   5833: if test $ac_cv_type_size_t = yes; then
                   5834:   :
                   5835: else
1.1       paf      5836: 
1.66      paf      5837: cat >>confdefs.h <<_ACEOF
                   5838: #define size_t unsigned
                   5839: _ACEOF
1.62      paf      5840: 
                   5841: fi
1.66      paf      5842: 
                   5843: echo "$as_me:$LINENO: checking for off_t" >&5
                   5844: echo $ECHO_N "checking for off_t... $ECHO_C" >&6
                   5845: if test "${ac_cv_type_off_t+set}" = set; then
                   5846:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.62      paf      5847: else
                   5848:   cat >conftest.$ac_ext <<_ACEOF
                   5849: /* confdefs.h.  */
                   5850: _ACEOF
                   5851: cat confdefs.h >>conftest.$ac_ext
                   5852: cat >>conftest.$ac_ext <<_ACEOF
                   5853: /* end confdefs.h.  */
1.66      paf      5854: $ac_includes_default
                   5855: int
                   5856: main ()
                   5857: {
                   5858: if ((off_t *) 0)
                   5859:   return 0;
                   5860: if (sizeof (off_t))
                   5861:   return 0;
                   5862:   ;
                   5863:   return 0;
                   5864: }
1.62      paf      5865: _ACEOF
1.66      paf      5866: rm -f conftest.$ac_objext
                   5867: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      5868:   (eval $ac_compile) 2>conftest.er1
1.66      paf      5869:   ac_status=$?
1.86      paf      5870:   grep -v '^ *+' conftest.er1 >conftest.err
                   5871:   rm -f conftest.er1
                   5872:   cat conftest.err >&5
1.66      paf      5873:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5874:   (exit $ac_status); } &&
1.86      paf      5875:         { ac_try='test -z "$ac_c_werror_flag"
                   5876:                         || test ! -s conftest.err'
                   5877:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5878:   (eval $ac_try) 2>&5
                   5879:   ac_status=$?
                   5880:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5881:   (exit $ac_status); }; } &&
                   5882:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      5883:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5884:   (eval $ac_try) 2>&5
1.62      paf      5885:   ac_status=$?
                   5886:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      5887:   (exit $ac_status); }; }; then
                   5888:   ac_cv_type_off_t=yes
1.62      paf      5889: else
1.66      paf      5890:   echo "$as_me: failed program was:" >&5
                   5891: sed 's/^/| /' conftest.$ac_ext >&5
                   5892: 
                   5893: ac_cv_type_off_t=no
                   5894: fi
1.86      paf      5895: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       paf      5896: fi
1.66      paf      5897: echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
                   5898: echo "${ECHO_T}$ac_cv_type_off_t" >&6
                   5899: if test $ac_cv_type_off_t = yes; then
1.62      paf      5900:   :
                   5901: else
1.1       paf      5902: 
1.66      paf      5903: cat >>confdefs.h <<_ACEOF
                   5904: #define off_t long
                   5905: _ACEOF
                   5906: 
1.62      paf      5907: fi
1.1       paf      5908: 
1.66      paf      5909: echo "$as_me:$LINENO: checking for ssize_t" >&5
                   5910: echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
                   5911: if test "${ac_cv_type_ssize_t+set}" = set; then
                   5912:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5913: else
1.62      paf      5914:   cat >conftest.$ac_ext <<_ACEOF
                   5915: /* confdefs.h.  */
                   5916: _ACEOF
                   5917: cat confdefs.h >>conftest.$ac_ext
                   5918: cat >>conftest.$ac_ext <<_ACEOF
                   5919: /* end confdefs.h.  */
1.66      paf      5920: $ac_includes_default
                   5921: int
                   5922: main ()
                   5923: {
                   5924: if ((ssize_t *) 0)
                   5925:   return 0;
                   5926: if (sizeof (ssize_t))
                   5927:   return 0;
                   5928:   ;
                   5929:   return 0;
                   5930: }
1.62      paf      5931: _ACEOF
1.66      paf      5932: rm -f conftest.$ac_objext
                   5933: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      5934:   (eval $ac_compile) 2>conftest.er1
1.66      paf      5935:   ac_status=$?
1.86      paf      5936:   grep -v '^ *+' conftest.er1 >conftest.err
                   5937:   rm -f conftest.er1
                   5938:   cat conftest.err >&5
1.66      paf      5939:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5940:   (exit $ac_status); } &&
1.86      paf      5941:         { ac_try='test -z "$ac_c_werror_flag"
                   5942:                         || test ! -s conftest.err'
                   5943:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5944:   (eval $ac_try) 2>&5
                   5945:   ac_status=$?
                   5946:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5947:   (exit $ac_status); }; } &&
                   5948:         { ac_try='test -s conftest.$ac_objext'
1.66      paf      5949:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5950:   (eval $ac_try) 2>&5
1.62      paf      5951:   ac_status=$?
                   5952:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      5953:   (exit $ac_status); }; }; then
                   5954:   ac_cv_type_ssize_t=yes
1.1       paf      5955: else
1.62      paf      5956:   echo "$as_me: failed program was:" >&5
                   5957: sed 's/^/| /' conftest.$ac_ext >&5
                   5958: 
1.66      paf      5959: ac_cv_type_ssize_t=no
                   5960: fi
1.86      paf      5961: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      5962: fi
1.66      paf      5963: echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
                   5964: echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
                   5965: if test $ac_cv_type_ssize_t = yes; then
1.1       paf      5966:   :
                   5967: else
1.66      paf      5968: 
                   5969: cat >>confdefs.h <<_ACEOF
                   5970: #define ssize_t int
                   5971: _ACEOF
                   5972: 
1.1       paf      5973: fi
1.62      paf      5974: 
                   5975: 
                   5976: 
                   5977: 
1.66      paf      5978: echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
                   5979: echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
                   5980: if test "${ac_cv_header_time+set}" = set; then
1.62      paf      5981:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5982: else
                   5983:   cat >conftest.$ac_ext <<_ACEOF
                   5984: /* confdefs.h.  */
                   5985: _ACEOF
                   5986: cat confdefs.h >>conftest.$ac_ext
                   5987: cat >>conftest.$ac_ext <<_ACEOF
                   5988: /* end confdefs.h.  */
1.66      paf      5989: #include <sys/types.h>
                   5990: #include <sys/time.h>
                   5991: #include <time.h>
1.62      paf      5992: 
                   5993: int
                   5994: main ()
                   5995: {
1.66      paf      5996: if ((struct tm *) 0)
                   5997: return 0;
1.62      paf      5998:   ;
                   5999:   return 0;
                   6000: }
                   6001: _ACEOF
                   6002: rm -f conftest.$ac_objext
                   6003: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      6004:   (eval $ac_compile) 2>conftest.er1
1.62      paf      6005:   ac_status=$?
1.86      paf      6006:   grep -v '^ *+' conftest.er1 >conftest.err
                   6007:   rm -f conftest.er1
                   6008:   cat conftest.err >&5
1.62      paf      6009:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6010:   (exit $ac_status); } &&
1.86      paf      6011:         { ac_try='test -z "$ac_c_werror_flag"
                   6012:                         || test ! -s conftest.err'
                   6013:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6014:   (eval $ac_try) 2>&5
                   6015:   ac_status=$?
                   6016:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6017:   (exit $ac_status); }; } &&
                   6018:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      6019:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6020:   (eval $ac_try) 2>&5
                   6021:   ac_status=$?
                   6022:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6023:   (exit $ac_status); }; }; then
1.66      paf      6024:   ac_cv_header_time=yes
1.1       paf      6025: else
1.62      paf      6026:   echo "$as_me: failed program was:" >&5
                   6027: sed 's/^/| /' conftest.$ac_ext >&5
                   6028: 
1.66      paf      6029: ac_cv_header_time=no
1.1       paf      6030: fi
1.86      paf      6031: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      6032: fi
                   6033: echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
                   6034: echo "${ECHO_T}$ac_cv_header_time" >&6
                   6035: if test $ac_cv_header_time = yes; then
1.1       paf      6036: 
1.66      paf      6037: cat >>confdefs.h <<\_ACEOF
                   6038: #define TIME_WITH_SYS_TIME 1
1.62      paf      6039: _ACEOF
                   6040: 
1.1       paf      6041: fi
                   6042: 
                   6043: 
1.62      paf      6044: 
1.1       paf      6045: 
1.66      paf      6046: 
                   6047: 
                   6048: 
                   6049: 
                   6050: 
                   6051: 
                   6052: 
                   6053: 
                   6054: 
                   6055: 
                   6056: 
                   6057: 
                   6058: 
                   6059: 
                   6060: 
                   6061: 
                   6062: 
                   6063: 
                   6064: 
                   6065: 
                   6066: 
                   6067: 
                   6068: 
                   6069: 
                   6070: 
                   6071: 
                   6072: 
                   6073: 
1.67      paf      6074: for ac_header in assert.h \
                   6075: signal.h \
1.66      paf      6076: unistd.h \
                   6077: process.h \
                   6078: stddef.h \
                   6079: stdarg.h \
                   6080: fcntl.h \
                   6081: sys/stat.h \
                   6082: io.h \
                   6083: stdio.h \
                   6084: errno.h \
                   6085: ctype.h \
                   6086: math.h \
                   6087: crypt.h \
                   6088: time.h sys/time.h \
                   6089: string.h \
                   6090: direct.h \
                   6091: setjmp.h \
                   6092: memory.h \
                   6093: sys/file.h \
                   6094: sys/locking.h \
                   6095: sys/types.h \
                   6096: sys/select.h \
                   6097: sys/resource.h \
                   6098: winsock.h \
                   6099: sys/socket.h \
                   6100: netinet/in.h \
                   6101: arpa/inet.h \
                   6102: netdb.h
                   6103: 
                   6104: do
                   6105: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   6106: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   6107:   echo "$as_me:$LINENO: checking for $ac_header" >&5
                   6108: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   6109: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   6110:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      6111: fi
1.66      paf      6112: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   6113: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1.1       paf      6114: else
1.66      paf      6115:   # Is the header compilable?
                   6116: echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   6117: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
                   6118: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      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: $ac_includes_default
                   6125: #include <$ac_header>
1.62      paf      6126: _ACEOF
1.66      paf      6127: rm -f conftest.$ac_objext
                   6128: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      6129:   (eval $ac_compile) 2>conftest.er1
1.62      paf      6130:   ac_status=$?
1.86      paf      6131:   grep -v '^ *+' conftest.er1 >conftest.err
                   6132:   rm -f conftest.er1
                   6133:   cat conftest.err >&5
1.62      paf      6134:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      6135:   (exit $ac_status); } &&
1.86      paf      6136:         { ac_try='test -z "$ac_c_werror_flag"
                   6137:                         || test ! -s conftest.err'
                   6138:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6139:   (eval $ac_try) 2>&5
                   6140:   ac_status=$?
                   6141:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6142:   (exit $ac_status); }; } &&
                   6143:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      6144:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6145:   (eval $ac_try) 2>&5
                   6146:   ac_status=$?
                   6147:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6148:   (exit $ac_status); }; }; then
1.66      paf      6149:   ac_header_compiler=yes
1.1       paf      6150: else
1.66      paf      6151:   echo "$as_me: failed program was:" >&5
1.62      paf      6152: sed 's/^/| /' conftest.$ac_ext >&5
                   6153: 
1.66      paf      6154: ac_header_compiler=no
1.1       paf      6155: fi
1.86      paf      6156: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      6157: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   6158: echo "${ECHO_T}$ac_header_compiler" >&6
                   6159: 
                   6160: # Is the header present?
                   6161: echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   6162: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
                   6163: cat >conftest.$ac_ext <<_ACEOF
                   6164: /* confdefs.h.  */
                   6165: _ACEOF
                   6166: cat confdefs.h >>conftest.$ac_ext
                   6167: cat >>conftest.$ac_ext <<_ACEOF
                   6168: /* end confdefs.h.  */
                   6169: #include <$ac_header>
                   6170: _ACEOF
                   6171: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   6172:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   6173:   ac_status=$?
                   6174:   grep -v '^ *+' conftest.er1 >conftest.err
                   6175:   rm -f conftest.er1
                   6176:   cat conftest.err >&5
                   6177:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6178:   (exit $ac_status); } >/dev/null; then
                   6179:   if test -s conftest.err; then
                   6180:     ac_cpp_err=$ac_c_preproc_warn_flag
1.86      paf      6181:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.66      paf      6182:   else
                   6183:     ac_cpp_err=
                   6184:   fi
                   6185: else
                   6186:   ac_cpp_err=yes
1.1       paf      6187: fi
1.66      paf      6188: if test -z "$ac_cpp_err"; then
                   6189:   ac_header_preproc=yes
                   6190: else
                   6191:   echo "$as_me: failed program was:" >&5
                   6192: sed 's/^/| /' conftest.$ac_ext >&5
                   6193: 
                   6194:   ac_header_preproc=no
1.1       paf      6195: fi
1.66      paf      6196: rm -f conftest.err conftest.$ac_ext
                   6197: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   6198: echo "${ECHO_T}$ac_header_preproc" >&6
                   6199: 
                   6200: # So?  What about this header?
1.86      paf      6201: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
                   6202:   yes:no: )
1.66      paf      6203:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   6204: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
1.86      paf      6205:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
                   6206: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
                   6207:     ac_header_preproc=yes
1.66      paf      6208:     ;;
1.86      paf      6209:   no:yes:* )
1.66      paf      6210:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   6211: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
1.86      paf      6212:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
                   6213: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
                   6214:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
                   6215: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
                   6216:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
                   6217: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
1.66      paf      6218:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   6219: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
1.86      paf      6220:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
                   6221: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
1.66      paf      6222:     (
                   6223:       cat <<\_ASBOX
1.86      paf      6224: ## ------------------------------------------ ##
                   6225: ## Report this to the AC_PACKAGE_NAME lists.  ##
                   6226: ## ------------------------------------------ ##
1.66      paf      6227: _ASBOX
                   6228:     ) |
                   6229:       sed "s/^/$as_me: WARNING:     /" >&2
                   6230:     ;;
                   6231: esac
                   6232: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   6233: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   6234: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   6235:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6236: else
1.86      paf      6237:   eval "$as_ac_Header=\$ac_header_preproc"
1.1       paf      6238: fi
1.66      paf      6239: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   6240: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1.1       paf      6241: 
1.66      paf      6242: fi
                   6243: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   6244:   cat >>confdefs.h <<_ACEOF
                   6245: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.62      paf      6246: _ACEOF
                   6247: 
                   6248: fi
                   6249: 
1.66      paf      6250: done
1.62      paf      6251: 
                   6252: 
                   6253: 
1.66      paf      6254: case "$host" in
1.107     misha    6255:   *-freebsd4*)
                   6256: 
                   6257: cat >>confdefs.h <<\_ACEOF
                   6258: #define FREEBSD4
                   6259: _ACEOF
                   6260: 
                   6261:   ;;
1.66      paf      6262:   *-sunos5.6* | *-solaris2.6*)
1.62      paf      6263: 
1.66      paf      6264: echo "$as_me:$LINENO: checking for main in -lxnet" >&5
                   6265: echo $ECHO_N "checking for main in -lxnet... $ECHO_C" >&6
                   6266: if test "${ac_cv_lib_xnet_main+set}" = set; then
1.62      paf      6267:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6268: else
1.66      paf      6269:   ac_check_lib_save_LIBS=$LIBS
                   6270: LIBS="-lxnet  $LIBS"
                   6271: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      6272: /* confdefs.h.  */
                   6273: _ACEOF
                   6274: cat confdefs.h >>conftest.$ac_ext
                   6275: cat >>conftest.$ac_ext <<_ACEOF
                   6276: /* end confdefs.h.  */
                   6277: 
1.66      paf      6278: 
                   6279: int
                   6280: main ()
                   6281: {
                   6282: main ();
                   6283:   ;
                   6284:   return 0;
                   6285: }
1.62      paf      6286: _ACEOF
1.66      paf      6287: rm -f conftest.$ac_objext conftest$ac_exeext
                   6288: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      6289:   (eval $ac_link) 2>conftest.er1
1.62      paf      6290:   ac_status=$?
1.86      paf      6291:   grep -v '^ *+' conftest.er1 >conftest.err
                   6292:   rm -f conftest.er1
                   6293:   cat conftest.err >&5
1.62      paf      6294:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6295:   (exit $ac_status); } &&
1.86      paf      6296:         { ac_try='test -z "$ac_c_werror_flag"
                   6297:                         || test ! -s conftest.err'
                   6298:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6299:   (eval $ac_try) 2>&5
                   6300:   ac_status=$?
                   6301:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6302:   (exit $ac_status); }; } &&
                   6303:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      6304:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6305:   (eval $ac_try) 2>&5
                   6306:   ac_status=$?
                   6307:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6308:   (exit $ac_status); }; }; then
1.66      paf      6309:   ac_cv_lib_xnet_main=yes
1.62      paf      6310: else
                   6311:   echo "$as_me: failed program was:" >&5
                   6312: sed 's/^/| /' conftest.$ac_ext >&5
                   6313: 
1.66      paf      6314: ac_cv_lib_xnet_main=no
1.62      paf      6315: fi
1.86      paf      6316: rm -f conftest.err conftest.$ac_objext \
                   6317:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      6318: LIBS=$ac_check_lib_save_LIBS
1.62      paf      6319: fi
1.66      paf      6320: echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_main" >&5
                   6321: echo "${ECHO_T}$ac_cv_lib_xnet_main" >&6
                   6322: if test $ac_cv_lib_xnet_main = yes; then
1.62      paf      6323:   cat >>confdefs.h <<_ACEOF
1.66      paf      6324: #define HAVE_LIBXNET 1
1.62      paf      6325: _ACEOF
1.1       paf      6326: 
1.66      paf      6327:   LIBS="-lxnet $LIBS"
                   6328: 
1.1       paf      6329: fi
                   6330: 
1.66      paf      6331:   ;;
                   6332:   *-sunos5* | *-solaris2*)
1.62      paf      6333: 
1.66      paf      6334: echo "$as_me:$LINENO: checking for main in -lsocket" >&5
                   6335: echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
                   6336: if test "${ac_cv_lib_socket_main+set}" = set; then
1.62      paf      6337:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6338: else
1.66      paf      6339:   ac_check_lib_save_LIBS=$LIBS
                   6340: LIBS="-lsocket  $LIBS"
                   6341: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      6342: /* confdefs.h.  */
                   6343: _ACEOF
                   6344: cat confdefs.h >>conftest.$ac_ext
                   6345: cat >>conftest.$ac_ext <<_ACEOF
                   6346: /* end confdefs.h.  */
1.66      paf      6347: 
                   6348: 
1.62      paf      6349: int
                   6350: main ()
                   6351: {
1.66      paf      6352: main ();
1.62      paf      6353:   ;
                   6354:   return 0;
                   6355: }
                   6356: _ACEOF
1.66      paf      6357: rm -f conftest.$ac_objext conftest$ac_exeext
                   6358: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      6359:   (eval $ac_link) 2>conftest.er1
1.62      paf      6360:   ac_status=$?
1.86      paf      6361:   grep -v '^ *+' conftest.er1 >conftest.err
                   6362:   rm -f conftest.er1
                   6363:   cat conftest.err >&5
1.62      paf      6364:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6365:   (exit $ac_status); } &&
1.86      paf      6366:         { ac_try='test -z "$ac_c_werror_flag"
                   6367:                         || test ! -s conftest.err'
                   6368:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6369:   (eval $ac_try) 2>&5
                   6370:   ac_status=$?
                   6371:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6372:   (exit $ac_status); }; } &&
                   6373:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      6374:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6375:   (eval $ac_try) 2>&5
                   6376:   ac_status=$?
                   6377:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6378:   (exit $ac_status); }; }; then
1.66      paf      6379:   ac_cv_lib_socket_main=yes
1.1       paf      6380: else
1.62      paf      6381:   echo "$as_me: failed program was:" >&5
                   6382: sed 's/^/| /' conftest.$ac_ext >&5
                   6383: 
1.66      paf      6384: ac_cv_lib_socket_main=no
1.1       paf      6385: fi
1.86      paf      6386: rm -f conftest.err conftest.$ac_objext \
                   6387:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      6388: LIBS=$ac_check_lib_save_LIBS
1.62      paf      6389: fi
1.66      paf      6390: echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
                   6391: echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
                   6392: if test $ac_cv_lib_socket_main = yes; then
                   6393:   cat >>confdefs.h <<_ACEOF
                   6394: #define HAVE_LIBSOCKET 1
                   6395: _ACEOF
1.1       paf      6396: 
1.66      paf      6397:   LIBS="-lsocket $LIBS"
1.1       paf      6398: 
                   6399: fi
                   6400: 
1.66      paf      6401: 
                   6402: echo "$as_me:$LINENO: checking for main in -lnsl" >&5
                   6403: echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
                   6404: if test "${ac_cv_lib_nsl_main+set}" = set; then
1.62      paf      6405:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6406: else
1.66      paf      6407:   ac_check_lib_save_LIBS=$LIBS
                   6408: LIBS="-lnsl  $LIBS"
                   6409: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      6410: /* confdefs.h.  */
                   6411: _ACEOF
                   6412: cat confdefs.h >>conftest.$ac_ext
                   6413: cat >>conftest.$ac_ext <<_ACEOF
                   6414: /* end confdefs.h.  */
1.66      paf      6415: 
                   6416: 
1.62      paf      6417: int
                   6418: main ()
                   6419: {
1.66      paf      6420: main ();
1.62      paf      6421:   ;
                   6422:   return 0;
                   6423: }
                   6424: _ACEOF
1.66      paf      6425: rm -f conftest.$ac_objext conftest$ac_exeext
                   6426: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      6427:   (eval $ac_link) 2>conftest.er1
1.62      paf      6428:   ac_status=$?
1.86      paf      6429:   grep -v '^ *+' conftest.er1 >conftest.err
                   6430:   rm -f conftest.er1
                   6431:   cat conftest.err >&5
1.62      paf      6432:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6433:   (exit $ac_status); } &&
1.86      paf      6434:         { ac_try='test -z "$ac_c_werror_flag"
                   6435:                         || test ! -s conftest.err'
                   6436:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6437:   (eval $ac_try) 2>&5
                   6438:   ac_status=$?
                   6439:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6440:   (exit $ac_status); }; } &&
                   6441:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      6442:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6443:   (eval $ac_try) 2>&5
                   6444:   ac_status=$?
                   6445:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6446:   (exit $ac_status); }; }; then
1.66      paf      6447:   ac_cv_lib_nsl_main=yes
1.30      paf      6448: else
1.62      paf      6449:   echo "$as_me: failed program was:" >&5
                   6450: sed 's/^/| /' conftest.$ac_ext >&5
                   6451: 
1.66      paf      6452: ac_cv_lib_nsl_main=no
1.30      paf      6453: fi
1.86      paf      6454: rm -f conftest.err conftest.$ac_objext \
                   6455:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      6456: LIBS=$ac_check_lib_save_LIBS
1.62      paf      6457: fi
1.66      paf      6458: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
                   6459: echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
                   6460: if test $ac_cv_lib_nsl_main = yes; then
                   6461:   cat >>confdefs.h <<_ACEOF
                   6462: #define HAVE_LIBNSL 1
                   6463: _ACEOF
1.30      paf      6464: 
1.66      paf      6465:   LIBS="-lnsl $LIBS"
1.30      paf      6466: 
                   6467: fi
                   6468: 
1.66      paf      6469:   ;;
                   6470:   *-nec-sysv4*)
                   6471: 
                   6472: echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
                   6473: echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
                   6474: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
1.62      paf      6475:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6476: else
1.66      paf      6477:   ac_check_lib_save_LIBS=$LIBS
                   6478: LIBS="-lnsl  $LIBS"
                   6479: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      6480: /* confdefs.h.  */
                   6481: _ACEOF
                   6482: cat confdefs.h >>conftest.$ac_ext
                   6483: cat >>conftest.$ac_ext <<_ACEOF
                   6484: /* end confdefs.h.  */
1.66      paf      6485: 
                   6486: /* Override any gcc2 internal prototype to avoid an error.  */
                   6487: #ifdef __cplusplus
                   6488: extern "C"
                   6489: #endif
                   6490: /* We use char because int might match the return type of a gcc2
                   6491:    builtin and then its argument prototype would still apply.  */
                   6492: char gethostbyname ();
1.62      paf      6493: int
                   6494: main ()
                   6495: {
1.66      paf      6496: gethostbyname ();
1.62      paf      6497:   ;
                   6498:   return 0;
                   6499: }
                   6500: _ACEOF
1.66      paf      6501: rm -f conftest.$ac_objext conftest$ac_exeext
                   6502: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      6503:   (eval $ac_link) 2>conftest.er1
1.62      paf      6504:   ac_status=$?
1.86      paf      6505:   grep -v '^ *+' conftest.er1 >conftest.err
                   6506:   rm -f conftest.er1
                   6507:   cat conftest.err >&5
1.62      paf      6508:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6509:   (exit $ac_status); } &&
1.86      paf      6510:         { ac_try='test -z "$ac_c_werror_flag"
                   6511:                         || test ! -s conftest.err'
                   6512:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6513:   (eval $ac_try) 2>&5
                   6514:   ac_status=$?
                   6515:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6516:   (exit $ac_status); }; } &&
                   6517:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      6518:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6519:   (eval $ac_try) 2>&5
                   6520:   ac_status=$?
                   6521:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6522:   (exit $ac_status); }; }; then
1.66      paf      6523:   ac_cv_lib_nsl_gethostbyname=yes
1.30      paf      6524: else
1.62      paf      6525:   echo "$as_me: failed program was:" >&5
                   6526: sed 's/^/| /' conftest.$ac_ext >&5
                   6527: 
1.66      paf      6528: ac_cv_lib_nsl_gethostbyname=no
1.30      paf      6529: fi
1.86      paf      6530: rm -f conftest.err conftest.$ac_objext \
                   6531:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      6532: LIBS=$ac_check_lib_save_LIBS
1.62      paf      6533: fi
1.66      paf      6534: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   6535: echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
                   6536: if test $ac_cv_lib_nsl_gethostbyname = yes; then
                   6537:   cat >>confdefs.h <<_ACEOF
                   6538: #define HAVE_LIBNSL 1
                   6539: _ACEOF
1.30      paf      6540: 
1.66      paf      6541:   LIBS="-lnsl $LIBS"
1.30      paf      6542: 
                   6543: fi
                   6544: 
                   6545: 
1.66      paf      6546: echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
                   6547: echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
                   6548: if test "${ac_cv_lib_socket_socket+set}" = set; then
1.62      paf      6549:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.8       paf      6550: else
1.66      paf      6551:   ac_check_lib_save_LIBS=$LIBS
                   6552: LIBS="-lsocket  $LIBS"
                   6553: cat >conftest.$ac_ext <<_ACEOF
1.62      paf      6554: /* confdefs.h.  */
                   6555: _ACEOF
                   6556: cat confdefs.h >>conftest.$ac_ext
                   6557: cat >>conftest.$ac_ext <<_ACEOF
                   6558: /* end confdefs.h.  */
                   6559: 
1.66      paf      6560: /* Override any gcc2 internal prototype to avoid an error.  */
                   6561: #ifdef __cplusplus
                   6562: extern "C"
                   6563: #endif
                   6564: /* We use char because int might match the return type of a gcc2
                   6565:    builtin and then its argument prototype would still apply.  */
                   6566: char socket ();
1.62      paf      6567: int
                   6568: main ()
                   6569: {
1.66      paf      6570: socket ();
1.62      paf      6571:   ;
                   6572:   return 0;
                   6573: }
                   6574: _ACEOF
1.66      paf      6575: rm -f conftest.$ac_objext conftest$ac_exeext
                   6576: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      6577:   (eval $ac_link) 2>conftest.er1
1.62      paf      6578:   ac_status=$?
1.86      paf      6579:   grep -v '^ *+' conftest.er1 >conftest.err
                   6580:   rm -f conftest.er1
                   6581:   cat conftest.err >&5
1.62      paf      6582:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6583:   (exit $ac_status); } &&
1.86      paf      6584:         { ac_try='test -z "$ac_c_werror_flag"
                   6585:                         || test ! -s conftest.err'
                   6586:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6587:   (eval $ac_try) 2>&5
                   6588:   ac_status=$?
                   6589:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6590:   (exit $ac_status); }; } &&
                   6591:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      6592:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6593:   (eval $ac_try) 2>&5
                   6594:   ac_status=$?
                   6595:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6596:   (exit $ac_status); }; }; then
1.66      paf      6597:   ac_cv_lib_socket_socket=yes
1.8       paf      6598: else
1.62      paf      6599:   echo "$as_me: failed program was:" >&5
                   6600: sed 's/^/| /' conftest.$ac_ext >&5
                   6601: 
1.66      paf      6602: ac_cv_lib_socket_socket=no
1.8       paf      6603: fi
1.86      paf      6604: rm -f conftest.err conftest.$ac_objext \
                   6605:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      6606: LIBS=$ac_check_lib_save_LIBS
1.8       paf      6607: fi
1.66      paf      6608: echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
                   6609: echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
                   6610: if test $ac_cv_lib_socket_socket = yes; then
                   6611:   cat >>confdefs.h <<_ACEOF
                   6612: #define HAVE_LIBSOCKET 1
                   6613: _ACEOF
1.8       paf      6614: 
1.66      paf      6615:   LIBS="-lsocket $LIBS"
1.8       paf      6616: 
                   6617: fi
                   6618: 
1.66      paf      6619:   ;;
                   6620:   *-cygwin*)
1.8       paf      6621: 
1.66      paf      6622: cat >>confdefs.h <<\_ACEOF
                   6623: #define WIN32
                   6624: _ACEOF
1.62      paf      6625: 
                   6626: 
1.66      paf      6627: echo "$as_me:$LINENO: checking for socket in -lwsock32" >&5
                   6628: echo $ECHO_N "checking for socket in -lwsock32... $ECHO_C" >&6
                   6629: if test "${ac_cv_lib_wsock32_socket+set}" = set; then
1.62      paf      6630:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6631: else
1.66      paf      6632:   ac_check_lib_save_LIBS=$LIBS
                   6633: LIBS="-lwsock32  $LIBS"
1.62      paf      6634: cat >conftest.$ac_ext <<_ACEOF
                   6635: /* confdefs.h.  */
                   6636: _ACEOF
                   6637: cat confdefs.h >>conftest.$ac_ext
                   6638: cat >>conftest.$ac_ext <<_ACEOF
                   6639: /* end confdefs.h.  */
1.66      paf      6640: 
                   6641: /* Override any gcc2 internal prototype to avoid an error.  */
                   6642: #ifdef __cplusplus
                   6643: extern "C"
                   6644: #endif
                   6645: /* We use char because int might match the return type of a gcc2
                   6646:    builtin and then its argument prototype would still apply.  */
                   6647: char socket ();
                   6648: int
                   6649: main ()
                   6650: {
                   6651: socket ();
                   6652:   ;
                   6653:   return 0;
                   6654: }
1.62      paf      6655: _ACEOF
1.66      paf      6656: rm -f conftest.$ac_objext conftest$ac_exeext
                   6657: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      6658:   (eval $ac_link) 2>conftest.er1
1.62      paf      6659:   ac_status=$?
1.86      paf      6660:   grep -v '^ *+' conftest.er1 >conftest.err
                   6661:   rm -f conftest.er1
                   6662:   cat conftest.err >&5
1.62      paf      6663:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6664:   (exit $ac_status); } &&
1.86      paf      6665:         { ac_try='test -z "$ac_c_werror_flag"
                   6666:                         || test ! -s conftest.err'
                   6667:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6668:   (eval $ac_try) 2>&5
                   6669:   ac_status=$?
                   6670:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6671:   (exit $ac_status); }; } &&
                   6672:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      6673:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6674:   (eval $ac_try) 2>&5
                   6675:   ac_status=$?
                   6676:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6677:   (exit $ac_status); }; }; then
1.66      paf      6678:   ac_cv_lib_wsock32_socket=yes
1.62      paf      6679: else
                   6680:   echo "$as_me: failed program was:" >&5
                   6681: sed 's/^/| /' conftest.$ac_ext >&5
                   6682: 
1.66      paf      6683: ac_cv_lib_wsock32_socket=no
                   6684: fi
1.86      paf      6685: rm -f conftest.err conftest.$ac_objext \
                   6686:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      6687: LIBS=$ac_check_lib_save_LIBS
                   6688: fi
                   6689: echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_socket" >&5
                   6690: echo "${ECHO_T}$ac_cv_lib_wsock32_socket" >&6
                   6691: if test $ac_cv_lib_wsock32_socket = yes; then
                   6692:   cat >>confdefs.h <<_ACEOF
                   6693: #define HAVE_LIBWSOCK32 1
                   6694: _ACEOF
                   6695: 
                   6696:   LIBS="-lwsock32 $LIBS"
                   6697: 
1.62      paf      6698: fi
                   6699: 
1.66      paf      6700:   ;;
                   6701: # never tested this, only theoretically by letter from demos about parser2 build
                   6702:   *-hpux*)
                   6703: 
                   6704: echo "$as_me:$LINENO: checking for main in -lnsl" >&5
                   6705: echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
                   6706: if test "${ac_cv_lib_nsl_main+set}" = set; then
                   6707:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6708: else
                   6709:   ac_check_lib_save_LIBS=$LIBS
                   6710: LIBS="-lnsl  $LIBS"
1.62      paf      6711: cat >conftest.$ac_ext <<_ACEOF
                   6712: /* confdefs.h.  */
                   6713: _ACEOF
                   6714: cat confdefs.h >>conftest.$ac_ext
                   6715: cat >>conftest.$ac_ext <<_ACEOF
                   6716: /* end confdefs.h.  */
1.66      paf      6717: 
                   6718: 
                   6719: int
                   6720: main ()
                   6721: {
                   6722: main ();
                   6723:   ;
                   6724:   return 0;
                   6725: }
1.62      paf      6726: _ACEOF
1.66      paf      6727: rm -f conftest.$ac_objext conftest$ac_exeext
                   6728: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      6729:   (eval $ac_link) 2>conftest.er1
1.66      paf      6730:   ac_status=$?
1.86      paf      6731:   grep -v '^ *+' conftest.er1 >conftest.err
                   6732:   rm -f conftest.er1
                   6733:   cat conftest.err >&5
1.66      paf      6734:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6735:   (exit $ac_status); } &&
1.86      paf      6736:         { ac_try='test -z "$ac_c_werror_flag"
                   6737:                         || test ! -s conftest.err'
                   6738:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6739:   (eval $ac_try) 2>&5
                   6740:   ac_status=$?
                   6741:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6742:   (exit $ac_status); }; } &&
                   6743:         { ac_try='test -s conftest$ac_exeext'
1.66      paf      6744:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6745:   (eval $ac_try) 2>&5
1.62      paf      6746:   ac_status=$?
                   6747:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.66      paf      6748:   (exit $ac_status); }; }; then
                   6749:   ac_cv_lib_nsl_main=yes
1.62      paf      6750: else
                   6751:   echo "$as_me: failed program was:" >&5
                   6752: sed 's/^/| /' conftest.$ac_ext >&5
                   6753: 
1.66      paf      6754: ac_cv_lib_nsl_main=no
1.62      paf      6755: fi
1.86      paf      6756: rm -f conftest.err conftest.$ac_objext \
                   6757:       conftest$ac_exeext conftest.$ac_ext
1.66      paf      6758: LIBS=$ac_check_lib_save_LIBS
1.1       paf      6759: fi
1.66      paf      6760: echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
                   6761: echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
                   6762: if test $ac_cv_lib_nsl_main = yes; then
1.62      paf      6763:   cat >>confdefs.h <<_ACEOF
1.66      paf      6764: #define HAVE_LIBNSL 1
1.62      paf      6765: _ACEOF
                   6766: 
1.66      paf      6767:   LIBS="-lnsl $LIBS"
                   6768: 
1.1       paf      6769: fi
1.62      paf      6770: 
1.66      paf      6771:   ;;
                   6772: esac
1.1       paf      6773: 
                   6774: 
1.66      paf      6775: echo "$as_me:$LINENO: checking for sin in -lm" >&5
                   6776: echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
                   6777: if test "${ac_cv_lib_m_sin+set}" = set; then
1.62      paf      6778:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      6779: else
1.62      paf      6780:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      6781: LIBS="-lm  $LIBS"
1.62      paf      6782: cat >conftest.$ac_ext <<_ACEOF
                   6783: /* confdefs.h.  */
                   6784: _ACEOF
                   6785: cat confdefs.h >>conftest.$ac_ext
                   6786: cat >>conftest.$ac_ext <<_ACEOF
                   6787: /* end confdefs.h.  */
                   6788: 
1.66      paf      6789: /* Override any gcc2 internal prototype to avoid an error.  */
                   6790: #ifdef __cplusplus
                   6791: extern "C"
                   6792: #endif
                   6793: /* We use char because int might match the return type of a gcc2
                   6794:    builtin and then its argument prototype would still apply.  */
                   6795: char sin ();
1.62      paf      6796: int
                   6797: main ()
                   6798: {
1.66      paf      6799: sin ();
1.62      paf      6800:   ;
                   6801:   return 0;
                   6802: }
                   6803: _ACEOF
                   6804: rm -f conftest.$ac_objext conftest$ac_exeext
                   6805: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      6806:   (eval $ac_link) 2>conftest.er1
1.62      paf      6807:   ac_status=$?
1.86      paf      6808:   grep -v '^ *+' conftest.er1 >conftest.err
                   6809:   rm -f conftest.er1
                   6810:   cat conftest.err >&5
1.62      paf      6811:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6812:   (exit $ac_status); } &&
1.86      paf      6813:         { ac_try='test -z "$ac_c_werror_flag"
                   6814:                         || test ! -s conftest.err'
                   6815:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6816:   (eval $ac_try) 2>&5
                   6817:   ac_status=$?
                   6818:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6819:   (exit $ac_status); }; } &&
                   6820:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      6821:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6822:   (eval $ac_try) 2>&5
                   6823:   ac_status=$?
                   6824:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6825:   (exit $ac_status); }; }; then
1.66      paf      6826:   ac_cv_lib_m_sin=yes
1.62      paf      6827: else
                   6828:   echo "$as_me: failed program was:" >&5
                   6829: sed 's/^/| /' conftest.$ac_ext >&5
                   6830: 
1.66      paf      6831: ac_cv_lib_m_sin=no
1.62      paf      6832: fi
1.86      paf      6833: rm -f conftest.err conftest.$ac_objext \
                   6834:       conftest$ac_exeext conftest.$ac_ext
1.62      paf      6835: LIBS=$ac_check_lib_save_LIBS
                   6836: fi
1.66      paf      6837: echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
                   6838: echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
                   6839: if test $ac_cv_lib_m_sin = yes; then
1.62      paf      6840:   cat >>confdefs.h <<_ACEOF
1.66      paf      6841: #define HAVE_LIBM 1
1.62      paf      6842: _ACEOF
1.1       paf      6843: 
1.66      paf      6844:   LIBS="-lm $LIBS"
1.1       paf      6845: 
                   6846: fi
                   6847: 
1.62      paf      6848: 
1.66      paf      6849: 
                   6850: echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
                   6851: echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
                   6852: if test "${ac_cv_lib_crypt_crypt+set}" = set; then
1.62      paf      6853:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      6854: else
1.62      paf      6855:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      6856: LIBS="-lcrypt  $LIBS"
1.62      paf      6857: cat >conftest.$ac_ext <<_ACEOF
                   6858: /* confdefs.h.  */
                   6859: _ACEOF
                   6860: cat confdefs.h >>conftest.$ac_ext
                   6861: cat >>conftest.$ac_ext <<_ACEOF
                   6862: /* end confdefs.h.  */
                   6863: 
1.66      paf      6864: /* Override any gcc2 internal prototype to avoid an error.  */
                   6865: #ifdef __cplusplus
                   6866: extern "C"
                   6867: #endif
                   6868: /* We use char because int might match the return type of a gcc2
                   6869:    builtin and then its argument prototype would still apply.  */
                   6870: char crypt ();
1.62      paf      6871: int
                   6872: main ()
                   6873: {
1.66      paf      6874: crypt ();
1.62      paf      6875:   ;
                   6876:   return 0;
                   6877: }
                   6878: _ACEOF
                   6879: rm -f conftest.$ac_objext conftest$ac_exeext
                   6880: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      6881:   (eval $ac_link) 2>conftest.er1
1.62      paf      6882:   ac_status=$?
1.86      paf      6883:   grep -v '^ *+' conftest.er1 >conftest.err
                   6884:   rm -f conftest.er1
                   6885:   cat conftest.err >&5
1.62      paf      6886:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6887:   (exit $ac_status); } &&
1.86      paf      6888:         { ac_try='test -z "$ac_c_werror_flag"
                   6889:                         || test ! -s conftest.err'
                   6890:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6891:   (eval $ac_try) 2>&5
                   6892:   ac_status=$?
                   6893:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6894:   (exit $ac_status); }; } &&
                   6895:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      6896:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6897:   (eval $ac_try) 2>&5
                   6898:   ac_status=$?
                   6899:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6900:   (exit $ac_status); }; }; then
1.66      paf      6901:   ac_cv_lib_crypt_crypt=yes
1.62      paf      6902: else
                   6903:   echo "$as_me: failed program was:" >&5
                   6904: sed 's/^/| /' conftest.$ac_ext >&5
                   6905: 
1.66      paf      6906: ac_cv_lib_crypt_crypt=no
1.62      paf      6907: fi
1.86      paf      6908: rm -f conftest.err conftest.$ac_objext \
                   6909:       conftest$ac_exeext conftest.$ac_ext
1.62      paf      6910: LIBS=$ac_check_lib_save_LIBS
                   6911: fi
1.66      paf      6912: echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
                   6913: echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
                   6914: if test $ac_cv_lib_crypt_crypt = yes; then
1.62      paf      6915:   cat >>confdefs.h <<_ACEOF
1.66      paf      6916: #define HAVE_LIBCRYPT 1
1.62      paf      6917: _ACEOF
1.1       paf      6918: 
1.66      paf      6919:   LIBS="-lcrypt $LIBS"
                   6920: 
                   6921: fi
                   6922: 
                   6923: 
                   6924: 
                   6925: 
                   6926: 
                   6927: 
                   6928: 
                   6929: 
                   6930: 
                   6931: 
                   6932: 
                   6933: 
1.80      paf      6934: 
1.92      misha    6935: 
1.112     misha    6936: 
1.67      paf      6937: for ac_func in flock \
1.66      paf      6938: _locking \
                   6939: fcntl \
                   6940: lockf \
                   6941: ftruncate \
1.112     misha    6942: fchmod \
1.66      paf      6943: getrusage \
                   6944: gettimeofday \
                   6945: crypt \
1.80      paf      6946: sigsetjmp \
1.92      misha    6947: siglongjmp \
                   6948: unsetenv
1.66      paf      6949: 
                   6950: do
                   6951: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   6952: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   6953: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   6954: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   6955:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6956: else
                   6957:   cat >conftest.$ac_ext <<_ACEOF
                   6958: /* confdefs.h.  */
                   6959: _ACEOF
                   6960: cat confdefs.h >>conftest.$ac_ext
                   6961: cat >>conftest.$ac_ext <<_ACEOF
                   6962: /* end confdefs.h.  */
1.86      paf      6963: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   6964:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   6965: #define $ac_func innocuous_$ac_func
                   6966: 
1.66      paf      6967: /* System header to define __stub macros and hopefully few prototypes,
                   6968:     which can conflict with char $ac_func (); below.
                   6969:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   6970:     <limits.h> exists even on freestanding compilers.  */
1.86      paf      6971: 
1.66      paf      6972: #ifdef __STDC__
                   6973: # include <limits.h>
                   6974: #else
                   6975: # include <assert.h>
                   6976: #endif
1.86      paf      6977: 
                   6978: #undef $ac_func
                   6979: 
1.66      paf      6980: /* Override any gcc2 internal prototype to avoid an error.  */
                   6981: #ifdef __cplusplus
                   6982: extern "C"
                   6983: {
                   6984: #endif
                   6985: /* We use char because int might match the return type of a gcc2
                   6986:    builtin and then its argument prototype would still apply.  */
                   6987: char $ac_func ();
                   6988: /* The GNU C library defines this for functions which it implements
                   6989:     to always fail with ENOSYS.  Some functions are actually named
                   6990:     something starting with __ and the normal name is an alias.  */
                   6991: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   6992: choke me
                   6993: #else
                   6994: char (*f) () = $ac_func;
                   6995: #endif
                   6996: #ifdef __cplusplus
                   6997: }
                   6998: #endif
1.62      paf      6999: 
                   7000: int
                   7001: main ()
                   7002: {
1.66      paf      7003: return f != $ac_func;
1.62      paf      7004:   ;
                   7005:   return 0;
                   7006: }
                   7007: _ACEOF
                   7008: rm -f conftest.$ac_objext conftest$ac_exeext
                   7009: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      7010:   (eval $ac_link) 2>conftest.er1
1.62      paf      7011:   ac_status=$?
1.86      paf      7012:   grep -v '^ *+' conftest.er1 >conftest.err
                   7013:   rm -f conftest.er1
                   7014:   cat conftest.err >&5
1.62      paf      7015:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7016:   (exit $ac_status); } &&
1.86      paf      7017:         { ac_try='test -z "$ac_c_werror_flag"
                   7018:                         || test ! -s conftest.err'
                   7019:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7020:   (eval $ac_try) 2>&5
                   7021:   ac_status=$?
                   7022:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7023:   (exit $ac_status); }; } &&
                   7024:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      7025:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7026:   (eval $ac_try) 2>&5
                   7027:   ac_status=$?
                   7028:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7029:   (exit $ac_status); }; }; then
1.66      paf      7030:   eval "$as_ac_var=yes"
1.62      paf      7031: else
                   7032:   echo "$as_me: failed program was:" >&5
                   7033: sed 's/^/| /' conftest.$ac_ext >&5
                   7034: 
1.66      paf      7035: eval "$as_ac_var=no"
1.62      paf      7036: fi
1.86      paf      7037: rm -f conftest.err conftest.$ac_objext \
                   7038:       conftest$ac_exeext conftest.$ac_ext
1.62      paf      7039: fi
1.66      paf      7040: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   7041: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   7042: if test `eval echo '${'$as_ac_var'}'` = yes; then
1.62      paf      7043:   cat >>confdefs.h <<_ACEOF
1.66      paf      7044: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.62      paf      7045: _ACEOF
1.1       paf      7046: 
1.66      paf      7047: fi
                   7048: done
                   7049: 
1.1       paf      7050: 
                   7051: 
1.67      paf      7052: pa_func=sigsetjmp
                   7053: echo "$as_me:$LINENO: checking for (maybe built-in) function $pa_func" >&5
                   7054: echo $ECHO_N "checking for (maybe built-in) function $pa_func... $ECHO_C" >&6
                   7055: cat >conftest.$ac_ext <<_ACEOF
                   7056: /* confdefs.h.  */
                   7057: _ACEOF
                   7058: cat confdefs.h >>conftest.$ac_ext
                   7059: cat >>conftest.$ac_ext <<_ACEOF
                   7060: /* end confdefs.h.  */
                   7061: 
                   7062: #ifdef HAVE_SETJMP_H
                   7063: #      include <setjmp.h>
                   7064: #endif
                   7065: 
                   7066: int
                   7067: main ()
                   7068: {
                   7069: 
                   7070:         $pa_func(0,0);
                   7071: 
                   7072:   ;
                   7073:   return 0;
                   7074: }
                   7075: _ACEOF
                   7076: rm -f conftest.$ac_objext
                   7077: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      7078:   (eval $ac_compile) 2>conftest.er1
1.67      paf      7079:   ac_status=$?
1.86      paf      7080:   grep -v '^ *+' conftest.er1 >conftest.err
                   7081:   rm -f conftest.er1
                   7082:   cat conftest.err >&5
1.67      paf      7083:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7084:   (exit $ac_status); } &&
1.86      paf      7085:         { ac_try='test -z "$ac_c_werror_flag"
                   7086:                         || test ! -s conftest.err'
                   7087:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7088:   (eval $ac_try) 2>&5
                   7089:   ac_status=$?
                   7090:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7091:   (exit $ac_status); }; } &&
                   7092:         { ac_try='test -s conftest.$ac_objext'
1.67      paf      7093:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7094:   (eval $ac_try) 2>&5
                   7095:   ac_status=$?
                   7096:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7097:   (exit $ac_status); }; }; then
                   7098:   echo "$as_me:$LINENO: result: yes" >&5
                   7099: echo "${ECHO_T}yes" >&6
                   7100: cat >>confdefs.h <<_ACEOF
                   7101: #define `echo "HAVE_$pa_func" | $as_tr_cpp` 1
                   7102: _ACEOF
                   7103: 
                   7104: 
                   7105: else
                   7106:   echo "$as_me: failed program was:" >&5
                   7107: sed 's/^/| /' conftest.$ac_ext >&5
                   7108: 
                   7109: echo "$as_me:$LINENO: result: no" >&5
                   7110: echo "${ECHO_T}no" >&6
                   7111: 
                   7112: fi
1.86      paf      7113: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.67      paf      7114: 
                   7115: 
                   7116: 
                   7117: ac_ext=cc
                   7118: ac_cpp='$CXXCPP $CPPFLAGS'
                   7119: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7120: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7121: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   7122: 
                   7123: 
                   7124: 
                   7125: 
                   7126: 
                   7127: 
                   7128: 
                   7129: for pa_func in trunc \
                   7130: round \
                   7131: sign
                   7132: 
                   7133: do
                   7134: 
                   7135: echo "$as_me:$LINENO: checking for (maybe built-in) math function $pa_func" >&5
                   7136: echo $ECHO_N "checking for (maybe built-in) math function $pa_func... $ECHO_C" >&6
                   7137: cat >conftest.$ac_ext <<_ACEOF
                   7138: /* confdefs.h.  */
                   7139: _ACEOF
                   7140: cat confdefs.h >>conftest.$ac_ext
                   7141: cat >>conftest.$ac_ext <<_ACEOF
                   7142: /* end confdefs.h.  */
                   7143: 
                   7144: #ifdef HAVE_MATH_H
                   7145: #       include <math.h>
                   7146: #endif
                   7147: 
                   7148: int
                   7149: main ()
                   7150: {
                   7151: 
                   7152:         double result=$pa_func(1.6);
                   7153: 
                   7154:   ;
                   7155:   return 0;
                   7156: }
                   7157: _ACEOF
                   7158: rm -f conftest.$ac_objext
                   7159: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      7160:   (eval $ac_compile) 2>conftest.er1
1.67      paf      7161:   ac_status=$?
1.86      paf      7162:   grep -v '^ *+' conftest.er1 >conftest.err
                   7163:   rm -f conftest.er1
                   7164:   cat conftest.err >&5
1.67      paf      7165:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7166:   (exit $ac_status); } &&
1.86      paf      7167:         { ac_try='test -z "$ac_cxx_werror_flag"
                   7168:                         || test ! -s conftest.err'
                   7169:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7170:   (eval $ac_try) 2>&5
                   7171:   ac_status=$?
                   7172:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7173:   (exit $ac_status); }; } &&
                   7174:         { ac_try='test -s conftest.$ac_objext'
1.67      paf      7175:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7176:   (eval $ac_try) 2>&5
                   7177:   ac_status=$?
                   7178:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7179:   (exit $ac_status); }; }; then
                   7180:   echo "$as_me:$LINENO: result: yes" >&5
                   7181: echo "${ECHO_T}yes" >&6
                   7182: cat >>confdefs.h <<_ACEOF
                   7183: #define `echo "HAVE_$pa_func" | $as_tr_cpp`  1
                   7184: _ACEOF
                   7185: 
                   7186: else
                   7187:   echo "$as_me: failed program was:" >&5
                   7188: sed 's/^/| /' conftest.$ac_ext >&5
                   7189: 
                   7190: echo "$as_me:$LINENO: result: no" >&5
                   7191: echo "${ECHO_T}no" >&6
                   7192: 
                   7193: fi
1.86      paf      7194: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.67      paf      7195: 
                   7196: done
                   7197: 
                   7198: ac_ext=c
                   7199: ac_cpp='$CPP $CPPFLAGS'
                   7200: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7201: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7202: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7203: 
                   7204: 
                   7205: 
1.62      paf      7206: 
1.66      paf      7207: for ac_func in qsort
                   7208: do
                   7209: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   7210: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   7211: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   7212: if eval "test \"\${$as_ac_var+set}\" = set"; then
1.62      paf      7213:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       paf      7214: else
1.66      paf      7215:   cat >conftest.$ac_ext <<_ACEOF
1.62      paf      7216: /* confdefs.h.  */
                   7217: _ACEOF
                   7218: cat confdefs.h >>conftest.$ac_ext
                   7219: cat >>conftest.$ac_ext <<_ACEOF
                   7220: /* end confdefs.h.  */
1.86      paf      7221: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   7222:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   7223: #define $ac_func innocuous_$ac_func
                   7224: 
1.66      paf      7225: /* System header to define __stub macros and hopefully few prototypes,
                   7226:     which can conflict with char $ac_func (); below.
                   7227:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   7228:     <limits.h> exists even on freestanding compilers.  */
1.86      paf      7229: 
1.66      paf      7230: #ifdef __STDC__
                   7231: # include <limits.h>
                   7232: #else
                   7233: # include <assert.h>
                   7234: #endif
1.86      paf      7235: 
                   7236: #undef $ac_func
                   7237: 
1.1       paf      7238: /* Override any gcc2 internal prototype to avoid an error.  */
                   7239: #ifdef __cplusplus
                   7240: extern "C"
1.66      paf      7241: {
1.1       paf      7242: #endif
                   7243: /* We use char because int might match the return type of a gcc2
1.62      paf      7244:    builtin and then its argument prototype would still apply.  */
1.66      paf      7245: char $ac_func ();
                   7246: /* The GNU C library defines this for functions which it implements
                   7247:     to always fail with ENOSYS.  Some functions are actually named
                   7248:     something starting with __ and the normal name is an alias.  */
                   7249: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   7250: choke me
                   7251: #else
                   7252: char (*f) () = $ac_func;
                   7253: #endif
                   7254: #ifdef __cplusplus
                   7255: }
                   7256: #endif
                   7257: 
1.62      paf      7258: int
                   7259: main ()
                   7260: {
1.66      paf      7261: return f != $ac_func;
1.62      paf      7262:   ;
                   7263:   return 0;
                   7264: }
                   7265: _ACEOF
                   7266: rm -f conftest.$ac_objext conftest$ac_exeext
                   7267: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.86      paf      7268:   (eval $ac_link) 2>conftest.er1
1.62      paf      7269:   ac_status=$?
1.86      paf      7270:   grep -v '^ *+' conftest.er1 >conftest.err
                   7271:   rm -f conftest.er1
                   7272:   cat conftest.err >&5
1.62      paf      7273:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7274:   (exit $ac_status); } &&
1.86      paf      7275:         { ac_try='test -z "$ac_c_werror_flag"
                   7276:                         || test ! -s conftest.err'
                   7277:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7278:   (eval $ac_try) 2>&5
                   7279:   ac_status=$?
                   7280:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7281:   (exit $ac_status); }; } &&
                   7282:         { ac_try='test -s conftest$ac_exeext'
1.62      paf      7283:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7284:   (eval $ac_try) 2>&5
                   7285:   ac_status=$?
                   7286:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7287:   (exit $ac_status); }; }; then
1.66      paf      7288:   eval "$as_ac_var=yes"
1.62      paf      7289: else
                   7290:   echo "$as_me: failed program was:" >&5
                   7291: sed 's/^/| /' conftest.$ac_ext >&5
                   7292: 
1.66      paf      7293: eval "$as_ac_var=no"
1.62      paf      7294: fi
1.86      paf      7295: rm -f conftest.err conftest.$ac_objext \
                   7296:       conftest$ac_exeext conftest.$ac_ext
1.62      paf      7297: fi
1.66      paf      7298: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   7299: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   7300: if test `eval echo '${'$as_ac_var'}'` = yes; then
1.62      paf      7301:   cat >>confdefs.h <<_ACEOF
1.66      paf      7302: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.62      paf      7303: _ACEOF
1.1       paf      7304: 
1.66      paf      7305: else
                   7306:   { { echo "$as_me:$LINENO: error: No qsort library function." >&5
                   7307: echo "$as_me: error: No qsort library function." >&2;}
                   7308:    { (exit 1); exit 1; }; }
1.1       paf      7309: fi
1.66      paf      7310: done
1.1       paf      7311: 
                   7312: 
1.62      paf      7313: 
1.66      paf      7314: echo "$as_me:$LINENO: checking for timezone variable" >&5
                   7315: echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6
1.62      paf      7316: cat >conftest.$ac_ext <<_ACEOF
                   7317: /* confdefs.h.  */
                   7318: _ACEOF
                   7319: cat confdefs.h >>conftest.$ac_ext
                   7320: cat >>conftest.$ac_ext <<_ACEOF
                   7321: /* end confdefs.h.  */
1.66      paf      7322: #include <time.h>
1.62      paf      7323: int
                   7324: main ()
                   7325: {
1.66      paf      7326: 
                   7327: time_t test=timezone;
                   7328: 
1.62      paf      7329:   ;
                   7330:   return 0;
                   7331: }
                   7332: _ACEOF
1.66      paf      7333: rm -f conftest.$ac_objext
                   7334: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      7335:   (eval $ac_compile) 2>conftest.er1
1.62      paf      7336:   ac_status=$?
1.86      paf      7337:   grep -v '^ *+' conftest.er1 >conftest.err
                   7338:   rm -f conftest.er1
                   7339:   cat conftest.err >&5
1.62      paf      7340:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7341:   (exit $ac_status); } &&
1.86      paf      7342:         { ac_try='test -z "$ac_c_werror_flag"
                   7343:                         || test ! -s conftest.err'
                   7344:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7345:   (eval $ac_try) 2>&5
                   7346:   ac_status=$?
                   7347:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7348:   (exit $ac_status); }; } &&
                   7349:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      7350:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7351:   (eval $ac_try) 2>&5
                   7352:   ac_status=$?
                   7353:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7354:   (exit $ac_status); }; }; then
1.66      paf      7355:   cat >>confdefs.h <<\_ACEOF
                   7356: #define HAVE_TIMEZONE 1
                   7357: _ACEOF
                   7358: 
                   7359: echo "$as_me:$LINENO: result: yes" >&5
                   7360: echo "${ECHO_T}yes" >&6
1.62      paf      7361: else
                   7362:   echo "$as_me: failed program was:" >&5
                   7363: sed 's/^/| /' conftest.$ac_ext >&5
                   7364: 
1.66      paf      7365: echo "$as_me:$LINENO: result: no" >&5
                   7366: echo "${ECHO_T}no" >&6
1.62      paf      7367: fi
1.86      paf      7368: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       paf      7369: 
1.66      paf      7370: echo "$as_me:$LINENO: checking for daylight variable" >&5
                   7371: echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6
1.62      paf      7372: cat >conftest.$ac_ext <<_ACEOF
                   7373: /* confdefs.h.  */
                   7374: _ACEOF
                   7375: cat confdefs.h >>conftest.$ac_ext
                   7376: cat >>conftest.$ac_ext <<_ACEOF
                   7377: /* end confdefs.h.  */
1.66      paf      7378: #include <time.h>
1.62      paf      7379: int
                   7380: main ()
                   7381: {
1.66      paf      7382: 
                   7383: int test=daylight;
                   7384: 
1.62      paf      7385:   ;
                   7386:   return 0;
                   7387: }
                   7388: _ACEOF
1.66      paf      7389: rm -f conftest.$ac_objext
                   7390: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      7391:   (eval $ac_compile) 2>conftest.er1
1.62      paf      7392:   ac_status=$?
1.86      paf      7393:   grep -v '^ *+' conftest.er1 >conftest.err
                   7394:   rm -f conftest.er1
                   7395:   cat conftest.err >&5
1.62      paf      7396:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7397:   (exit $ac_status); } &&
1.86      paf      7398:         { ac_try='test -z "$ac_c_werror_flag"
                   7399:                         || test ! -s conftest.err'
                   7400:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7401:   (eval $ac_try) 2>&5
                   7402:   ac_status=$?
                   7403:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7404:   (exit $ac_status); }; } &&
                   7405:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      7406:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7407:   (eval $ac_try) 2>&5
                   7408:   ac_status=$?
                   7409:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7410:   (exit $ac_status); }; }; then
1.66      paf      7411:   cat >>confdefs.h <<\_ACEOF
                   7412: #define HAVE_DAYLIGHT 1
                   7413: _ACEOF
                   7414: 
                   7415: echo "$as_me:$LINENO: result: yes" >&5
                   7416: echo "${ECHO_T}yes" >&6
1.62      paf      7417: else
                   7418:   echo "$as_me: failed program was:" >&5
                   7419: sed 's/^/| /' conftest.$ac_ext >&5
                   7420: 
1.66      paf      7421: echo "$as_me:$LINENO: result: no" >&5
                   7422: echo "${ECHO_T}no" >&6
1.62      paf      7423: fi
1.86      paf      7424: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      7425: 
1.66      paf      7426: echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
                   7427: echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
1.62      paf      7428: cat >conftest.$ac_ext <<_ACEOF
                   7429: /* confdefs.h.  */
                   7430: _ACEOF
                   7431: cat confdefs.h >>conftest.$ac_ext
                   7432: cat >>conftest.$ac_ext <<_ACEOF
                   7433: /* end confdefs.h.  */
1.66      paf      7434: #include <time.h>
1.62      paf      7435: int
                   7436: main ()
                   7437: {
1.66      paf      7438: struct tm tm;
                   7439: tm.tm_gmtoff=0;
                   7440: 
1.62      paf      7441:   ;
                   7442:   return 0;
                   7443: }
                   7444: _ACEOF
1.66      paf      7445: rm -f conftest.$ac_objext
                   7446: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      7447:   (eval $ac_compile) 2>conftest.er1
1.62      paf      7448:   ac_status=$?
1.86      paf      7449:   grep -v '^ *+' conftest.er1 >conftest.err
                   7450:   rm -f conftest.er1
                   7451:   cat conftest.err >&5
1.62      paf      7452:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7453:   (exit $ac_status); } &&
1.86      paf      7454:         { ac_try='test -z "$ac_c_werror_flag"
                   7455:                         || test ! -s conftest.err'
                   7456:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7457:   (eval $ac_try) 2>&5
                   7458:   ac_status=$?
                   7459:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7460:   (exit $ac_status); }; } &&
                   7461:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      7462:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7463:   (eval $ac_try) 2>&5
                   7464:   ac_status=$?
                   7465:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7466:   (exit $ac_status); }; }; then
1.66      paf      7467:   cat >>confdefs.h <<\_ACEOF
                   7468: #define HAVE_TM_GMTOFF 1
                   7469: _ACEOF
                   7470: 
                   7471: echo "$as_me:$LINENO: result: yes" >&5
                   7472: echo "${ECHO_T}yes" >&6
1.62      paf      7473: else
                   7474:   echo "$as_me: failed program was:" >&5
                   7475: sed 's/^/| /' conftest.$ac_ext >&5
                   7476: 
1.66      paf      7477: echo "$as_me:$LINENO: result: no" >&5
                   7478: echo "${ECHO_T}no" >&6
1.62      paf      7479: fi
1.86      paf      7480: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       paf      7481: 
1.66      paf      7482: echo "$as_me:$LINENO: checking for tm_tzadj in struct tm" >&5
                   7483: echo $ECHO_N "checking for tm_tzadj in struct tm... $ECHO_C" >&6
1.62      paf      7484: cat >conftest.$ac_ext <<_ACEOF
                   7485: /* confdefs.h.  */
                   7486: _ACEOF
                   7487: cat confdefs.h >>conftest.$ac_ext
                   7488: cat >>conftest.$ac_ext <<_ACEOF
                   7489: /* end confdefs.h.  */
1.66      paf      7490: #include <time.h>
1.62      paf      7491: int
                   7492: main ()
                   7493: {
1.66      paf      7494: struct tm tm;
                   7495: tm.tm_tzadj=0;
                   7496: 
1.62      paf      7497:   ;
                   7498:   return 0;
                   7499: }
                   7500: _ACEOF
1.66      paf      7501: rm -f conftest.$ac_objext
                   7502: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.86      paf      7503:   (eval $ac_compile) 2>conftest.er1
1.62      paf      7504:   ac_status=$?
1.86      paf      7505:   grep -v '^ *+' conftest.er1 >conftest.err
                   7506:   rm -f conftest.er1
                   7507:   cat conftest.err >&5
1.62      paf      7508:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7509:   (exit $ac_status); } &&
1.86      paf      7510:         { ac_try='test -z "$ac_c_werror_flag"
                   7511:                         || test ! -s conftest.err'
                   7512:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7513:   (eval $ac_try) 2>&5
                   7514:   ac_status=$?
                   7515:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7516:   (exit $ac_status); }; } &&
                   7517:         { ac_try='test -s conftest.$ac_objext'
1.62      paf      7518:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7519:   (eval $ac_try) 2>&5
                   7520:   ac_status=$?
                   7521:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7522:   (exit $ac_status); }; }; then
1.66      paf      7523:   cat >>confdefs.h <<\_ACEOF
                   7524: #define HAVE_TM_TZADJ 1
                   7525: _ACEOF
                   7526: 
                   7527: echo "$as_me:$LINENO: result: yes" >&5
                   7528: echo "${ECHO_T}yes" >&6
1.62      paf      7529: else
                   7530:   echo "$as_me: failed program was:" >&5
                   7531: sed 's/^/| /' conftest.$ac_ext >&5
                   7532: 
1.66      paf      7533: echo "$as_me:$LINENO: result: no" >&5
                   7534: echo "${ECHO_T}no" >&6
1.62      paf      7535: fi
1.86      paf      7536: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.31      paf      7537: 
                   7538: 
                   7539: 
                   7540: 
1.1       paf      7541: 
                   7542: 
                   7543: 
1.62      paf      7544: 
                   7545: 
                   7546: 
                   7547: 
                   7548: 
                   7549: 
                   7550: 
                   7551: 
                   7552: 
                   7553: 
                   7554: 
                   7555: 
                   7556: 
                   7557: 
                   7558: 
                   7559: 
                   7560: 
                   7561: 
                   7562: 
                   7563: 
                   7564: 
                   7565: 
                   7566: 
                   7567: 
                   7568: 
                   7569: 
                   7570:           ac_config_headers="$ac_config_headers src/include/pa_config_auto.h"
                   7571: 
1.122     moko     7572:                                                                                                                                                                                                                                                                                                   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/gd/Makefile src/lib/smtp/Makefile src/lib/gc/Makefile src/lib/gc/include/Makefile src/lib/pcre/Makefile src/lib/cord/Makefile src/lib/cord/include/Makefile src/lib/cord/include/private/Makefile src/lib/ltdl/Makefile src/lib/md5/Makefile src/lib/sdbm/Makefile src/lib/sdbm/apr-include/Makefile src/lib/json/Makefile src/targets/Makefile src/targets/cgi/Makefile src/targets/apache/Makefile src/targets/isapi/Makefile etc/Makefile etc/parser3.charsets/Makefile bin/Makefile bin/auto.p.dist"
1.62      paf      7573: cat >confcache <<\_ACEOF
1.1       paf      7574: # This file is a shell script that caches the results of configure
                   7575: # tests run on this system so they can be shared between configure
1.62      paf      7576: # scripts and configure runs, see configure's option --config-cache.
                   7577: # It is not useful on other systems.  If it contains results you don't
                   7578: # want to keep, you may remove or edit it.
1.1       paf      7579: #
1.62      paf      7580: # config.status only pays attention to the cache file if you give it
                   7581: # the --recheck option to rerun configure.
1.1       paf      7582: #
1.62      paf      7583: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   7584: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   7585: # following values.
                   7586: 
                   7587: _ACEOF
                   7588: 
1.1       paf      7589: # The following way of writing the cache mishandles newlines in values,
                   7590: # but we know of no workaround that is simple, portable, and efficient.
                   7591: # So, don't put newlines in cache variables' values.
                   7592: # Ultrix sh set writes to stderr and can't be redirected directly,
                   7593: # and sets the high bit in the cache file unless we assign to the vars.
1.62      paf      7594: {
                   7595:   (set) 2>&1 |
                   7596:     case `(ac_space=' '; set | grep ac_space) 2>&1` in
                   7597:     *ac_space=\ *)
                   7598:       # `set' does not quote correctly, so add quotes (double-quote
                   7599:       # substitution turns \\\\ into \\, and sed turns \\ into \).
                   7600:       sed -n \
1.86      paf      7601:        "s/'/'\\\\''/g;
                   7602:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.62      paf      7603:       ;;
                   7604:     *)
                   7605:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   7606:       sed -n \
1.86      paf      7607:        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1.62      paf      7608:       ;;
                   7609:     esac;
                   7610: } |
                   7611:   sed '
                   7612:      t clear
                   7613:      : clear
                   7614:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   7615:      t end
                   7616:      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   7617:      : end' >>confcache
                   7618: if diff $cache_file confcache >/dev/null 2>&1; then :; else
1.1       paf      7619:   if test -w $cache_file; then
1.62      paf      7620:     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
                   7621:     cat confcache >$cache_file
1.1       paf      7622:   else
                   7623:     echo "not updating unwritable cache $cache_file"
                   7624:   fi
                   7625: fi
                   7626: rm -f confcache
                   7627: 
                   7628: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   7629: # Let make expand exec_prefix.
                   7630: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   7631: 
1.62      paf      7632: # VPATH may cause trouble with some makes, so we remove $(srcdir),
                   7633: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
                   7634: # trailing colons and then remove the whole line if VPATH becomes empty
                   7635: # (actually we leave an empty line to preserve line numbers).
1.1       paf      7636: if test "x$srcdir" = x.; then
1.86      paf      7637:   ac_vpsub='/^[         ]*VPATH[        ]*=/{
1.62      paf      7638: s/:*\$(srcdir):*/:/;
                   7639: s/:*\${srcdir}:*/:/;
                   7640: s/:*@srcdir@:*/:/;
1.86      paf      7641: s/^\([^=]*=[    ]*\):*/\1/;
1.62      paf      7642: s/:*$//;
1.86      paf      7643: s/^[^=]*=[      ]*$//;
1.62      paf      7644: }'
1.1       paf      7645: fi
                   7646: 
1.62      paf      7647: DEFS=-DHAVE_CONFIG_H
                   7648: 
                   7649: ac_libobjs=
                   7650: ac_ltlibobjs=
                   7651: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   7652:   # 1. Remove the extension, and $U if already installed.
                   7653:   ac_i=`echo "$ac_i" |
1.86      paf      7654:         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1.62      paf      7655:   # 2. Add them.
                   7656:   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
                   7657:   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
                   7658: done
                   7659: LIBOBJS=$ac_libobjs
                   7660: 
                   7661: LTLIBOBJS=$ac_ltlibobjs
1.1       paf      7662: 
                   7663: 
1.62      paf      7664: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
                   7665:   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
                   7666: Usually this means the macro was only invoked conditionally." >&5
                   7667: echo "$as_me: error: conditional \"AMDEP\" was never defined.
                   7668: Usually this means the macro was only invoked conditionally." >&2;}
                   7669:    { (exit 1); exit 1; }; }
                   7670: fi
1.66      paf      7671: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
                   7672:   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
1.62      paf      7673: Usually this means the macro was only invoked conditionally." >&5
1.66      paf      7674: echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
1.62      paf      7675: Usually this means the macro was only invoked conditionally." >&2;}
                   7676:    { (exit 1); exit 1; }; }
                   7677: fi
1.66      paf      7678: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
                   7679:   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
1.62      paf      7680: Usually this means the macro was only invoked conditionally." >&5
1.66      paf      7681: echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
1.62      paf      7682: Usually this means the macro was only invoked conditionally." >&2;}
                   7683:    { (exit 1); exit 1; }; }
                   7684: fi
1.122     moko     7685: if test -z "${COMPILE_APACHE_MODULE_TRUE}" && test -z "${COMPILE_APACHE_MODULE_FALSE}"; then
                   7686:   { { echo "$as_me:$LINENO: error: conditional \"COMPILE_APACHE_MODULE\" was never defined.
1.62      paf      7687: Usually this means the macro was only invoked conditionally." >&5
1.122     moko     7688: echo "$as_me: error: conditional \"COMPILE_APACHE_MODULE\" was never defined.
1.62      paf      7689: Usually this means the macro was only invoked conditionally." >&2;}
                   7690:    { (exit 1); exit 1; }; }
                   7691: fi
                   7692: 
1.1       paf      7693: : ${CONFIG_STATUS=./config.status}
1.62      paf      7694: ac_clean_files_save=$ac_clean_files
                   7695: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   7696: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
                   7697: echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   7698: cat >$CONFIG_STATUS <<_ACEOF
                   7699: #! $SHELL
                   7700: # Generated by $as_me.
                   7701: # Run this file to recreate the current configuration.
                   7702: # Compiler output produced by configure, useful for debugging
                   7703: # configure, is in config.log if it exists.
                   7704: 
                   7705: debug=false
                   7706: ac_cs_recheck=false
                   7707: ac_cs_silent=false
                   7708: SHELL=\${CONFIG_SHELL-$SHELL}
                   7709: _ACEOF
                   7710: 
                   7711: cat >>$CONFIG_STATUS <<\_ACEOF
                   7712: ## --------------------- ##
                   7713: ## M4sh Initialization.  ##
                   7714: ## --------------------- ##
                   7715: 
                   7716: # Be Bourne compatible
                   7717: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                   7718:   emulate sh
                   7719:   NULLCMD=:
                   7720:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
                   7721:   # is contrary to our usage.  Disable this feature.
                   7722:   alias -g '${1+"$@"}'='"$@"'
                   7723: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
                   7724:   set -o posix
                   7725: fi
1.86      paf      7726: DUALCASE=1; export DUALCASE # for MKS sh
1.62      paf      7727: 
                   7728: # Support unset when possible.
1.86      paf      7729: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1.62      paf      7730:   as_unset=unset
                   7731: else
                   7732:   as_unset=false
                   7733: fi
                   7734: 
                   7735: 
                   7736: # Work around bugs in pre-3.0 UWIN ksh.
                   7737: $as_unset ENV MAIL MAILPATH
                   7738: PS1='$ '
                   7739: PS2='> '
                   7740: PS4='+ '
                   7741: 
                   7742: # NLS nuisances.
                   7743: for as_var in \
                   7744:   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
                   7745:   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
                   7746:   LC_TELEPHONE LC_TIME
                   7747: do
1.86      paf      7748:   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1.62      paf      7749:     eval $as_var=C; export $as_var
                   7750:   else
                   7751:     $as_unset $as_var
                   7752:   fi
                   7753: done
1.1       paf      7754: 
1.62      paf      7755: # Required to use basename.
                   7756: if expr a : '\(a\)' >/dev/null 2>&1; then
                   7757:   as_expr=expr
                   7758: else
                   7759:   as_expr=false
                   7760: fi
                   7761: 
                   7762: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
                   7763:   as_basename=basename
                   7764: else
                   7765:   as_basename=false
                   7766: fi
                   7767: 
                   7768: 
                   7769: # Name of the executable.
                   7770: as_me=`$as_basename "$0" ||
                   7771: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   7772:         X"$0" : 'X\(//\)$' \| \
                   7773:         X"$0" : 'X\(/\)$' \| \
                   7774:         .     : '\(.\)' 2>/dev/null ||
                   7775: echo X/"$0" |
                   7776:     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
                   7777:          /^X\/\(\/\/\)$/{ s//\1/; q; }
                   7778:          /^X\/\(\/\).*/{ s//\1/; q; }
                   7779:          s/.*/./; q'`
                   7780: 
                   7781: 
                   7782: # PATH needs CR, and LINENO needs CR and PATH.
                   7783: # Avoid depending upon Character Ranges.
                   7784: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   7785: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   7786: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   7787: as_cr_digits='0123456789'
                   7788: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   7789: 
                   7790: # The user is always right.
                   7791: if test "${PATH_SEPARATOR+set}" != set; then
                   7792:   echo "#! /bin/sh" >conf$$.sh
                   7793:   echo  "exit 0"   >>conf$$.sh
                   7794:   chmod +x conf$$.sh
                   7795:   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
                   7796:     PATH_SEPARATOR=';'
                   7797:   else
                   7798:     PATH_SEPARATOR=:
                   7799:   fi
                   7800:   rm -f conf$$.sh
                   7801: fi
                   7802: 
                   7803: 
                   7804:   as_lineno_1=$LINENO
                   7805:   as_lineno_2=$LINENO
                   7806:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   7807:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   7808:   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
                   7809:   # Find who we are.  Look in the path if we contain no path at all
                   7810:   # relative or not.
                   7811:   case $0 in
                   7812:     *[\\/]* ) as_myself=$0 ;;
                   7813:     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7814: for as_dir in $PATH
                   7815: do
                   7816:   IFS=$as_save_IFS
                   7817:   test -z "$as_dir" && as_dir=.
                   7818:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   7819: done
                   7820: 
                   7821:        ;;
                   7822:   esac
                   7823:   # We did not find ourselves, most probably we were run as `sh COMMAND'
                   7824:   # in which case we are not to be found in the path.
                   7825:   if test "x$as_myself" = x; then
                   7826:     as_myself=$0
                   7827:   fi
                   7828:   if test ! -f "$as_myself"; then
                   7829:     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
                   7830: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
                   7831:    { (exit 1); exit 1; }; }
                   7832:   fi
                   7833:   case $CONFIG_SHELL in
                   7834:   '')
                   7835:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7836: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                   7837: do
                   7838:   IFS=$as_save_IFS
                   7839:   test -z "$as_dir" && as_dir=.
                   7840:   for as_base in sh bash ksh sh5; do
                   7841:         case $as_dir in
                   7842:         /*)
                   7843:           if ("$as_dir/$as_base" -c '
                   7844:   as_lineno_1=$LINENO
                   7845:   as_lineno_2=$LINENO
                   7846:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   7847:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   7848:   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
                   7849:             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
                   7850:             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
                   7851:             CONFIG_SHELL=$as_dir/$as_base
                   7852:             export CONFIG_SHELL
                   7853:             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
                   7854:           fi;;
                   7855:         esac
                   7856:        done
                   7857: done
                   7858: ;;
                   7859:   esac
                   7860: 
                   7861:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
                   7862:   # uniformly replaced by the line number.  The first 'sed' inserts a
                   7863:   # line-number line before each line; the second 'sed' does the real
                   7864:   # work.  The second script uses 'N' to pair each line-number line
                   7865:   # with the numbered line, and appends trailing '-' during
                   7866:   # substitution so that $LINENO is not a special case at line end.
                   7867:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
                   7868:   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
                   7869:   sed '=' <$as_myself |
                   7870:     sed '
                   7871:       N
                   7872:       s,$,-,
                   7873:       : loop
                   7874:       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
                   7875:       t loop
                   7876:       s,-$,,
                   7877:       s,^['$as_cr_digits']*\n,,
                   7878:     ' >$as_me.lineno &&
                   7879:   chmod +x $as_me.lineno ||
                   7880:     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
                   7881: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
                   7882:    { (exit 1); exit 1; }; }
                   7883: 
                   7884:   # Don't try to exec as it changes $[0], causing all sort of problems
                   7885:   # (the dirname of $[0] is not the place where we might find the
                   7886:   # original and so on.  Autoconf is especially sensible to this).
                   7887:   . ./$as_me.lineno
                   7888:   # Exit status is that of the last command.
                   7889:   exit
                   7890: }
                   7891: 
                   7892: 
                   7893: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
                   7894:   *c*,-n*) ECHO_N= ECHO_C='
                   7895: ' ECHO_T='     ' ;;
                   7896:   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
                   7897:   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
                   7898: esac
                   7899: 
                   7900: if expr a : '\(a\)' >/dev/null 2>&1; then
                   7901:   as_expr=expr
                   7902: else
                   7903:   as_expr=false
                   7904: fi
                   7905: 
                   7906: rm -f conf$$ conf$$.exe conf$$.file
                   7907: echo >conf$$.file
                   7908: if ln -s conf$$.file conf$$ 2>/dev/null; then
                   7909:   # We could just check for DJGPP; but this test a) works b) is more generic
                   7910:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
                   7911:   if test -f conf$$.exe; then
                   7912:     # Don't use ln at all; we don't have any links
                   7913:     as_ln_s='cp -p'
                   7914:   else
                   7915:     as_ln_s='ln -s'
                   7916:   fi
                   7917: elif ln conf$$.file conf$$ 2>/dev/null; then
                   7918:   as_ln_s=ln
                   7919: else
                   7920:   as_ln_s='cp -p'
                   7921: fi
                   7922: rm -f conf$$ conf$$.exe conf$$.file
                   7923: 
                   7924: if mkdir -p . 2>/dev/null; then
                   7925:   as_mkdir_p=:
                   7926: else
1.86      paf      7927:   test -d ./-p && rmdir ./-p
1.62      paf      7928:   as_mkdir_p=false
                   7929: fi
                   7930: 
                   7931: as_executable_p="test -f"
                   7932: 
                   7933: # Sed expression to map a string onto a valid CPP name.
1.86      paf      7934: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf      7935: 
                   7936: # Sed expression to map a string onto a valid variable name.
1.86      paf      7937: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf      7938: 
                   7939: 
                   7940: # IFS
                   7941: # We need space, tab and new line, in precisely that order.
                   7942: as_nl='
                   7943: '
                   7944: IFS="  $as_nl"
                   7945: 
                   7946: # CDPATH.
                   7947: $as_unset CDPATH
                   7948: 
                   7949: exec 6>&1
                   7950: 
                   7951: # Open the log real soon, to keep \$[0] and so on meaningful, and to
                   7952: # report actual input values of CONFIG_FILES etc. instead of their
                   7953: # values after options handling.  Logging --version etc. is OK.
                   7954: exec 5>>config.log
                   7955: {
                   7956:   echo
                   7957:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   7958: ## Running $as_me. ##
                   7959: _ASBOX
                   7960: } >&5
                   7961: cat >&5 <<_CSEOF
                   7962: 
                   7963: This file was extended by $as_me, which was
1.86      paf      7964: generated by GNU Autoconf 2.59.  Invocation command line was
1.62      paf      7965: 
                   7966:   CONFIG_FILES    = $CONFIG_FILES
                   7967:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   7968:   CONFIG_LINKS    = $CONFIG_LINKS
                   7969:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   7970:   $ $0 $@
                   7971: 
                   7972: _CSEOF
                   7973: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
                   7974: echo >&5
                   7975: _ACEOF
                   7976: 
                   7977: # Files that config.status was made for.
                   7978: if test -n "$ac_config_files"; then
                   7979:   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
                   7980: fi
                   7981: 
                   7982: if test -n "$ac_config_headers"; then
                   7983:   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
                   7984: fi
                   7985: 
                   7986: if test -n "$ac_config_links"; then
                   7987:   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
                   7988: fi
                   7989: 
                   7990: if test -n "$ac_config_commands"; then
                   7991:   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
                   7992: fi
                   7993: 
                   7994: cat >>$CONFIG_STATUS <<\_ACEOF
                   7995: 
                   7996: ac_cs_usage="\
                   7997: \`$as_me' instantiates files from templates according to the
                   7998: current configuration.
                   7999: 
                   8000: Usage: $0 [OPTIONS] [FILE]...
                   8001: 
                   8002:   -h, --help       print this help, then exit
                   8003:   -V, --version    print version number, then exit
                   8004:   -q, --quiet      do not print progress messages
                   8005:   -d, --debug      don't remove temporary files
                   8006:       --recheck    update $as_me by reconfiguring in the same conditions
                   8007:   --file=FILE[:TEMPLATE]
1.86      paf      8008:                   instantiate the configuration file FILE
1.62      paf      8009:   --header=FILE[:TEMPLATE]
1.86      paf      8010:                   instantiate the configuration header FILE
1.62      paf      8011: 
                   8012: Configuration files:
                   8013: $config_files
                   8014: 
                   8015: Configuration headers:
                   8016: $config_headers
                   8017: 
                   8018: Configuration commands:
                   8019: $config_commands
                   8020: 
                   8021: Report bugs to <bug-autoconf@gnu.org>."
                   8022: _ACEOF
                   8023: 
                   8024: cat >>$CONFIG_STATUS <<_ACEOF
                   8025: ac_cs_version="\\
                   8026: config.status
1.86      paf      8027: configured by $0, generated by GNU Autoconf 2.59,
1.62      paf      8028:   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
                   8029: 
1.86      paf      8030: Copyright (C) 2003 Free Software Foundation, Inc.
1.62      paf      8031: This config.status script is free software; the Free Software Foundation
                   8032: gives unlimited permission to copy, distribute and modify it."
                   8033: srcdir=$srcdir
                   8034: INSTALL="$INSTALL"
                   8035: _ACEOF
                   8036: 
                   8037: cat >>$CONFIG_STATUS <<\_ACEOF
                   8038: # If no file are specified by the user, then we need to provide default
                   8039: # value.  By we need to know if files were specified by the user.
                   8040: ac_need_defaults=:
                   8041: while test $# != 0
                   8042: do
                   8043:   case $1 in
                   8044:   --*=*)
                   8045:     ac_option=`expr "x$1" : 'x\([^=]*\)='`
                   8046:     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
                   8047:     ac_shift=:
                   8048:     ;;
                   8049:   -*)
                   8050:     ac_option=$1
                   8051:     ac_optarg=$2
                   8052:     ac_shift=shift
                   8053:     ;;
                   8054:   *) # This is not an option, so the user has probably given explicit
                   8055:      # arguments.
                   8056:      ac_option=$1
                   8057:      ac_need_defaults=false;;
                   8058:   esac
                   8059: 
                   8060:   case $ac_option in
                   8061:   # Handling of the options.
                   8062: _ACEOF
                   8063: cat >>$CONFIG_STATUS <<\_ACEOF
                   8064:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   8065:     ac_cs_recheck=: ;;
                   8066:   --version | --vers* | -V )
                   8067:     echo "$ac_cs_version"; exit 0 ;;
                   8068:   --he | --h)
                   8069:     # Conflict between --help and --header
                   8070:     { { echo "$as_me:$LINENO: error: ambiguous option: $1
                   8071: Try \`$0 --help' for more information." >&5
                   8072: echo "$as_me: error: ambiguous option: $1
                   8073: Try \`$0 --help' for more information." >&2;}
                   8074:    { (exit 1); exit 1; }; };;
                   8075:   --help | --hel | -h )
                   8076:     echo "$ac_cs_usage"; exit 0 ;;
                   8077:   --debug | --d* | -d )
                   8078:     debug=: ;;
                   8079:   --file | --fil | --fi | --f )
                   8080:     $ac_shift
                   8081:     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
                   8082:     ac_need_defaults=false;;
                   8083:   --header | --heade | --head | --hea )
                   8084:     $ac_shift
                   8085:     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
                   8086:     ac_need_defaults=false;;
                   8087:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   8088:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   8089:     ac_cs_silent=: ;;
                   8090: 
                   8091:   # This is an error.
                   8092:   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
                   8093: Try \`$0 --help' for more information." >&5
                   8094: echo "$as_me: error: unrecognized option: $1
                   8095: Try \`$0 --help' for more information." >&2;}
                   8096:    { (exit 1); exit 1; }; } ;;
                   8097: 
                   8098:   *) ac_config_targets="$ac_config_targets $1" ;;
                   8099: 
                   8100:   esac
                   8101:   shift
                   8102: done
                   8103: 
                   8104: ac_configure_extra_args=
                   8105: 
                   8106: if $ac_cs_silent; then
                   8107:   exec 6>/dev/null
                   8108:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   8109: fi
                   8110: 
                   8111: _ACEOF
                   8112: cat >>$CONFIG_STATUS <<_ACEOF
                   8113: if \$ac_cs_recheck; then
                   8114:   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
                   8115:   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   8116: fi
                   8117: 
                   8118: _ACEOF
                   8119: 
                   8120: cat >>$CONFIG_STATUS <<_ACEOF
1.1       paf      8121: #
1.62      paf      8122: # INIT-COMMANDS section.
1.1       paf      8123: #
                   8124: 
1.62      paf      8125: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   8126: 
                   8127: _ACEOF
                   8128: 
                   8129: 
                   8130: 
                   8131: cat >>$CONFIG_STATUS <<\_ACEOF
                   8132: for ac_config_target in $ac_config_targets
1.1       paf      8133: do
1.62      paf      8134:   case "$ac_config_target" in
                   8135:   # Handling of arguments.
                   8136:   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   8137:   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
                   8138:   "src/types/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/types/Makefile" ;;
                   8139:   "src/classes/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/classes/Makefile" ;;
                   8140:   "src/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
                   8141:   "src/main/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/main/Makefile" ;;
                   8142:   "src/sql/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/sql/Makefile" ;;
                   8143:   "src/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
1.73      paf      8144:   "src/lib/gd/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gd/Makefile" ;;
                   8145:   "src/lib/smtp/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/smtp/Makefile" ;;
1.67      paf      8146:   "src/lib/gc/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gc/Makefile" ;;
                   8147:   "src/lib/gc/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gc/include/Makefile" ;;
1.103     misha    8148:   "src/lib/pcre/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/pcre/Makefile" ;;
1.67      paf      8149:   "src/lib/cord/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/cord/Makefile" ;;
                   8150:   "src/lib/cord/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/Makefile" ;;
                   8151:   "src/lib/cord/include/private/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/private/Makefile" ;;
1.62      paf      8152:   "src/lib/ltdl/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/ltdl/Makefile" ;;
                   8153:   "src/lib/md5/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/md5/Makefile" ;;
1.70      paf      8154:   "src/lib/sdbm/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/Makefile" ;;
                   8155:   "src/lib/sdbm/apr-include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/apr-include/Makefile" ;;
1.120     misha    8156:   "src/lib/json/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/json/Makefile" ;;
1.62      paf      8157:   "src/targets/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/Makefile" ;;
                   8158:   "src/targets/cgi/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/cgi/Makefile" ;;
1.122     moko     8159:   "src/targets/apache/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/apache/Makefile" ;;
1.62      paf      8160:   "src/targets/isapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/isapi/Makefile" ;;
                   8161:   "etc/Makefile" ) CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
                   8162:   "etc/parser3.charsets/Makefile" ) CONFIG_FILES="$CONFIG_FILES etc/parser3.charsets/Makefile" ;;
                   8163:   "bin/Makefile" ) CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
                   8164:   "bin/auto.p.dist" ) CONFIG_FILES="$CONFIG_FILES bin/auto.p.dist" ;;
                   8165:   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   8166:   "src/include/pa_config_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/include/pa_config_auto.h" ;;
                   8167:   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
                   8168: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
                   8169:    { (exit 1); exit 1; }; };;
1.1       paf      8170:   esac
                   8171: done
                   8172: 
1.62      paf      8173: # If the user did not use the arguments to specify the items to instantiate,
                   8174: # then the envvar interface is used.  Set only those that are not.
                   8175: # We use the long form for the default assignment because of an extremely
                   8176: # bizarre bug on SunOS 4.1.3.
                   8177: if $ac_need_defaults; then
                   8178:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   8179:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   8180:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   8181: fi
                   8182: 
                   8183: # Have a temporary directory for convenience.  Make it in the build tree
                   8184: # simply because there is no reason to put it here, and in addition,
                   8185: # creating and moving files from /tmp can sometimes cause problems.
                   8186: # Create a temporary directory, and hook for its removal unless debugging.
                   8187: $debug ||
                   8188: {
                   8189:   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
                   8190:   trap '{ (exit 1); exit 1; }' 1 2 13 15
                   8191: }
                   8192: 
                   8193: # Create a (secure) tmp directory for tmp files.
                   8194: 
                   8195: {
                   8196:   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
                   8197:   test -n "$tmp" && test -d "$tmp"
                   8198: }  ||
                   8199: {
                   8200:   tmp=./confstat$$-$RANDOM
                   8201:   (umask 077 && mkdir $tmp)
                   8202: } ||
                   8203: {
                   8204:    echo "$me: cannot create a temporary directory in ." >&2
                   8205:    { (exit 1); exit 1; }
                   8206: }
                   8207: 
                   8208: _ACEOF
1.1       paf      8209: 
1.62      paf      8210: cat >>$CONFIG_STATUS <<_ACEOF
                   8211: 
                   8212: #
                   8213: # CONFIG_FILES section.
                   8214: #
1.1       paf      8215: 
1.62      paf      8216: # No need to generate the scripts if there are no CONFIG_FILES.
                   8217: # This happens for instance when ./config.status config.h
                   8218: if test -n "\$CONFIG_FILES"; then
                   8219:   # Protect against being on the right side of a sed subst in config.status.
                   8220:   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
                   8221:    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
                   8222: s,@SHELL@,$SHELL,;t t
                   8223: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
                   8224: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
                   8225: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
                   8226: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
                   8227: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
                   8228: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
                   8229: s,@exec_prefix@,$exec_prefix,;t t
                   8230: s,@prefix@,$prefix,;t t
                   8231: s,@program_transform_name@,$program_transform_name,;t t
                   8232: s,@bindir@,$bindir,;t t
                   8233: s,@sbindir@,$sbindir,;t t
                   8234: s,@libexecdir@,$libexecdir,;t t
                   8235: s,@datadir@,$datadir,;t t
                   8236: s,@sysconfdir@,$sysconfdir,;t t
                   8237: s,@sharedstatedir@,$sharedstatedir,;t t
                   8238: s,@localstatedir@,$localstatedir,;t t
                   8239: s,@libdir@,$libdir,;t t
                   8240: s,@includedir@,$includedir,;t t
                   8241: s,@oldincludedir@,$oldincludedir,;t t
                   8242: s,@infodir@,$infodir,;t t
                   8243: s,@mandir@,$mandir,;t t
                   8244: s,@build_alias@,$build_alias,;t t
                   8245: s,@host_alias@,$host_alias,;t t
                   8246: s,@target_alias@,$target_alias,;t t
                   8247: s,@DEFS@,$DEFS,;t t
                   8248: s,@ECHO_C@,$ECHO_C,;t t
                   8249: s,@ECHO_N@,$ECHO_N,;t t
                   8250: s,@ECHO_T@,$ECHO_T,;t t
                   8251: s,@LIBS@,$LIBS,;t t
                   8252: s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
                   8253: s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
                   8254: s,@INSTALL_DATA@,$INSTALL_DATA,;t t
                   8255: s,@CYGPATH_W@,$CYGPATH_W,;t t
                   8256: s,@PACKAGE@,$PACKAGE,;t t
                   8257: s,@VERSION@,$VERSION,;t t
                   8258: s,@ACLOCAL@,$ACLOCAL,;t t
                   8259: s,@AUTOCONF@,$AUTOCONF,;t t
                   8260: s,@AUTOMAKE@,$AUTOMAKE,;t t
                   8261: s,@AUTOHEADER@,$AUTOHEADER,;t t
                   8262: s,@MAKEINFO@,$MAKEINFO,;t t
                   8263: s,@install_sh@,$install_sh,;t t
                   8264: s,@STRIP@,$STRIP,;t t
                   8265: s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
                   8266: s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
1.86      paf      8267: s,@mkdir_p@,$mkdir_p,;t t
1.62      paf      8268: s,@AWK@,$AWK,;t t
                   8269: s,@SET_MAKE@,$SET_MAKE,;t t
1.86      paf      8270: s,@am__leading_dot@,$am__leading_dot,;t t
                   8271: s,@AMTAR@,$AMTAR,;t t
                   8272: s,@am__tar@,$am__tar,;t t
                   8273: s,@am__untar@,$am__untar,;t t
1.62      paf      8274: s,@P3S@,$P3S,;t t
                   8275: s,@build@,$build,;t t
                   8276: s,@build_cpu@,$build_cpu,;t t
                   8277: s,@build_vendor@,$build_vendor,;t t
                   8278: s,@build_os@,$build_os,;t t
                   8279: s,@host@,$host,;t t
                   8280: s,@host_cpu@,$host_cpu,;t t
                   8281: s,@host_vendor@,$host_vendor,;t t
                   8282: s,@host_os@,$host_os,;t t
                   8283: s,@RANLIB@,$RANLIB,;t t
                   8284: s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
                   8285: s,@YACC@,$YACC,;t t
1.66      paf      8286: s,@CXX@,$CXX,;t t
                   8287: s,@CXXFLAGS@,$CXXFLAGS,;t t
1.62      paf      8288: s,@LDFLAGS@,$LDFLAGS,;t t
                   8289: s,@CPPFLAGS@,$CPPFLAGS,;t t
1.66      paf      8290: s,@ac_ct_CXX@,$ac_ct_CXX,;t t
1.62      paf      8291: s,@EXEEXT@,$EXEEXT,;t t
                   8292: s,@OBJEXT@,$OBJEXT,;t t
                   8293: s,@DEPDIR@,$DEPDIR,;t t
                   8294: s,@am__include@,$am__include,;t t
                   8295: s,@am__quote@,$am__quote,;t t
                   8296: s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
                   8297: s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
                   8298: s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
1.66      paf      8299: s,@CXXDEPMODE@,$CXXDEPMODE,;t t
                   8300: s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
                   8301: s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
                   8302: s,@CC@,$CC,;t t
                   8303: s,@CFLAGS@,$CFLAGS,;t t
                   8304: s,@ac_ct_CC@,$ac_ct_CC,;t t
1.62      paf      8305: s,@CCDEPMODE@,$CCDEPMODE,;t t
                   8306: s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
                   8307: s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
                   8308: s,@commentcharset_windows1251@,$commentcharset_windows1251,;t t
                   8309: s,@commentcharset_windows1250@,$commentcharset_windows1250,;t t
                   8310: s,@commentcharset_windows1257@,$commentcharset_windows1257,;t t
                   8311: s,@commentcharset_koi8r@,$commentcharset_koi8r,;t t
                   8312: s,@dll_extension@,$dll_extension,;t t
                   8313: s,@mysql_client@,$mysql_client,;t t
                   8314: s,@pgsql_client@,$pgsql_client,;t t
                   8315: s,@oracle_client@,$oracle_client,;t t
1.92      misha    8316: s,@sqlite_client@,$sqlite_client,;t t
1.67      paf      8317: s,@CPP_LIBS@,$CPP_LIBS,;t t
                   8318: s,@GC_LIBS@,$GC_LIBS,;t t
1.100     misha    8319: s,@PCRE_INCLUDES@,$PCRE_INCLUDES,;t t
                   8320: s,@PCRE_LIBS@,$PCRE_LIBS,;t t
1.62      paf      8321: s,@XML_INCLUDES@,$XML_INCLUDES,;t t
                   8322: s,@XML_LIBS@,$XML_LIBS,;t t
1.119     misha    8323: s,@CURL_INCLUDES@,$CURL_INCLUDES,;t t
1.62      paf      8324: s,@MIME_INCLUDES@,$MIME_INCLUDES,;t t
                   8325: s,@MIME_LIBS@,$MIME_LIBS,;t t
1.122     moko     8326: s,@APACHE@,$APACHE,;t t
                   8327: s,@APACHE_INC@,$APACHE_INC,;t t
                   8328: s,@APACHE_CFLAGS@,$APACHE_CFLAGS,;t t
                   8329: s,@COMPILE_APACHE_MODULE_TRUE@,$COMPILE_APACHE_MODULE_TRUE,;t t
                   8330: s,@COMPILE_APACHE_MODULE_FALSE@,$COMPILE_APACHE_MODULE_FALSE,;t t
1.62      paf      8331: s,@INCLTDL@,$INCLTDL,;t t
                   8332: s,@LIBLTDL@,$LIBLTDL,;t t
                   8333: s,@subdirs@,$subdirs,;t t
                   8334: s,@LIBADD_DL@,$LIBADD_DL,;t t
1.66      paf      8335: s,@CPP@,$CPP,;t t
                   8336: s,@EGREP@,$EGREP,;t t
1.62      paf      8337: s,@LIBOBJS@,$LIBOBJS,;t t
                   8338: s,@LTLIBOBJS@,$LTLIBOBJS,;t t
1.1       paf      8339: CEOF
                   8340: 
1.62      paf      8341: _ACEOF
1.1       paf      8342: 
1.62      paf      8343:   cat >>$CONFIG_STATUS <<\_ACEOF
                   8344:   # Split the substitutions into bite-sized pieces for seds with
                   8345:   # small command number limits, like on Digital OSF/1 and HP-UX.
                   8346:   ac_max_sed_lines=48
                   8347:   ac_sed_frag=1 # Number of current file.
                   8348:   ac_beg=1 # First line for current file.
                   8349:   ac_end=$ac_max_sed_lines # Line after last line for current file.
                   8350:   ac_more_lines=:
                   8351:   ac_sed_cmds=
                   8352:   while $ac_more_lines; do
                   8353:     if test $ac_beg -gt 1; then
                   8354:       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   8355:     else
                   8356:       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   8357:     fi
                   8358:     if test ! -s $tmp/subs.frag; then
                   8359:       ac_more_lines=false
1.1       paf      8360:     else
1.62      paf      8361:       # The purpose of the label and of the branching condition is to
                   8362:       # speed up the sed processing (if there are no `@' at all, there
                   8363:       # is no need to browse any of the substitutions).
                   8364:       # These are the two extra sed commands mentioned above.
                   8365:       (echo ':t
                   8366:   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
                   8367:       if test -z "$ac_sed_cmds"; then
1.86      paf      8368:        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
1.62      paf      8369:       else
1.86      paf      8370:        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
1.62      paf      8371:       fi
                   8372:       ac_sed_frag=`expr $ac_sed_frag + 1`
                   8373:       ac_beg=$ac_end
                   8374:       ac_end=`expr $ac_end + $ac_max_sed_lines`
1.1       paf      8375:     fi
1.62      paf      8376:   done
                   8377:   if test -z "$ac_sed_cmds"; then
                   8378:     ac_sed_cmds=cat
1.1       paf      8379:   fi
1.62      paf      8380: fi # test -n "$CONFIG_FILES"
1.1       paf      8381: 
1.62      paf      8382: _ACEOF
                   8383: cat >>$CONFIG_STATUS <<\_ACEOF
                   8384: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
1.1       paf      8385:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.62      paf      8386:   case $ac_file in
                   8387:   - | *:- | *:-:* ) # input from stdin
1.86      paf      8388:        cat >$tmp/stdin
                   8389:        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   8390:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.62      paf      8391:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1.86      paf      8392:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.62      paf      8393:   * )   ac_file_in=$ac_file.in ;;
1.1       paf      8394:   esac
                   8395: 
1.62      paf      8396:   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
                   8397:   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
                   8398: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      8399:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   8400:         X"$ac_file" : 'X\(//\)$' \| \
                   8401:         X"$ac_file" : 'X\(/\)' \| \
                   8402:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      8403: echo X"$ac_file" |
                   8404:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   8405:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   8406:          /^X\(\/\/\)$/{ s//\1/; q; }
                   8407:          /^X\(\/\).*/{ s//\1/; q; }
                   8408:          s/.*/./; q'`
                   8409:   { if $as_mkdir_p; then
                   8410:     mkdir -p "$ac_dir"
                   8411:   else
                   8412:     as_dir="$ac_dir"
                   8413:     as_dirs=
                   8414:     while test ! -d "$as_dir"; do
                   8415:       as_dirs="$as_dir $as_dirs"
                   8416:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   8417: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      8418:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   8419:         X"$as_dir" : 'X\(//\)$' \| \
                   8420:         X"$as_dir" : 'X\(/\)' \| \
                   8421:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      8422: echo X"$as_dir" |
                   8423:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   8424:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   8425:          /^X\(\/\/\)$/{ s//\1/; q; }
                   8426:          /^X\(\/\).*/{ s//\1/; q; }
                   8427:          s/.*/./; q'`
                   8428:     done
                   8429:     test ! -n "$as_dirs" || mkdir $as_dirs
                   8430:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   8431: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   8432:    { (exit 1); exit 1; }; }; }
                   8433: 
                   8434:   ac_builddir=.
                   8435: 
                   8436: if test "$ac_dir" != .; then
                   8437:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   8438:   # A "../" for each directory in $ac_dir_suffix.
                   8439:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   8440: else
                   8441:   ac_dir_suffix= ac_top_builddir=
                   8442: fi
                   8443: 
                   8444: case $srcdir in
                   8445:   .)  # No --srcdir option.  We are building in place.
                   8446:     ac_srcdir=.
                   8447:     if test -z "$ac_top_builddir"; then
                   8448:        ac_top_srcdir=.
                   8449:     else
                   8450:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   8451:     fi ;;
                   8452:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   8453:     ac_srcdir=$srcdir$ac_dir_suffix;
                   8454:     ac_top_srcdir=$srcdir ;;
                   8455:   *) # Relative path.
                   8456:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   8457:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   8458: esac
1.86      paf      8459: 
                   8460: # Do not use `cd foo && pwd` to compute absolute paths, because
                   8461: # the directories may not exist.
                   8462: case `pwd` in
                   8463: .) ac_abs_builddir="$ac_dir";;
                   8464: *)
                   8465:   case "$ac_dir" in
                   8466:   .) ac_abs_builddir=`pwd`;;
                   8467:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                   8468:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                   8469:   esac;;
                   8470: esac
                   8471: case $ac_abs_builddir in
                   8472: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                   8473: *)
                   8474:   case ${ac_top_builddir}. in
                   8475:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                   8476:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                   8477:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                   8478:   esac;;
                   8479: esac
                   8480: case $ac_abs_builddir in
                   8481: .) ac_abs_srcdir=$ac_srcdir;;
                   8482: *)
                   8483:   case $ac_srcdir in
                   8484:   .) ac_abs_srcdir=$ac_abs_builddir;;
                   8485:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   8486:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   8487:   esac;;
                   8488: esac
                   8489: case $ac_abs_builddir in
                   8490: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   8491: *)
                   8492:   case $ac_top_srcdir in
                   8493:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   8494:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   8495:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   8496:   esac;;
                   8497: esac
1.62      paf      8498: 
1.1       paf      8499: 
1.62      paf      8500:   case $INSTALL in
                   8501:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   8502:   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
1.1       paf      8503:   esac
                   8504: 
1.62      paf      8505:   if test x"$ac_file" != x-; then
                   8506:     { echo "$as_me:$LINENO: creating $ac_file" >&5
                   8507: echo "$as_me: creating $ac_file" >&6;}
                   8508:     rm -f "$ac_file"
                   8509:   fi
                   8510:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   8511:   # use $as_me), people would be surprised to read:
                   8512:   #    /* config.h.  Generated by config.status.  */
                   8513:   if test x"$ac_file" = x-; then
                   8514:     configure_input=
                   8515:   else
                   8516:     configure_input="$ac_file.  "
                   8517:   fi
                   8518:   configure_input=$configure_input"Generated from `echo $ac_file_in |
1.86      paf      8519:                                     sed 's,.*/,,'` by configure."
1.62      paf      8520: 
                   8521:   # First look for the input files in the build tree, otherwise in the
                   8522:   # src tree.
                   8523:   ac_file_inputs=`IFS=:
                   8524:     for f in $ac_file_in; do
                   8525:       case $f in
                   8526:       -) echo $tmp/stdin ;;
                   8527:       [\\/$]*)
1.86      paf      8528:         # Absolute (can't be DOS-style, as IFS=:)
                   8529:         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.62      paf      8530: echo "$as_me: error: cannot find input file: $f" >&2;}
                   8531:    { (exit 1); exit 1; }; }
1.86      paf      8532:         echo "$f";;
1.62      paf      8533:       *) # Relative
1.86      paf      8534:         if test -f "$f"; then
                   8535:           # Build tree
                   8536:           echo "$f"
                   8537:         elif test -f "$srcdir/$f"; then
                   8538:           # Source tree
                   8539:           echo "$srcdir/$f"
                   8540:         else
                   8541:           # /dev/null tree
                   8542:           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.62      paf      8543: echo "$as_me: error: cannot find input file: $f" >&2;}
                   8544:    { (exit 1); exit 1; }; }
1.86      paf      8545:         fi;;
1.62      paf      8546:       esac
                   8547:     done` || { (exit 1); exit 1; }
                   8548: _ACEOF
                   8549: cat >>$CONFIG_STATUS <<_ACEOF
                   8550:   sed "$ac_vpsub
                   8551: $extrasub
                   8552: _ACEOF
                   8553: cat >>$CONFIG_STATUS <<\_ACEOF
                   8554: :t
                   8555: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   8556: s,@configure_input@,$configure_input,;t t
                   8557: s,@srcdir@,$ac_srcdir,;t t
                   8558: s,@abs_srcdir@,$ac_abs_srcdir,;t t
                   8559: s,@top_srcdir@,$ac_top_srcdir,;t t
                   8560: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
                   8561: s,@builddir@,$ac_builddir,;t t
                   8562: s,@abs_builddir@,$ac_abs_builddir,;t t
                   8563: s,@top_builddir@,$ac_top_builddir,;t t
                   8564: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
                   8565: s,@INSTALL@,$ac_INSTALL,;t t
                   8566: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
                   8567:   rm -f $tmp/stdin
                   8568:   if test x"$ac_file" != x-; then
                   8569:     mv $tmp/out $ac_file
                   8570:   else
                   8571:     cat $tmp/out
                   8572:     rm -f $tmp/out
                   8573:   fi
1.1       paf      8574: 
1.62      paf      8575: done
                   8576: _ACEOF
                   8577: cat >>$CONFIG_STATUS <<\_ACEOF
1.1       paf      8578: 
1.62      paf      8579: #
                   8580: # CONFIG_HEADER section.
                   8581: #
1.1       paf      8582: 
                   8583: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
                   8584: # NAME is the cpp macro being defined and VALUE is the value it is being given.
                   8585: #
                   8586: # ac_d sets the value in "#define NAME VALUE" lines.
1.86      paf      8587: ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
                   8588: ac_dB='[        ].*$,\1#\2'
1.62      paf      8589: ac_dC=' '
                   8590: ac_dD=',;t'
                   8591: # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
1.86      paf      8592: ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
1.62      paf      8593: ac_uB='$,\1#\2define\3'
1.1       paf      8594: ac_uC=' '
1.62      paf      8595: ac_uD=',;t'
                   8596: 
                   8597: for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
1.1       paf      8598:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.62      paf      8599:   case $ac_file in
                   8600:   - | *:- | *:-:* ) # input from stdin
1.86      paf      8601:        cat >$tmp/stdin
                   8602:        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   8603:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.62      paf      8604:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1.86      paf      8605:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1.62      paf      8606:   * )   ac_file_in=$ac_file.in ;;
1.1       paf      8607:   esac
                   8608: 
1.62      paf      8609:   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
                   8610: echo "$as_me: creating $ac_file" >&6;}
1.1       paf      8611: 
1.62      paf      8612:   # First look for the input files in the build tree, otherwise in the
                   8613:   # src tree.
                   8614:   ac_file_inputs=`IFS=:
                   8615:     for f in $ac_file_in; do
                   8616:       case $f in
                   8617:       -) echo $tmp/stdin ;;
                   8618:       [\\/$]*)
1.86      paf      8619:         # Absolute (can't be DOS-style, as IFS=:)
                   8620:         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.62      paf      8621: echo "$as_me: error: cannot find input file: $f" >&2;}
                   8622:    { (exit 1); exit 1; }; }
1.86      paf      8623:         # Do quote $f, to prevent DOS paths from being IFS'd.
                   8624:         echo "$f";;
1.62      paf      8625:       *) # Relative
1.86      paf      8626:         if test -f "$f"; then
                   8627:           # Build tree
                   8628:           echo "$f"
                   8629:         elif test -f "$srcdir/$f"; then
                   8630:           # Source tree
                   8631:           echo "$srcdir/$f"
                   8632:         else
                   8633:           # /dev/null tree
                   8634:           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
1.62      paf      8635: echo "$as_me: error: cannot find input file: $f" >&2;}
                   8636:    { (exit 1); exit 1; }; }
1.86      paf      8637:         fi;;
1.62      paf      8638:       esac
                   8639:     done` || { (exit 1); exit 1; }
                   8640:   # Remove the trailing spaces.
1.86      paf      8641:   sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
1.62      paf      8642: 
                   8643: _ACEOF
                   8644: 
                   8645: # Transform confdefs.h into two sed scripts, `conftest.defines' and
                   8646: # `conftest.undefs', that substitutes the proper values into
                   8647: # config.h.in to produce config.h.  The first handles `#define'
                   8648: # templates, and the second `#undef' templates.
                   8649: # And first: Protect against being on the right side of a sed subst in
                   8650: # config.status.  Protect against being in an unquoted here document
                   8651: # in config.status.
                   8652: rm -f conftest.defines conftest.undefs
                   8653: # Using a here document instead of a string reduces the quoting nightmare.
                   8654: # Putting comments in sed scripts is not portable.
                   8655: #
                   8656: # `end' is used to avoid that the second main sed command (meant for
                   8657: # 0-ary CPP macros) applies to n-ary macro definitions.
                   8658: # See the Autoconf documentation for `clear'.
                   8659: cat >confdef2sed.sed <<\_ACEOF
                   8660: s/[\\&,]/\\&/g
                   8661: s,[\\$`],\\&,g
                   8662: t clear
                   8663: : clear
1.86      paf      8664: s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
1.62      paf      8665: t end
1.86      paf      8666: s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
1.62      paf      8667: : end
                   8668: _ACEOF
                   8669: # If some macros were called several times there might be several times
                   8670: # the same #defines, which is useless.  Nevertheless, we may not want to
                   8671: # sort them, since we want the *last* AC-DEFINE to be honored.
                   8672: uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
                   8673: sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
                   8674: rm -f confdef2sed.sed
1.1       paf      8675: 
                   8676: # This sed command replaces #undef with comments.  This is necessary, for
                   8677: # example, in the case of _POSIX_SOURCE, which is predefined and required
                   8678: # on some systems where configure will not decide to define it.
1.62      paf      8679: cat >>conftest.undefs <<\_ACEOF
1.86      paf      8680: s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
1.62      paf      8681: _ACEOF
                   8682: 
                   8683: # Break up conftest.defines because some shells have a limit on the size
                   8684: # of here documents, and old seds have small limits too (100 cmds).
                   8685: echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
1.86      paf      8686: echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
1.62      paf      8687: echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
                   8688: echo '  :' >>$CONFIG_STATUS
                   8689: rm -f conftest.tail
                   8690: while grep . conftest.defines >/dev/null
                   8691: do
                   8692:   # Write a limited-size here document to $tmp/defines.sed.
                   8693:   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
                   8694:   # Speed up: don't consider the non `#define' lines.
1.86      paf      8695:   echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
1.62      paf      8696:   # Work around the forget-to-reset-the-flag bug.
                   8697:   echo 't clr' >>$CONFIG_STATUS
                   8698:   echo ': clr' >>$CONFIG_STATUS
                   8699:   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
                   8700:   echo 'CEOF
                   8701:   sed -f $tmp/defines.sed $tmp/in >$tmp/out
                   8702:   rm -f $tmp/in
                   8703:   mv $tmp/out $tmp/in
                   8704: ' >>$CONFIG_STATUS
                   8705:   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
                   8706:   rm -f conftest.defines
                   8707:   mv conftest.tail conftest.defines
                   8708: done
                   8709: rm -f conftest.defines
                   8710: echo '  fi # grep' >>$CONFIG_STATUS
                   8711: echo >>$CONFIG_STATUS
                   8712: 
                   8713: # Break up conftest.undefs because some shells have a limit on the size
                   8714: # of here documents, and old seds have small limits too (100 cmds).
                   8715: echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
1.1       paf      8716: rm -f conftest.tail
1.62      paf      8717: while grep . conftest.undefs >/dev/null
1.1       paf      8718: do
1.62      paf      8719:   # Write a limited-size here document to $tmp/undefs.sed.
                   8720:   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
                   8721:   # Speed up: don't consider the non `#undef'
1.86      paf      8722:   echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
1.62      paf      8723:   # Work around the forget-to-reset-the-flag bug.
                   8724:   echo 't clr' >>$CONFIG_STATUS
                   8725:   echo ': clr' >>$CONFIG_STATUS
                   8726:   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
1.1       paf      8727:   echo 'CEOF
1.62      paf      8728:   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
                   8729:   rm -f $tmp/in
                   8730:   mv $tmp/out $tmp/in
                   8731: ' >>$CONFIG_STATUS
                   8732:   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
                   8733:   rm -f conftest.undefs
                   8734:   mv conftest.tail conftest.undefs
                   8735: done
                   8736: rm -f conftest.undefs
                   8737: 
                   8738: cat >>$CONFIG_STATUS <<\_ACEOF
                   8739:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   8740:   # use $as_me), people would be surprised to read:
                   8741:   #    /* config.h.  Generated by config.status.  */
                   8742:   if test x"$ac_file" = x-; then
                   8743:     echo "/* Generated by configure.  */" >$tmp/config.h
                   8744:   else
                   8745:     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
                   8746:   fi
                   8747:   cat $tmp/in >>$tmp/config.h
                   8748:   rm -f $tmp/in
                   8749:   if test x"$ac_file" != x-; then
                   8750:     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
                   8751:       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
                   8752: echo "$as_me: $ac_file is unchanged" >&6;}
                   8753:     else
                   8754:       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
                   8755: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      8756:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   8757:         X"$ac_file" : 'X\(//\)$' \| \
                   8758:         X"$ac_file" : 'X\(/\)' \| \
                   8759:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      8760: echo X"$ac_file" |
                   8761:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   8762:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   8763:          /^X\(\/\/\)$/{ s//\1/; q; }
                   8764:          /^X\(\/\).*/{ s//\1/; q; }
                   8765:          s/.*/./; q'`
                   8766:       { if $as_mkdir_p; then
                   8767:     mkdir -p "$ac_dir"
                   8768:   else
                   8769:     as_dir="$ac_dir"
                   8770:     as_dirs=
                   8771:     while test ! -d "$as_dir"; do
                   8772:       as_dirs="$as_dir $as_dirs"
                   8773:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   8774: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      8775:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   8776:         X"$as_dir" : 'X\(//\)$' \| \
                   8777:         X"$as_dir" : 'X\(/\)' \| \
                   8778:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      8779: echo X"$as_dir" |
                   8780:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   8781:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   8782:          /^X\(\/\/\)$/{ s//\1/; q; }
                   8783:          /^X\(\/\).*/{ s//\1/; q; }
                   8784:          s/.*/./; q'`
                   8785:     done
                   8786:     test ! -n "$as_dirs" || mkdir $as_dirs
                   8787:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   8788: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   8789:    { (exit 1); exit 1; }; }; }
                   8790: 
                   8791:       rm -f $ac_file
                   8792:       mv $tmp/config.h $ac_file
                   8793:     fi
                   8794:   else
                   8795:     cat $tmp/config.h
                   8796:     rm -f $tmp/config.h
                   8797:   fi
1.86      paf      8798: # Compute $ac_file's index in $config_headers.
                   8799: _am_stamp_count=1
                   8800: for _am_header in $config_headers :; do
                   8801:   case $_am_header in
                   8802:     $ac_file | $ac_file:* )
                   8803:       break ;;
                   8804:     * )
                   8805:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   8806:   esac
                   8807: done
1.62      paf      8808: echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
                   8809: $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      8810:         X$ac_file : 'X\(//\)[^/]' \| \
                   8811:         X$ac_file : 'X\(//\)$' \| \
                   8812:         X$ac_file : 'X\(/\)' \| \
                   8813:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      8814: echo X$ac_file |
                   8815:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   8816:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   8817:          /^X\(\/\/\)$/{ s//\1/; q; }
                   8818:          /^X\(\/\).*/{ s//\1/; q; }
                   8819:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   8820: done
                   8821: _ACEOF
                   8822: cat >>$CONFIG_STATUS <<\_ACEOF
                   8823: 
                   8824: #
                   8825: # CONFIG_COMMANDS section.
                   8826: #
                   8827: for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
                   8828:   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
                   8829:   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   8830:   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
                   8831: $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      8832:         X"$ac_dest" : 'X\(//\)[^/]' \| \
                   8833:         X"$ac_dest" : 'X\(//\)$' \| \
                   8834:         X"$ac_dest" : 'X\(/\)' \| \
                   8835:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      8836: echo X"$ac_dest" |
                   8837:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   8838:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   8839:          /^X\(\/\/\)$/{ s//\1/; q; }
                   8840:          /^X\(\/\).*/{ s//\1/; q; }
                   8841:          s/.*/./; q'`
1.86      paf      8842:   { if $as_mkdir_p; then
                   8843:     mkdir -p "$ac_dir"
                   8844:   else
                   8845:     as_dir="$ac_dir"
                   8846:     as_dirs=
                   8847:     while test ! -d "$as_dir"; do
                   8848:       as_dirs="$as_dir $as_dirs"
                   8849:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   8850: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   8851:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   8852:         X"$as_dir" : 'X\(//\)$' \| \
                   8853:         X"$as_dir" : 'X\(/\)' \| \
                   8854:         .     : '\(.\)' 2>/dev/null ||
                   8855: echo X"$as_dir" |
                   8856:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   8857:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   8858:          /^X\(\/\/\)$/{ s//\1/; q; }
                   8859:          /^X\(\/\).*/{ s//\1/; q; }
                   8860:          s/.*/./; q'`
                   8861:     done
                   8862:     test ! -n "$as_dirs" || mkdir $as_dirs
                   8863:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   8864: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   8865:    { (exit 1); exit 1; }; }; }
                   8866: 
1.62      paf      8867:   ac_builddir=.
                   8868: 
                   8869: if test "$ac_dir" != .; then
                   8870:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   8871:   # A "../" for each directory in $ac_dir_suffix.
                   8872:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   8873: else
                   8874:   ac_dir_suffix= ac_top_builddir=
                   8875: fi
                   8876: 
                   8877: case $srcdir in
                   8878:   .)  # No --srcdir option.  We are building in place.
                   8879:     ac_srcdir=.
                   8880:     if test -z "$ac_top_builddir"; then
                   8881:        ac_top_srcdir=.
                   8882:     else
                   8883:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   8884:     fi ;;
                   8885:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   8886:     ac_srcdir=$srcdir$ac_dir_suffix;
                   8887:     ac_top_srcdir=$srcdir ;;
                   8888:   *) # Relative path.
                   8889:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   8890:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   8891: esac
1.86      paf      8892: 
                   8893: # Do not use `cd foo && pwd` to compute absolute paths, because
                   8894: # the directories may not exist.
                   8895: case `pwd` in
                   8896: .) ac_abs_builddir="$ac_dir";;
                   8897: *)
                   8898:   case "$ac_dir" in
                   8899:   .) ac_abs_builddir=`pwd`;;
                   8900:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                   8901:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                   8902:   esac;;
                   8903: esac
                   8904: case $ac_abs_builddir in
                   8905: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                   8906: *)
                   8907:   case ${ac_top_builddir}. in
                   8908:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                   8909:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                   8910:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                   8911:   esac;;
                   8912: esac
                   8913: case $ac_abs_builddir in
                   8914: .) ac_abs_srcdir=$ac_srcdir;;
                   8915: *)
                   8916:   case $ac_srcdir in
                   8917:   .) ac_abs_srcdir=$ac_abs_builddir;;
                   8918:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   8919:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   8920:   esac;;
                   8921: esac
                   8922: case $ac_abs_builddir in
                   8923: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   8924: *)
                   8925:   case $ac_top_srcdir in
                   8926:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   8927:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   8928:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   8929:   esac;;
                   8930: esac
1.62      paf      8931: 
                   8932: 
                   8933:   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
                   8934: echo "$as_me: executing $ac_dest commands" >&6;}
                   8935:   case $ac_dest in
                   8936:     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
                   8937:   # Strip MF so we end up with the name of the file.
                   8938:   mf=`echo "$mf" | sed -e 's/:.*$//'`
                   8939:   # Check whether this is an Automake generated Makefile or not.
                   8940:   # We used to match only the files named `Makefile.in', but
                   8941:   # some people rename them; so instead we look at the file content.
                   8942:   # Grep'ing the first line is not enough: some people post-process
                   8943:   # each Makefile.in and add a new line on top of each file to say so.
                   8944:   # So let's grep whole file.
                   8945:   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
                   8946:     dirpart=`(dirname "$mf") 2>/dev/null ||
                   8947: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      8948:         X"$mf" : 'X\(//\)[^/]' \| \
                   8949:         X"$mf" : 'X\(//\)$' \| \
                   8950:         X"$mf" : 'X\(/\)' \| \
                   8951:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      8952: echo X"$mf" |
                   8953:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   8954:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   8955:          /^X\(\/\/\)$/{ s//\1/; q; }
                   8956:          /^X\(\/\).*/{ s//\1/; q; }
                   8957:          s/.*/./; q'`
                   8958:   else
                   8959:     continue
                   8960:   fi
1.86      paf      8961:   # Extract the definition of DEPDIR, am__include, and am__quote
                   8962:   # from the Makefile without running `make'.
                   8963:   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1.62      paf      8964:   test -z "$DEPDIR" && continue
1.86      paf      8965:   am__include=`sed -n 's/^am__include = //p' < "$mf"`
                   8966:   test -z "am__include" && continue
                   8967:   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1.62      paf      8968:   # When using ansi2knr, U may be empty or an underscore; expand it
1.86      paf      8969:   U=`sed -n 's/^U = //p' < "$mf"`
                   8970:   # Find all dependency output files, they are included files with
                   8971:   # $(DEPDIR) in their names.  We invoke sed twice because it is the
                   8972:   # simplest approach to changing $(DEPDIR) to its actual value in the
                   8973:   # expansion.
                   8974:   for file in `sed -n "
                   8975:     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1.62      paf      8976:        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   8977:     # Make sure the directory exists.
                   8978:     test -f "$dirpart/$file" && continue
                   8979:     fdir=`(dirname "$file") 2>/dev/null ||
                   8980: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      8981:         X"$file" : 'X\(//\)[^/]' \| \
                   8982:         X"$file" : 'X\(//\)$' \| \
                   8983:         X"$file" : 'X\(/\)' \| \
                   8984:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      8985: echo X"$file" |
                   8986:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   8987:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   8988:          /^X\(\/\/\)$/{ s//\1/; q; }
                   8989:          /^X\(\/\).*/{ s//\1/; q; }
                   8990:          s/.*/./; q'`
                   8991:     { if $as_mkdir_p; then
                   8992:     mkdir -p $dirpart/$fdir
                   8993:   else
                   8994:     as_dir=$dirpart/$fdir
                   8995:     as_dirs=
                   8996:     while test ! -d "$as_dir"; do
                   8997:       as_dirs="$as_dir $as_dirs"
                   8998:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   8999: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      9000:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   9001:         X"$as_dir" : 'X\(//\)$' \| \
                   9002:         X"$as_dir" : 'X\(/\)' \| \
                   9003:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      9004: echo X"$as_dir" |
                   9005:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   9006:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   9007:          /^X\(\/\/\)$/{ s//\1/; q; }
                   9008:          /^X\(\/\).*/{ s//\1/; q; }
                   9009:          s/.*/./; q'`
                   9010:     done
                   9011:     test ! -n "$as_dirs" || mkdir $as_dirs
                   9012:   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
                   9013: echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
                   9014:    { (exit 1); exit 1; }; }; }
1.1       paf      9015: 
1.62      paf      9016:     # echo "creating $dirpart/$file"
                   9017:     echo '# dummy' > "$dirpart/$file"
                   9018:   done
                   9019: done
                   9020:  ;;
                   9021:   esac
                   9022: done
                   9023: _ACEOF
                   9024: 
                   9025: cat >>$CONFIG_STATUS <<\_ACEOF
                   9026: 
                   9027: { (exit 0); exit 0; }
                   9028: _ACEOF
1.1       paf      9029: chmod +x $CONFIG_STATUS
1.62      paf      9030: ac_clean_files=$ac_clean_files_save
                   9031: 
1.1       paf      9032: 
1.62      paf      9033: # configure is writing to config.log, and then calls config.status.
                   9034: # config.status does its own redirection, appending to config.log.
                   9035: # Unfortunately, on DOS this fails, as config.log is still kept open
                   9036: # by configure, so config.status won't be able to write to it; its
                   9037: # output is simply discarded.  So we exec the FD to /dev/null,
                   9038: # effectively closing config.log, so it can be properly (re)opened and
                   9039: # appended to by config.status.  When coming back to configure, we
                   9040: # need to make the FD available again.
                   9041: if test "$no_create" != yes; then
                   9042:   ac_cs_success=:
                   9043:   ac_config_status_args=
                   9044:   test "$silent" = yes &&
                   9045:     ac_config_status_args="$ac_config_status_args --quiet"
                   9046:   exec 5>/dev/null
                   9047:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   9048:   exec 5>>config.log
                   9049:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   9050:   # would make configure fail if this is the last instruction.
                   9051:   $ac_cs_success || { (exit 1); exit 1; }
                   9052: fi
                   9053: 
                   9054: #
                   9055: # CONFIG_SUBDIRS section.
                   9056: #
1.1       paf      9057: if test "$no_recursion" != yes; then
                   9058: 
                   9059:   # Remove --cache-file and --srcdir arguments so they do not pile up.
                   9060:   ac_sub_configure_args=
                   9061:   ac_prev=
                   9062:   for ac_arg in $ac_configure_args; do
                   9063:     if test -n "$ac_prev"; then
                   9064:       ac_prev=
                   9065:       continue
                   9066:     fi
1.62      paf      9067:     case $ac_arg in
1.1       paf      9068:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   9069:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   9070:       ac_prev=cache_file ;;
                   9071:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.62      paf      9072:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   9073:     | --c=*)
                   9074:       ;;
                   9075:     --config-cache | -C)
1.1       paf      9076:       ;;
                   9077:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   9078:       ac_prev=srcdir ;;
                   9079:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   9080:       ;;
1.62      paf      9081:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   9082:       ac_prev=prefix ;;
                   9083:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   9084:       ;;
1.1       paf      9085:     *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
                   9086:     esac
                   9087:   done
                   9088: 
1.62      paf      9089:   # Always prepend --prefix to ensure using the same prefix
                   9090:   # in subdir configurations.
                   9091:   ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
                   9092: 
                   9093:   ac_popdir=`pwd`
                   9094:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
1.1       paf      9095: 
                   9096:     # Do not complain, so a configure script can configure whichever
                   9097:     # parts of a large source tree are present.
1.62      paf      9098:     test -d $srcdir/$ac_dir || continue
1.1       paf      9099: 
1.62      paf      9100:     { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
                   9101: echo "$as_me: configuring in $ac_dir" >&6;}
                   9102:     { if $as_mkdir_p; then
                   9103:     mkdir -p "$ac_dir"
                   9104:   else
                   9105:     as_dir="$ac_dir"
                   9106:     as_dirs=
                   9107:     while test ! -d "$as_dir"; do
                   9108:       as_dirs="$as_dir $as_dirs"
                   9109:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   9110: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      9111:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   9112:         X"$as_dir" : 'X\(//\)$' \| \
                   9113:         X"$as_dir" : 'X\(/\)' \| \
                   9114:         .     : '\(.\)' 2>/dev/null ||
1.62      paf      9115: echo X"$as_dir" |
                   9116:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   9117:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   9118:          /^X\(\/\/\)$/{ s//\1/; q; }
                   9119:          /^X\(\/\).*/{ s//\1/; q; }
                   9120:          s/.*/./; q'`
                   9121:     done
                   9122:     test ! -n "$as_dirs" || mkdir $as_dirs
                   9123:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   9124: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   9125:    { (exit 1); exit 1; }; }; }
                   9126: 
                   9127:     ac_builddir=.
                   9128: 
                   9129: if test "$ac_dir" != .; then
                   9130:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   9131:   # A "../" for each directory in $ac_dir_suffix.
                   9132:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   9133: else
                   9134:   ac_dir_suffix= ac_top_builddir=
                   9135: fi
                   9136: 
                   9137: case $srcdir in
                   9138:   .)  # No --srcdir option.  We are building in place.
                   9139:     ac_srcdir=.
                   9140:     if test -z "$ac_top_builddir"; then
                   9141:        ac_top_srcdir=.
                   9142:     else
                   9143:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   9144:     fi ;;
                   9145:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   9146:     ac_srcdir=$srcdir$ac_dir_suffix;
                   9147:     ac_top_srcdir=$srcdir ;;
                   9148:   *) # Relative path.
                   9149:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   9150:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   9151: esac
1.86      paf      9152: 
                   9153: # Do not use `cd foo && pwd` to compute absolute paths, because
                   9154: # the directories may not exist.
                   9155: case `pwd` in
                   9156: .) ac_abs_builddir="$ac_dir";;
                   9157: *)
                   9158:   case "$ac_dir" in
                   9159:   .) ac_abs_builddir=`pwd`;;
                   9160:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                   9161:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                   9162:   esac;;
                   9163: esac
                   9164: case $ac_abs_builddir in
                   9165: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                   9166: *)
                   9167:   case ${ac_top_builddir}. in
                   9168:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                   9169:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                   9170:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                   9171:   esac;;
                   9172: esac
                   9173: case $ac_abs_builddir in
                   9174: .) ac_abs_srcdir=$ac_srcdir;;
                   9175: *)
                   9176:   case $ac_srcdir in
                   9177:   .) ac_abs_srcdir=$ac_abs_builddir;;
                   9178:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   9179:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   9180:   esac;;
                   9181: esac
                   9182: case $ac_abs_builddir in
                   9183: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   9184: *)
                   9185:   case $ac_top_srcdir in
                   9186:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   9187:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   9188:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   9189:   esac;;
                   9190: esac
1.1       paf      9191: 
                   9192: 
1.62      paf      9193:     cd $ac_dir
1.1       paf      9194: 
                   9195:     # Check for guested configure; otherwise get Cygnus style configure.
1.62      paf      9196:     if test -f $ac_srcdir/configure.gnu; then
                   9197:       ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
                   9198:     elif test -f $ac_srcdir/configure; then
                   9199:       ac_sub_configure="$SHELL '$ac_srcdir/configure'"
                   9200:     elif test -f $ac_srcdir/configure.in; then
1.1       paf      9201:       ac_sub_configure=$ac_configure
                   9202:     else
1.62      paf      9203:       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
                   9204: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1       paf      9205:       ac_sub_configure=
                   9206:     fi
                   9207: 
                   9208:     # The recursion is here.
                   9209:     if test -n "$ac_sub_configure"; then
                   9210:       # Make the cache file name correct relative to the subdirectory.
1.62      paf      9211:       case $cache_file in
                   9212:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.1       paf      9213:       *) # Relative path.
1.86      paf      9214:        ac_sub_cache_file=$ac_top_builddir$cache_file ;;
1.1       paf      9215:       esac
                   9216: 
1.62      paf      9217:       { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
                   9218: echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
1.1       paf      9219:       # The eval makes quoting arguments work.
1.62      paf      9220:       eval $ac_sub_configure $ac_sub_configure_args \
1.86      paf      9221:           --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
                   9222:        { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
1.62      paf      9223: echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
                   9224:    { (exit 1); exit 1; }; }
1.1       paf      9225:     fi
                   9226: 
                   9227:     cd $ac_popdir
                   9228:   done
                   9229: fi
                   9230: 

E-mail: