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