Annotation of parser3/configure, revision 1.93

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

E-mail: