Annotation of parser3/configure, revision 1.100

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

E-mail: