Annotation of parser3/configure, revision 1.127

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

E-mail: