Annotation of parser3/configure, revision 1.88

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

E-mail: