|
|
| version 1.63, 2003/01/10 16:52:09 | version 1.117, 2009/11/27 10:16:24 |
|---|---|
| Line 1 | Line 1 |
| #! /bin/sh | #! /bin/sh |
| # Guess values for system-dependent variables and create Makefiles. | # Guess values for system-dependent variables and create Makefiles. |
| # Generated by GNU Autoconf 2.57. | # Generated by GNU Autoconf 2.59. |
| # | # |
| # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 | # Copyright (C) 2003 Free Software Foundation, Inc. |
| # Free Software Foundation, Inc. | |
| # This configure script is free software; the Free Software Foundation | # This configure script is free software; the Free Software Foundation |
| # gives unlimited permission to copy, distribute and modify it. | # gives unlimited permission to copy, distribute and modify it. |
| ## --------------------- ## | ## --------------------- ## |
| Line 20 if test -n "${ZSH_VERSION+set}" && (emul | Line 19 if test -n "${ZSH_VERSION+set}" && (emul |
| elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
| set -o posix | set -o posix |
| fi | fi |
| DUALCASE=1; export DUALCASE # for MKS sh | |
| # Support unset when possible. | # Support unset when possible. |
| if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| as_unset=unset | as_unset=unset |
| else | else |
| as_unset=false | as_unset=false |
| Line 41 for as_var in \ | Line 41 for as_var in \ |
| LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
| LC_TELEPHONE LC_TIME | LC_TELEPHONE LC_TIME |
| do | do |
| if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
| eval $as_var=C; export $as_var | eval $as_var=C; export $as_var |
| else | else |
| $as_unset $as_var | $as_unset $as_var |
| Line 218 rm -f conf$$ conf$$.exe conf$$.file | Line 218 rm -f conf$$ conf$$.exe conf$$.file |
| if mkdir -p . 2>/dev/null; then | if mkdir -p . 2>/dev/null; then |
| as_mkdir_p=: | as_mkdir_p=: |
| else | else |
| test -d ./-p && rmdir ./-p | |
| as_mkdir_p=false | as_mkdir_p=false |
| fi | fi |
| as_executable_p="test -f" | as_executable_p="test -f" |
| # Sed expression to map a string onto a valid CPP name. | # Sed expression to map a string onto a valid CPP name. |
| as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| # Sed expression to map a string onto a valid variable name. | # Sed expression to map a string onto a valid variable name. |
| as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| # IFS | # IFS |
| Line 309 ac_includes_default="\ | Line 310 ac_includes_default="\ |
| # include <unistd.h> | # include <unistd.h> |
| #endif" | #endif" |
| 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' | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar P3S build build_cpu build_vendor build_os host host_cpu host_vendor host_os RANLIB ac_ct_RANLIB YACC CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE commentcharset_windows1251 commentcharset_windows1250 commentcharset_windows1257 commentcharset_koi8r dll_extension mysql_client pgsql_client oracle_client sqlite_client CPP_LIBS GC_LIBS PCRE_INCLUDES PCRE_LIBS XML_INCLUDES XML_LIBS MIME_INCLUDES MIME_LIBS APACHE13 COMPILE_APACHE13_MODULE_TRUE COMPILE_APACHE13_MODULE_FALSE INCLTDL LIBLTDL subdirs LIBADD_DL CPP EGREP LIBOBJS LTLIBOBJS' |
| ac_subst_files='' | ac_subst_files='' |
| # Initialize some variables set by options. | # Initialize some variables set by options. |
| Line 668 done | Line 669 done |
| # Be sure to have absolute paths. | # Be sure to have absolute paths. |
| for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
| localstatedir libdir includedir oldincludedir infodir mandir | localstatedir libdir includedir oldincludedir infodir mandir |
| do | do |
| eval ac_val=$`echo $ac_var` | eval ac_val=$`echo $ac_var` |
| case $ac_val in | case $ac_val in |
| Line 708 if test -z "$srcdir"; then | Line 709 if test -z "$srcdir"; then |
| # Try the directory containing this script, then its parent. | # Try the directory containing this script, then its parent. |
| ac_confdir=`(dirname "$0") 2>/dev/null || | ac_confdir=`(dirname "$0") 2>/dev/null || |
| $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| X"$0" : 'X\(//\)[^/]' \| \ | X"$0" : 'X\(//\)[^/]' \| \ |
| X"$0" : 'X\(//\)$' \| \ | X"$0" : 'X\(//\)$' \| \ |
| X"$0" : 'X\(/\)' \| \ | X"$0" : 'X\(/\)' \| \ |
| . : '\(.\)' 2>/dev/null || | . : '\(.\)' 2>/dev/null || |
| echo X"$0" | | echo X"$0" | |
| sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| /^X\(\/\/\)[^/].*/{ s//\1/; q; } | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| Line 750 ac_env_target_alias_set=${target_alias+s | Line 751 ac_env_target_alias_set=${target_alias+s |
| ac_env_target_alias_value=$target_alias | ac_env_target_alias_value=$target_alias |
| ac_cv_env_target_alias_set=${target_alias+set} | ac_cv_env_target_alias_set=${target_alias+set} |
| ac_cv_env_target_alias_value=$target_alias | ac_cv_env_target_alias_value=$target_alias |
| ac_env_CC_set=${CC+set} | |
| ac_env_CC_value=$CC | |
| ac_cv_env_CC_set=${CC+set} | |
| ac_cv_env_CC_value=$CC | |
| ac_env_CFLAGS_set=${CFLAGS+set} | |
| ac_env_CFLAGS_value=$CFLAGS | |
| ac_cv_env_CFLAGS_set=${CFLAGS+set} | |
| ac_cv_env_CFLAGS_value=$CFLAGS | |
| ac_env_LDFLAGS_set=${LDFLAGS+set} | |
| ac_env_LDFLAGS_value=$LDFLAGS | |
| ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | |
| ac_cv_env_LDFLAGS_value=$LDFLAGS | |
| ac_env_CPPFLAGS_set=${CPPFLAGS+set} | |
| ac_env_CPPFLAGS_value=$CPPFLAGS | |
| ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | |
| ac_cv_env_CPPFLAGS_value=$CPPFLAGS | |
| ac_env_CXX_set=${CXX+set} | ac_env_CXX_set=${CXX+set} |
| ac_env_CXX_value=$CXX | ac_env_CXX_value=$CXX |
| ac_cv_env_CXX_set=${CXX+set} | ac_cv_env_CXX_set=${CXX+set} |
| Line 774 ac_env_CXXFLAGS_set=${CXXFLAGS+set} | Line 759 ac_env_CXXFLAGS_set=${CXXFLAGS+set} |
| ac_env_CXXFLAGS_value=$CXXFLAGS | ac_env_CXXFLAGS_value=$CXXFLAGS |
| ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} | ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} |
| ac_cv_env_CXXFLAGS_value=$CXXFLAGS | ac_cv_env_CXXFLAGS_value=$CXXFLAGS |
| ac_env_CXXCPP_set=${CXXCPP+set} | ac_env_LDFLAGS_set=${LDFLAGS+set} |
| ac_env_CXXCPP_value=$CXXCPP | ac_env_LDFLAGS_value=$LDFLAGS |
| ac_cv_env_CXXCPP_set=${CXXCPP+set} | ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
| ac_cv_env_CXXCPP_value=$CXXCPP | ac_cv_env_LDFLAGS_value=$LDFLAGS |
| ac_env_CPPFLAGS_set=${CPPFLAGS+set} | |
| ac_env_CPPFLAGS_value=$CPPFLAGS | |
| ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | |
| ac_cv_env_CPPFLAGS_value=$CPPFLAGS | |
| ac_env_CC_set=${CC+set} | |
| ac_env_CC_value=$CC | |
| ac_cv_env_CC_set=${CC+set} | |
| ac_cv_env_CC_value=$CC | |
| ac_env_CFLAGS_set=${CFLAGS+set} | |
| ac_env_CFLAGS_value=$CFLAGS | |
| ac_cv_env_CFLAGS_set=${CFLAGS+set} | |
| ac_cv_env_CFLAGS_value=$CFLAGS | |
| ac_env_CPP_set=${CPP+set} | |
| ac_env_CPP_value=$CPP | |
| ac_cv_env_CPP_set=${CPP+set} | |
| ac_cv_env_CPP_value=$CPP | |
| # | # |
| # Report the --help message. | # Report the --help message. |
| Line 811 _ACEOF | Line 812 _ACEOF |
| cat <<_ACEOF | cat <<_ACEOF |
| Installation directories: | Installation directories: |
| --prefix=PREFIX install architecture-independent files in PREFIX | --prefix=PREFIX install architecture-independent files in PREFIX |
| [$ac_default_prefix] | [$ac_default_prefix] |
| --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
| [PREFIX] | [PREFIX] |
| By default, \`make install' will install all the files in | By default, \`make install' will install all the files in |
| \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
| Line 857 if test -n "$ac_init_help"; then | Line 858 if test -n "$ac_init_help"; then |
| Optional Features: | Optional Features: |
| --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| --disable-dependency-tracking Speeds up one-time builds | --disable-dependency-tracking speeds up one-time build |
| --enable-dependency-tracking Do not reject slow dependency extractors | --enable-dependency-tracking do not reject slow dependency extractors |
| --disable-safe-mode to enable reading and executing | --disable-safe-mode to enable reading and executing |
| files belonging to group+user other then effective | files belonging to group+user other then effective |
| --disable-execs to disable any execs | --disable-execs to disable any execs |
| (file::exec, file::cgi, unix mail:send) | (file::exec, file::cgi, unix mail:send) |
| --disable-string-origins to switch off string origin tracking | --disable-stringstream to disable stringstream usage. |
| when disabled table.save use more memory but it's safer on freebsd 4.x | |
| Optional Packages: | Optional Packages: |
| --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
| --with-build-warnings to enable build-time compiler warnings if gcc is used | |
| --with-assertions to enable assertions | |
| --with-charsets=CHARSET,CHARSET,... Enables charsets in root config (windows-1251, | --with-charsets=CHARSET,CHARSET,... Enables charsets in root config (windows-1251, |
| windows-1250 windows-1257 koi8-r; Default is windows-1251) | windows-1250 windows-1257 koi8-r; Default is windows-1251) |
| --with-mysql-client=mysqlclientlib?withparams | --with-mysql-client=mysqlclientlib?withparams |
| Line 876 Optional Packages: | Line 880 Optional Packages: |
| PgSQL client dynamic library to root config | PgSQL client dynamic library to root config |
| --with-oracle-client=oracleclientlib?withparams | --with-oracle-client=oracleclientlib?withparams |
| Oracle client dynamic library | Oracle client dynamic library |
| --with-sqlite-client=sqliteclientlib?withparams | |
| SQLite client dynamic library to root config | |
| --with-pathlink=LKEY put dynamic libraries paths to binary | --with-pathlink=LKEY put dynamic libraries paths to binary |
| using linker key (-R, -rpath-link) | using linker key (-R, -rpath-link) |
| --with-link-stdcpp=PATH to directory with libstdc++ | --with-dynamic-stdcpp link libstdc++ dynamically |
| --without-link-stdcpp to disable libstdc++ linkage, | by default, libstdc++ is linked statically |
| if you belive you do not need one | |
| --with-sjlj-exceptions enable simple 'throw' from dynamic library | --with-sjlj-exceptions enable simple 'throw' from dynamic library |
| --with-glib-config=FILE FILE is glib library | --with-shared-gc=D D is the directory where |
| configuration file (search for glib*-config) | Boehm garbage collecting library is installed (shared lib) |
| --with-static-gc=D D is the directory where | |
| Boehm garbage collecting library is installed (static lib) | |
| --with-static-pcre=D D is the directory where | |
| PCRE library is installed (static lib) | |
| --with-shared-xml=D D is the directory where | --with-shared-xml=D D is the directory where |
| Gnome XML libraries are installed (shared libs) | Gnome XML libraries are installed (shared libs) |
| --with-static-xml=D D is the directory where | --with-static-xml=D D is the directory where |
| Gnome XML libraries are installed (static libs) | Gnome XML libraries are installed (static libs) |
| --with-glib-config=FILE FILE is glib library | |
| configuration file (search for glib*-config) | |
| --with-shared-mailreceive=D is the directory where | --with-shared-mailreceive=D is the directory where |
| Gnome MIME library is installed (shared lib) | Gnome MIME library is installed (shared lib) |
| --with-static-mailreceive=D is the directory where | --with-static-mailreceive=D is the directory where |
| Gnome MIME library is installed (static lib) | Gnome MIME library is installed (static lib) |
| \"--with-sendmail=COMMAND\" forces this command to send mail. | \"--with-sendmail=COMMAND\" forces this command to send mail. |
| Line 900 Optional Packages: | Line 911 Optional Packages: |
| (do not add /src) | (do not add /src) |
| Some influential environment variables: | Some influential environment variables: |
| CC C compiler command | CXX C++ compiler command |
| CFLAGS C compiler flags | CXXFLAGS C++ compiler flags |
| LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
| nonstandard directory <lib dir> | nonstandard directory <lib dir> |
| CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have | CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
| headers in a nonstandard directory <include dir> | headers in a nonstandard directory <include dir> |
| CXX C++ compiler command | CC C compiler command |
| CXXFLAGS C++ compiler flags | CFLAGS C compiler flags |
| CXXCPP C++ preprocessor | CPP C preprocessor |
| Use these variables to override the choices made by `configure' or to help | Use these variables to override the choices made by `configure' or to help |
| it to find libraries and programs with nonstandard names/locations. | it to find libraries and programs with nonstandard names/locations. |
| Line 946 case $srcdir in | Line 957 case $srcdir in |
| ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
| ac_top_srcdir=$ac_top_builddir$srcdir ;; | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
| esac | esac |
| # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | |
| # absolute. | # Do not use `cd foo && pwd` to compute absolute paths, because |
| ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | # the directories may not exist. |
| ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` | case `pwd` in |
| ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | .) ac_abs_builddir="$ac_dir";; |
| ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | *) |
| case "$ac_dir" in | |
| .) ac_abs_builddir=`pwd`;; | |
| [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | |
| *) ac_abs_builddir=`pwd`/"$ac_dir";; | |
| esac;; | |
| esac | |
| case $ac_abs_builddir in | |
| .) ac_abs_top_builddir=${ac_top_builddir}.;; | |
| *) | |
| case ${ac_top_builddir}. in | |
| .) ac_abs_top_builddir=$ac_abs_builddir;; | |
| [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | |
| *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | |
| esac;; | |
| esac | |
| case $ac_abs_builddir in | |
| .) ac_abs_srcdir=$ac_srcdir;; | |
| *) | |
| case $ac_srcdir in | |
| .) ac_abs_srcdir=$ac_abs_builddir;; | |
| [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | |
| *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | |
| esac;; | |
| esac | |
| case $ac_abs_builddir in | |
| .) ac_abs_top_srcdir=$ac_top_srcdir;; | |
| *) | |
| case $ac_top_srcdir in | |
| .) ac_abs_top_srcdir=$ac_abs_builddir;; | |
| [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | |
| *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | |
| esac;; | |
| esac | |
| cd $ac_dir | cd $ac_dir |
| # Check for guested configure; otherwise get Cygnus style configure. | # Check for guested configure; otherwise get Cygnus style configure. |
| Line 962 ac_abs_top_srcdir=`cd "$ac_dir" && cd $a | Line 1006 ac_abs_top_srcdir=`cd "$ac_dir" && cd $a |
| echo | echo |
| $SHELL $ac_srcdir/configure --help=recursive | $SHELL $ac_srcdir/configure --help=recursive |
| elif test -f $ac_srcdir/configure.ac || | elif test -f $ac_srcdir/configure.ac || |
| test -f $ac_srcdir/configure.in; then | test -f $ac_srcdir/configure.in; then |
| echo | echo |
| $ac_configure --help | $ac_configure --help |
| else | else |
| Line 976 test -n "$ac_init_help" && exit 0 | Line 1020 test -n "$ac_init_help" && exit 0 |
| if $ac_init_version; then | if $ac_init_version; then |
| cat <<\_ACEOF | cat <<\_ACEOF |
| Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 | Copyright (C) 2003 Free Software Foundation, Inc. |
| Free Software Foundation, Inc. | |
| This configure script is free software; the Free Software Foundation | This configure script is free software; the Free Software Foundation |
| gives unlimited permission to copy, distribute and modify it. | gives unlimited permission to copy, distribute and modify it. |
| _ACEOF | _ACEOF |
| Line 989 This file contains any messages produced | Line 1032 This file contains any messages produced |
| running configure, to aid debugging if configure makes a mistake. | running configure, to aid debugging if configure makes a mistake. |
| It was created by $as_me, which was | It was created by $as_me, which was |
| generated by GNU Autoconf 2.57. Invocation command line was | generated by GNU Autoconf 2.59. Invocation command line was |
| $ $0 $@ | $ $0 $@ |
| Line 1066 do | Line 1109 do |
| 2) | 2) |
| ac_configure_args1="$ac_configure_args1 '$ac_arg'" | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
| if test $ac_must_keep_next = true; then | if test $ac_must_keep_next = true; then |
| ac_must_keep_next=false # Got value, back to normal. | ac_must_keep_next=false # Got value, back to normal. |
| else | else |
| case $ac_arg in | case $ac_arg in |
| *=* | --config-cache | -C | -disable-* | --disable-* \ | *=* | --config-cache | -C | -disable-* | --disable-* \ |
| | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
| | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
| | -with-* | --with-* | -without-* | --without-* | --x) | | -with-* | --with-* | -without-* | --without-* | --x) |
| case "$ac_configure_args0 " in | case "$ac_configure_args0 " in |
| "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
| esac | esac |
| ;; | ;; |
| -* ) ac_must_keep_next=true ;; | -* ) ac_must_keep_next=true ;; |
| esac | esac |
| fi | fi |
| ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
| # Get rid of the leading space. | # Get rid of the leading space. |
| Line 1112 _ASBOX | Line 1155 _ASBOX |
| case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
| *ac_space=\ *) | *ac_space=\ *) |
| sed -n \ | sed -n \ |
| "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
| s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
| ;; | ;; |
| *) | *) |
| sed -n \ | sed -n \ |
| "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| ;; | ;; |
| esac; | esac; |
| } | } |
| Line 1146 _ASBOX | Line 1189 _ASBOX |
| for ac_var in $ac_subst_files | for ac_var in $ac_subst_files |
| do | do |
| eval ac_val=$`echo $ac_var` | eval ac_val=$`echo $ac_var` |
| echo "$ac_var='"'"'$ac_val'"'"'" | echo "$ac_var='"'"'$ac_val'"'"'" |
| done | sort | done | sort |
| echo | echo |
| fi | fi |
| Line 1165 _ASBOX | Line 1208 _ASBOX |
| echo "$as_me: caught signal $ac_signal" | echo "$as_me: caught signal $ac_signal" |
| echo "$as_me: exit $exit_status" | echo "$as_me: exit $exit_status" |
| } >&5 | } >&5 |
| rm -f core core.* *.core && | rm -f core *.core && |
| rm -rf conftest* confdefs* conf$$* $ac_clean_files && | rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
| exit $exit_status | exit $exit_status |
| ' 0 | ' 0 |
| Line 1245 fi | Line 1288 fi |
| # value. | # value. |
| ac_cache_corrupted=false | ac_cache_corrupted=false |
| for ac_var in `(set) 2>&1 | | for ac_var in `(set) 2>&1 | |
| sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
| eval ac_old_set=\$ac_cv_env_${ac_var}_set | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
| eval ac_new_set=\$ac_env_${ac_var}_set | eval ac_new_set=\$ac_env_${ac_var}_set |
| eval ac_old_val="\$ac_cv_env_${ac_var}_value" | eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
| Line 1262 echo "$as_me: error: \`$ac_var' was not | Line 1305 echo "$as_me: error: \`$ac_var' was not |
| ,);; | ,);; |
| *) | *) |
| if test "x$ac_old_val" != "x$ac_new_val"; then | if test "x$ac_old_val" != "x$ac_new_val"; then |
| { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
| echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
| { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
| echo "$as_me: former value: $ac_old_val" >&2;} | echo "$as_me: former value: $ac_old_val" >&2;} |
| { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
| echo "$as_me: current value: $ac_new_val" >&2;} | echo "$as_me: current value: $ac_new_val" >&2;} |
| ac_cache_corrupted=: | ac_cache_corrupted=: |
| fi;; | fi;; |
| esac | esac |
| # Pass precious variables to config.status. | # Pass precious variables to config.status. |
| Line 1318 ac_compiler_gnu=$ac_cv_c_compiler_gnu | Line 1361 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| am__api_version="1.7" | am__api_version="1.9" |
| ac_aux_dir= | ac_aux_dir= |
| for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
| if test -f $ac_dir/install-sh; then | if test -f $ac_dir/install-sh; then |
| Line 1355 ac_configure="$SHELL $ac_aux_dir/configu | Line 1398 ac_configure="$SHELL $ac_aux_dir/configu |
| # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| # AFS /usr/afsws/bin/install, which mishandles nonexistent args | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| # OS/2's system install, which has a completely different semantic | |
| # ./install, which can be erroneously created by make from ./install.sh. | # ./install, which can be erroneously created by make from ./install.sh. |
| echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
| echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
| Line 1371 do | Line 1415 do |
| case $as_dir/ in | case $as_dir/ in |
| ./ | .// | /cC/* | \ | ./ | .// | /cC/* | \ |
| /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | |
| /usr/ucb/* ) ;; | /usr/ucb/* ) ;; |
| *) | *) |
| # OSF1 and SCO ODT 3.0 have their own names for install. | # OSF1 and SCO ODT 3.0 have their own names for install. |
| Line 1378 case $as_dir/ in | Line 1423 case $as_dir/ in |
| # by default. | # by default. |
| for ac_prog in ginstall scoinst install; do | for ac_prog in ginstall scoinst install; do |
| for ac_exec_ext in '' $ac_executable_extensions; do | for ac_exec_ext in '' $ac_executable_extensions; do |
| if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
| if test $ac_prog = install && | if test $ac_prog = install && |
| grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| # AIX install. It has an incompatible calling convention. | # AIX install. It has an incompatible calling convention. |
| : | : |
| elif test $ac_prog = install && | elif test $ac_prog = install && |
| grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| # program-specific install script used by HP pwplus--don't use. | # program-specific install script used by HP pwplus--don't use. |
| : | : |
| else | else |
| ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
| break 3 | break 3 |
| fi | fi |
| fi | fi |
| done | done |
| done | done |
| ;; | ;; |
| Line 1479 _ACEOF | Line 1524 _ACEOF |
| program_transform_name=`echo $program_transform_name | sed -f conftest.sed` | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
| rm conftest.sed | rm conftest.sed |
| # expand $ac_aux_dir to an absolute path | # expand $ac_aux_dir to an absolute path |
| am_aux_dir=`cd $ac_aux_dir && pwd` | am_aux_dir=`cd $ac_aux_dir && pwd` |
| Line 1493 else | Line 1537 else |
| echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
| fi | fi |
| if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then | |
| # We used to keeping the `.' as first argument, in order to | |
| # allow $(mkdir_p) to be used without argument. As in | |
| # $(mkdir_p) $(somedir) | |
| # where $(somedir) is conditionally defined. However this is wrong | |
| # for two reasons: | |
| # 1. if the package is installed by a user who cannot write `.' | |
| # make install will fail, | |
| # 2. the above comment should most certainly read | |
| # $(mkdir_p) $(DESTDIR)$(somedir) | |
| # so it does not work when $(somedir) is undefined and | |
| # $(DESTDIR) is not. | |
| # To support the latter case, we have to write | |
| # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), | |
| # so the `.' trick is pointless. | |
| mkdir_p='mkdir -p --' | |
| else | |
| # On NextStep and OpenStep, the `mkdir' command does not | |
| # recognize any option. It will interpret all options as | |
| # directories to create, and then abort because `.' already | |
| # exists. | |
| for d in ./-p ./--version; | |
| do | |
| test -d $d && rmdir $d | |
| done | |
| # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. | |
| if test -f "$ac_aux_dir/mkinstalldirs"; then | |
| mkdir_p='$(mkinstalldirs)' | |
| else | |
| mkdir_p='$(install_sh) -d' | |
| fi | |
| fi | |
| for ac_prog in gawk mawk nawk awk | for ac_prog in gawk mawk nawk awk |
| do | do |
| # Extract the first word of "$ac_prog", so it can be a program name with args. | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| Line 1535 done | Line 1612 done |
| echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
| set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
| if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| else | else |
| Line 1562 echo "${ECHO_T}no" >&6 | Line 1639 echo "${ECHO_T}no" >&6 |
| SET_MAKE="MAKE=${MAKE-make}" | SET_MAKE="MAKE=${MAKE-make}" |
| fi | fi |
| # test to see if srcdir already configured | rm -rf .tst 2>/dev/null |
| mkdir .tst 2>/dev/null | |
| if test -d .tst; then | |
| am__leading_dot=. | |
| else | |
| am__leading_dot=_ | |
| fi | |
| rmdir .tst 2>/dev/null | |
| # test to see if srcdir already configured | |
| if test "`cd $srcdir && pwd`" != "`pwd`" && | if test "`cd $srcdir && pwd`" != "`pwd`" && |
| test -f $srcdir/config.status; then | test -f $srcdir/config.status; then |
| { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 | { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
| Line 1582 fi | Line 1668 fi |
| # Define the identity of the package. | # Define the identity of the package. |
| PACKAGE=parser | PACKAGE=parser |
| VERSION=3.0.HEAD | VERSION=3.4.1b |
| # Some tools Automake needs. | # Some tools Automake needs. |
| Line 1601 AUTOHEADER=${AUTOHEADER-"${am_missing_ru | Line 1687 AUTOHEADER=${AUTOHEADER-"${am_missing_ru |
| MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
| AMTAR=${AMTAR-"${am_missing_run}tar"} | |
| install_sh=${install_sh-"$am_aux_dir/install-sh"} | install_sh=${install_sh-"$am_aux_dir/install-sh"} |
| # Installed binaries are usually stripped using `strip' when the user | # Installed binaries are usually stripped using `strip' when the user |
| Line 1696 INSTALL_STRIP_PROGRAM="\${SHELL} \$(inst | Line 1779 INSTALL_STRIP_PROGRAM="\${SHELL} \$(inst |
| # We need awk for the "check" target. The system "awk" is bad on | # We need awk for the "check" target. The system "awk" is bad on |
| # some platforms. | # some platforms. |
| # Always define AMTAR for backward compatibility. | |
| AMTAR=${AMTAR-"${am_missing_run}tar"} | |
| am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' | |
| P3S=`cd $srcdir/src ; pwd` | |
| PARSER_VERSION=$VERSION | |
| echo "/* automatically generated by configure */" > $srcdir/src/include/pa_version.h.new | |
| echo "/* edit configure.in to change version number */" >> $srcdir/src/include/pa_version.h.new | P3S=`cd $srcdir/src ; pwd` |
| echo "#define PARSER_VERSION \"$PARSER_VERSION\"" >> $srcdir/src/include/pa_version.h.new | |
| cmp $srcdir/src/include/pa_version.h.new $srcdir/src/include/pa_version.h >/dev/null 2>&1 | |
| if test $? -ne 0 ; then | |
| rm -f $srcdir/src/include/pa_version.h && mv $srcdir/src/include/pa_version.h.new $srcdir/src/include/pa_version.h && \ | |
| echo Updated $srcdir/src/include/pa_version.h | |
| else | |
| rm -f $srcdir/src/include/pa_version.h.new | |
| fi | |
| # Make sure we can run config.sub. | # Make sure we can run config.sub. |
| Line 1771 host_os=`echo $ac_cv_host | sed 's/^\([^ | Line 1848 host_os=`echo $ac_cv_host | sed 's/^\([^ |
| PARSER_VERSION="$VERSION (compiled on $host)" | |
| echo "/* automatically generated by configure */" > $srcdir/src/include/pa_version.h.new | |
| echo "/* edit configure.in to change version number */" >> $srcdir/src/include/pa_version.h.new | |
| echo "#define PARSER_VERSION \"$PARSER_VERSION\"" >> $srcdir/src/include/pa_version.h.new | |
| cmp $srcdir/src/include/pa_version.h.new $srcdir/src/include/pa_version.h >/dev/null 2>&1 | |
| if test $? -ne 0 ; then | |
| rm -f $srcdir/src/include/pa_version.h && mv $srcdir/src/include/pa_version.h.new $srcdir/src/include/pa_version.h && \ | |
| echo Updated $srcdir/src/include/pa_version.h | |
| else | |
| rm -f $srcdir/src/include/pa_version.h.new | |
| fi | |
| case $host_os in | |
| *cygwin* ) | |
| cat >>confdefs.h <<\_ACEOF | |
| #define CYGWIN | |
| _ACEOF | |
| ;; | |
| esac | |
| # Find a good install program. We prefer a C program (faster), | # Find a good install program. We prefer a C program (faster), |
| # so one script is as good as another. But avoid the broken or | # so one script is as good as another. But avoid the broken or |
| Line 1783 host_os=`echo $ac_cv_host | sed 's/^\([^ | Line 1882 host_os=`echo $ac_cv_host | sed 's/^\([^ |
| # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| # AFS /usr/afsws/bin/install, which mishandles nonexistent args | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| # OS/2's system install, which has a completely different semantic | |
| # ./install, which can be erroneously created by make from ./install.sh. | # ./install, which can be erroneously created by make from ./install.sh. |
| echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
| echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
| Line 1799 do | Line 1899 do |
| case $as_dir/ in | case $as_dir/ in |
| ./ | .// | /cC/* | \ | ./ | .// | /cC/* | \ |
| /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | |
| /usr/ucb/* ) ;; | /usr/ucb/* ) ;; |
| *) | *) |
| # OSF1 and SCO ODT 3.0 have their own names for install. | # OSF1 and SCO ODT 3.0 have their own names for install. |
| Line 1806 case $as_dir/ in | Line 1907 case $as_dir/ in |
| # by default. | # by default. |
| for ac_prog in ginstall scoinst install; do | for ac_prog in ginstall scoinst install; do |
| for ac_exec_ext in '' $ac_executable_extensions; do | for ac_exec_ext in '' $ac_executable_extensions; do |
| if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
| if test $ac_prog = install && | if test $ac_prog = install && |
| grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| # AIX install. It has an incompatible calling convention. | # AIX install. It has an incompatible calling convention. |
| : | : |
| elif test $ac_prog = install && | elif test $ac_prog = install && |
| grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| # program-specific install script used by HP pwplus--don't use. | # program-specific install script used by HP pwplus--don't use. |
| : | : |
| else | else |
| ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
| break 3 | break 3 |
| fi | fi |
| fi | fi |
| done | done |
| done | done |
| ;; | ;; |
| Line 1851 test -z "$INSTALL_DATA" && INSTALL_DATA= | Line 1952 test -z "$INSTALL_DATA" && INSTALL_DATA= |
| echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
| set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
| if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| else | else |
| Line 2041 done | Line 2142 done |
| test -n "$YACC" || YACC="yacc" | test -n "$YACC" || YACC="yacc" |
| if test "$YACC" != "bison -y"; then | if test "$YACC" != "bison -y"; then |
| { echo "$as_me:$LINENO: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&5 | { echo "$as_me:$LINENO: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&5 |
| echo "$as_me: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&2;} | echo "$as_me: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&2;} |
| else | else |
| echo "$as_me:$LINENO: checking bison version" >&5 | echo "$as_me:$LINENO: checking bison version" >&5 |
| echo $ECHO_N "checking bison version... $ECHO_C" >&6 | echo $ECHO_N "checking bison version... $ECHO_C" >&6 |
| oldIFS=$IFS; IFS=. | oldIFS=$IFS; IFS=. |
| set `bison -V | sed -e 's/^GNU Bison version //'` | set `bison -V | sed -e 's/^GNU Bison version //' -e 's/^bison (GNU Bison) //' -e 's/$/./'` |
| IFS=$oldIFS | IFS=$oldIFS |
| if test "$1" = "1" -a "$2" -lt "25"; then | if test "$1" = "1" -a "$2" -lt "25"; then |
| { echo "$as_me:$LINENO: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&5 | { echo "$as_me:$LINENO: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&5 |
| echo "$as_me: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&2;} | echo "$as_me: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&2;} |
| fi | fi |
| echo "$as_me:$LINENO: result: $1.$2 (ok)" >&5 | echo "$as_me:$LINENO: result: $1.$2 (ok)" >&5 |
| echo "${ECHO_T}$1.$2 (ok)" >&6 | echo "${ECHO_T}$1.$2 (ok)" >&6 |
| fi | fi |
| ac_ext=c | ac_ext=cc |
| ac_cpp='$CPP $CPPFLAGS' | ac_cpp='$CXXCPP $CPPFLAGS' |
| ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| ac_compiler_gnu=$ac_cv_c_compiler_gnu | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| if test -n "$ac_tool_prefix"; then | if test -n "$ac_tool_prefix"; then |
| # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
| set dummy ${ac_tool_prefix}gcc; ac_word=$2 | |
| echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
| if test "${ac_cv_prog_CC+set}" = set; then | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| else | |
| if test -n "$CC"; then | |
| ac_cv_prog_CC="$CC" # Let the user override the test. | |
| else | |
| as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| for as_dir in $PATH | |
| do | |
| IFS=$as_save_IFS | |
| test -z "$as_dir" && as_dir=. | |
| for ac_exec_ext in '' $ac_executable_extensions; do | |
| if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| ac_cv_prog_CC="${ac_tool_prefix}gcc" | |
| echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| break 2 | |
| fi | |
| done | |
| done | |
| fi | |
| fi | |
| CC=$ac_cv_prog_CC | |
| if test -n "$CC"; then | |
| echo "$as_me:$LINENO: result: $CC" >&5 | |
| echo "${ECHO_T}$CC" >&6 | |
| else | |
| echo "$as_me:$LINENO: result: no" >&5 | |
| echo "${ECHO_T}no" >&6 | |
| fi | |
| fi | |
| if test -z "$ac_cv_prog_CC"; then | |
| ac_ct_CC=$CC | |
| # Extract the first word of "gcc", so it can be a program name with args. | |
| set dummy gcc; ac_word=$2 | |
| echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
| if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| else | |
| if test -n "$ac_ct_CC"; then | |
| ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
| else | |
| as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| for as_dir in $PATH | |
| do | |
| IFS=$as_save_IFS | |
| test -z "$as_dir" && as_dir=. | |
| for ac_exec_ext in '' $ac_executable_extensions; do | |
| if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| ac_cv_prog_ac_ct_CC="gcc" | |
| echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| break 2 | |
| fi | |
| done | |
| done | |
| fi | |
| fi | |
| ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
| if test -n "$ac_ct_CC"; then | |
| echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | |
| echo "${ECHO_T}$ac_ct_CC" >&6 | |
| else | |
| echo "$as_me:$LINENO: result: no" >&5 | |
| echo "${ECHO_T}no" >&6 | |
| fi | |
| CC=$ac_ct_CC | |
| else | |
| CC="$ac_cv_prog_CC" | |
| fi | |
| if test -z "$CC"; then | |
| if test -n "$ac_tool_prefix"; then | |
| # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | |
| set dummy ${ac_tool_prefix}cc; ac_word=$2 | |
| echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
| if test "${ac_cv_prog_CC+set}" = set; then | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| else | |
| if test -n "$CC"; then | |
| ac_cv_prog_CC="$CC" # Let the user override the test. | |
| else | |
| as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| for as_dir in $PATH | |
| do | |
| IFS=$as_save_IFS | |
| test -z "$as_dir" && as_dir=. | |
| for ac_exec_ext in '' $ac_executable_extensions; do | |
| if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| ac_cv_prog_CC="${ac_tool_prefix}cc" | |
| echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| break 2 | |
| fi | |
| done | |
| done | |
| fi | |
| fi | |
| CC=$ac_cv_prog_CC | |
| if test -n "$CC"; then | |
| echo "$as_me:$LINENO: result: $CC" >&5 | |
| echo "${ECHO_T}$CC" >&6 | |
| else | |
| echo "$as_me:$LINENO: result: no" >&5 | |
| echo "${ECHO_T}no" >&6 | |
| fi | |
| fi | |
| if test -z "$ac_cv_prog_CC"; then | |
| ac_ct_CC=$CC | |
| # Extract the first word of "cc", so it can be a program name with args. | |
| set dummy cc; ac_word=$2 | |
| echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
| if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| else | |
| if test -n "$ac_ct_CC"; then | |
| ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
| else | |
| as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| for as_dir in $PATH | |
| do | |
| IFS=$as_save_IFS | |
| test -z "$as_dir" && as_dir=. | |
| for ac_exec_ext in '' $ac_executable_extensions; do | |
| if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| ac_cv_prog_ac_ct_CC="cc" | |
| echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| break 2 | |
| fi | |
| done | |
| done | |
| fi | |
| fi | |
| ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
| if test -n "$ac_ct_CC"; then | |
| echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | |
| echo "${ECHO_T}$ac_ct_CC" >&6 | |
| else | |
| echo "$as_me:$LINENO: result: no" >&5 | |
| echo "${ECHO_T}no" >&6 | |
| fi | |
| CC=$ac_ct_CC | |
| else | |
| CC="$ac_cv_prog_CC" | |
| fi | |
| fi | |
| if test -z "$CC"; then | |
| # Extract the first word of "cc", so it can be a program name with args. | |
| set dummy cc; ac_word=$2 | |
| echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
| if test "${ac_cv_prog_CC+set}" = set; then | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| else | |
| if test -n "$CC"; then | |
| ac_cv_prog_CC="$CC" # Let the user override the test. | |
| else | |
| ac_prog_rejected=no | |
| as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| for as_dir in $PATH | |
| do | |
| IFS=$as_save_IFS | |
| test -z "$as_dir" && as_dir=. | |
| for ac_exec_ext in '' $ac_executable_extensions; do | |
| if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | |
| ac_prog_rejected=yes | |
| continue | |
| fi | |
| ac_cv_prog_CC="cc" | |
| echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| break 2 | |
| fi | |
| done | |
| done | |
| if test $ac_prog_rejected = yes; then | |
| # We found a bogon in the path, so make sure we never use it. | |
| set dummy $ac_cv_prog_CC | |
| shift | |
| if test $# != 0; then | |
| # We chose a different compiler from the bogus one. | |
| # However, it has the same basename, so the bogon will be chosen | |
| # first if we set CC to just the basename; use the full file name. | |
| shift | |
| ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | |
| fi | |
| fi | |
| fi | |
| fi | |
| CC=$ac_cv_prog_CC | |
| if test -n "$CC"; then | |
| echo "$as_me:$LINENO: result: $CC" >&5 | |
| echo "${ECHO_T}$CC" >&6 | |
| else | |
| echo "$as_me:$LINENO: result: no" >&5 | |
| echo "${ECHO_T}no" >&6 | |
| fi | |
| fi | |
| if test -z "$CC"; then | |
| if test -n "$ac_tool_prefix"; then | |
| for ac_prog in cl | |
| do | do |
| # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| echo "$as_me:$LINENO: checking for $ac_word" >&5 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| if test "${ac_cv_prog_CC+set}" = set; then | if test "${ac_cv_prog_CXX+set}" = set; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| else | else |
| if test -n "$CC"; then | if test -n "$CXX"; then |
| ac_cv_prog_CC="$CC" # Let the user override the test. | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
| else | else |
| as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| for as_dir in $PATH | for as_dir in $PATH |
| Line 2297 do | Line 2183 do |
| test -z "$as_dir" && as_dir=. | test -z "$as_dir" && as_dir=. |
| for ac_exec_ext in '' $ac_executable_extensions; do | for ac_exec_ext in '' $ac_executable_extensions; do |
| if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
| echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| break 2 | break 2 |
| fi | fi |
| Line 2306 done | Line 2192 done |
| fi | fi |
| fi | fi |
| CC=$ac_cv_prog_CC | CXX=$ac_cv_prog_CXX |
| if test -n "$CC"; then | if test -n "$CXX"; then |
| echo "$as_me:$LINENO: result: $CC" >&5 | echo "$as_me:$LINENO: result: $CXX" >&5 |
| echo "${ECHO_T}$CC" >&6 | echo "${ECHO_T}$CXX" >&6 |
| else | else |
| echo "$as_me:$LINENO: result: no" >&5 | echo "$as_me:$LINENO: result: no" >&5 |
| echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
| fi | fi |
| test -n "$CC" && break | test -n "$CXX" && break |
| done | done |
| fi | fi |
| if test -z "$CC"; then | if test -z "$CXX"; then |
| ac_ct_CC=$CC | ac_ct_CXX=$CXX |
| for ac_prog in cl | for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
| do | do |
| # Extract the first word of "$ac_prog", so it can be a program name with args. | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| set dummy $ac_prog; ac_word=$2 | set dummy $ac_prog; ac_word=$2 |
| echo "$as_me:$LINENO: checking for $ac_word" >&5 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| else | else |
| if test -n "$ac_ct_CC"; then | if test -n "$ac_ct_CXX"; then |
| ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
| else | else |
| as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| for as_dir in $PATH | for as_dir in $PATH |
| Line 2339 do | Line 2225 do |
| test -z "$as_dir" && as_dir=. | test -z "$as_dir" && as_dir=. |
| for ac_exec_ext in '' $ac_executable_extensions; do | for ac_exec_ext in '' $ac_executable_extensions; do |
| if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| ac_cv_prog_ac_ct_CC="$ac_prog" | ac_cv_prog_ac_ct_CXX="$ac_prog" |
| echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| break 2 | break 2 |
| fi | fi |
| Line 2348 done | Line 2234 done |
| fi | fi |
| fi | fi |
| ac_ct_CC=$ac_cv_prog_ac_ct_CC | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
| if test -n "$ac_ct_CC"; then | if test -n "$ac_ct_CXX"; then |
| echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
| echo "${ECHO_T}$ac_ct_CC" >&6 | echo "${ECHO_T}$ac_ct_CXX" >&6 |
| else | else |
| echo "$as_me:$LINENO: result: no" >&5 | echo "$as_me:$LINENO: result: no" >&5 |
| echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
| fi | fi |
| test -n "$ac_ct_CC" && break | test -n "$ac_ct_CXX" && break |
| done | done |
| test -n "$ac_ct_CXX" || ac_ct_CXX="g++" | |
| CC=$ac_ct_CC | CXX=$ac_ct_CXX |
| fi | |
| fi | fi |
| test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | |
| See \`config.log' for more details." >&5 | |
| echo "$as_me: error: no acceptable C compiler found in \$PATH | |
| See \`config.log' for more details." >&2;} | |
| { (exit 1); exit 1; }; } | |
| # Provide some information about the compiler. | # Provide some information about the compiler. |
| echo "$as_me:$LINENO:" \ | echo "$as_me:$LINENO:" \ |
| "checking for C compiler version" >&5 | "checking for C++ compiler version" >&5 |
| ac_compiler=`set X $ac_compile; echo $2` | ac_compiler=`set X $ac_compile; echo $2` |
| { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
| (eval $ac_compiler --version </dev/null >&5) 2>&5 | (eval $ac_compiler --version </dev/null >&5) 2>&5 |
| Line 2393 ac_compiler=`set X $ac_compile; echo $2` | Line 2272 ac_compiler=`set X $ac_compile; echo $2` |
| (exit $ac_status); } | (exit $ac_status); } |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 2413 ac_clean_files="$ac_clean_files a.out a. | Line 2291 ac_clean_files="$ac_clean_files a.out a. |
| # Try to create an executable without -o first, disregard a.out. | # Try to create an executable without -o first, disregard a.out. |
| # It will help us diagnose broken compilers, and finding out an intuition | # It will help us diagnose broken compilers, and finding out an intuition |
| # of exeext. | # of exeext. |
| echo "$as_me:$LINENO: checking for C compiler default output" >&5 | echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 |
| echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 | echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6 |
| ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
| (eval $ac_link_default) 2>&5 | (eval $ac_link_default) 2>&5 |
| Line 2434 do | Line 2312 do |
| test -f "$ac_file" || continue | test -f "$ac_file" || continue |
| case $ac_file in | case $ac_file in |
| *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
| ;; | ;; |
| conftest.$ac_ext ) | conftest.$ac_ext ) |
| # This is the source file. | # This is the source file. |
| ;; | ;; |
| [ab].out ) | [ab].out ) |
| # We found the default executable, but exeext='' is most | # We found the default executable, but exeext='' is most |
| # certainly right. | # certainly right. |
| break;; | break;; |
| *.* ) | *.* ) |
| ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| # FIXME: I believe we export ac_cv_exeext for Libtool, | # FIXME: I believe we export ac_cv_exeext for Libtool, |
| # but it would be cool to find out if it's true. Does anybody | # but it would be cool to find out if it's true. Does anybody |
| # maintain Libtool? --akim. | # maintain Libtool? --akim. |
| export ac_cv_exeext | export ac_cv_exeext |
| break;; | break;; |
| * ) | * ) |
| break;; | break;; |
| esac | esac |
| done | done |
| else | else |
| echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
| sed 's/^/| /' conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
| { { echo "$as_me:$LINENO: error: C compiler cannot create executables | { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables |
| See \`config.log' for more details." >&5 | See \`config.log' for more details." >&5 |
| echo "$as_me: error: C compiler cannot create executables | echo "$as_me: error: C++ compiler cannot create executables |
| See \`config.log' for more details." >&2;} | See \`config.log' for more details." >&2;} |
| { (exit 77); exit 77; }; } | { (exit 77); exit 77; }; } |
| fi | fi |
| Line 2470 echo "${ECHO_T}$ac_file" >&6 | Line 2348 echo "${ECHO_T}$ac_file" >&6 |
| # Check the compiler produces executables we can run. If not, either | # Check the compiler produces executables we can run. If not, either |
| # the compiler is broken, or we cross compile. | # the compiler is broken, or we cross compile. |
| echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 |
| echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 | echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6 |
| # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
| # If not cross compiling, check that we can run a simple program. | # If not cross compiling, check that we can run a simple program. |
| if test "$cross_compiling" != yes; then | if test "$cross_compiling" != yes; then |
| Line 2486 if test "$cross_compiling" != yes; then | Line 2364 if test "$cross_compiling" != yes; then |
| if test "$cross_compiling" = maybe; then | if test "$cross_compiling" = maybe; then |
| cross_compiling=yes | cross_compiling=yes |
| else | else |
| { { echo "$as_me:$LINENO: error: cannot run C compiled programs. | { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. |
| If you meant to cross compile, use \`--host'. | If you meant to cross compile, use \`--host'. |
| See \`config.log' for more details." >&5 | See \`config.log' for more details." >&5 |
| echo "$as_me: error: cannot run C compiled programs. | echo "$as_me: error: cannot run C++ compiled programs. |
| If you meant to cross compile, use \`--host'. | If you meant to cross compile, use \`--host'. |
| See \`config.log' for more details." >&2;} | See \`config.log' for more details." >&2;} |
| { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| Line 2524 for ac_file in conftest.exe conftest con | Line 2402 for ac_file in conftest.exe conftest con |
| case $ac_file in | case $ac_file in |
| *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
| *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| export ac_cv_exeext | export ac_cv_exeext |
| break;; | break;; |
| * ) break;; | * ) break;; |
| esac | esac |
| done | done |
| Line 2550 if test "${ac_cv_objext+set}" = set; the | Line 2428 if test "${ac_cv_objext+set}" = set; the |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| else | else |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 2595 echo "$as_me:$LINENO: result: $ac_cv_obj | Line 2472 echo "$as_me:$LINENO: result: $ac_cv_obj |
| echo "${ECHO_T}$ac_cv_objext" >&6 | echo "${ECHO_T}$ac_cv_objext" >&6 |
| OBJEXT=$ac_cv_objext | OBJEXT=$ac_cv_objext |
| ac_objext=$OBJEXT | ac_objext=$OBJEXT |
| echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
| echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 |
| if test "${ac_cv_c_compiler_gnu+set}" = set; then | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| else | else |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 2621 main () | Line 2497 main () |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| (eval $ac_compile) 2>&5 | (eval $ac_compile) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest.$ac_objext' | { ac_try='test -z "$ac_cxx_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest.$ac_objext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| Line 2638 sed 's/^/| /' conftest.$ac_ext >&5 | Line 2524 sed 's/^/| /' conftest.$ac_ext >&5 |
| ac_compiler_gnu=no | ac_compiler_gnu=no |
| fi | fi |
| rm -f conftest.$ac_objext conftest.$ac_ext | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| ac_cv_c_compiler_gnu=$ac_compiler_gnu | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
| fi | fi |
| echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
| echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 |
| GCC=`test $ac_compiler_gnu = yes && echo yes` | GXX=`test $ac_compiler_gnu = yes && echo yes` |
| ac_test_CFLAGS=${CFLAGS+set} | ac_test_CXXFLAGS=${CXXFLAGS+set} |
| ac_save_CFLAGS=$CFLAGS | ac_save_CXXFLAGS=$CXXFLAGS |
| CFLAGS="-g" | CXXFLAGS="-g" |
| echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
| echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 |
| if test "${ac_cv_prog_cc_g+set}" = set; then | if test "${ac_cv_prog_cxx_g+set}" = set; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| else | else |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 2671 main () | Line 2556 main () |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| (eval $ac_compile) 2>&5 | (eval $ac_compile) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest.$ac_objext' | { ac_try='test -z "$ac_cxx_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest.$ac_objext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
| ac_cv_prog_cc_g=yes | ac_cv_prog_cxx_g=yes |
| else | else |
| echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
| sed 's/^/| /' conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
| ac_cv_prog_cc_g=no | ac_cv_prog_cxx_g=no |
| fi | fi |
| rm -f conftest.$ac_objext conftest.$ac_ext | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| fi | fi |
| echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
| echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
| if test "$ac_test_CFLAGS" = set; then | if test "$ac_test_CXXFLAGS" = set; then |
| CFLAGS=$ac_save_CFLAGS | CXXFLAGS=$ac_save_CXXFLAGS |
| elif test $ac_cv_prog_cc_g = yes; then | elif test $ac_cv_prog_cxx_g = yes; then |
| if test "$GCC" = yes; then | if test "$GXX" = yes; then |
| CFLAGS="-g -O2" | CXXFLAGS="-g -O2" |
| else | else |
| CFLAGS="-g" | CXXFLAGS="-g" |
| fi | fi |
| else | else |
| if test "$GCC" = yes; then | if test "$GXX" = yes; then |
| CFLAGS="-O2" | CXXFLAGS="-O2" |
| else | else |
| CFLAGS= | CXXFLAGS= |
| fi | fi |
| fi | fi |
| echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | for ac_declaration in \ |
| echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | '' \ |
| if test "${ac_cv_prog_cc_stdc+set}" = set; then | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| else | |
| ac_cv_prog_cc_stdc=no | |
| ac_save_CC=$CC | |
| cat >conftest.$ac_ext <<_ACEOF | |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | |
| _ACEOF | |
| cat confdefs.h >>conftest.$ac_ext | |
| cat >>conftest.$ac_ext <<_ACEOF | |
| /* end confdefs.h. */ | |
| #include <stdarg.h> | |
| #include <stdio.h> | |
| #include <sys/types.h> | |
| #include <sys/stat.h> | |
| /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | |
| struct buf { int x; }; | |
| FILE * (*rcsopen) (struct buf *, struct stat *, int); | |
| static char *e (p, i) | |
| char **p; | |
| int i; | |
| { | |
| return p[i]; | |
| } | |
| static char *f (char * (*g) (char **, int), char **p, ...) | |
| { | |
| char *s; | |
| va_list v; | |
| va_start (v,p); | |
| s = g (p, va_arg (v,int)); | |
| va_end (v); | |
| return s; | |
| } | |
| int test (int i, double x); | |
| struct s1 {int (*f) (int a);}; | |
| struct s2 {int (*f) (double a);}; | |
| int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | |
| int argc; | |
| char **argv; | |
| int | |
| main () | |
| { | |
| return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| # Don't try gcc -ansi; that turns off useful extensions and | |
| # breaks some systems' header files. | |
| # AIX -qlanglvl=ansi | |
| # Ultrix and OSF/1 -std1 | |
| # HP-UX 10.20 and later -Ae | |
| # HP-UX older versions -Aa -D_HPUX_SOURCE | |
| # SVR4 -Xc -D__EXTENSIONS__ | |
| for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | |
| do | |
| CC="$ac_save_CC $ac_arg" | |
| rm -f conftest.$ac_objext | |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
| (eval $ac_compile) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); } && | |
| { ac_try='test -s conftest.$ac_objext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; }; then | |
| ac_cv_prog_cc_stdc=$ac_arg | |
| break | |
| else | |
| echo "$as_me: failed program was:" >&5 | |
| sed 's/^/| /' conftest.$ac_ext >&5 | |
| fi | |
| rm -f conftest.$ac_objext | |
| done | |
| rm -f conftest.$ac_ext conftest.$ac_objext | |
| CC=$ac_save_CC | |
| fi | |
| case "x$ac_cv_prog_cc_stdc" in | |
| x|xno) | |
| echo "$as_me:$LINENO: result: none needed" >&5 | |
| echo "${ECHO_T}none needed" >&6 ;; | |
| *) | |
| echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | |
| echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | |
| CC="$CC $ac_cv_prog_cc_stdc" ;; | |
| esac | |
| # Some people use a C++ compiler to compile C. Since we use `exit', | |
| # in C++ we need to declare it. In case someone uses the same compiler | |
| # for both compiling C and C++ we need to have the C++ compiler decide | |
| # the declaration of exit, since it's the most demanding environment. | |
| cat >conftest.$ac_ext <<_ACEOF | |
| #ifndef __cplusplus | |
| choke me | |
| #endif | |
| _ACEOF | |
| rm -f conftest.$ac_objext | |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
| (eval $ac_compile) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); } && | |
| { ac_try='test -s conftest.$ac_objext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; }; then | |
| for ac_declaration in \ | |
| ''\ | |
| '#include <stdlib.h>' \ | |
| 'extern "C" void std::exit (int) throw (); using std::exit;' \ | 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
| 'extern "C" void std::exit (int); using std::exit;' \ | 'extern "C" void std::exit (int); using std::exit;' \ |
| 'extern "C" void exit (int) throw ();' \ | 'extern "C" void exit (int) throw ();' \ |
| Line 2834 if { (eval echo "$as_me:$LINENO: \"$ac_c | Line 2611 if { (eval echo "$as_me:$LINENO: \"$ac_c |
| 'void exit (int);' | 'void exit (int);' |
| do | do |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| cat >>conftest.$ac_ext <<_ACEOF | cat >>conftest.$ac_ext <<_ACEOF |
| /* end confdefs.h. */ | /* end confdefs.h. */ |
| #include <stdlib.h> | |
| $ac_declaration | $ac_declaration |
| #include <stdlib.h> | |
| int | int |
| main () | main () |
| { | { |
| Line 2852 exit (42); | Line 2628 exit (42); |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| (eval $ac_compile) 2>&5 | (eval $ac_compile) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest.$ac_objext' | { ac_try='test -z "$ac_cxx_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest.$ac_objext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| Line 2869 sed 's/^/| /' conftest.$ac_ext >&5 | Line 2655 sed 's/^/| /' conftest.$ac_ext >&5 |
| continue | continue |
| fi | fi |
| rm -f conftest.$ac_objext conftest.$ac_ext | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 2888 exit (42); | Line 2673 exit (42); |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| (eval $ac_compile) 2>&5 | (eval $ac_compile) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest.$ac_objext' | { ac_try='test -z "$ac_cxx_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest.$ac_objext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| Line 2904 else | Line 2699 else |
| sed 's/^/| /' conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
| fi | fi |
| rm -f conftest.$ac_objext conftest.$ac_ext | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| done | done |
| rm -f conftest* | rm -f conftest* |
| if test -n "$ac_declaration"; then | if test -n "$ac_declaration"; then |
| Line 2913 if test -n "$ac_declaration"; then | Line 2708 if test -n "$ac_declaration"; then |
| echo '#endif' >>confdefs.h | echo '#endif' >>confdefs.h |
| fi | fi |
| else | |
| echo "$as_me: failed program was:" >&5 | |
| sed 's/^/| /' conftest.$ac_ext >&5 | |
| fi | |
| rm -f conftest.$ac_objext conftest.$ac_ext | |
| ac_ext=c | ac_ext=c |
| ac_cpp='$CPP $CPPFLAGS' | ac_cpp='$CPP $CPPFLAGS' |
| ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| ac_compiler_gnu=$ac_cv_c_compiler_gnu | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| rm -f .deps 2>/dev/null | DEPDIR="${am__leading_dot}deps" |
| mkdir .deps 2>/dev/null | |
| if test -d .deps; then | |
| DEPDIR=.deps | |
| else | |
| # MS-DOS does not allow filenames that begin with a dot. | |
| DEPDIR=_deps | |
| fi | |
| rmdir .deps 2>/dev/null | |
| ac_config_commands="$ac_config_commands depfiles" | ac_config_commands="$ac_config_commands depfiles" |
| am_make=${MAKE-make} | am_make=${MAKE-make} |
| cat > confinc << 'END' | cat > confinc << 'END' |
| doit: | am__doit: |
| @echo done | @echo done |
| .PHONY: am__doit | |
| END | END |
| # If we don't find an include directive, just comment out the code. | # If we don't find an include directive, just comment out the code. |
| echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 | echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 |
| Line 2998 fi | Line 2779 fi |
| depcc="$CC" am_compiler_list= | depcc="$CXX" am_compiler_list= |
| echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 | echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
| echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
| if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then | if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| else | else |
| if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
| Line 3016 else | Line 2797 else |
| # using a relative directory. | # using a relative directory. |
| cp "$am_depcomp" conftest.dir | cp "$am_depcomp" conftest.dir |
| cd conftest.dir | cd conftest.dir |
| # We will build objects and dependencies in a subdirectory because | |
| # it helps to detect inapplicable dependency modes. For instance | |
| # both Tru64's cc and ICC support -MD to output dependencies as a | |
| # side effect of compilation, but ICC will put the dependencies in | |
| # the current directory while Tru64 will put them in the object | |
| # directory. | |
| mkdir sub | |
| am_cv_CC_dependencies_compiler_type=none | am_cv_CXX_dependencies_compiler_type=none |
| if test "$am_compiler_list" = ""; then | if test "$am_compiler_list" = ""; then |
| am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
| fi | fi |
| for depmode in $am_compiler_list; do | for depmode in $am_compiler_list; do |
| # Setup a source with many dependencies, because some compilers | |
| # like to wrap large dependency lists on column 80 (with \), and | |
| # we should not choose a depcomp mode which is confused by this. | |
| # | |
| # We need to recreate these files for each test, as the compiler may | # We need to recreate these files for each test, as the compiler may |
| # overwrite some of them when testing with obscure command lines. | # overwrite some of them when testing with obscure command lines. |
| # This happens at least with the AIX C compiler. | # This happens at least with the AIX C compiler. |
| echo '#include "conftest.h"' > conftest.c | : > sub/conftest.c |
| echo 'int i;' > conftest.h | for i in 1 2 3 4 5 6; do |
| echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
| # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
| # Solaris 8's {/usr,}/bin/sh. | |
| touch sub/conftst$i.h | |
| done | |
| echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | |
| case $depmode in | case $depmode in |
| nosideeffect) | nosideeffect) |
| Line 3045 else | Line 2842 else |
| # mode. It turns out that the SunPro C++ compiler does not properly | # mode. It turns out that the SunPro C++ compiler does not properly |
| # handle `-M -o', and we need to detect this. | # handle `-M -o', and we need to detect this. |
| if depmode=$depmode \ | if depmode=$depmode \ |
| source=conftest.c object=conftest.o \ | source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
| depfile=conftest.Po tmpdepfile=conftest.TPo \ | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
| $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 && | $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
| grep conftest.h conftest.Po > /dev/null 2>&1 && | >/dev/null 2>conftest.err && |
| grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | |
| grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && | |
| ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
| am_cv_CC_dependencies_compiler_type=$depmode | # icc doesn't choke on unknown options, it will just issue warnings |
| break | # or remarks (even with -Werror). So we grep stderr for any message |
| # that says an option was ignored or not supported. | |
| # When given -MP, icc 7.0 and 7.1 complain thusly: | |
| # icc: Command line warning: ignoring option '-M'; no argument required | |
| # The diagnosis changed in icc 8.0: | |
| # icc: Command line remark: option '-MP' not supported | |
| if (grep 'ignoring option' conftest.err || | |
| grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | |
| am_cv_CXX_dependencies_compiler_type=$depmode | |
| break | |
| fi | |
| fi | fi |
| done | done |
| cd .. | cd .. |
| rm -rf conftest.dir | rm -rf conftest.dir |
| else | else |
| am_cv_CC_dependencies_compiler_type=none | am_cv_CXX_dependencies_compiler_type=none |
| fi | fi |
| fi | fi |
| echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 | echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
| echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 | echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 |
| CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
| if | if |
| test "x$enable_dependency_tracking" != xno \ | test "x$enable_dependency_tracking" != xno \ |
| && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then | && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then |
| am__fastdepCC_TRUE= | am__fastdepCXX_TRUE= |
| am__fastdepCC_FALSE='#' | am__fastdepCXX_FALSE='#' |
| else | else |
| am__fastdepCC_TRUE='#' | am__fastdepCXX_TRUE='#' |
| am__fastdepCC_FALSE= | am__fastdepCXX_FALSE= |
| fi | fi |
| Line 3084 ac_cpp='$CPP $CPPFLAGS' | Line 2893 ac_cpp='$CPP $CPPFLAGS' |
| ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| ac_compiler_gnu=$ac_cv_c_compiler_gnu | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| if test -n "$ac_tool_prefix"; then | |
| # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | |
| set dummy ${ac_tool_prefix}gcc; ac_word=$2 | |
| echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
| if test "${ac_cv_prog_CC+set}" = set; then | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| else | |
| if test -n "$CC"; then | |
| ac_cv_prog_CC="$CC" # Let the user override the test. | |
| else | |
| as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| for as_dir in $PATH | |
| do | |
| IFS=$as_save_IFS | |
| test -z "$as_dir" && as_dir=. | |
| for ac_exec_ext in '' $ac_executable_extensions; do | |
| if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| ac_cv_prog_CC="${ac_tool_prefix}gcc" | |
| echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| break 2 | |
| fi | |
| done | |
| done | |
| echo "$as_me:$LINENO: checking for inline" >&5 | fi |
| echo $ECHO_N "checking for inline... $ECHO_C" >&6 | fi |
| if test "${ac_cv_c_inline+set}" = set; then | CC=$ac_cv_prog_CC |
| if test -n "$CC"; then | |
| echo "$as_me:$LINENO: result: $CC" >&5 | |
| echo "${ECHO_T}$CC" >&6 | |
| else | |
| echo "$as_me:$LINENO: result: no" >&5 | |
| echo "${ECHO_T}no" >&6 | |
| fi | |
| fi | |
| if test -z "$ac_cv_prog_CC"; then | |
| ac_ct_CC=$CC | |
| # Extract the first word of "gcc", so it can be a program name with args. | |
| set dummy gcc; ac_word=$2 | |
| echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
| if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| else | else |
| ac_cv_c_inline=no | if test -n "$ac_ct_CC"; then |
| for ac_kw in inline __inline__ __inline; do | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| cat >conftest.$ac_ext <<_ACEOF | else |
| #line $LINENO "configure" | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| /* confdefs.h. */ | for as_dir in $PATH |
| _ACEOF | do |
| cat confdefs.h >>conftest.$ac_ext | IFS=$as_save_IFS |
| cat >>conftest.$ac_ext <<_ACEOF | test -z "$as_dir" && as_dir=. |
| /* end confdefs.h. */ | for ac_exec_ext in '' $ac_executable_extensions; do |
| #ifndef __cplusplus | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| typedef int foo_t; | ac_cv_prog_ac_ct_CC="gcc" |
| static $ac_kw foo_t static_foo () {return 0; } | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| $ac_kw foo_t foo () {return 0; } | break 2 |
| #endif | fi |
| done | |
| done | |
| _ACEOF | fi |
| rm -f conftest.$ac_objext | fi |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| (eval $ac_compile) 2>&5 | if test -n "$ac_ct_CC"; then |
| ac_status=$? | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "${ECHO_T}$ac_ct_CC" >&6 |
| (exit $ac_status); } && | |
| { ac_try='test -s conftest.$ac_objext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; }; then | |
| ac_cv_c_inline=$ac_kw; break | |
| else | else |
| echo "$as_me: failed program was:" >&5 | echo "$as_me:$LINENO: result: no" >&5 |
| sed 's/^/| /' conftest.$ac_ext >&5 | echo "${ECHO_T}no" >&6 |
| fi | |
| CC=$ac_ct_CC | |
| else | |
| CC="$ac_cv_prog_CC" | |
| fi | fi |
| rm -f conftest.$ac_objext conftest.$ac_ext | |
| if test -z "$CC"; then | |
| if test -n "$ac_tool_prefix"; then | |
| # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | |
| set dummy ${ac_tool_prefix}cc; ac_word=$2 | |
| echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
| if test "${ac_cv_prog_CC+set}" = set; then | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| else | |
| if test -n "$CC"; then | |
| ac_cv_prog_CC="$CC" # Let the user override the test. | |
| else | |
| as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| for as_dir in $PATH | |
| do | |
| IFS=$as_save_IFS | |
| test -z "$as_dir" && as_dir=. | |
| for ac_exec_ext in '' $ac_executable_extensions; do | |
| if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| ac_cv_prog_CC="${ac_tool_prefix}cc" | |
| echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| break 2 | |
| fi | |
| done | |
| done | done |
| fi | fi |
| echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 | fi |
| echo "${ECHO_T}$ac_cv_c_inline" >&6 | CC=$ac_cv_prog_CC |
| case $ac_cv_c_inline in | if test -n "$CC"; then |
| inline | yes) ;; | echo "$as_me:$LINENO: result: $CC" >&5 |
| no) | echo "${ECHO_T}$CC" >&6 |
| cat >>confdefs.h <<\_ACEOF | else |
| #define inline | echo "$as_me:$LINENO: result: no" >&5 |
| _ACEOF | echo "${ECHO_T}no" >&6 |
| ;; | fi |
| *) cat >>confdefs.h <<_ACEOF | |
| #define inline $ac_cv_c_inline | |
| _ACEOF | |
| ;; | |
| esac | |
| ac_ext=cc | fi |
| ac_cpp='$CXXCPP $CPPFLAGS' | if test -z "$ac_cv_prog_CC"; then |
| ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ac_ct_CC=$CC |
| ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | # Extract the first word of "cc", so it can be a program name with args. |
| ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | set dummy cc; ac_word=$2 |
| if test -n "$ac_tool_prefix"; then | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| else | |
| if test -n "$ac_ct_CC"; then | |
| ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
| else | |
| as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| for as_dir in $PATH | |
| do | |
| IFS=$as_save_IFS | |
| test -z "$as_dir" && as_dir=. | |
| for ac_exec_ext in '' $ac_executable_extensions; do | |
| if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| ac_cv_prog_ac_ct_CC="cc" | |
| echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| break 2 | |
| fi | |
| done | |
| done | |
| fi | |
| fi | |
| ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
| if test -n "$ac_ct_CC"; then | |
| echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | |
| echo "${ECHO_T}$ac_ct_CC" >&6 | |
| else | |
| echo "$as_me:$LINENO: result: no" >&5 | |
| echo "${ECHO_T}no" >&6 | |
| fi | |
| CC=$ac_ct_CC | |
| else | |
| CC="$ac_cv_prog_CC" | |
| fi | |
| fi | |
| if test -z "$CC"; then | |
| # Extract the first word of "cc", so it can be a program name with args. | |
| set dummy cc; ac_word=$2 | |
| echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
| if test "${ac_cv_prog_CC+set}" = set; then | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| else | |
| if test -n "$CC"; then | |
| ac_cv_prog_CC="$CC" # Let the user override the test. | |
| else | |
| ac_prog_rejected=no | |
| as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| for as_dir in $PATH | |
| do | |
| IFS=$as_save_IFS | |
| test -z "$as_dir" && as_dir=. | |
| for ac_exec_ext in '' $ac_executable_extensions; do | |
| if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | |
| ac_prog_rejected=yes | |
| continue | |
| fi | |
| ac_cv_prog_CC="cc" | |
| echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| break 2 | |
| fi | |
| done | |
| done | |
| if test $ac_prog_rejected = yes; then | |
| # We found a bogon in the path, so make sure we never use it. | |
| set dummy $ac_cv_prog_CC | |
| shift | |
| if test $# != 0; then | |
| # We chose a different compiler from the bogus one. | |
| # However, it has the same basename, so the bogon will be chosen | |
| # first if we set CC to just the basename; use the full file name. | |
| shift | |
| ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | |
| fi | |
| fi | |
| fi | |
| fi | |
| CC=$ac_cv_prog_CC | |
| if test -n "$CC"; then | |
| echo "$as_me:$LINENO: result: $CC" >&5 | |
| echo "${ECHO_T}$CC" >&6 | |
| else | |
| echo "$as_me:$LINENO: result: no" >&5 | |
| echo "${ECHO_T}no" >&6 | |
| fi | |
| fi | |
| if test -z "$CC"; then | |
| if test -n "$ac_tool_prefix"; then | |
| for ac_prog in cl | |
| do | do |
| # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| echo "$as_me:$LINENO: checking for $ac_word" >&5 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| if test "${ac_cv_prog_CXX+set}" = set; then | if test "${ac_cv_prog_CC+set}" = set; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| else | else |
| if test -n "$CXX"; then | if test -n "$CC"; then |
| ac_cv_prog_CXX="$CXX" # Let the user override the test. | ac_cv_prog_CC="$CC" # Let the user override the test. |
| else | else |
| as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| for as_dir in $PATH | for as_dir in $PATH |
| Line 3168 do | Line 3128 do |
| test -z "$as_dir" && as_dir=. | test -z "$as_dir" && as_dir=. |
| for ac_exec_ext in '' $ac_executable_extensions; do | for ac_exec_ext in '' $ac_executable_extensions; do |
| if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| break 2 | break 2 |
| fi | fi |
| Line 3177 done | Line 3137 done |
| fi | fi |
| fi | fi |
| CXX=$ac_cv_prog_CXX | CC=$ac_cv_prog_CC |
| if test -n "$CXX"; then | if test -n "$CC"; then |
| echo "$as_me:$LINENO: result: $CXX" >&5 | echo "$as_me:$LINENO: result: $CC" >&5 |
| echo "${ECHO_T}$CXX" >&6 | echo "${ECHO_T}$CC" >&6 |
| else | else |
| echo "$as_me:$LINENO: result: no" >&5 | echo "$as_me:$LINENO: result: no" >&5 |
| echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
| fi | fi |
| test -n "$CXX" && break | test -n "$CC" && break |
| done | done |
| fi | fi |
| if test -z "$CXX"; then | if test -z "$CC"; then |
| ac_ct_CXX=$CXX | ac_ct_CC=$CC |
| for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC | for ac_prog in cl |
| do | do |
| # Extract the first word of "$ac_prog", so it can be a program name with args. | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| set dummy $ac_prog; ac_word=$2 | set dummy $ac_prog; ac_word=$2 |
| echo "$as_me:$LINENO: checking for $ac_word" >&5 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| else | else |
| if test -n "$ac_ct_CXX"; then | if test -n "$ac_ct_CC"; then |
| ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| else | else |
| as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| for as_dir in $PATH | for as_dir in $PATH |
| Line 3210 do | Line 3170 do |
| test -z "$as_dir" && as_dir=. | test -z "$as_dir" && as_dir=. |
| for ac_exec_ext in '' $ac_executable_extensions; do | for ac_exec_ext in '' $ac_executable_extensions; do |
| if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| ac_cv_prog_ac_ct_CXX="$ac_prog" | ac_cv_prog_ac_ct_CC="$ac_prog" |
| echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| break 2 | break 2 |
| fi | fi |
| Line 3219 done | Line 3179 done |
| fi | fi |
| fi | fi |
| ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| if test -n "$ac_ct_CXX"; then | if test -n "$ac_ct_CC"; then |
| echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| echo "${ECHO_T}$ac_ct_CXX" >&6 | echo "${ECHO_T}$ac_ct_CC" >&6 |
| else | else |
| echo "$as_me:$LINENO: result: no" >&5 | echo "$as_me:$LINENO: result: no" >&5 |
| echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
| fi | fi |
| test -n "$ac_ct_CXX" && break | test -n "$ac_ct_CC" && break |
| done | done |
| test -n "$ac_ct_CXX" || ac_ct_CXX="g++" | |
| CXX=$ac_ct_CXX | CC=$ac_ct_CC |
| fi | |
| fi | fi |
| test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | |
| See \`config.log' for more details." >&5 | |
| echo "$as_me: error: no acceptable C compiler found in \$PATH | |
| See \`config.log' for more details." >&2;} | |
| { (exit 1); exit 1; }; } | |
| # Provide some information about the compiler. | # Provide some information about the compiler. |
| echo "$as_me:$LINENO:" \ | echo "$as_me:$LINENO:" \ |
| "checking for C++ compiler version" >&5 | "checking for C compiler version" >&5 |
| ac_compiler=`set X $ac_compile; echo $2` | ac_compiler=`set X $ac_compile; echo $2` |
| { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
| (eval $ac_compiler --version </dev/null >&5) 2>&5 | (eval $ac_compiler --version </dev/null >&5) 2>&5 |
| Line 3256 ac_compiler=`set X $ac_compile; echo $2` | Line 3223 ac_compiler=`set X $ac_compile; echo $2` |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } | (exit $ac_status); } |
| echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
| echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
| if test "${ac_cv_cxx_compiler_gnu+set}" = set; then | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| else | else |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 3282 main () | Line 3248 main () |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| (eval $ac_compile) 2>&5 | (eval $ac_compile) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest.$ac_objext' | { ac_try='test -z "$ac_c_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest.$ac_objext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| Line 3299 sed 's/^/| /' conftest.$ac_ext >&5 | Line 3275 sed 's/^/| /' conftest.$ac_ext >&5 |
| ac_compiler_gnu=no | ac_compiler_gnu=no |
| fi | fi |
| rm -f conftest.$ac_objext conftest.$ac_ext | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| fi | fi |
| echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
| echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
| GXX=`test $ac_compiler_gnu = yes && echo yes` | GCC=`test $ac_compiler_gnu = yes && echo yes` |
| ac_test_CXXFLAGS=${CXXFLAGS+set} | ac_test_CFLAGS=${CFLAGS+set} |
| ac_save_CXXFLAGS=$CXXFLAGS | ac_save_CFLAGS=$CFLAGS |
| CXXFLAGS="-g" | CFLAGS="-g" |
| echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
| echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
| if test "${ac_cv_prog_cxx_g+set}" = set; then | if test "${ac_cv_prog_cc_g+set}" = set; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| else | else |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 3332 main () | Line 3307 main () |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| (eval $ac_compile) 2>&5 | (eval $ac_compile) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest.$ac_objext' | { ac_try='test -z "$ac_c_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest.$ac_objext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
| ac_cv_prog_cxx_g=yes | ac_cv_prog_cc_g=yes |
| else | else |
| echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
| sed 's/^/| /' conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
| ac_cv_prog_cxx_g=no | ac_cv_prog_cc_g=no |
| fi | fi |
| rm -f conftest.$ac_objext conftest.$ac_ext | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| fi | fi |
| echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
| echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
| if test "$ac_test_CXXFLAGS" = set; then | if test "$ac_test_CFLAGS" = set; then |
| CXXFLAGS=$ac_save_CXXFLAGS | CFLAGS=$ac_save_CFLAGS |
| elif test $ac_cv_prog_cxx_g = yes; then | elif test $ac_cv_prog_cc_g = yes; then |
| if test "$GXX" = yes; then | if test "$GCC" = yes; then |
| CXXFLAGS="-g -O2" | CFLAGS="-g -O2" |
| else | else |
| CXXFLAGS="-g" | CFLAGS="-g" |
| fi | fi |
| else | else |
| if test "$GXX" = yes; then | if test "$GCC" = yes; then |
| CXXFLAGS="-O2" | CFLAGS="-O2" |
| else | else |
| CXXFLAGS= | CFLAGS= |
| fi | fi |
| fi | fi |
| for ac_declaration in \ | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
| ''\ | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
| '#include <stdlib.h>' \ | if test "${ac_cv_prog_cc_stdc+set}" = set; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| else | |
| ac_cv_prog_cc_stdc=no | |
| ac_save_CC=$CC | |
| cat >conftest.$ac_ext <<_ACEOF | |
| /* confdefs.h. */ | |
| _ACEOF | |
| cat confdefs.h >>conftest.$ac_ext | |
| cat >>conftest.$ac_ext <<_ACEOF | |
| /* end confdefs.h. */ | |
| #include <stdarg.h> | |
| #include <stdio.h> | |
| #include <sys/types.h> | |
| #include <sys/stat.h> | |
| /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | |
| struct buf { int x; }; | |
| FILE * (*rcsopen) (struct buf *, struct stat *, int); | |
| static char *e (p, i) | |
| char **p; | |
| int i; | |
| { | |
| return p[i]; | |
| } | |
| static char *f (char * (*g) (char **, int), char **p, ...) | |
| { | |
| char *s; | |
| va_list v; | |
| va_start (v,p); | |
| s = g (p, va_arg (v,int)); | |
| va_end (v); | |
| return s; | |
| } | |
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | |
| function prototypes and stuff, but not '\xHH' hex character constants. | |
| These don't provoke an error unfortunately, instead are silently treated | |
| as 'x'. The following induces an error, until -std1 is added to get | |
| proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | |
| array size at least. It's necessary to write '\x00'==0 to get something | |
| that's true only with -std1. */ | |
| int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | |
| int test (int i, double x); | |
| struct s1 {int (*f) (int a);}; | |
| struct s2 {int (*f) (double a);}; | |
| int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | |
| int argc; | |
| char **argv; | |
| int | |
| main () | |
| { | |
| return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| # Don't try gcc -ansi; that turns off useful extensions and | |
| # breaks some systems' header files. | |
| # AIX -qlanglvl=ansi | |
| # Ultrix and OSF/1 -std1 | |
| # HP-UX 10.20 and later -Ae | |
| # HP-UX older versions -Aa -D_HPUX_SOURCE | |
| # SVR4 -Xc -D__EXTENSIONS__ | |
| for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | |
| do | |
| CC="$ac_save_CC $ac_arg" | |
| rm -f conftest.$ac_objext | |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
| (eval $ac_compile) 2>conftest.er1 | |
| ac_status=$? | |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); } && | |
| { ac_try='test -z "$ac_c_werror_flag" | |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest.$ac_objext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; }; then | |
| ac_cv_prog_cc_stdc=$ac_arg | |
| break | |
| else | |
| echo "$as_me: failed program was:" >&5 | |
| sed 's/^/| /' conftest.$ac_ext >&5 | |
| fi | |
| rm -f conftest.err conftest.$ac_objext | |
| done | |
| rm -f conftest.$ac_ext conftest.$ac_objext | |
| CC=$ac_save_CC | |
| fi | |
| case "x$ac_cv_prog_cc_stdc" in | |
| x|xno) | |
| echo "$as_me:$LINENO: result: none needed" >&5 | |
| echo "${ECHO_T}none needed" >&6 ;; | |
| *) | |
| echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | |
| echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | |
| CC="$CC $ac_cv_prog_cc_stdc" ;; | |
| esac | |
| # Some people use a C++ compiler to compile C. Since we use `exit', | |
| # in C++ we need to declare it. In case someone uses the same compiler | |
| # for both compiling C and C++ we need to have the C++ compiler decide | |
| # the declaration of exit, since it's the most demanding environment. | |
| cat >conftest.$ac_ext <<_ACEOF | |
| #ifndef __cplusplus | |
| choke me | |
| #endif | |
| _ACEOF | |
| rm -f conftest.$ac_objext | |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
| (eval $ac_compile) 2>conftest.er1 | |
| ac_status=$? | |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); } && | |
| { ac_try='test -z "$ac_c_werror_flag" | |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest.$ac_objext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; }; then | |
| for ac_declaration in \ | |
| '' \ | |
| 'extern "C" void std::exit (int) throw (); using std::exit;' \ | 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
| 'extern "C" void std::exit (int); using std::exit;' \ | 'extern "C" void std::exit (int); using std::exit;' \ |
| 'extern "C" void exit (int) throw ();' \ | 'extern "C" void exit (int) throw ();' \ |
| Line 3378 for ac_declaration in \ | Line 3508 for ac_declaration in \ |
| 'void exit (int);' | 'void exit (int);' |
| do | do |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| cat >>conftest.$ac_ext <<_ACEOF | cat >>conftest.$ac_ext <<_ACEOF |
| /* end confdefs.h. */ | /* end confdefs.h. */ |
| #include <stdlib.h> | |
| $ac_declaration | $ac_declaration |
| #include <stdlib.h> | |
| int | int |
| main () | main () |
| { | { |
| Line 3396 exit (42); | Line 3525 exit (42); |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| (eval $ac_compile) 2>&5 | (eval $ac_compile) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest.$ac_objext' | { ac_try='test -z "$ac_c_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest.$ac_objext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| Line 3413 sed 's/^/| /' conftest.$ac_ext >&5 | Line 3552 sed 's/^/| /' conftest.$ac_ext >&5 |
| continue | continue |
| fi | fi |
| rm -f conftest.$ac_objext conftest.$ac_ext | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 3432 exit (42); | Line 3570 exit (42); |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| (eval $ac_compile) 2>&5 | (eval $ac_compile) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest.$ac_objext' | { ac_try='test -z "$ac_c_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest.$ac_objext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| Line 3448 else | Line 3596 else |
| sed 's/^/| /' conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
| fi | fi |
| rm -f conftest.$ac_objext conftest.$ac_ext | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| done | done |
| rm -f conftest* | rm -f conftest* |
| if test -n "$ac_declaration"; then | if test -n "$ac_declaration"; then |
| Line 3457 if test -n "$ac_declaration"; then | Line 3605 if test -n "$ac_declaration"; then |
| echo '#endif' >>confdefs.h | echo '#endif' >>confdefs.h |
| fi | fi |
| else | |
| echo "$as_me: failed program was:" >&5 | |
| sed 's/^/| /' conftest.$ac_ext >&5 | |
| fi | |
| rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | |
| ac_ext=c | ac_ext=c |
| ac_cpp='$CPP $CPPFLAGS' | ac_cpp='$CPP $CPPFLAGS' |
| ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| ac_compiler_gnu=$ac_cv_c_compiler_gnu | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| depcc="$CXX" am_compiler_list= | depcc="$CC" am_compiler_list= |
| echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 | echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
| echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
| if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| else | else |
| if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
| Line 3481 else | Line 3635 else |
| # using a relative directory. | # using a relative directory. |
| cp "$am_depcomp" conftest.dir | cp "$am_depcomp" conftest.dir |
| cd conftest.dir | cd conftest.dir |
| # We will build objects and dependencies in a subdirectory because | |
| # it helps to detect inapplicable dependency modes. For instance | |
| # both Tru64's cc and ICC support -MD to output dependencies as a | |
| # side effect of compilation, but ICC will put the dependencies in | |
| # the current directory while Tru64 will put them in the object | |
| # directory. | |
| mkdir sub | |
| am_cv_CXX_dependencies_compiler_type=none | am_cv_CC_dependencies_compiler_type=none |
| if test "$am_compiler_list" = ""; then | if test "$am_compiler_list" = ""; then |
| am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
| fi | fi |
| for depmode in $am_compiler_list; do | for depmode in $am_compiler_list; do |
| # Setup a source with many dependencies, because some compilers | |
| # like to wrap large dependency lists on column 80 (with \), and | |
| # we should not choose a depcomp mode which is confused by this. | |
| # | |
| # We need to recreate these files for each test, as the compiler may | # We need to recreate these files for each test, as the compiler may |
| # overwrite some of them when testing with obscure command lines. | # overwrite some of them when testing with obscure command lines. |
| # This happens at least with the AIX C compiler. | # This happens at least with the AIX C compiler. |
| echo '#include "conftest.h"' > conftest.c | : > sub/conftest.c |
| echo 'int i;' > conftest.h | for i in 1 2 3 4 5 6; do |
| echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
| # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
| # Solaris 8's {/usr,}/bin/sh. | |
| touch sub/conftst$i.h | |
| done | |
| echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | |
| case $depmode in | case $depmode in |
| nosideeffect) | nosideeffect) |
| Line 3510 else | Line 3680 else |
| # mode. It turns out that the SunPro C++ compiler does not properly | # mode. It turns out that the SunPro C++ compiler does not properly |
| # handle `-M -o', and we need to detect this. | # handle `-M -o', and we need to detect this. |
| if depmode=$depmode \ | if depmode=$depmode \ |
| source=conftest.c object=conftest.o \ | source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
| depfile=conftest.Po tmpdepfile=conftest.TPo \ | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
| $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 && | $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
| grep conftest.h conftest.Po > /dev/null 2>&1 && | >/dev/null 2>conftest.err && |
| grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | |
| grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && | |
| ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
| am_cv_CXX_dependencies_compiler_type=$depmode | # icc doesn't choke on unknown options, it will just issue warnings |
| break | # or remarks (even with -Werror). So we grep stderr for any message |
| # that says an option was ignored or not supported. | |
| # When given -MP, icc 7.0 and 7.1 complain thusly: | |
| # icc: Command line warning: ignoring option '-M'; no argument required | |
| # The diagnosis changed in icc 8.0: | |
| # icc: Command line remark: option '-MP' not supported | |
| if (grep 'ignoring option' conftest.err || | |
| grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | |
| am_cv_CC_dependencies_compiler_type=$depmode | |
| break | |
| fi | |
| fi | fi |
| done | done |
| cd .. | cd .. |
| rm -rf conftest.dir | rm -rf conftest.dir |
| else | else |
| am_cv_CXX_dependencies_compiler_type=none | am_cv_CC_dependencies_compiler_type=none |
| fi | fi |
| fi | fi |
| echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 | echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
| echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 | echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 |
| CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
| if | if |
| test "x$enable_dependency_tracking" != xno \ | test "x$enable_dependency_tracking" != xno \ |
| && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
| am__fastdepCXX_TRUE= | am__fastdepCC_TRUE= |
| am__fastdepCXX_FALSE='#' | am__fastdepCC_FALSE='#' |
| else | else |
| am__fastdepCXX_TRUE='#' | am__fastdepCC_TRUE='#' |
| am__fastdepCXX_FALSE= | am__fastdepCC_FALSE= |
| fi | fi |
| ac_ext=cc | ac_ext=c |
| ac_cpp='$CXXCPP $CPPFLAGS' | ac_cpp='$CPP $CPPFLAGS' |
| ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| echo "$as_me:$LINENO: checking for inline" >&5 | |
| echo $ECHO_N "checking for inline... $ECHO_C" >&6 | |
| if test "${ac_cv_c_inline+set}" = set; then | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| else | |
| ac_cv_c_inline=no | |
| for ac_kw in inline __inline__ __inline; do | |
| cat >conftest.$ac_ext <<_ACEOF | |
| /* confdefs.h. */ | |
| _ACEOF | |
| cat confdefs.h >>conftest.$ac_ext | |
| cat >>conftest.$ac_ext <<_ACEOF | |
| /* end confdefs.h. */ | |
| #ifndef __cplusplus | |
| typedef int foo_t; | |
| static $ac_kw foo_t static_foo () {return 0; } | |
| $ac_kw foo_t foo () {return 0; } | |
| #endif | |
| _ACEOF | |
| rm -f conftest.$ac_objext | |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
| (eval $ac_compile) 2>conftest.er1 | |
| ac_status=$? | |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); } && | |
| { ac_try='test -z "$ac_c_werror_flag" | |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest.$ac_objext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; }; then | |
| ac_cv_c_inline=$ac_kw; break | |
| else | |
| echo "$as_me: failed program was:" >&5 | |
| sed 's/^/| /' conftest.$ac_ext >&5 | |
| fi | |
| rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | |
| done | |
| fi | |
| echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 | |
| echo "${ECHO_T}$ac_cv_c_inline" >&6 | |
| case $ac_cv_c_inline in | |
| inline | yes) ;; | |
| *) | |
| case $ac_cv_c_inline in | |
| no) ac_val=;; | |
| *) ac_val=$ac_cv_c_inline;; | |
| esac | |
| cat >>confdefs.h <<_ACEOF | |
| #ifndef __cplusplus | |
| #define inline $ac_val | |
| #endif | |
| _ACEOF | |
| ;; | |
| esac | |
| # Check whether --with-build-warnings or --without-build-warnings was given. | |
| if test "${with_build_warnings+set}" = set; then | |
| withval="$with_build_warnings" | |
| { echo "$as_me:$LINENO: WARNING: enabling compiler warnings" >&5 | |
| echo "$as_me: WARNING: enabling compiler warnings" >&2;} | |
| CXXFLAGS="$CXXFLAGS -W -Wall -Wstrict-prototypes -Wmissing-prototypes" | |
| fi; | |
| # Check whether --with-assertions or --without-assertions was given. | |
| if test "${with_assertions+set}" = set; then | |
| withval="$with_assertions" | |
| { echo "$as_me:$LINENO: WARNING: enabling assertions" >&5 | |
| echo "$as_me: WARNING: enabling assertions" >&2;} | |
| else | |
| cat >>confdefs.h <<\_ACEOF | |
| #define NDEBUG | |
| _ACEOF | |
| fi; | |
| # Check whether --enable-safe-mode or --disable-safe-mode was given. | # Check whether --enable-safe-mode or --disable-safe-mode was given. |
| if test "${enable_safe_mode+set}" = set; then | if test "${enable_safe_mode+set}" = set; then |
| enableval="$enable_safe_mode" | enableval="$enable_safe_mode" |
| SAFE_MODE=$enableval | SAFE_MODE=$enableval |
| fi; | fi; |
| Line 3571 _ACEOF | Line 3853 _ACEOF |
| fi | fi |
| # Check whether --enable-execs or --disable-execs was given. | # Check whether --enable-execs or --disable-execs was given. |
| if test "${enable_execs+set}" = set; then | if test "${enable_execs+set}" = set; then |
| enableval="$enable_execs" | enableval="$enable_execs" |
| Line 3588 fi | Line 3871 fi |
| fi; | fi; |
| # Check whether --enable-string-origins or --disable-string-origins was given. | |
| if test "${enable_string_origins+set}" = set; then | # Check whether --enable-stringstream or --disable-stringstream was given. |
| enableval="$enable_string_origins" | if test "${enable_stringstream+set}" = set; then |
| enableval="$enable_stringstream" | |
| if test "$enableval" = "no"; then | if test "$enableval" = "no"; then |
| { echo "$as_me:$LINENO: WARNING: disabling string origin tracking" >&5 | { echo "$as_me:$LINENO: WARNING: disabling stringstream usage" >&5 |
| echo "$as_me: WARNING: disabling string origin tracking" >&2;} | echo "$as_me: WARNING: disabling stringstream usage" >&2;} |
| cat >>confdefs.h <<\_ACEOF | cat >>confdefs.h <<\_ACEOF |
| #define NO_STRING_ORIGIN | #define NO_STRINGSTREAM |
| _ACEOF | _ACEOF |
| fi | fi |
| Line 3676 echo "$as_me:$LINENO: checking for dynam | Line 3960 echo "$as_me:$LINENO: checking for dynam |
| echo $ECHO_N "checking for dynamic-link library extension... $ECHO_C" >&6 | echo $ECHO_N "checking for dynamic-link library extension... $ECHO_C" >&6 |
| case "$host_os" in | case "$host_os" in |
| hpux9* | hpux10* | hpux11*) | hpux9* | hpux10* | hpux11*) |
| dll_extension=sl | dll_extension=sl |
| ;; | ;; |
| cygwin) | cygwin) |
| dll_extension=dll | dll_extension=dll |
| ;; | ;; |
| *) | *) |
| dll_extension=so | dll_extension=so |
| esac | esac |
| echo "$as_me:$LINENO: result: $dll_extension" >&5 | echo "$as_me:$LINENO: result: $dll_extension" >&5 |
| echo "${ECHO_T}$dll_extension" >&6 | echo "${ECHO_T}$dll_extension" >&6 |
| Line 3706 echo $ECHO_N "checking for mysql client. | Line 3990 echo $ECHO_N "checking for mysql client. |
| if test -z "$mysql_client"; then | if test -z "$mysql_client"; then |
| mysql_client="-configure could not guess-" | mysql_client="-configure could not guess-" |
| { echo "$as_me:$LINENO: WARNING: could not guess mysql client" >&5 | echo "$as_me:$LINENO: result: could not guess" >&5 |
| echo "$as_me: WARNING: could not guess mysql client" >&2;} | echo "${ECHO_T}could not guess" >&6 |
| else | else |
| echo "$as_me:$LINENO: result: $mysql_client" >&5 | echo "$as_me:$LINENO: result: $mysql_client" >&5 |
| echo "${ECHO_T}$mysql_client" >&6 | echo "${ECHO_T}$mysql_client" >&6 |
| Line 3718 fi; | Line 4002 fi; |
| # Check whether --with-pgsql-client or --without-pgsql-client was given. | # Check whether --with-pgsql-client or --without-pgsql-client was given. |
| if test "${with_pgsql_client+set}" = set; then | if test "${with_pgsql_client+set}" = set; then |
| withval="$with_pgsql_client" | withval="$with_pgsql_client" |
| mysql_client=$withval | pgsql_client=$withval |
| else | else |
| echo "$as_me:$LINENO: checking for pgsql client" >&5 | echo "$as_me:$LINENO: checking for pgsql client" >&5 |
| Line 3735 echo $ECHO_N "checking for pgsql client. | Line 4020 echo $ECHO_N "checking for pgsql client. |
| if test -z "$pgsql_client"; then | if test -z "$pgsql_client"; then |
| pgsql_client="-configure could not guess-" | pgsql_client="-configure could not guess-" |
| { echo "$as_me:$LINENO: WARNING: could not guess pgsql client" >&5 | echo "$as_me:$LINENO: result: could not guess" >&5 |
| echo "$as_me: WARNING: could not guess pgsql client" >&2;} | echo "${ECHO_T}could not guess" >&6 |
| else | else |
| echo "$as_me:$LINENO: result: $pgsql_client" >&5 | echo "$as_me:$LINENO: result: $pgsql_client" >&5 |
| echo "${ECHO_T}$pgsql_client" >&6 | echo "${ECHO_T}$pgsql_client" >&6 |
| Line 3747 fi; | Line 4032 fi; |
| # Check whether --with-oracle-client or --without-oracle-client was given. | # Check whether --with-oracle-client or --without-oracle-client was given. |
| if test "${with_oracle_client+set}" = set; then | if test "${with_oracle_client+set}" = set; then |
| withval="$with_oracle_client" | withval="$with_oracle_client" |
| Line 3760 echo $ECHO_N "checking for oracle client | Line 4046 echo $ECHO_N "checking for oracle client |
| if test -z "$oracle_client"; then | if test -z "$oracle_client"; then |
| oracle_client="-configure could not guess-" | oracle_client="-configure could not guess-" |
| { echo "$as_me:$LINENO: WARNING: could not guess oracle client" >&5 | echo "$as_me:$LINENO: result: could not guess" >&5 |
| echo "$as_me: WARNING: could not guess oracle client" >&2;} | echo "${ECHO_T}could not guess" >&6 |
| else | else |
| oracle_client="$oracle_client?ORACLE_HOME=$ORACLE_HOME&ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data" | oracle_client="$oracle_client?ORACLE_HOME=$ORACLE_HOME&ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data" |
| echo "$as_me:$LINENO: result: $oracle_client" >&5 | echo "$as_me:$LINENO: result: $oracle_client" >&5 |
| Line 3774 fi; | Line 4060 fi; |
| # Check whether --with-sqlite-client or --without-sqlite-client was given. | |
| if test "${with_sqlite_client+set}" = set; then | |
| withval="$with_sqlite_client" | |
| sqlite_client=$withval | |
| else | |
| echo "$as_me:$LINENO: checking for sqlite_client client" >&5 | |
| echo $ECHO_N "checking for sqlite_client client... $ECHO_C" >&6 | |
| for lib in \ | |
| /usr/local/sqlite/lib/sqlite3.$dll_extension \ | |
| /usr/local/lib/sqlite3.$dll_extension \ | |
| /usr/lib/sqlite3.$dll_extension; do | |
| if test -f $lib; then sqlite_client=$lib; fi | |
| done | |
| if test -z "$sqlite_client"; then | |
| sqlite_client="-configure could not guess-" | |
| echo "$as_me:$LINENO: result: could not guess" >&5 | |
| echo "${ECHO_T}could not guess" >&6 | |
| else | |
| echo "$as_me:$LINENO: result: $sqlite_client" >&5 | |
| echo "${ECHO_T}$sqlite_client" >&6 | |
| fi | |
| fi; | |
| # Check whether --with-pathlink or --without-pathlink was given. | # Check whether --with-pathlink or --without-pathlink was given. |
| if test "${with_pathlink+set}" = set; then | if test "${with_pathlink+set}" = set; then |
| Line 3782 if test "${with_pathlink+set}" = set; th | Line 4098 if test "${with_pathlink+set}" = set; th |
| fi; | fi; |
| # Check whether --with-link-stdcpp or --without-link-stdcpp was given. | # Check whether --with-dynamic-stdcpp or --without-dynamic-stdcpp was given. |
| if test "${with_link_stdcpp+set}" = set; then | if test "${with_dynamic_stdcpp+set}" = set; then |
| withval="$with_link_stdcpp" | withval="$with_dynamic_stdcpp" |
| LIBSTDCPP_PATH=$withval | |
| if test "$LIBSTDCPP_PATH" = "no"; then | |
| { echo "$as_me:$LINENO: WARNING: disabling libstdc++ linkage" >&5 | |
| echo "$as_me: WARNING: disabling libstdc++ linkage" >&2;} | |
| else | |
| if test -z "$LD_PATHLINK"; then | |
| { { echo "$as_me:$LINENO: error: when using --with-link-stdcpp one must specify --with-pathlink" >&5 | |
| echo "$as_me: error: when using --with-link-stdcpp one must specify --with-pathlink" >&2;} | |
| { (exit 1); exit 1; }; } | |
| fi | |
| LIBS="$LIBS -Wl,$LD_PATHLINK -Wl,$LIBSTDCPP_PATH" | |
| fi | |
| else | |
| #pseudo path, meaning still link libstdcpp. value needed to trick next _CONDITIONAL | |
| LIBSTDCPP_PATH=" " | |
| fi; | { echo "$as_me:$LINENO: WARNING: libstdc++ will be linked dynamically: this is probably incompatible with other platforms" >&5 |
| echo "$as_me: WARNING: libstdc++ will be linked dynamically: this is probably incompatible with other platforms" >&2;} | |
| # this is for apache, it's linked with gcc and need to know | |
| # and it would not harm linking with c++ toolchain | |
| CPP_LIBS="-lstdc++" | |
| if test "$LIBSTDCPP_PATH" = "no"; then | |
| DO_NOT_LINK_LIBSTDCPP_TRUE= | |
| DO_NOT_LINK_LIBSTDCPP_FALSE='#' | |
| else | else |
| DO_NOT_LINK_LIBSTDCPP_TRUE='#' | |
| DO_NOT_LINK_LIBSTDCPP_FALSE= | |
| fi | |
| CPP_LIBS="-Wl,-Bstatic -lstdc++ -Wl,-Bdynamic" | |
| fi; | |
| Line 3829 _ACEOF | Line 4127 _ACEOF |
| fi; | fi; |
| GC_LIB_NAME=gc | |
| # Check whether --with-shared-gc or --without-shared-gc was given. | |
| if test "${with_shared_gc+set}" = set; then | |
| withval="$with_shared_gc" | |
| GC_LIBS="-L$withval -l$GC_LIB_NAME" | |
| fi; | |
| # Check whether --with-static-gc or --without-static-gc was given. | |
| if test "${with_static_gc+set}" = set; then | |
| withval="$with_static_gc" | |
| GC_LIBS="-L$withval -Wl,-Bstatic -l$GC_LIB_NAME -Wl,-Bdynamic" | |
| fi; | |
| if test -z "$GC_LIBS"; then | |
| #undefined? use any found in system | |
| GC_LIBS="-l$GC_LIB_NAME" | |
| { echo "$as_me:$LINENO: WARNING: neither --with-shared/static-gc were specified, hoping linker would find it" >&5 | |
| echo "$as_me: WARNING: neither --with-shared/static-gc were specified, hoping linker would find it" >&2;} | |
| fi | |
| echo "$as_me:$LINENO: checking for libgc" >&5 | |
| echo $ECHO_N "checking for libgc... $ECHO_C" >&6 | |
| SAVE_LIBS=$LIBS | |
| LIBS="$LIBS $GC_LIBS" | |
| cat >conftest.$ac_ext <<_ACEOF | |
| /* confdefs.h. */ | |
| _ACEOF | |
| cat confdefs.h >>conftest.$ac_ext | |
| cat >>conftest.$ac_ext <<_ACEOF | |
| /* end confdefs.h. */ | |
| extern int GC_dont_gc; | |
| int | |
| main () | |
| { | |
| GC_dont_gc=0; | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| rm -f conftest.$ac_objext conftest$ac_exeext | |
| if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
| (eval $ac_link) 2>conftest.er1 | |
| ac_status=$? | |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); } && | |
| { ac_try='test -z "$ac_c_werror_flag" | |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest$ac_exeext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; }; then | |
| echo "$as_me:$LINENO: result: yes" >&5 | |
| echo "${ECHO_T}yes" >&6 | |
| else | |
| echo "$as_me: failed program was:" >&5 | |
| sed 's/^/| /' conftest.$ac_ext >&5 | |
| echo "$as_me:$LINENO: result: no" >&5 | |
| echo "${ECHO_T}no" >&6 | |
| { { echo "$as_me:$LINENO: error: please specify path to libgc: --with-shared-gc OR --with-static-gc" >&5 | |
| echo "$as_me: error: please specify path to libgc: --with-shared-gc OR --with-static-gc" >&2;} | |
| { (exit 1); exit 1; }; } | |
| fi | |
| rm -f conftest.err conftest.$ac_objext \ | |
| conftest$ac_exeext conftest.$ac_ext | |
| LIBS=$SAVE_LIBS | |
| # Check whether --with-glib-config or --without-glib-config was given. | |
| if test "${with_glib_config+set}" = set; then | # Check whether --with-static-pcre or --without-static-pcre was given. |
| withval="$with_glib_config" | if test "${with_static_pcre+set}" = set; then |
| GLIB_CONFIG=$withval | withval="$with_static_pcre" |
| PCRE=$withval | |
| PCREINC="$PCRE/include" | |
| PCRELIB="$PCRE/lib" | |
| if test \! -d $PCREINC -o \! -d $PCRELIB; then | |
| { { echo "$as_me:$LINENO: error: $PCRE does not seem to be valid PCRE installation directory" >&5 | |
| echo "$as_me: error: $PCRE does not seem to be valid PCRE installation directory" >&2;} | |
| { (exit 1); exit 1; }; } | |
| fi | |
| PCRE_INCLUDES="-I$PCREINC" | |
| PCRE_LIBS="$PCRELIB/libpcre.a" | |
| fi; | fi; |
| # Check whether --with-shared-xml or --without-shared-xml was given. | # Check whether --with-shared-xml or --without-shared-xml was given. |
| if test "${with_shared_xml+set}" = set; then | if test "${with_shared_xml+set}" = set; then |
| withval="$with_shared_xml" | withval="$with_shared_xml" |
| GNOME_XML=$withval | GNOME_XML=$withval |
| XMLBIN="$GNOME_XML/bin" | XMLBIN="$GNOME_XML/bin" |
| XMLINC="$GNOME_XML/include" | XMLINC="$GNOME_XML/include" |
| XMLLIB="$GNOME_XML/lib" | XMLLIB="$GNOME_XML/lib" |
| if test \! -d $XMLBIN -o \! -d $XMLINC -o \! -d $XMLLIB; then | if test \! -d $XMLBIN -o \! -d $XMLINC -o \! -d $XMLLIB; then |
| { { echo "$as_me:$LINENO: error: $GNOME_XML does not seem to be valid Gnome installation directory" >&5 | { { echo "$as_me:$LINENO: error: $GNOME_XML does not seem to be valid Gnome installation directory" >&5 |
| echo "$as_me: error: $GNOME_XML does not seem to be valid Gnome installation directory" >&2;} | echo "$as_me: error: $GNOME_XML does not seem to be valid Gnome installation directory" >&2;} |
| { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| fi | fi |
| cat >>confdefs.h <<\_ACEOF | cat >>confdefs.h <<\_ACEOF |
| Line 3860 cat >>confdefs.h <<\_ACEOF | Line 4261 cat >>confdefs.h <<\_ACEOF |
| _ACEOF | _ACEOF |
| LIBXML2_SO_NAME=`cd $XMLLIB ; ls libxml2.?? libxml2.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'` | LIBXML2_SO_NAME=`cd $XMLLIB ; ls libxml2.?? libxml2.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'` |
| LIBGDOME_SO_NAME=`cd $XMLLIB ; ls libgdome.?? libgdome.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'` | LIBXSLT_SO_NAME=`cd $XMLLIB ; ls libxslt.?? libxslt.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'` |
| LIBXSLT_SO_NAME=`cd $XMLLIB ; ls libxslt.?? libxslt.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'` | LIBEXSLT_SO_NAME=`cd $XMLLIB ; ls libexslt.?? libexslt.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'` |
| LIBEXSLT_SO_NAME=`cd $XMLLIB ; ls libexslt.?? libexslt.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'` | |
| XML_INCLUDES="$GLIB_CFLAGS -I$XMLINC -I$XMLINC/libxml2" | |
| if test -z "$GLIB_CONFIG"; then | XML_LIBS="-L$XMLLIB -l$LIBXML2_SO_NAME -l$LIBXSLT_SO_NAME -l$LIBEXSLT_SO_NAME" |
| GLIB_CONFIG=$XMLBIN/glib-config | if test \! -z "$LD_PATHLINK"; then |
| if test \! -x $GLIB_CONFIG; then | |
| GLIB_CONFIG=glib-config | |
| fi | |
| fi | |
| GLIB_CFLAGS=`$GLIB_CONFIG --cflags` | |
| GLIB_LIBS=`$GLIB_CONFIG --libs` | |
| XML_INCLUDES="$GLIB_CFLAGS -I$XMLINC -I$XMLINC/libgdome -I$XMLINC/libxml2" | |
| XML_LIBS="$GLIB_LIBS -L$XMLLIB -l$LIBXML2_SO_NAME -l$LIBGDOME_SO_NAME -l$LIBXSLT_SO_NAME -l$LIBEXSLT_SO_NAME" | |
| if test \! -z "$LD_PATHLINK"; then | |
| XML_LIBS="$XML_LIBS -Wl,$LD_PATHLINK -Wl,$XMLLIB" | XML_LIBS="$XML_LIBS -Wl,$LD_PATHLINK -Wl,$XMLLIB" |
| fi | fi |
| fi; | fi; |
| Line 3886 fi; | Line 4277 fi; |
| if test "${with_static_xml+set}" = set; then | if test "${with_static_xml+set}" = set; then |
| withval="$with_static_xml" | withval="$with_static_xml" |
| GNOME_XML=$withval | GNOME_XML=$withval |
| XMLBIN="$GNOME_XML/bin" | XMLBIN="$GNOME_XML/bin" |
| XMLINC="$GNOME_XML/include" | XMLINC="$GNOME_XML/include" |
| XMLLIB="$GNOME_XML/lib" | XMLLIB="$GNOME_XML/lib" |
| if test \! -d $XMLBIN -o \! -d $XMLINC -o \! -d $XMLLIB; then | if test \! -d $XMLBIN -o \! -d $XMLINC -o \! -d $XMLLIB; then |
| { { echo "$as_me:$LINENO: error: $GNOME_XML does not seem to be valid Gnome installation directory" >&5 | { { echo "$as_me:$LINENO: error: $GNOME_XML does not seem to be valid Gnome installation directory" >&5 |
| echo "$as_me: error: $GNOME_XML does not seem to be valid Gnome installation directory" >&2;} | echo "$as_me: error: $GNOME_XML does not seem to be valid Gnome installation directory" >&2;} |
| { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| fi | fi |
| cat >>confdefs.h <<\_ACEOF | cat >>confdefs.h <<\_ACEOF |
| Line 3903 cat >>confdefs.h <<\_ACEOF | Line 4294 cat >>confdefs.h <<\_ACEOF |
| _ACEOF | _ACEOF |
| if test -z "$GLIB_CONFIG"; then | XML_INCLUDES="$GLIB_CFLAGS -I$XMLINC -I$XMLINC/libxml2" |
| GLIB_CONFIG=$XMLBIN/glib-config | XML_LIBS="$XMLLIB/libxslt.a $XMLLIB/libexslt.a $XMLLIB/libxml2.a" |
| if test \! -x $GLIB_CONFIG; then | |
| GLIB_CONFIG=glib-config | |
| fi | |
| fi | |
| GLIB_CFLAGS=`$GLIB_CONFIG --cflags` | |
| GLIB_DIR=`$GLIB_CONFIG --libs | sed 's/.*-L\([^ ]*\).*/\1/'` | |
| GLIB_NAME=`$GLIB_CONFIG --libs | sed 's/.*-l\([^ ]*\).*/\1/'` | |
| XML_INCLUDES="$GLIB_CFLAGS -I$XMLINC -I$XMLINC/libgdome -I$XMLINC/libxml2" | |
| XML_LIBS="$XMLLIB/libgdome.a $XMLLIB/libxslt.a $XMLLIB/libexslt.a $XMLLIB/libxml2.a $GLIB_DIR/lib$GLIB_NAME.a" | |
| fi; | fi; |
| # Check whether --with-glib-config or --without-glib-config was given. | |
| if test "${with_glib_config+set}" = set; then | |
| withval="$with_glib_config" | |
| GLIB_CONFIG=$withval | |
| fi; | |
| # Check whether --with-shared-mailreceive or --without-shared-mailreceive was given. | # Check whether --with-shared-mailreceive or --without-shared-mailreceive was given. |
| if test "${with_shared_mailreceive+set}" = set; then | if test "${with_shared_mailreceive+set}" = set; then |
| withval="$with_shared_mailreceive" | withval="$with_shared_mailreceive" |
| GNOME_MIME=$withval | GNOME_MIME=$withval |
| MIMEBIN="$GNOME_MIME/bin" | MIMEBIN="$GNOME_MIME/bin" |
| MIMEINC="$GNOME_MIME/include" | MIMEINC="$GNOME_MIME/include" |
| MIMELIB="$GNOME_MIME/lib" | MIMELIB="$GNOME_MIME/lib" |
| if test \! -d $MIMEBIN -o \! -d $MIMEINC -o \! -d $MIMELIB; then | if test \! -d $MIMEBIN -o \! -d $MIMEINC -o \! -d $MIMELIB; then |
| { { echo "$as_me:$LINENO: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&5 | { { echo "$as_me:$LINENO: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&5 |
| echo "$as_me: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&2;} | echo "$as_me: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&2;} |
| { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| fi | fi |
| cat >>confdefs.h <<\_ACEOF | cat >>confdefs.h <<\_ACEOF |
| Line 3942 cat >>confdefs.h <<\_ACEOF | Line 4331 cat >>confdefs.h <<\_ACEOF |
| _ACEOF | _ACEOF |
| LIBMIME_SO_NAME=`cd $MIMELIB ; ls libgmime.?? libgmime.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'` | LIBMIME_SO_NAME=`cd $MIMELIB ; ls libgmime.?? libgmime.??? 2>/dev/null | grep -v \.la$ | sed 's/lib//' | sed 's/\..*//'` |
| if test -z "$GLIB_CONFIG"; then | if test -z "$GLIB_CONFIG"; then |
| GLIB_CONFIG=$MIMEBIN/glib-config | GLIB_CONFIG=$XMLBIN/glib-config |
| if test \! -x $GLIB_CONFIG; then | if test \! -x $GLIB_CONFIG; then |
| GLIB_CONFIG=glib-config | GLIB_CONFIG=$XMLBIN/glib2-config |
| fi | if test \! -x $GLIB_CONFIG; then |
| fi | GLIB_CONFIG=glib-config |
| GLIB_CFLAGS=`$GLIB_CONFIG --cflags` | fi |
| GLIB_LIBS=`$GLIB_CONFIG --libs` | fi |
| fi | |
| GLIB_CFLAGS=`$GLIB_CONFIG --cflags` | |
| GLIB_LIBS=`$GLIB_CONFIG --libs` | |
| MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime" | MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime" |
| MIME_LIBS="$GLIB_LIBS -L$MIMELIB -l$LIBMIME_SO_NAME" | MIME_LIBS="$GLIB_LIBS -L$MIMELIB -l$LIBMIME_SO_NAME" |
| if test \! -z "$LD_PATHLINK"; then | if test \! -z "$LD_PATHLINK"; then |
| MIME_LIBS="$MIME_LIBS -Wl,$LD_PATHLINK -Wl,$MIMELIB" | MIME_LIBS="$MIME_LIBS -Wl,$LD_PATHLINK -Wl,$MIMELIB" |
| fi | fi |
| fi; | fi; |
| Line 3965 fi; | Line 4357 fi; |
| if test "${with_static_mailreceive+set}" = set; then | if test "${with_static_mailreceive+set}" = set; then |
| withval="$with_static_mailreceive" | withval="$with_static_mailreceive" |
| GNOME_MIME=$withval | GNOME_MIME=$withval |
| MIMEBIN="$GNOME_MIME/bin" | MIMEBIN="$GNOME_MIME/bin" |
| MIMEINC="$GNOME_MIME/include" | MIMEINC="$GNOME_MIME/include" |
| MIMELIB="$GNOME_MIME/lib" | MIMELIB="$GNOME_MIME/lib" |
| if test \! -d $MIMEBIN -o \! -d $MIMEINC -o \! -d $MIMELIB; then | if test \! -d $MIMEBIN -o \! -d $MIMEINC -o \! -d $MIMELIB; then |
| { { echo "$as_me:$LINENO: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&5 | { { echo "$as_me:$LINENO: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&5 |
| echo "$as_me: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&2;} | echo "$as_me: error: $GNOME_MIME does not seem to be valid Gnome installation directory" >&2;} |
| { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| fi | fi |
| cat >>confdefs.h <<\_ACEOF | cat >>confdefs.h <<\_ACEOF |
| Line 3982 cat >>confdefs.h <<\_ACEOF | Line 4374 cat >>confdefs.h <<\_ACEOF |
| _ACEOF | _ACEOF |
| if test -z "$GLIB_CONFIG"; then | if test -z "$GLIB_CONFIG"; then |
| GLIB_CONFIG=$MIMEBIN/glib-config | GLIB_CONFIG=$XMLBIN/glib-config |
| if test \! -x $GLIB_CONFIG; then | if test \! -x $GLIB_CONFIG; then |
| GLIB_CONFIG=glib-config | GLIB_CONFIG=$XMLBIN/glib2-config |
| fi | if test \! -x $GLIB_CONFIG; then |
| fi | GLIB_CONFIG=glib-config |
| GLIB_CFLAGS=`$GLIB_CONFIG --cflags` | fi |
| fi | |
| fi | |
| GLIB_CFLAGS=`$GLIB_CONFIG --cflags` | |
| GLIB_DIR=`$GLIB_CONFIG --libs | sed 's/.*-L\([^ ]*\).*/\1/'` | GLIB_DIR=`$GLIB_CONFIG --libs | sed 's/.*-L\([^ ]*\).*/\1/'` |
| GLIB_NAME=`$GLIB_CONFIG --libs | sed 's/.*-l\([^ ]*\).*/\1/'` | GLIB_NAME=`$GLIB_CONFIG --libs | sed 's/.*-l\([^ ]*\).*/\1/'` |
| MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime" | MIME_INCLUDES="$GLIB_CFLAGS -I$MIMEINC/gmime" |
| MIME_LIBS="$MIMELIB/libgmime.a $GLIB_DIR/lib$GLIB_NAME.a" | MIME_LIBS="$MIMELIB/libgmime.a $GLIB_DIR/lib$GLIB_NAME.a" |
| fi; | fi; |
| Line 4018 fi; | Line 4413 fi; |
| if test "${with_apache13+set}" = set; then | if test "${with_apache13+set}" = set; then |
| withval="$with_apache13" | withval="$with_apache13" |
| APACHE13=$withval | APACHE13=$withval |
| if test \! -f "$APACHE13/src/include/httpd.h"; then | if test \! -f "$APACHE13/src/include/httpd.h"; then |
| { { echo "$as_me:$LINENO: error: $APACHE13 does not seem to be valid Apache13 source distribution directory" >&5 | { { echo "$as_me:$LINENO: error: $APACHE13 does not seem to be valid Apache13 source distribution directory" >&5 |
| echo "$as_me: error: $APACHE13 does not seem to be valid Apache13 source distribution directory" >&2;} | echo "$as_me: error: $APACHE13 does not seem to be valid Apache13 source distribution directory" >&2;} |
| { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| fi | fi |
| fi; | fi; |
| Line 4038 fi | Line 4433 fi |
| case "$enable_ltdl_convenience" in | |
| no) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5 | |
| echo "$as_me: error: this package needs a convenience libltdl" >&2;} | |
| { (exit 1); exit 1; }; } ;; | |
| "") enable_ltdl_convenience=yes | |
| ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; | |
| esac | |
| LIBLTDL='${top_builddir}/'src/lib/ltdl/libltdlc.a | LIBLTDL='${top_builddir}/'src/lib/ltdl/libltdlc.a |
| INCLTDL='-I${top_srcdir}/'src/lib/ltdl | INCLTDL='-I${top_srcdir}/'src/lib/ltdl |
| Line 4055 echo "$as_me: error: this package needs | Line 4443 echo "$as_me: error: this package needs |
| subdirs="$subdirs src/lib/ltdl" | subdirs="$subdirs src/lib/ltdl" |
| LIBADD_DL= | LIBADD_DL= |
| echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 | |
| echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 | echo "$as_me:$LINENO: checking for shl_load" >&5 |
| if test "${ac_cv_lib_dl_dlopen+set}" = set; then | echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 |
| if test "${ac_cv_func_shl_load+set}" = set; then | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| else | else |
| ac_check_lib_save_LIBS=$LIBS | cat >conftest.$ac_ext <<_ACEOF |
| LIBS="-ldl $LIBS" | |
| cat >conftest.$ac_ext <<_ACEOF | |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| cat >>conftest.$ac_ext <<_ACEOF | cat >>conftest.$ac_ext <<_ACEOF |
| /* end confdefs.h. */ | /* end confdefs.h. */ |
| /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. | |
| For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
| #define shl_load innocuous_shl_load | |
| /* System header to define __stub macros and hopefully few prototypes, | |
| which can conflict with char shl_load (); below. | |
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
| <limits.h> exists even on freestanding compilers. */ | |
| #ifdef __STDC__ | |
| # include <limits.h> | |
| #else | |
| # include <assert.h> | |
| #endif | |
| #undef shl_load | |
| /* Override any gcc2 internal prototype to avoid an error. */ | /* Override any gcc2 internal prototype to avoid an error. */ |
| #ifdef __cplusplus | #ifdef __cplusplus |
| extern "C" | extern "C" |
| { | |
| #endif | #endif |
| /* We use char because int might match the return type of a gcc2 | /* We use char because int might match the return type of a gcc2 |
| builtin and then its argument prototype would still apply. */ | builtin and then its argument prototype would still apply. */ |
| char dlopen (); | char shl_load (); |
| /* The GNU C library defines this for functions which it implements | |
| to always fail with ENOSYS. Some functions are actually named | |
| something starting with __ and the normal name is an alias. */ | |
| #if defined (__stub_shl_load) || defined (__stub___shl_load) | |
| choke me | |
| #else | |
| char (*f) () = shl_load; | |
| #endif | |
| #ifdef __cplusplus | |
| } | |
| #endif | |
| int | int |
| main () | main () |
| { | { |
| dlopen (); | return f != shl_load; |
| ; | ; |
| return 0; | return 0; |
| } | } |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
| if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| (eval $ac_link) 2>&5 | (eval $ac_link) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest$ac_exeext' | { ac_try='test -z "$ac_c_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest$ac_exeext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
| ac_cv_lib_dl_dlopen=yes | ac_cv_func_shl_load=yes |
| else | else |
| echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
| sed 's/^/| /' conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
| ac_cv_lib_dl_dlopen=no | ac_cv_func_shl_load=no |
| fi | fi |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | rm -f conftest.err conftest.$ac_objext \ |
| LIBS=$ac_check_lib_save_LIBS | conftest$ac_exeext conftest.$ac_ext |
| fi | fi |
| echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 | echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
| echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 | echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
| if test $ac_cv_lib_dl_dlopen = yes; then | if test $ac_cv_func_shl_load = yes; then |
| cat >>confdefs.h <<\_ACEOF | |
| #define HAVE_LIBDL 1 | cat >>confdefs.h <<\_ACEOF |
| #define HAVE_SHL_LOAD 1 | |
| _ACEOF | _ACEOF |
| LIBADD_DL="-ldl" | |
| else | else |
| echo "$as_me:$LINENO: checking for dlopen" >&5 | echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 |
| echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 | echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 |
| if test "${ac_cv_func_dlopen+set}" = set; then | if test "${ac_cv_lib_dld_shl_load+set}" = set; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| else | else |
| cat >conftest.$ac_ext <<_ACEOF | ac_check_lib_save_LIBS=$LIBS |
| #line $LINENO "configure" | LIBS="-ldld $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| cat >>conftest.$ac_ext <<_ACEOF | cat >>conftest.$ac_ext <<_ACEOF |
| /* end confdefs.h. */ | /* end confdefs.h. */ |
| /* System header to define __stub macros and hopefully few prototypes, | |
| which can conflict with char dlopen (); below. | |
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
| <limits.h> exists even on freestanding compilers. */ | |
| #ifdef __STDC__ | |
| # include <limits.h> | |
| #else | |
| # include <assert.h> | |
| #endif | |
| /* Override any gcc2 internal prototype to avoid an error. */ | /* Override any gcc2 internal prototype to avoid an error. */ |
| #ifdef __cplusplus | #ifdef __cplusplus |
| extern "C" | extern "C" |
| { | |
| #endif | #endif |
| /* We use char because int might match the return type of a gcc2 | /* We use char because int might match the return type of a gcc2 |
| builtin and then its argument prototype would still apply. */ | builtin and then its argument prototype would still apply. */ |
| char dlopen (); | char shl_load (); |
| /* The GNU C library defines this for functions which it implements | |
| to always fail with ENOSYS. Some functions are actually named | |
| something starting with __ and the normal name is an alias. */ | |
| #if defined (__stub_dlopen) || defined (__stub___dlopen) | |
| choke me | |
| #else | |
| char (*f) () = dlopen; | |
| #endif | |
| #ifdef __cplusplus | |
| } | |
| #endif | |
| int | int |
| main () | main () |
| { | { |
| return f != dlopen; | shl_load (); |
| ; | ; |
| return 0; | return 0; |
| } | } |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
| if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| (eval $ac_link) 2>&5 | (eval $ac_link) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest$ac_exeext' | { ac_try='test -z "$ac_c_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest$ac_exeext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
| ac_cv_func_dlopen=yes | ac_cv_lib_dld_shl_load=yes |
| else | else |
| echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
| sed 's/^/| /' conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
| ac_cv_func_dlopen=no | ac_cv_lib_dld_shl_load=no |
| fi | |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
| fi | fi |
| echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 | rm -f conftest.err conftest.$ac_objext \ |
| echo "${ECHO_T}$ac_cv_func_dlopen" >&6 | conftest$ac_exeext conftest.$ac_ext |
| if test $ac_cv_func_dlopen = yes; then | LIBS=$ac_check_lib_save_LIBS |
| cat >>confdefs.h <<\_ACEOF | |
| #define HAVE_LIBDL 1 | |
| _ACEOF | |
| fi | fi |
| echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 | |
| echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 | |
| if test $ac_cv_lib_dld_shl_load = yes; then | |
| fi | cat >>confdefs.h <<\_ACEOF |
| #define HAVE_SHL_LOAD 1 | |
| _ACEOF | |
| echo "$as_me:$LINENO: checking for shl_load" >&5 | LIBADD_DL="$LIBADD_DL -ldld" |
| echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 | else |
| if test "${ac_cv_func_shl_load+set}" = set; then | echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
| echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 | |
| if test "${ac_cv_lib_dl_dlopen+set}" = set; then | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| else | else |
| cat >conftest.$ac_ext <<_ACEOF | ac_check_lib_save_LIBS=$LIBS |
| #line $LINENO "configure" | LIBS="-ldl $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| cat >>conftest.$ac_ext <<_ACEOF | cat >>conftest.$ac_ext <<_ACEOF |
| /* end confdefs.h. */ | /* end confdefs.h. */ |
| /* System header to define __stub macros and hopefully few prototypes, | |
| which can conflict with char shl_load (); below. | |
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
| <limits.h> exists even on freestanding compilers. */ | |
| #ifdef __STDC__ | |
| # include <limits.h> | |
| #else | |
| # include <assert.h> | |
| #endif | |
| /* Override any gcc2 internal prototype to avoid an error. */ | /* Override any gcc2 internal prototype to avoid an error. */ |
| #ifdef __cplusplus | #ifdef __cplusplus |
| extern "C" | extern "C" |
| { | |
| #endif | #endif |
| /* We use char because int might match the return type of a gcc2 | /* We use char because int might match the return type of a gcc2 |
| builtin and then its argument prototype would still apply. */ | builtin and then its argument prototype would still apply. */ |
| char shl_load (); | char dlopen (); |
| /* The GNU C library defines this for functions which it implements | |
| to always fail with ENOSYS. Some functions are actually named | |
| something starting with __ and the normal name is an alias. */ | |
| #if defined (__stub_shl_load) || defined (__stub___shl_load) | |
| choke me | |
| #else | |
| char (*f) () = shl_load; | |
| #endif | |
| #ifdef __cplusplus | |
| } | |
| #endif | |
| int | int |
| main () | main () |
| { | { |
| return f != shl_load; | dlopen (); |
| ; | ; |
| return 0; | return 0; |
| } | } |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
| if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| (eval $ac_link) 2>&5 | (eval $ac_link) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest$ac_exeext' | { ac_try='test -z "$ac_c_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest$ac_exeext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
| ac_cv_func_shl_load=yes | ac_cv_lib_dl_dlopen=yes |
| else | else |
| echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
| sed 's/^/| /' conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
| ac_cv_func_shl_load=no | ac_cv_lib_dl_dlopen=no |
| fi | fi |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | rm -f conftest.err conftest.$ac_objext \ |
| conftest$ac_exeext conftest.$ac_ext | |
| LIBS=$ac_check_lib_save_LIBS | |
| fi | fi |
| echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
| echo "${ECHO_T}$ac_cv_func_shl_load" >&6 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 |
| if test $ac_cv_func_shl_load = yes; then | if test $ac_cv_lib_dl_dlopen = yes; then |
| cat >>confdefs.h <<\_ACEOF | |
| #define HAVE_SHL_LOAD 1 | cat >>confdefs.h <<\_ACEOF |
| #define HAVE_LIBDL 1 | |
| _ACEOF | _ACEOF |
| LIBADD_DL="-ldl" | |
| else | else |
| echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 | cat >conftest.$ac_ext <<_ACEOF |
| echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 | /* confdefs.h. */ |
| if test "${ac_cv_lib_dld_shl_load+set}" = set; then | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | |
| cat >>conftest.$ac_ext <<_ACEOF | |
| /* end confdefs.h. */ | |
| #if HAVE_DLFCN_H | |
| # include <dlfcn.h> | |
| #endif | |
| int | |
| main () | |
| { | |
| dlopen(0, 0); | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| rm -f conftest.$ac_objext conftest$ac_exeext | |
| if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
| (eval $ac_link) 2>conftest.er1 | |
| ac_status=$? | |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); } && | |
| { ac_try='test -z "$ac_c_werror_flag" | |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest$ac_exeext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; }; then | |
| cat >>confdefs.h <<\_ACEOF | |
| #define HAVE_LIBDL 1 | |
| _ACEOF | |
| else | |
| echo "$as_me: failed program was:" >&5 | |
| sed 's/^/| /' conftest.$ac_ext >&5 | |
| echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 | |
| echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 | |
| if test "${ac_cv_lib_svld_dlopen+set}" = set; then | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| else | else |
| ac_check_lib_save_LIBS=$LIBS | ac_check_lib_save_LIBS=$LIBS |
| LIBS="-ldld $LIBS" | LIBS="-lsvld $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 4297 extern "C" | Line 4757 extern "C" |
| #endif | #endif |
| /* We use char because int might match the return type of a gcc2 | /* We use char because int might match the return type of a gcc2 |
| builtin and then its argument prototype would still apply. */ | builtin and then its argument prototype would still apply. */ |
| char shl_load (); | char dlopen (); |
| int | int |
| main () | main () |
| { | { |
| shl_load (); | dlopen (); |
| ; | ; |
| return 0; | return 0; |
| } | } |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
| if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| (eval $ac_link) 2>&5 | (eval $ac_link) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest$ac_exeext' | { ac_try='test -z "$ac_c_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest$ac_exeext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
| ac_cv_lib_dld_shl_load=yes | ac_cv_lib_svld_dlopen=yes |
| else | else |
| echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
| sed 's/^/| /' conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
| ac_cv_lib_dld_shl_load=no | ac_cv_lib_svld_dlopen=no |
| fi | fi |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | rm -f conftest.err conftest.$ac_objext \ |
| conftest$ac_exeext conftest.$ac_ext | |
| LIBS=$ac_check_lib_save_LIBS | LIBS=$ac_check_lib_save_LIBS |
| fi | fi |
| echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 | echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
| echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 | echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 |
| if test $ac_cv_lib_dld_shl_load = yes; then | if test $ac_cv_lib_svld_dlopen = yes; then |
| cat >>confdefs.h <<\_ACEOF | |
| #define HAVE_SHL_LOAD 1 | |
| _ACEOF | |
| LIBADD_DL="$LIBADD_DL -ldld" | |
| fi | |
| fi | cat >>confdefs.h <<\_ACEOF |
| #define HAVE_LIBDL 1 | |
| _ACEOF | |
| echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 | LIBADD_DL="-lsvld" |
| else | |
| echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 | |
| echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 | echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 |
| if test "${ac_cv_lib_dld_dld_link+set}" = set; then | if test "${ac_cv_lib_dld_dld_link+set}" = set; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| Line 4347 else | Line 4817 else |
| ac_check_lib_save_LIBS=$LIBS | ac_check_lib_save_LIBS=$LIBS |
| LIBS="-ldld $LIBS" | LIBS="-ldld $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 4371 dld_link (); | Line 4840 dld_link (); |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
| if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| (eval $ac_link) 2>&5 | (eval $ac_link) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest$ac_exeext' | { ac_try='test -z "$ac_c_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest$ac_exeext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| Line 4388 sed 's/^/| /' conftest.$ac_ext >&5 | Line 4867 sed 's/^/| /' conftest.$ac_ext >&5 |
| ac_cv_lib_dld_dld_link=no | ac_cv_lib_dld_dld_link=no |
| fi | fi |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | rm -f conftest.err conftest.$ac_objext \ |
| conftest$ac_exeext conftest.$ac_ext | |
| LIBS=$ac_check_lib_save_LIBS | LIBS=$ac_check_lib_save_LIBS |
| fi | fi |
| echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
| echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 | echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 |
| if test $ac_cv_lib_dld_dld_link = yes; then | if test $ac_cv_lib_dld_dld_link = yes; then |
| cat >>confdefs.h <<\_ACEOF | |
| cat >>confdefs.h <<\_ACEOF | |
| #define HAVE_DLD 1 | #define HAVE_DLD 1 |
| _ACEOF | _ACEOF |
| test "x$ac_cv_lib_dld_shl_load" = yes || LIBADD_DL="$LIBADD_DL -ldld" | |
| LIBADD_DL="$LIBADD_DL -ldld" | |
| fi | |
| fi | |
| fi | |
| rm -f conftest.err conftest.$ac_objext \ | |
| conftest$ac_exeext conftest.$ac_ext | |
| fi | |
| fi | fi |
| fi | |
| if test "x$ac_cv_func_dlopen" = xyes || test "x$ac_cv_lib_dl_dlopen" = xyes; then | if test "x$ac_cv_func_dlopen" = xyes || test "x$ac_cv_lib_dl_dlopen" = xyes; then |
| LIBS_SAVE="$LIBS" | LIBS_SAVE="$LIBS" |
| Line 4415 if eval "test \"\${$as_ac_var+set}\" = s | Line 4913 if eval "test \"\${$as_ac_var+set}\" = s |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| else | else |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| cat >>conftest.$ac_ext <<_ACEOF | cat >>conftest.$ac_ext <<_ACEOF |
| /* end confdefs.h. */ | /* end confdefs.h. */ |
| /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
| For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
| #define $ac_func innocuous_$ac_func | |
| /* System header to define __stub macros and hopefully few prototypes, | /* System header to define __stub macros and hopefully few prototypes, |
| which can conflict with char $ac_func (); below. | which can conflict with char $ac_func (); below. |
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| <limits.h> exists even on freestanding compilers. */ | <limits.h> exists even on freestanding compilers. */ |
| #ifdef __STDC__ | #ifdef __STDC__ |
| # include <limits.h> | # include <limits.h> |
| #else | #else |
| # include <assert.h> | # include <assert.h> |
| #endif | #endif |
| #undef $ac_func | |
| /* Override any gcc2 internal prototype to avoid an error. */ | /* Override any gcc2 internal prototype to avoid an error. */ |
| #ifdef __cplusplus | #ifdef __cplusplus |
| extern "C" | extern "C" |
| Line 4460 return f != $ac_func; | Line 4965 return f != $ac_func; |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
| if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| (eval $ac_link) 2>&5 | (eval $ac_link) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest$ac_exeext' | { ac_try='test -z "$ac_c_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest$ac_exeext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| Line 4477 sed 's/^/| /' conftest.$ac_ext >&5 | Line 4992 sed 's/^/| /' conftest.$ac_ext >&5 |
| eval "$as_ac_var=no" | eval "$as_ac_var=no" |
| fi | fi |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | rm -f conftest.err conftest.$ac_objext \ |
| conftest$ac_exeext conftest.$ac_ext | |
| fi | fi |
| echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| Line 4493 done | Line 5009 done |
| fi | fi |
| ac_ext=cc | |
| ac_cpp='$CXXCPP $CPPFLAGS' | |
| ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 |
| ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 |
| ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | if test "${ac_cv_c_bigendian+set}" = set; then |
| echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 | |
| echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 | |
| if test -z "$CXXCPP"; then | |
| if test "${ac_cv_prog_CXXCPP+set}" = set; then | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| else | else |
| # Double quotes because CXXCPP needs to be expanded | # See if sys/param.h defines the BYTE_ORDER macro. |
| for CXXCPP in "$CXX -E" "/lib/cpp" | cat >conftest.$ac_ext <<_ACEOF |
| /* confdefs.h. */ | |
| _ACEOF | |
| cat confdefs.h >>conftest.$ac_ext | |
| cat >>conftest.$ac_ext <<_ACEOF | |
| /* end confdefs.h. */ | |
| #include <sys/types.h> | |
| #include <sys/param.h> | |
| int | |
| main () | |
| { | |
| #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | |
| bogus endian macros | |
| #endif | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| rm -f conftest.$ac_objext | |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
| (eval $ac_compile) 2>conftest.er1 | |
| ac_status=$? | |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); } && | |
| { ac_try='test -z "$ac_c_werror_flag" | |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest.$ac_objext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; }; then | |
| # It does; now see whether it defined to BIG_ENDIAN or not. | |
| cat >conftest.$ac_ext <<_ACEOF | |
| /* confdefs.h. */ | |
| _ACEOF | |
| cat confdefs.h >>conftest.$ac_ext | |
| cat >>conftest.$ac_ext <<_ACEOF | |
| /* end confdefs.h. */ | |
| #include <sys/types.h> | |
| #include <sys/param.h> | |
| int | |
| main () | |
| { | |
| #if BYTE_ORDER != BIG_ENDIAN | |
| not big endian | |
| #endif | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| rm -f conftest.$ac_objext | |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
| (eval $ac_compile) 2>conftest.er1 | |
| ac_status=$? | |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); } && | |
| { ac_try='test -z "$ac_c_werror_flag" | |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest.$ac_objext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; }; then | |
| ac_cv_c_bigendian=yes | |
| else | |
| echo "$as_me: failed program was:" >&5 | |
| sed 's/^/| /' conftest.$ac_ext >&5 | |
| ac_cv_c_bigendian=no | |
| fi | |
| rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | |
| else | |
| echo "$as_me: failed program was:" >&5 | |
| sed 's/^/| /' conftest.$ac_ext >&5 | |
| # It does not; compile a test program. | |
| if test "$cross_compiling" = yes; then | |
| # try to guess the endianness by grepping values into an object file | |
| ac_cv_c_bigendian=unknown | |
| cat >conftest.$ac_ext <<_ACEOF | |
| /* confdefs.h. */ | |
| _ACEOF | |
| cat confdefs.h >>conftest.$ac_ext | |
| cat >>conftest.$ac_ext <<_ACEOF | |
| /* end confdefs.h. */ | |
| short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; | |
| short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; | |
| void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } | |
| short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; | |
| short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; | |
| void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } | |
| int | |
| main () | |
| { | |
| _ascii (); _ebcdic (); | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| rm -f conftest.$ac_objext | |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
| (eval $ac_compile) 2>conftest.er1 | |
| ac_status=$? | |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); } && | |
| { ac_try='test -z "$ac_c_werror_flag" | |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest.$ac_objext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; }; then | |
| if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then | |
| ac_cv_c_bigendian=yes | |
| fi | |
| if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then | |
| if test "$ac_cv_c_bigendian" = unknown; then | |
| ac_cv_c_bigendian=no | |
| else | |
| # finding both strings is unlikely to happen, but who knows? | |
| ac_cv_c_bigendian=unknown | |
| fi | |
| fi | |
| else | |
| echo "$as_me: failed program was:" >&5 | |
| sed 's/^/| /' conftest.$ac_ext >&5 | |
| fi | |
| rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | |
| else | |
| cat >conftest.$ac_ext <<_ACEOF | |
| /* confdefs.h. */ | |
| _ACEOF | |
| cat confdefs.h >>conftest.$ac_ext | |
| cat >>conftest.$ac_ext <<_ACEOF | |
| /* end confdefs.h. */ | |
| int | |
| main () | |
| { | |
| /* Are we little or big endian? From Harbison&Steele. */ | |
| union | |
| { | |
| long l; | |
| char c[sizeof (long)]; | |
| } u; | |
| u.l = 1; | |
| exit (u.c[sizeof (long) - 1] == 1); | |
| } | |
| _ACEOF | |
| rm -f conftest$ac_exeext | |
| if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
| (eval $ac_link) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; }; then | |
| ac_cv_c_bigendian=no | |
| else | |
| echo "$as_me: program exited with status $ac_status" >&5 | |
| echo "$as_me: failed program was:" >&5 | |
| sed 's/^/| /' conftest.$ac_ext >&5 | |
| ( exit $ac_status ) | |
| ac_cv_c_bigendian=yes | |
| fi | |
| rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
| fi | |
| fi | |
| rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | |
| fi | |
| echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 | |
| echo "${ECHO_T}$ac_cv_c_bigendian" >&6 | |
| case $ac_cv_c_bigendian in | |
| yes) | |
| cat >>confdefs.h <<\_ACEOF | |
| #define PA_BIG_ENDIAN | |
| _ACEOF | |
| ;; | |
| no) | |
| cat >>confdefs.h <<\_ACEOF | |
| #define PA_LITTLE_ENDIAN | |
| _ACEOF | |
| ;; | |
| *) | |
| { { echo "$as_me:$LINENO: error: word endianness not determined for some obscure reason" >&5 | |
| echo "$as_me: error: word endianness not determined for some obscure reason" >&2;} | |
| { (exit 1); exit 1; }; } | |
| ;; | |
| esac | |
| ac_ext=c | |
| ac_cpp='$CPP $CPPFLAGS' | |
| ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | |
| echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | |
| # On Suns, sometimes $CPP names a directory. | |
| if test -n "$CPP" && test -d "$CPP"; then | |
| CPP= | |
| fi | |
| if test -z "$CPP"; then | |
| if test "${ac_cv_prog_CPP+set}" = set; then | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| else | |
| # Double quotes because CPP needs to be expanded | |
| for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | |
| do | do |
| ac_preproc_ok=false | ac_preproc_ok=false |
| for ac_cxx_preproc_warn_flag in '' yes | for ac_c_preproc_warn_flag in '' yes |
| do | do |
| # Use a header file that comes with gcc, so configuring glibc | # Use a header file that comes with gcc, so configuring glibc |
| # with a fresh cross-compiler works. | # with a fresh cross-compiler works. |
| Line 4517 do | Line 5275 do |
| # On the NeXT, cc -E runs the code through the compiler's parser, | # On the NeXT, cc -E runs the code through the compiler's parser, |
| # not just through cpp. "Syntax error" is here to catch this case. | # not just through cpp. "Syntax error" is here to catch this case. |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 4528 cat >>conftest.$ac_ext <<_ACEOF | Line 5285 cat >>conftest.$ac_ext <<_ACEOF |
| #else | #else |
| # include <assert.h> | # include <assert.h> |
| #endif | #endif |
| Syntax error | Syntax error |
| _ACEOF | _ACEOF |
| if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| Line 4539 if { (eval echo "$as_me:$LINENO: \"$ac_c | Line 5296 if { (eval echo "$as_me:$LINENO: \"$ac_c |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } >/dev/null; then | (exit $ac_status); } >/dev/null; then |
| if test -s conftest.err; then | if test -s conftest.err; then |
| ac_cpp_err=$ac_cxx_preproc_warn_flag | ac_cpp_err=$ac_c_preproc_warn_flag |
| ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | |
| else | else |
| ac_cpp_err= | ac_cpp_err= |
| fi | fi |
| Line 4560 rm -f conftest.err conftest.$ac_ext | Line 5318 rm -f conftest.err conftest.$ac_ext |
| # OK, works on sane cases. Now check whether non-existent headers | # OK, works on sane cases. Now check whether non-existent headers |
| # can be detected and how. | # can be detected and how. |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 4577 if { (eval echo "$as_me:$LINENO: \"$ac_c | Line 5334 if { (eval echo "$as_me:$LINENO: \"$ac_c |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } >/dev/null; then | (exit $ac_status); } >/dev/null; then |
| if test -s conftest.err; then | if test -s conftest.err; then |
| ac_cpp_err=$ac_cxx_preproc_warn_flag | ac_cpp_err=$ac_c_preproc_warn_flag |
| ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | |
| else | else |
| ac_cpp_err= | ac_cpp_err= |
| fi | fi |
| Line 4605 if $ac_preproc_ok; then | Line 5363 if $ac_preproc_ok; then |
| fi | fi |
| done | done |
| ac_cv_prog_CXXCPP=$CXXCPP | ac_cv_prog_CPP=$CPP |
| fi | fi |
| CXXCPP=$ac_cv_prog_CXXCPP | CPP=$ac_cv_prog_CPP |
| else | else |
| ac_cv_prog_CXXCPP=$CXXCPP | ac_cv_prog_CPP=$CPP |
| fi | fi |
| echo "$as_me:$LINENO: result: $CXXCPP" >&5 | echo "$as_me:$LINENO: result: $CPP" >&5 |
| echo "${ECHO_T}$CXXCPP" >&6 | echo "${ECHO_T}$CPP" >&6 |
| ac_preproc_ok=false | ac_preproc_ok=false |
| for ac_cxx_preproc_warn_flag in '' yes | for ac_c_preproc_warn_flag in '' yes |
| do | do |
| # Use a header file that comes with gcc, so configuring glibc | # Use a header file that comes with gcc, so configuring glibc |
| # with a fresh cross-compiler works. | # with a fresh cross-compiler works. |
| Line 4624 do | Line 5382 do |
| # On the NeXT, cc -E runs the code through the compiler's parser, | # On the NeXT, cc -E runs the code through the compiler's parser, |
| # not just through cpp. "Syntax error" is here to catch this case. | # not just through cpp. "Syntax error" is here to catch this case. |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 4635 cat >>conftest.$ac_ext <<_ACEOF | Line 5392 cat >>conftest.$ac_ext <<_ACEOF |
| #else | #else |
| # include <assert.h> | # include <assert.h> |
| #endif | #endif |
| Syntax error | Syntax error |
| _ACEOF | _ACEOF |
| if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| Line 4646 if { (eval echo "$as_me:$LINENO: \"$ac_c | Line 5403 if { (eval echo "$as_me:$LINENO: \"$ac_c |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } >/dev/null; then | (exit $ac_status); } >/dev/null; then |
| if test -s conftest.err; then | if test -s conftest.err; then |
| ac_cpp_err=$ac_cxx_preproc_warn_flag | ac_cpp_err=$ac_c_preproc_warn_flag |
| ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | |
| else | else |
| ac_cpp_err= | ac_cpp_err= |
| fi | fi |
| Line 4667 rm -f conftest.err conftest.$ac_ext | Line 5425 rm -f conftest.err conftest.$ac_ext |
| # OK, works on sane cases. Now check whether non-existent headers | # OK, works on sane cases. Now check whether non-existent headers |
| # can be detected and how. | # can be detected and how. |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 4684 if { (eval echo "$as_me:$LINENO: \"$ac_c | Line 5441 if { (eval echo "$as_me:$LINENO: \"$ac_c |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } >/dev/null; then | (exit $ac_status); } >/dev/null; then |
| if test -s conftest.err; then | if test -s conftest.err; then |
| ac_cpp_err=$ac_cxx_preproc_warn_flag | ac_cpp_err=$ac_c_preproc_warn_flag |
| ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | |
| else | else |
| ac_cpp_err= | ac_cpp_err= |
| fi | fi |
| Line 4710 rm -f conftest.err conftest.$ac_ext | Line 5468 rm -f conftest.err conftest.$ac_ext |
| if $ac_preproc_ok; then | if $ac_preproc_ok; then |
| : | : |
| else | else |
| { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check | { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
| See \`config.log' for more details." >&5 | See \`config.log' for more details." >&5 |
| echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
| See \`config.log' for more details." >&2;} | See \`config.log' for more details." >&2;} |
| { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| fi | fi |
| ac_ext=cc | ac_ext=c |
| ac_cpp='$CXXCPP $CPPFLAGS' | ac_cpp='$CPP $CPPFLAGS' |
| ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| echo "$as_me:$LINENO: checking for egrep" >&5 | echo "$as_me:$LINENO: checking for egrep" >&5 |
| Line 4745 if test "${ac_cv_header_stdc+set}" = set | Line 5503 if test "${ac_cv_header_stdc+set}" = set |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| else | else |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 4766 main () | Line 5523 main () |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| (eval $ac_compile) 2>&5 | (eval $ac_compile) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest.$ac_objext' | { ac_try='test -z "$ac_c_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest.$ac_objext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| Line 4783 sed 's/^/| /' conftest.$ac_ext >&5 | Line 5550 sed 's/^/| /' conftest.$ac_ext >&5 |
| ac_cv_header_stdc=no | ac_cv_header_stdc=no |
| fi | fi |
| rm -f conftest.$ac_objext conftest.$ac_ext | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| if test $ac_cv_header_stdc = yes; then | if test $ac_cv_header_stdc = yes; then |
| # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 4810 fi | Line 5576 fi |
| if test $ac_cv_header_stdc = yes; then | if test $ac_cv_header_stdc = yes; then |
| # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 4835 if test $ac_cv_header_stdc = yes; then | Line 5600 if test $ac_cv_header_stdc = yes; then |
| : | : |
| else | else |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 4847 cat >>conftest.$ac_ext <<_ACEOF | Line 5611 cat >>conftest.$ac_ext <<_ACEOF |
| # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| #else | #else |
| # define ISLOWER(c) \ | # define ISLOWER(c) \ |
| (('a' <= (c) && (c) <= 'i') \ | (('a' <= (c) && (c) <= 'i') \ |
| || ('j' <= (c) && (c) <= 'r') \ | || ('j' <= (c) && (c) <= 'r') \ |
| || ('s' <= (c) && (c) <= 'z')) | || ('s' <= (c) && (c) <= 'z')) |
| # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
| #endif | #endif |
| Line 4860 main () | Line 5624 main () |
| int i; | int i; |
| for (i = 0; i < 256; i++) | for (i = 0; i < 256; i++) |
| if (XOR (islower (i), ISLOWER (i)) | if (XOR (islower (i), ISLOWER (i)) |
| || toupper (i) != TOUPPER (i)) | || toupper (i) != TOUPPER (i)) |
| exit(2); | exit(2); |
| exit (0); | exit (0); |
| } | } |
| Line 4885 sed 's/^/| /' conftest.$ac_ext >&5 | Line 5649 sed 's/^/| /' conftest.$ac_ext >&5 |
| ( exit $ac_status ) | ( exit $ac_status ) |
| ac_cv_header_stdc=no | ac_cv_header_stdc=no |
| fi | fi |
| rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| fi | fi |
| fi | fi |
| fi | fi |
| Line 4910 fi | Line 5674 fi |
| for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
| inttypes.h stdint.h unistd.h | inttypes.h stdint.h unistd.h |
| do | do |
| as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| echo "$as_me:$LINENO: checking for $ac_header" >&5 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| Line 4919 if eval "test \"\${$as_ac_Header+set}\" | Line 5683 if eval "test \"\${$as_ac_Header+set}\" |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| else | else |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 4931 $ac_includes_default | Line 5694 $ac_includes_default |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| (eval $ac_compile) 2>&5 | (eval $ac_compile) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest.$ac_objext' | { ac_try='test -z "$ac_c_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest.$ac_objext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| Line 4948 sed 's/^/| /' conftest.$ac_ext >&5 | Line 5721 sed 's/^/| /' conftest.$ac_ext >&5 |
| eval "$as_ac_Header=no" | eval "$as_ac_Header=no" |
| fi | fi |
| rm -f conftest.$ac_objext conftest.$ac_ext | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| fi | fi |
| echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| Line 4968 if test "${ac_cv_type_size_t+set}" = set | Line 5741 if test "${ac_cv_type_size_t+set}" = set |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| else | else |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 4988 if (sizeof (size_t)) | Line 5760 if (sizeof (size_t)) |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| (eval $ac_compile) 2>&5 | (eval $ac_compile) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest.$ac_objext' | { ac_try='test -z "$ac_c_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest.$ac_objext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| Line 5005 sed 's/^/| /' conftest.$ac_ext >&5 | Line 5787 sed 's/^/| /' conftest.$ac_ext >&5 |
| ac_cv_type_size_t=no | ac_cv_type_size_t=no |
| fi | fi |
| rm -f conftest.$ac_objext conftest.$ac_ext | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| fi | fi |
| echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 | echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 |
| echo "${ECHO_T}$ac_cv_type_size_t" >&6 | echo "${ECHO_T}$ac_cv_type_size_t" >&6 |
| Line 5025 if test "${ac_cv_type_off_t+set}" = set; | Line 5807 if test "${ac_cv_type_off_t+set}" = set; |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| else | else |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 5045 if (sizeof (off_t)) | Line 5826 if (sizeof (off_t)) |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| (eval $ac_compile) 2>&5 | (eval $ac_compile) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest.$ac_objext' | { ac_try='test -z "$ac_c_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest.$ac_objext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| Line 5062 sed 's/^/| /' conftest.$ac_ext >&5 | Line 5853 sed 's/^/| /' conftest.$ac_ext >&5 |
| ac_cv_type_off_t=no | ac_cv_type_off_t=no |
| fi | fi |
| rm -f conftest.$ac_objext conftest.$ac_ext | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| fi | fi |
| echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 | echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 |
| echo "${ECHO_T}$ac_cv_type_off_t" >&6 | echo "${ECHO_T}$ac_cv_type_off_t" >&6 |
| Line 5082 if test "${ac_cv_type_ssize_t+set}" = se | Line 5873 if test "${ac_cv_type_ssize_t+set}" = se |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| else | else |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 5102 if (sizeof (ssize_t)) | Line 5892 if (sizeof (ssize_t)) |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| (eval $ac_compile) 2>&5 | (eval $ac_compile) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest.$ac_objext' | { ac_try='test -z "$ac_c_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest.$ac_objext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| Line 5119 sed 's/^/| /' conftest.$ac_ext >&5 | Line 5919 sed 's/^/| /' conftest.$ac_ext >&5 |
| ac_cv_type_ssize_t=no | ac_cv_type_ssize_t=no |
| fi | fi |
| rm -f conftest.$ac_objext conftest.$ac_ext | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| fi | fi |
| echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5 | echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5 |
| echo "${ECHO_T}$ac_cv_type_ssize_t" >&6 | echo "${ECHO_T}$ac_cv_type_ssize_t" >&6 |
| Line 5142 if test "${ac_cv_header_time+set}" = set | Line 5942 if test "${ac_cv_header_time+set}" = set |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| else | else |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 5163 return 0; | Line 5962 return 0; |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| (eval $ac_compile) 2>&5 | (eval $ac_compile) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest.$ac_objext' | { ac_try='test -z "$ac_c_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest.$ac_objext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| Line 5180 sed 's/^/| /' conftest.$ac_ext >&5 | Line 5989 sed 's/^/| /' conftest.$ac_ext >&5 |
| ac_cv_header_time=no | ac_cv_header_time=no |
| fi | fi |
| rm -f conftest.$ac_objext conftest.$ac_ext | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| fi | fi |
| echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 | echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
| echo "${ECHO_T}$ac_cv_header_time" >&6 | echo "${ECHO_T}$ac_cv_header_time" >&6 |
| Line 5223 fi | Line 6032 fi |
| for ac_header in assert.h \ | |
| for ac_header in signal.h \ | signal.h \ |
| unistd.h \ | unistd.h \ |
| process.h \ | process.h \ |
| stddef.h \ | stddef.h \ |
| Line 5238 ctype.h \ | Line 6047 ctype.h \ |
| math.h \ | math.h \ |
| crypt.h \ | crypt.h \ |
| time.h sys/time.h \ | time.h sys/time.h \ |
| stdlib.h \ | |
| string.h \ | string.h \ |
| direct.h \ | direct.h \ |
| setjmp.h \ | setjmp.h \ |
| memory.h \ | memory.h \ |
| new \ | |
| sys/file.h \ | sys/file.h \ |
| sys/locking.h \ | sys/locking.h \ |
| sys/types.h \ | sys/types.h \ |
| Line 5270 else | Line 6077 else |
| echo "$as_me:$LINENO: checking $ac_header usability" >&5 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 5281 $ac_includes_default | Line 6087 $ac_includes_default |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| (eval $ac_compile) 2>&5 | (eval $ac_compile) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest.$ac_objext' | { ac_try='test -z "$ac_c_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest.$ac_objext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| Line 5298 sed 's/^/| /' conftest.$ac_ext >&5 | Line 6114 sed 's/^/| /' conftest.$ac_ext >&5 |
| ac_header_compiler=no | ac_header_compiler=no |
| fi | fi |
| rm -f conftest.$ac_objext conftest.$ac_ext | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| echo "${ECHO_T}$ac_header_compiler" >&6 | echo "${ECHO_T}$ac_header_compiler" >&6 |
| Line 5306 echo "${ECHO_T}$ac_header_compiler" >&6 | Line 6122 echo "${ECHO_T}$ac_header_compiler" >&6 |
| echo "$as_me:$LINENO: checking $ac_header presence" >&5 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 5323 if { (eval echo "$as_me:$LINENO: \"$ac_c | Line 6138 if { (eval echo "$as_me:$LINENO: \"$ac_c |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } >/dev/null; then | (exit $ac_status); } >/dev/null; then |
| if test -s conftest.err; then | if test -s conftest.err; then |
| ac_cpp_err=$ac_cxx_preproc_warn_flag | ac_cpp_err=$ac_c_preproc_warn_flag |
| ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | |
| else | else |
| ac_cpp_err= | ac_cpp_err= |
| fi | fi |
| Line 5343 echo "$as_me:$LINENO: result: $ac_header | Line 6159 echo "$as_me:$LINENO: result: $ac_header |
| echo "${ECHO_T}$ac_header_preproc" >&6 | echo "${ECHO_T}$ac_header_preproc" >&6 |
| # So? What about this header? | # So? What about this header? |
| case $ac_header_compiler:$ac_header_preproc in | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| yes:no ) | yes:no: ) |
| { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| ( | ac_header_preproc=yes |
| cat <<\_ASBOX | |
| ## ------------------------------------ ## | |
| ## Report this to bug-autoconf@gnu.org. ## | |
| ## ------------------------------------ ## | |
| _ASBOX | |
| ) | | |
| sed "s/^/$as_me: WARNING: /" >&2 | |
| ;; | ;; |
| no:yes ) | no:yes:* ) |
| { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
| echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
| { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
| echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
| { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
| echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
| ( | ( |
| cat <<\_ASBOX | cat <<\_ASBOX |
| ## ------------------------------------ ## | ## ------------------------------------------ ## |
| ## Report this to bug-autoconf@gnu.org. ## | ## Report this to the AC_PACKAGE_NAME lists. ## |
| ## ------------------------------------ ## | ## ------------------------------------------ ## |
| _ASBOX | _ASBOX |
| ) | | ) | |
| sed "s/^/$as_me: WARNING: /" >&2 | sed "s/^/$as_me: WARNING: /" >&2 |
| Line 5380 echo $ECHO_N "checking for $ac_header... | Line 6195 echo $ECHO_N "checking for $ac_header... |
| if eval "test \"\${$as_ac_Header+set}\" = set"; then | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| else | else |
| eval "$as_ac_Header=$ac_header_preproc" | eval "$as_ac_Header=\$ac_header_preproc" |
| fi | fi |
| echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| Line 5398 done | Line 6213 done |
| case "$host" in | case "$host" in |
| *-freebsd4*) | |
| cat >>confdefs.h <<\_ACEOF | |
| #define FREEBSD4 | |
| _ACEOF | |
| ;; | |
| *-sunos5.6* | *-solaris2.6*) | *-sunos5.6* | *-solaris2.6*) |
| echo "$as_me:$LINENO: checking for main in -lxnet" >&5 | echo "$as_me:$LINENO: checking for main in -lxnet" >&5 |
| Line 5408 else | Line 6230 else |
| ac_check_lib_save_LIBS=$LIBS | ac_check_lib_save_LIBS=$LIBS |
| LIBS="-lxnet $LIBS" | LIBS="-lxnet $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 5426 main (); | Line 6247 main (); |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
| if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| (eval $ac_link) 2>&5 | (eval $ac_link) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest$ac_exeext' | { ac_try='test -z "$ac_c_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest$ac_exeext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| Line 5443 sed 's/^/| /' conftest.$ac_ext >&5 | Line 6274 sed 's/^/| /' conftest.$ac_ext >&5 |
| ac_cv_lib_xnet_main=no | ac_cv_lib_xnet_main=no |
| fi | fi |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | rm -f conftest.err conftest.$ac_objext \ |
| conftest$ac_exeext conftest.$ac_ext | |
| LIBS=$ac_check_lib_save_LIBS | LIBS=$ac_check_lib_save_LIBS |
| fi | fi |
| echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_main" >&5 | echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_main" >&5 |
| Line 5468 else | Line 6300 else |
| ac_check_lib_save_LIBS=$LIBS | ac_check_lib_save_LIBS=$LIBS |
| LIBS="-lsocket $LIBS" | LIBS="-lsocket $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 5486 main (); | Line 6317 main (); |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
| if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| (eval $ac_link) 2>&5 | (eval $ac_link) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest$ac_exeext' | { ac_try='test -z "$ac_c_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest$ac_exeext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| Line 5503 sed 's/^/| /' conftest.$ac_ext >&5 | Line 6344 sed 's/^/| /' conftest.$ac_ext >&5 |
| ac_cv_lib_socket_main=no | ac_cv_lib_socket_main=no |
| fi | fi |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | rm -f conftest.err conftest.$ac_objext \ |
| conftest$ac_exeext conftest.$ac_ext | |
| LIBS=$ac_check_lib_save_LIBS | LIBS=$ac_check_lib_save_LIBS |
| fi | fi |
| echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5 | echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5 |
| Line 5526 else | Line 6368 else |
| ac_check_lib_save_LIBS=$LIBS | ac_check_lib_save_LIBS=$LIBS |
| LIBS="-lnsl $LIBS" | LIBS="-lnsl $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 5544 main (); | Line 6385 main (); |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
| if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| (eval $ac_link) 2>&5 | (eval $ac_link) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest$ac_exeext' | { ac_try='test -z "$ac_c_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest$ac_exeext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| Line 5561 sed 's/^/| /' conftest.$ac_ext >&5 | Line 6412 sed 's/^/| /' conftest.$ac_ext >&5 |
| ac_cv_lib_nsl_main=no | ac_cv_lib_nsl_main=no |
| fi | fi |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | rm -f conftest.err conftest.$ac_objext \ |
| conftest$ac_exeext conftest.$ac_ext | |
| LIBS=$ac_check_lib_save_LIBS | LIBS=$ac_check_lib_save_LIBS |
| fi | fi |
| echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5 | echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5 |
| Line 5586 else | Line 6438 else |
| ac_check_lib_save_LIBS=$LIBS | ac_check_lib_save_LIBS=$LIBS |
| LIBS="-lnsl $LIBS" | LIBS="-lnsl $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 5610 gethostbyname (); | Line 6461 gethostbyname (); |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
| if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| (eval $ac_link) 2>&5 | (eval $ac_link) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest$ac_exeext' | { ac_try='test -z "$ac_c_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest$ac_exeext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| Line 5627 sed 's/^/| /' conftest.$ac_ext >&5 | Line 6488 sed 's/^/| /' conftest.$ac_ext >&5 |
| ac_cv_lib_nsl_gethostbyname=no | ac_cv_lib_nsl_gethostbyname=no |
| fi | fi |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | rm -f conftest.err conftest.$ac_objext \ |
| conftest$ac_exeext conftest.$ac_ext | |
| LIBS=$ac_check_lib_save_LIBS | LIBS=$ac_check_lib_save_LIBS |
| fi | fi |
| echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 | echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
| Line 5650 else | Line 6512 else |
| ac_check_lib_save_LIBS=$LIBS | ac_check_lib_save_LIBS=$LIBS |
| LIBS="-lsocket $LIBS" | LIBS="-lsocket $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 5674 socket (); | Line 6535 socket (); |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
| if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| (eval $ac_link) 2>&5 | (eval $ac_link) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest$ac_exeext' | { ac_try='test -z "$ac_c_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest$ac_exeext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| Line 5691 sed 's/^/| /' conftest.$ac_ext >&5 | Line 6562 sed 's/^/| /' conftest.$ac_ext >&5 |
| ac_cv_lib_socket_socket=no | ac_cv_lib_socket_socket=no |
| fi | fi |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | rm -f conftest.err conftest.$ac_objext \ |
| conftest$ac_exeext conftest.$ac_ext | |
| LIBS=$ac_check_lib_save_LIBS | LIBS=$ac_check_lib_save_LIBS |
| fi | fi |
| echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 | echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 |
| Line 5721 else | Line 6593 else |
| ac_check_lib_save_LIBS=$LIBS | ac_check_lib_save_LIBS=$LIBS |
| LIBS="-lwsock32 $LIBS" | LIBS="-lwsock32 $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 5745 socket (); | Line 6616 socket (); |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
| if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| (eval $ac_link) 2>&5 | (eval $ac_link) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest$ac_exeext' | { ac_try='test -z "$ac_c_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest$ac_exeext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| Line 5762 sed 's/^/| /' conftest.$ac_ext >&5 | Line 6643 sed 's/^/| /' conftest.$ac_ext >&5 |
| ac_cv_lib_wsock32_socket=no | ac_cv_lib_wsock32_socket=no |
| fi | fi |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | rm -f conftest.err conftest.$ac_objext \ |
| conftest$ac_exeext conftest.$ac_ext | |
| LIBS=$ac_check_lib_save_LIBS | LIBS=$ac_check_lib_save_LIBS |
| fi | fi |
| echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_socket" >&5 | echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_socket" >&5 |
| Line 5788 else | Line 6670 else |
| ac_check_lib_save_LIBS=$LIBS | ac_check_lib_save_LIBS=$LIBS |
| LIBS="-lnsl $LIBS" | LIBS="-lnsl $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 5806 main (); | Line 6687 main (); |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
| if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| (eval $ac_link) 2>&5 | (eval $ac_link) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest$ac_exeext' | { ac_try='test -z "$ac_c_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest$ac_exeext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| Line 5823 sed 's/^/| /' conftest.$ac_ext >&5 | Line 6714 sed 's/^/| /' conftest.$ac_ext >&5 |
| ac_cv_lib_nsl_main=no | ac_cv_lib_nsl_main=no |
| fi | fi |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | rm -f conftest.err conftest.$ac_objext \ |
| conftest$ac_exeext conftest.$ac_ext | |
| LIBS=$ac_check_lib_save_LIBS | LIBS=$ac_check_lib_save_LIBS |
| fi | fi |
| echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5 | echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5 |
| Line 5849 else | Line 6741 else |
| ac_check_lib_save_LIBS=$LIBS | ac_check_lib_save_LIBS=$LIBS |
| LIBS="-lm $LIBS" | LIBS="-lm $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 5873 sin (); | Line 6764 sin (); |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
| if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| (eval $ac_link) 2>&5 | (eval $ac_link) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest$ac_exeext' | { ac_try='test -z "$ac_c_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest$ac_exeext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| Line 5890 sed 's/^/| /' conftest.$ac_ext >&5 | Line 6791 sed 's/^/| /' conftest.$ac_ext >&5 |
| ac_cv_lib_m_sin=no | ac_cv_lib_m_sin=no |
| fi | fi |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | rm -f conftest.err conftest.$ac_objext \ |
| conftest$ac_exeext conftest.$ac_ext | |
| LIBS=$ac_check_lib_save_LIBS | LIBS=$ac_check_lib_save_LIBS |
| fi | fi |
| echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5 | echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5 |
| Line 5914 else | Line 6816 else |
| ac_check_lib_save_LIBS=$LIBS | ac_check_lib_save_LIBS=$LIBS |
| LIBS="-lcrypt $LIBS" | LIBS="-lcrypt $LIBS" |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 5938 crypt (); | Line 6839 crypt (); |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
| if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| (eval $ac_link) 2>&5 | (eval $ac_link) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest$ac_exeext' | { ac_try='test -z "$ac_c_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest$ac_exeext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| Line 5955 sed 's/^/| /' conftest.$ac_ext >&5 | Line 6866 sed 's/^/| /' conftest.$ac_ext >&5 |
| ac_cv_lib_crypt_crypt=no | ac_cv_lib_crypt_crypt=no |
| fi | fi |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | rm -f conftest.err conftest.$ac_objext \ |
| conftest$ac_exeext conftest.$ac_ext | |
| LIBS=$ac_check_lib_save_LIBS | LIBS=$ac_check_lib_save_LIBS |
| fi | fi |
| echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5 | echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5 |
| Line 5983 fi | Line 6895 fi |
| for ac_func in flock \ | |
| for ac_func in trunc \ | |
| round \ | |
| sign \ | |
| flock \ | |
| _locking \ | _locking \ |
| fcntl \ | fcntl \ |
| lockf \ | lockf \ |
| ftruncate \ | ftruncate \ |
| fchmod \ | |
| getrusage \ | getrusage \ |
| gettimeofday \ | gettimeofday \ |
| crypt \ | crypt \ |
| sigsetjmp siglongjmp | sigsetjmp \ |
| siglongjmp \ | |
| unsetenv | |
| do | do |
| as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| Line 6005 if eval "test \"\${$as_ac_var+set}\" = s | Line 6916 if eval "test \"\${$as_ac_var+set}\" = s |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| else | else |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| cat >>conftest.$ac_ext <<_ACEOF | cat >>conftest.$ac_ext <<_ACEOF |
| /* end confdefs.h. */ | /* end confdefs.h. */ |
| /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
| For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
| #define $ac_func innocuous_$ac_func | |
| /* System header to define __stub macros and hopefully few prototypes, | /* System header to define __stub macros and hopefully few prototypes, |
| which can conflict with char $ac_func (); below. | which can conflict with char $ac_func (); below. |
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| <limits.h> exists even on freestanding compilers. */ | <limits.h> exists even on freestanding compilers. */ |
| #ifdef __STDC__ | #ifdef __STDC__ |
| # include <limits.h> | # include <limits.h> |
| #else | #else |
| # include <assert.h> | # include <assert.h> |
| #endif | #endif |
| #undef $ac_func | |
| /* Override any gcc2 internal prototype to avoid an error. */ | /* Override any gcc2 internal prototype to avoid an error. */ |
| #ifdef __cplusplus | #ifdef __cplusplus |
| extern "C" | extern "C" |
| Line 6050 return f != $ac_func; | Line 6968 return f != $ac_func; |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
| if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| (eval $ac_link) 2>&5 | (eval $ac_link) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest$ac_exeext' | { ac_try='test -z "$ac_c_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest$ac_exeext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| Line 6067 sed 's/^/| /' conftest.$ac_ext >&5 | Line 6995 sed 's/^/| /' conftest.$ac_ext >&5 |
| eval "$as_ac_var=no" | eval "$as_ac_var=no" |
| fi | fi |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | rm -f conftest.err conftest.$ac_objext \ |
| conftest$ac_exeext conftest.$ac_ext | |
| fi | fi |
| echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| Line 6081 done | Line 7010 done |
| pa_func=sigsetjmp | |
| for ac_func in qsort | echo "$as_me:$LINENO: checking for (maybe built-in) function $pa_func" >&5 |
| do | echo $ECHO_N "checking for (maybe built-in) function $pa_func... $ECHO_C" >&6 |
| as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | cat >conftest.$ac_ext <<_ACEOF |
| echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
| echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | |
| if eval "test \"\${$as_ac_var+set}\" = set"; then | |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| else | |
| cat >conftest.$ac_ext <<_ACEOF | |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| cat >>conftest.$ac_ext <<_ACEOF | cat >>conftest.$ac_ext <<_ACEOF |
| /* end confdefs.h. */ | /* end confdefs.h. */ |
| /* System header to define __stub macros and hopefully few prototypes, | |
| which can conflict with char $ac_func (); below. | #ifdef HAVE_SETJMP_H |
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | # include <setjmp.h> |
| <limits.h> exists even on freestanding compilers. */ | |
| #ifdef __STDC__ | |
| # include <limits.h> | |
| #else | |
| # include <assert.h> | |
| #endif | |
| /* Override any gcc2 internal prototype to avoid an error. */ | |
| #ifdef __cplusplus | |
| extern "C" | |
| { | |
| #endif | |
| /* We use char because int might match the return type of a gcc2 | |
| builtin and then its argument prototype would still apply. */ | |
| char $ac_func (); | |
| /* The GNU C library defines this for functions which it implements | |
| to always fail with ENOSYS. Some functions are actually named | |
| something starting with __ and the normal name is an alias. */ | |
| #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
| choke me | |
| #else | |
| char (*f) () = $ac_func; | |
| #endif | |
| #ifdef __cplusplus | |
| } | |
| #endif | #endif |
| int | int |
| main () | main () |
| { | { |
| return f != $ac_func; | |
| $pa_func(0,0); | |
| ; | ; |
| return 0; | return 0; |
| } | } |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext |
| if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| (eval $ac_link) 2>&5 | (eval $ac_compile) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest$ac_exeext' | { ac_try='test -z "$ac_c_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest.$ac_objext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
| eval "$as_ac_var=yes" | echo "$as_me:$LINENO: result: yes" >&5 |
| echo "${ECHO_T}yes" >&6 | |
| cat >>confdefs.h <<_ACEOF | |
| #define `echo "HAVE_$pa_func" | $as_tr_cpp` 1 | |
| _ACEOF | |
| else | else |
| echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
| sed 's/^/| /' conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
| eval "$as_ac_var=no" | echo "$as_me:$LINENO: result: no" >&5 |
| fi | echo "${ECHO_T}no" >&6 |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
| fi | fi |
| echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | |
| if test `eval echo '${'$as_ac_var'}'` = yes; then | |
| cat >>confdefs.h <<_ACEOF | |
| #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ac_ext=cc |
| ac_cpp='$CXXCPP $CPPFLAGS' | |
| ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |
| for pa_func in trunc \ | |
| round \ | |
| sign | |
| do | |
| echo "$as_me:$LINENO: checking for (maybe built-in) math function $pa_func" >&5 | |
| echo $ECHO_N "checking for (maybe built-in) math function $pa_func... $ECHO_C" >&6 | |
| cat >conftest.$ac_ext <<_ACEOF | |
| /* confdefs.h. */ | |
| _ACEOF | |
| cat confdefs.h >>conftest.$ac_ext | |
| cat >>conftest.$ac_ext <<_ACEOF | |
| /* end confdefs.h. */ | |
| #ifdef HAVE_MATH_H | |
| # include <math.h> | |
| #endif | |
| int | |
| main () | |
| { | |
| double result=$pa_func(1.6); | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| rm -f conftest.$ac_objext | |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
| (eval $ac_compile) 2>conftest.er1 | |
| ac_status=$? | |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); } && | |
| { ac_try='test -z "$ac_cxx_werror_flag" | |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest.$ac_objext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; }; then | |
| echo "$as_me:$LINENO: result: yes" >&5 | |
| echo "${ECHO_T}yes" >&6 | |
| cat >>confdefs.h <<_ACEOF | |
| #define `echo "HAVE_$pa_func" | $as_tr_cpp` 1 | |
| _ACEOF | _ACEOF |
| else | else |
| { { echo "$as_me:$LINENO: error: No qsort library function." >&5 | echo "$as_me: failed program was:" >&5 |
| echo "$as_me: error: No qsort library function." >&2;} | sed 's/^/| /' conftest.$ac_ext >&5 |
| { (exit 1); exit 1; }; } | |
| echo "$as_me:$LINENO: result: no" >&5 | |
| echo "${ECHO_T}no" >&6 | |
| fi | fi |
| rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | |
| done | done |
| ac_ext=c | |
| ac_cpp='$CPP $CPPFLAGS' | |
| ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| for ac_func in select | for ac_func in qsort |
| do | do |
| as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| echo "$as_me:$LINENO: checking for $ac_func" >&5 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| Line 6179 if eval "test \"\${$as_ac_var+set}\" = s | Line 7174 if eval "test \"\${$as_ac_var+set}\" = s |
| echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| else | else |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| cat >>conftest.$ac_ext <<_ACEOF | cat >>conftest.$ac_ext <<_ACEOF |
| /* end confdefs.h. */ | /* end confdefs.h. */ |
| /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
| For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
| #define $ac_func innocuous_$ac_func | |
| /* System header to define __stub macros and hopefully few prototypes, | /* System header to define __stub macros and hopefully few prototypes, |
| which can conflict with char $ac_func (); below. | which can conflict with char $ac_func (); below. |
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| <limits.h> exists even on freestanding compilers. */ | <limits.h> exists even on freestanding compilers. */ |
| #ifdef __STDC__ | #ifdef __STDC__ |
| # include <limits.h> | # include <limits.h> |
| #else | #else |
| # include <assert.h> | # include <assert.h> |
| #endif | #endif |
| #undef $ac_func | |
| /* Override any gcc2 internal prototype to avoid an error. */ | /* Override any gcc2 internal prototype to avoid an error. */ |
| #ifdef __cplusplus | #ifdef __cplusplus |
| extern "C" | extern "C" |
| Line 6224 return f != $ac_func; | Line 7226 return f != $ac_func; |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext conftest$ac_exeext | rm -f conftest.$ac_objext conftest$ac_exeext |
| if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| (eval $ac_link) 2>&5 | (eval $ac_link) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest$ac_exeext' | { ac_try='test -z "$ac_c_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest$ac_exeext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| Line 6241 sed 's/^/| /' conftest.$ac_ext >&5 | Line 7253 sed 's/^/| /' conftest.$ac_ext >&5 |
| eval "$as_ac_var=no" | eval "$as_ac_var=no" |
| fi | fi |
| rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | rm -f conftest.err conftest.$ac_objext \ |
| conftest$ac_exeext conftest.$ac_ext | |
| fi | fi |
| echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| Line 6251 if test `eval echo '${'$as_ac_var'}'` = | Line 7264 if test `eval echo '${'$as_ac_var'}'` = |
| _ACEOF | _ACEOF |
| else | else |
| { { echo "$as_me:$LINENO: error: No select library function." >&5 | { { echo "$as_me:$LINENO: error: No qsort library function." >&5 |
| echo "$as_me: error: No select library function." >&2;} | echo "$as_me: error: No qsort library function." >&2;} |
| { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| fi | fi |
| done | done |
| Line 6262 done | Line 7275 done |
| echo "$as_me:$LINENO: checking for timezone variable" >&5 | echo "$as_me:$LINENO: checking for timezone variable" >&5 |
| echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6 | echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6 |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 6281 time_t test=timezone; | Line 7293 time_t test=timezone; |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| (eval $ac_compile) 2>&5 | (eval $ac_compile) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest.$ac_objext' | { ac_try='test -z "$ac_c_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest.$ac_objext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| Line 6304 sed 's/^/| /' conftest.$ac_ext >&5 | Line 7326 sed 's/^/| /' conftest.$ac_ext >&5 |
| echo "$as_me:$LINENO: result: no" >&5 | echo "$as_me:$LINENO: result: no" >&5 |
| echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
| fi | fi |
| rm -f conftest.$ac_objext conftest.$ac_ext | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| echo "$as_me:$LINENO: checking for daylight variable" >&5 | echo "$as_me:$LINENO: checking for daylight variable" >&5 |
| echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6 | echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6 |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 6328 int test=daylight; | Line 7349 int test=daylight; |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| (eval $ac_compile) 2>&5 | (eval $ac_compile) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest.$ac_objext' | { ac_try='test -z "$ac_c_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest.$ac_objext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| Line 6351 sed 's/^/| /' conftest.$ac_ext >&5 | Line 7382 sed 's/^/| /' conftest.$ac_ext >&5 |
| echo "$as_me:$LINENO: result: no" >&5 | echo "$as_me:$LINENO: result: no" >&5 |
| echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
| fi | fi |
| rm -f conftest.$ac_objext conftest.$ac_ext | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5 | echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5 |
| echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6 | echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6 |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 6375 tm.tm_gmtoff=0; | Line 7405 tm.tm_gmtoff=0; |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| (eval $ac_compile) 2>&5 | (eval $ac_compile) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest.$ac_objext' | { ac_try='test -z "$ac_c_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; } && | |
| { ac_try='test -s conftest.$ac_objext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| Line 6398 sed 's/^/| /' conftest.$ac_ext >&5 | Line 7438 sed 's/^/| /' conftest.$ac_ext >&5 |
| echo "$as_me:$LINENO: result: no" >&5 | echo "$as_me:$LINENO: result: no" >&5 |
| echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
| fi | fi |
| rm -f conftest.$ac_objext conftest.$ac_ext | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| echo "$as_me:$LINENO: checking for tm_tzadj in struct tm" >&5 | echo "$as_me:$LINENO: checking for tm_tzadj in struct tm" >&5 |
| echo $ECHO_N "checking for tm_tzadj in struct tm... $ECHO_C" >&6 | echo $ECHO_N "checking for tm_tzadj in struct tm... $ECHO_C" >&6 |
| cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | /* confdefs.h. */ |
| _ACEOF | _ACEOF |
| cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| Line 6422 tm.tm_tzadj=0; | Line 7461 tm.tm_tzadj=0; |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| (eval $ac_compile) 2>&5 | (eval $ac_compile) 2>conftest.er1 |
| ac_status=$? | ac_status=$? |
| grep -v '^ *+' conftest.er1 >conftest.err | |
| rm -f conftest.er1 | |
| cat conftest.err >&5 | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } && | (exit $ac_status); } && |
| { ac_try='test -s conftest.$ac_objext' | { ac_try='test -z "$ac_c_werror_flag" |
| || test ! -s conftest.err' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); }; }; then | (exit $ac_status); }; } && |
| cat >>confdefs.h <<\_ACEOF | { ac_try='test -s conftest.$ac_objext' |
| #define HAVE_TM_TZADJ 1 | |
| _ACEOF | |
| echo "$as_me:$LINENO: result: yes" >&5 | |
| echo "${ECHO_T}yes" >&6 | |
| else | |
| echo "$as_me: failed program was:" >&5 | |
| sed 's/^/| /' conftest.$ac_ext >&5 | |
| echo "$as_me:$LINENO: result: no" >&5 | |
| echo "${ECHO_T}no" >&6 | |
| fi | |
| rm -f conftest.$ac_objext conftest.$ac_ext | |
| echo "$as_me:$LINENO: checking whether compiler supports pragma pack" >&5 | |
| echo $ECHO_N "checking whether compiler supports pragma pack... $ECHO_C" >&6 | |
| cat >conftest.$ac_ext <<_ACEOF | |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | |
| _ACEOF | |
| cat confdefs.h >>conftest.$ac_ext | |
| cat >>conftest.$ac_ext <<_ACEOF | |
| /* end confdefs.h. */ | |
| #pragma pack(1) | |
| struct _1_byte { | |
| char c; | |
| }; | |
| #pragma pack() | |
| int | |
| main () | |
| { | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | |
| rm -f conftest.$ac_objext | |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
| (eval $ac_compile) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); } && | |
| { ac_try='test -s conftest.$ac_objext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| (eval $ac_try) 2>&5 | (eval $ac_try) 2>&5 |
| ac_status=$? | ac_status=$? |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
| cat >>confdefs.h <<\_ACEOF | |
| echo "$as_me:$LINENO: result: yes" >&5 | #define HAVE_TM_TZADJ 1 |
| echo "${ECHO_T}yes" >&6 | |
| cat >>confdefs.h <<\_ACEOF | |
| #define HAVE_PRAGMA_PACK | |
| _ACEOF | |
| else | |
| echo "$as_me: failed program was:" >&5 | |
| sed 's/^/| /' conftest.$ac_ext >&5 | |
| echo "$as_me:$LINENO: result: no" >&5 | |
| echo "${ECHO_T}no" >&6 | |
| fi | |
| rm -f conftest.$ac_objext conftest.$ac_ext | |
| echo "$as_me:$LINENO: checking for set_new_handler" >&5 | |
| echo $ECHO_N "checking for set_new_handler... $ECHO_C" >&6 | |
| cat >conftest.$ac_ext <<_ACEOF | |
| #line $LINENO "configure" | |
| /* confdefs.h. */ | |
| _ACEOF | |
| cat confdefs.h >>conftest.$ac_ext | |
| cat >>conftest.$ac_ext <<_ACEOF | |
| /* end confdefs.h. */ | |
| #ifdef HAVE_NEW | |
| #include <new> | |
| #endif | |
| void failed_new() {} | |
| int | |
| main () | |
| { | |
| std::set_new_handler(failed_new); | |
| ; | |
| return 0; | |
| } | |
| _ACEOF | _ACEOF |
| rm -f conftest.$ac_objext | |
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
| (eval $ac_compile) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); } && | |
| { ac_try='test -s conftest.$ac_objext' | |
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
| (eval $ac_try) 2>&5 | |
| ac_status=$? | |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
| (exit $ac_status); }; }; then | |
| echo "$as_me:$LINENO: result: yes" >&5 | echo "$as_me:$LINENO: result: yes" >&5 |
| echo "${ECHO_T}yes" >&6 | echo "${ECHO_T}yes" >&6 |
| cat >>confdefs.h <<\_ACEOF | |
| #define HAVE_SET_NEW_HANDLER | |
| _ACEOF | |
| else | else |
| echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
| sed 's/^/| /' conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
| echo "$as_me:$LINENO: result: no" >&5 | echo "$as_me:$LINENO: result: no" >&5 |
| echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6 |
| fi | fi |
| rm -f conftest.$ac_objext conftest.$ac_ext | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| APACHE_LIBS="$LIBS $LIBADD_DL" | |
| # expand apostrophed | |
| e_prefix=$prefix | |
| test "x$e_prefix" = xNONE && e_prefix=$ac_default_prefix | |
| e_sysconfdir=$sysconfdir | |
| test "$e_sysconfdir" = "\${prefix}/etc" && e_sysconfdir="${e_prefix}/etc" | |
| charsetsdir=$e_sysconfdir/parser3.charsets | |
| # expand apostrophed | |
| e_libdir=$libdir | |
| if test "$e_libdir" = "\${exec_prefix}/lib"; then | |
| # Let make expand exec_prefix. | |
| e_exec_prefix=$exec_prefix | |
| test "x$e_exec_prefix" = xNONE && e_exec_prefix=$e_prefix | |
| # expand apostrophed | |
| test "$e_libdir" = "\${exec_prefix}/lib" && e_libdir="${e_exec_prefix}/lib" | |
| fi | |
| sqldriversdir=$e_libdir | |
| Line 6623 sqldriversdir=$e_libdir | Line 7530 sqldriversdir=$e_libdir |
| ac_config_headers="$ac_config_headers src/include/pa_config_auto.h" | ac_config_headers="$ac_config_headers src/include/pa_config_auto.h" |
| 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" | ac_config_files="$ac_config_files Makefile src/Makefile src/types/Makefile src/classes/Makefile src/include/Makefile src/main/Makefile src/sql/Makefile src/lib/Makefile src/lib/gd/Makefile src/lib/smtp/Makefile src/lib/gc/Makefile src/lib/gc/include/Makefile src/lib/pcre/Makefile src/lib/cord/Makefile src/lib/cord/include/Makefile src/lib/cord/include/private/Makefile src/lib/ltdl/Makefile src/lib/md5/Makefile src/lib/sdbm/Makefile src/lib/sdbm/apr-include/Makefile src/targets/Makefile src/targets/cgi/Makefile src/targets/apache13core/Makefile src/targets/apache13/Makefile src/targets/apache13/p3runConfigure src/targets/isapi/Makefile etc/Makefile etc/parser3.charsets/Makefile bin/Makefile bin/auto.p.dist" |
| cat >confcache <<\_ACEOF | cat >confcache <<\_ACEOF |
| # This file is a shell script that caches the results of configure | # This file is a shell script that caches the results of configure |
| # tests run on this system so they can be shared between configure | # tests run on this system so they can be shared between configure |
| Line 6652 _ACEOF | Line 7559 _ACEOF |
| # `set' does not quote correctly, so add quotes (double-quote | # `set' does not quote correctly, so add quotes (double-quote |
| # substitution turns \\\\ into \\, and sed turns \\ into \). | # substitution turns \\\\ into \\, and sed turns \\ into \). |
| sed -n \ | sed -n \ |
| "s/'/'\\\\''/g; | "s/'/'\\\\''/g; |
| s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| ;; | ;; |
| *) | *) |
| # `set' quotes correctly as required by POSIX, so do not add quotes. | # `set' quotes correctly as required by POSIX, so do not add quotes. |
| sed -n \ | sed -n \ |
| "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| ;; | ;; |
| esac; | esac; |
| } | | } | |
| Line 6688 test "x$exec_prefix" = xNONE && exec_pre | Line 7595 test "x$exec_prefix" = xNONE && exec_pre |
| # trailing colons and then remove the whole line if VPATH becomes empty | # trailing colons and then remove the whole line if VPATH becomes empty |
| # (actually we leave an empty line to preserve line numbers). | # (actually we leave an empty line to preserve line numbers). |
| if test "x$srcdir" = x.; then | if test "x$srcdir" = x.; then |
| ac_vpsub='/^[ ]*VPATH[ ]*=/{ | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
| s/:*\$(srcdir):*/:/; | s/:*\$(srcdir):*/:/; |
| s/:*\${srcdir}:*/:/; | s/:*\${srcdir}:*/:/; |
| s/:*@srcdir@:*/:/; | s/:*@srcdir@:*/:/; |
| s/^\([^=]*=[ ]*\):*/\1/; | s/^\([^=]*=[ ]*\):*/\1/; |
| s/:*$//; | s/:*$//; |
| s/^[^=]*=[ ]*$//; | s/^[^=]*=[ ]*$//; |
| }' | }' |
| fi | fi |
| Line 6705 ac_ltlibobjs= | Line 7612 ac_ltlibobjs= |
| for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
| # 1. Remove the extension, and $U if already installed. | # 1. Remove the extension, and $U if already installed. |
| ac_i=`echo "$ac_i" | | ac_i=`echo "$ac_i" | |
| sed 's/\$U\././;s/\.o$//;s/\.obj$//'` | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
| # 2. Add them. | # 2. Add them. |
| ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" | ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
| ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' | ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
| Line 6722 echo "$as_me: error: conditional \"AMDEP | Line 7629 echo "$as_me: error: conditional \"AMDEP |
| Usually this means the macro was only invoked conditionally." >&2;} | Usually this means the macro was only invoked conditionally." >&2;} |
| { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| fi | fi |
| if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then | |
| { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. | |
| Usually this means the macro was only invoked conditionally." >&5 | |
| echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. | |
| Usually this means the macro was only invoked conditionally." >&2;} | |
| { (exit 1); exit 1; }; } | |
| fi | |
| if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
| { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. | { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. |
| Usually this means the macro was only invoked conditionally." >&5 | Usually this means the macro was only invoked conditionally." >&5 |
| Line 6736 echo "$as_me: error: conditional \"am__f | Line 7636 echo "$as_me: error: conditional \"am__f |
| Usually this means the macro was only invoked conditionally." >&2;} | Usually this means the macro was only invoked conditionally." >&2;} |
| { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| fi | fi |
| if test -z "${DO_NOT_LINK_LIBSTDCPP_TRUE}" && test -z "${DO_NOT_LINK_LIBSTDCPP_FALSE}"; then | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
| { { echo "$as_me:$LINENO: error: conditional \"DO_NOT_LINK_LIBSTDCPP\" was never defined. | { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. |
| Usually this means the macro was only invoked conditionally." >&5 | Usually this means the macro was only invoked conditionally." >&5 |
| echo "$as_me: error: conditional \"DO_NOT_LINK_LIBSTDCPP\" was never defined. | echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. |
| Usually this means the macro was only invoked conditionally." >&2;} | Usually this means the macro was only invoked conditionally." >&2;} |
| { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| fi | fi |
| Line 6784 if test -n "${ZSH_VERSION+set}" && (emul | Line 7684 if test -n "${ZSH_VERSION+set}" && (emul |
| elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
| set -o posix | set -o posix |
| fi | fi |
| DUALCASE=1; export DUALCASE # for MKS sh | |
| # Support unset when possible. | # Support unset when possible. |
| if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| as_unset=unset | as_unset=unset |
| else | else |
| as_unset=false | as_unset=false |
| Line 6805 for as_var in \ | Line 7706 for as_var in \ |
| LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
| LC_TELEPHONE LC_TIME | LC_TELEPHONE LC_TIME |
| do | do |
| if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
| eval $as_var=C; export $as_var | eval $as_var=C; export $as_var |
| else | else |
| $as_unset $as_var | $as_unset $as_var |
| Line 6984 rm -f conf$$ conf$$.exe conf$$.file | Line 7885 rm -f conf$$ conf$$.exe conf$$.file |
| if mkdir -p . 2>/dev/null; then | if mkdir -p . 2>/dev/null; then |
| as_mkdir_p=: | as_mkdir_p=: |
| else | else |
| test -d ./-p && rmdir ./-p | |
| as_mkdir_p=false | as_mkdir_p=false |
| fi | fi |
| as_executable_p="test -f" | as_executable_p="test -f" |
| # Sed expression to map a string onto a valid CPP name. | # Sed expression to map a string onto a valid CPP name. |
| as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| # Sed expression to map a string onto a valid variable name. | # Sed expression to map a string onto a valid variable name. |
| as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| # IFS | # IFS |
| Line 7020 _ASBOX | Line 7922 _ASBOX |
| cat >&5 <<_CSEOF | cat >&5 <<_CSEOF |
| This file was extended by $as_me, which was | This file was extended by $as_me, which was |
| generated by GNU Autoconf 2.57. Invocation command line was | generated by GNU Autoconf 2.59. Invocation command line was |
| CONFIG_FILES = $CONFIG_FILES | CONFIG_FILES = $CONFIG_FILES |
| CONFIG_HEADERS = $CONFIG_HEADERS | CONFIG_HEADERS = $CONFIG_HEADERS |
| Line 7064 Usage: $0 [OPTIONS] [FILE]... | Line 7966 Usage: $0 [OPTIONS] [FILE]... |
| -d, --debug don't remove temporary files | -d, --debug don't remove temporary files |
| --recheck update $as_me by reconfiguring in the same conditions | --recheck update $as_me by reconfiguring in the same conditions |
| --file=FILE[:TEMPLATE] | --file=FILE[:TEMPLATE] |
| instantiate the configuration file FILE | instantiate the configuration file FILE |
| --header=FILE[:TEMPLATE] | --header=FILE[:TEMPLATE] |
| instantiate the configuration header FILE | instantiate the configuration header FILE |
| Configuration files: | Configuration files: |
| $config_files | $config_files |
| Line 7083 _ACEOF | Line 7985 _ACEOF |
| cat >>$CONFIG_STATUS <<_ACEOF | cat >>$CONFIG_STATUS <<_ACEOF |
| ac_cs_version="\\ | ac_cs_version="\\ |
| config.status | config.status |
| configured by $0, generated by GNU Autoconf 2.57, | configured by $0, generated by GNU Autoconf 2.59, |
| with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
| Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | Copyright (C) 2003 Free Software Foundation, Inc. |
| Free Software Foundation, Inc. | |
| This config.status script is free software; the Free Software Foundation | This config.status script is free software; the Free Software Foundation |
| gives unlimited permission to copy, distribute and modify it." | gives unlimited permission to copy, distribute and modify it." |
| srcdir=$srcdir | srcdir=$srcdir |
| Line 7197 do | Line 8098 do |
| "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
| "src/types/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/types/Makefile" ;; | "src/types/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/types/Makefile" ;; |
| "src/classes/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/classes/Makefile" ;; | "src/classes/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/classes/Makefile" ;; |
| "src/classes/gd/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/classes/gd/Makefile" ;; | |
| "src/classes/smtp/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/classes/smtp/Makefile" ;; | |
| "src/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;; | "src/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;; |
| "src/main/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/main/Makefile" ;; | "src/main/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/main/Makefile" ;; |
| "src/sql/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/sql/Makefile" ;; | "src/sql/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/sql/Makefile" ;; |
| "src/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;; | "src/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;; |
| "src/lib/ltdl/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/ltdl/Makefile" ;; | "src/lib/gd/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gd/Makefile" ;; |
| "src/lib/smtp/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/smtp/Makefile" ;; | |
| "src/lib/gc/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gc/Makefile" ;; | |
| "src/lib/gc/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/gc/include/Makefile" ;; | |
| "src/lib/pcre/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/pcre/Makefile" ;; | "src/lib/pcre/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/pcre/Makefile" ;; |
| "src/lib/cord/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/cord/Makefile" ;; | |
| "src/lib/cord/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/Makefile" ;; | |
| "src/lib/cord/include/private/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/private/Makefile" ;; | |
| "src/lib/ltdl/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/ltdl/Makefile" ;; | |
| "src/lib/md5/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/md5/Makefile" ;; | "src/lib/md5/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/md5/Makefile" ;; |
| "src/lib/patches/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/patches/Makefile" ;; | "src/lib/sdbm/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/Makefile" ;; |
| "src/lib/sdbm/apr-include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/apr-include/Makefile" ;; | |
| "src/targets/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/Makefile" ;; | "src/targets/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/Makefile" ;; |
| "src/targets/cgi/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/cgi/Makefile" ;; | "src/targets/cgi/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/cgi/Makefile" ;; |
| "src/targets/apache13core/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/apache13core/Makefile" ;; | |
| "src/targets/apache13/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/apache13/Makefile" ;; | "src/targets/apache13/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/apache13/Makefile" ;; |
| "src/targets/apache13/hook/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/apache13/hook/Makefile" ;; | |
| "src/targets/apache13/p3runConfigure" ) CONFIG_FILES="$CONFIG_FILES src/targets/apache13/p3runConfigure" ;; | "src/targets/apache13/p3runConfigure" ) CONFIG_FILES="$CONFIG_FILES src/targets/apache13/p3runConfigure" ;; |
| "src/targets/isapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/isapi/Makefile" ;; | "src/targets/isapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/targets/isapi/Makefile" ;; |
| "etc/Makefile" ) CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;; | "etc/Makefile" ) CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;; |
| Line 7315 s,@AUTOCONF@,$AUTOCONF,;t t | Line 8222 s,@AUTOCONF@,$AUTOCONF,;t t |
| s,@AUTOMAKE@,$AUTOMAKE,;t t | s,@AUTOMAKE@,$AUTOMAKE,;t t |
| s,@AUTOHEADER@,$AUTOHEADER,;t t | s,@AUTOHEADER@,$AUTOHEADER,;t t |
| s,@MAKEINFO@,$MAKEINFO,;t t | s,@MAKEINFO@,$MAKEINFO,;t t |
| s,@AMTAR@,$AMTAR,;t t | |
| s,@install_sh@,$install_sh,;t t | s,@install_sh@,$install_sh,;t t |
| s,@STRIP@,$STRIP,;t t | s,@STRIP@,$STRIP,;t t |
| s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t | s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t |
| s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t | s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t |
| s,@mkdir_p@,$mkdir_p,;t t | |
| s,@AWK@,$AWK,;t t | s,@AWK@,$AWK,;t t |
| s,@SET_MAKE@,$SET_MAKE,;t t | s,@SET_MAKE@,$SET_MAKE,;t t |
| s,@am__leading_dot@,$am__leading_dot,;t t | |
| s,@AMTAR@,$AMTAR,;t t | |
| s,@am__tar@,$am__tar,;t t | |
| s,@am__untar@,$am__untar,;t t | |
| s,@P3S@,$P3S,;t t | s,@P3S@,$P3S,;t t |
| s,@build@,$build,;t t | s,@build@,$build,;t t |
| s,@build_cpu@,$build_cpu,;t t | s,@build_cpu@,$build_cpu,;t t |
| Line 7334 s,@host_os@,$host_os,;t t | Line 8245 s,@host_os@,$host_os,;t t |
| s,@RANLIB@,$RANLIB,;t t | s,@RANLIB@,$RANLIB,;t t |
| s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
| s,@YACC@,$YACC,;t t | s,@YACC@,$YACC,;t t |
| s,@CC@,$CC,;t t | s,@CXX@,$CXX,;t t |
| s,@CFLAGS@,$CFLAGS,;t t | s,@CXXFLAGS@,$CXXFLAGS,;t t |
| s,@LDFLAGS@,$LDFLAGS,;t t | s,@LDFLAGS@,$LDFLAGS,;t t |
| s,@CPPFLAGS@,$CPPFLAGS,;t t | s,@CPPFLAGS@,$CPPFLAGS,;t t |
| s,@ac_ct_CC@,$ac_ct_CC,;t t | s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
| s,@EXEEXT@,$EXEEXT,;t t | s,@EXEEXT@,$EXEEXT,;t t |
| s,@OBJEXT@,$OBJEXT,;t t | s,@OBJEXT@,$OBJEXT,;t t |
| s,@DEPDIR@,$DEPDIR,;t t | s,@DEPDIR@,$DEPDIR,;t t |
| Line 7347 s,@am__quote@,$am__quote,;t t | Line 8258 s,@am__quote@,$am__quote,;t t |
| s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t | s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t |
| s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t | s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t |
| s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t | s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t |
| s,@CCDEPMODE@,$CCDEPMODE,;t t | |
| s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t | |
| s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t | |
| s,@CXX@,$CXX,;t t | |
| s,@CXXFLAGS@,$CXXFLAGS,;t t | |
| s,@ac_ct_CXX@,$ac_ct_CXX,;t t | |
| s,@CXXDEPMODE@,$CXXDEPMODE,;t t | s,@CXXDEPMODE@,$CXXDEPMODE,;t t |
| s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t | s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t |
| s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t | s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t |
| s,@CC@,$CC,;t t | |
| s,@CFLAGS@,$CFLAGS,;t t | |
| s,@ac_ct_CC@,$ac_ct_CC,;t t | |
| s,@CCDEPMODE@,$CCDEPMODE,;t t | |
| s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t | |
| s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t | |
| s,@commentcharset_windows1251@,$commentcharset_windows1251,;t t | s,@commentcharset_windows1251@,$commentcharset_windows1251,;t t |
| s,@commentcharset_windows1250@,$commentcharset_windows1250,;t t | s,@commentcharset_windows1250@,$commentcharset_windows1250,;t t |
| s,@commentcharset_windows1257@,$commentcharset_windows1257,;t t | s,@commentcharset_windows1257@,$commentcharset_windows1257,;t t |
| Line 7364 s,@dll_extension@,$dll_extension,;t t | Line 8275 s,@dll_extension@,$dll_extension,;t t |
| s,@mysql_client@,$mysql_client,;t t | s,@mysql_client@,$mysql_client,;t t |
| s,@pgsql_client@,$pgsql_client,;t t | s,@pgsql_client@,$pgsql_client,;t t |
| s,@oracle_client@,$oracle_client,;t t | s,@oracle_client@,$oracle_client,;t t |
| s,@DO_NOT_LINK_LIBSTDCPP_TRUE@,$DO_NOT_LINK_LIBSTDCPP_TRUE,;t t | s,@sqlite_client@,$sqlite_client,;t t |
| s,@DO_NOT_LINK_LIBSTDCPP_FALSE@,$DO_NOT_LINK_LIBSTDCPP_FALSE,;t t | s,@CPP_LIBS@,$CPP_LIBS,;t t |
| s,@GC_LIBS@,$GC_LIBS,;t t | |
| s,@PCRE_INCLUDES@,$PCRE_INCLUDES,;t t | |
| s,@PCRE_LIBS@,$PCRE_LIBS,;t t | |
| s,@XML_INCLUDES@,$XML_INCLUDES,;t t | s,@XML_INCLUDES@,$XML_INCLUDES,;t t |
| s,@XML_LIBS@,$XML_LIBS,;t t | s,@XML_LIBS@,$XML_LIBS,;t t |
| s,@MIME_INCLUDES@,$MIME_INCLUDES,;t t | s,@MIME_INCLUDES@,$MIME_INCLUDES,;t t |
| Line 7377 s,@INCLTDL@,$INCLTDL,;t t | Line 8291 s,@INCLTDL@,$INCLTDL,;t t |
| s,@LIBLTDL@,$LIBLTDL,;t t | s,@LIBLTDL@,$LIBLTDL,;t t |
| s,@subdirs@,$subdirs,;t t | s,@subdirs@,$subdirs,;t t |
| s,@LIBADD_DL@,$LIBADD_DL,;t t | s,@LIBADD_DL@,$LIBADD_DL,;t t |
| s,@CXXCPP@,$CXXCPP,;t t | s,@CPP@,$CPP,;t t |
| s,@EGREP@,$EGREP,;t t | s,@EGREP@,$EGREP,;t t |
| s,@APACHE_LIBS@,$APACHE_LIBS,;t t | |
| s,@charsetsdir@,$charsetsdir,;t t | |
| s,@sqldriversdir@,$sqldriversdir,;t t | |
| s,@LIBOBJS@,$LIBOBJS,;t t | s,@LIBOBJS@,$LIBOBJS,;t t |
| s,@LTLIBOBJS@,$LTLIBOBJS,;t t | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
| CEOF | CEOF |
| Line 7413 _ACEOF | Line 8324 _ACEOF |
| (echo ':t | (echo ':t |
| /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
| if test -z "$ac_sed_cmds"; then | if test -z "$ac_sed_cmds"; then |
| ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
| else | else |
| ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
| fi | fi |
| ac_sed_frag=`expr $ac_sed_frag + 1` | ac_sed_frag=`expr $ac_sed_frag + 1` |
| ac_beg=$ac_end | ac_beg=$ac_end |
| Line 7433 for ac_file in : $CONFIG_FILES; do test | Line 8344 for ac_file in : $CONFIG_FILES; do test |
| # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
| case $ac_file in | case $ac_file in |
| - | *:- | *:-:* ) # input from stdin | - | *:- | *:-:* ) # input from stdin |
| cat >$tmp/stdin | cat >$tmp/stdin |
| ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| * ) ac_file_in=$ac_file.in ;; | * ) ac_file_in=$ac_file.in ;; |
| esac | esac |
| # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
| ac_dir=`(dirname "$ac_file") 2>/dev/null || | ac_dir=`(dirname "$ac_file") 2>/dev/null || |
| $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| X"$ac_file" : 'X\(//\)[^/]' \| \ | X"$ac_file" : 'X\(//\)[^/]' \| \ |
| X"$ac_file" : 'X\(//\)$' \| \ | X"$ac_file" : 'X\(//\)$' \| \ |
| X"$ac_file" : 'X\(/\)' \| \ | X"$ac_file" : 'X\(/\)' \| \ |
| . : '\(.\)' 2>/dev/null || | . : '\(.\)' 2>/dev/null || |
| echo X"$ac_file" | | echo X"$ac_file" | |
| sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| /^X\(\/\/\)[^/].*/{ s//\1/; q; } | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| Line 7463 echo X"$ac_file" | | Line 8374 echo X"$ac_file" | |
| as_dirs="$as_dir $as_dirs" | as_dirs="$as_dir $as_dirs" |
| as_dir=`(dirname "$as_dir") 2>/dev/null || | as_dir=`(dirname "$as_dir") 2>/dev/null || |
| $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| X"$as_dir" : 'X\(//\)[^/]' \| \ | X"$as_dir" : 'X\(//\)[^/]' \| \ |
| X"$as_dir" : 'X\(//\)$' \| \ | X"$as_dir" : 'X\(//\)$' \| \ |
| X"$as_dir" : 'X\(/\)' \| \ | X"$as_dir" : 'X\(/\)' \| \ |
| . : '\(.\)' 2>/dev/null || | . : '\(.\)' 2>/dev/null || |
| echo X"$as_dir" | | echo X"$as_dir" | |
| sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| /^X\(\/\/\)[^/].*/{ s//\1/; q; } | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| Line 7504 case $srcdir in | Line 8415 case $srcdir in |
| ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
| ac_top_srcdir=$ac_top_builddir$srcdir ;; | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
| esac | esac |
| # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | |
| # absolute. | # Do not use `cd foo && pwd` to compute absolute paths, because |
| ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | # the directories may not exist. |
| ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` | case `pwd` in |
| ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | .) ac_abs_builddir="$ac_dir";; |
| ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | *) |
| case "$ac_dir" in | |
| .) ac_abs_builddir=`pwd`;; | |
| [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | |
| *) ac_abs_builddir=`pwd`/"$ac_dir";; | |
| esac;; | |
| esac | |
| case $ac_abs_builddir in | |
| .) ac_abs_top_builddir=${ac_top_builddir}.;; | |
| *) | |
| case ${ac_top_builddir}. in | |
| .) ac_abs_top_builddir=$ac_abs_builddir;; | |
| [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | |
| *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | |
| esac;; | |
| esac | |
| case $ac_abs_builddir in | |
| .) ac_abs_srcdir=$ac_srcdir;; | |
| *) | |
| case $ac_srcdir in | |
| .) ac_abs_srcdir=$ac_abs_builddir;; | |
| [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | |
| *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | |
| esac;; | |
| esac | |
| case $ac_abs_builddir in | |
| .) ac_abs_top_srcdir=$ac_top_srcdir;; | |
| *) | |
| case $ac_top_srcdir in | |
| .) ac_abs_top_srcdir=$ac_abs_builddir;; | |
| [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | |
| *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | |
| esac;; | |
| esac | |
| case $INSTALL in | case $INSTALL in |
| Line 7531 echo "$as_me: creating $ac_file" >&6;} | Line 8475 echo "$as_me: creating $ac_file" >&6;} |
| configure_input="$ac_file. " | configure_input="$ac_file. " |
| fi | fi |
| configure_input=$configure_input"Generated from `echo $ac_file_in | | configure_input=$configure_input"Generated from `echo $ac_file_in | |
| sed 's,.*/,,'` by configure." | sed 's,.*/,,'` by configure." |
| # First look for the input files in the build tree, otherwise in the | # First look for the input files in the build tree, otherwise in the |
| # src tree. | # src tree. |
| Line 7540 echo "$as_me: creating $ac_file" >&6;} | Line 8484 echo "$as_me: creating $ac_file" >&6;} |
| case $f in | case $f in |
| -) echo $tmp/stdin ;; | -) echo $tmp/stdin ;; |
| [\\/$]*) | [\\/$]*) |
| # Absolute (can't be DOS-style, as IFS=:) | # Absolute (can't be DOS-style, as IFS=:) |
| test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| echo "$as_me: error: cannot find input file: $f" >&2;} | echo "$as_me: error: cannot find input file: $f" >&2;} |
| { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| echo $f;; | echo "$f";; |
| *) # Relative | *) # Relative |
| if test -f "$f"; then | if test -f "$f"; then |
| # Build tree | # Build tree |
| echo $f | echo "$f" |
| elif test -f "$srcdir/$f"; then | elif test -f "$srcdir/$f"; then |
| # Source tree | # Source tree |
| echo $srcdir/$f | echo "$srcdir/$f" |
| else | else |
| # /dev/null tree | # /dev/null tree |
| { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| echo "$as_me: error: cannot find input file: $f" >&2;} | echo "$as_me: error: cannot find input file: $f" >&2;} |
| { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| fi;; | fi;; |
| esac | esac |
| done` || { (exit 1); exit 1; } | done` || { (exit 1); exit 1; } |
| _ACEOF | _ACEOF |
| Line 7599 cat >>$CONFIG_STATUS <<\_ACEOF | Line 8543 cat >>$CONFIG_STATUS <<\_ACEOF |
| # NAME is the cpp macro being defined and VALUE is the value it is being given. | # NAME is the cpp macro being defined and VALUE is the value it is being given. |
| # | # |
| # ac_d sets the value in "#define NAME VALUE" lines. | # ac_d sets the value in "#define NAME VALUE" lines. |
| ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' | ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
| ac_dB='[ ].*$,\1#\2' | ac_dB='[ ].*$,\1#\2' |
| ac_dC=' ' | ac_dC=' ' |
| ac_dD=',;t' | ac_dD=',;t' |
| # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
| ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' | ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
| ac_uB='$,\1#\2define\3' | ac_uB='$,\1#\2define\3' |
| ac_uC=' ' | ac_uC=' ' |
| ac_uD=',;t' | ac_uD=',;t' |
| Line 7613 for ac_file in : $CONFIG_HEADERS; do tes | Line 8557 for ac_file in : $CONFIG_HEADERS; do tes |
| # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
| case $ac_file in | case $ac_file in |
| - | *:- | *:-:* ) # input from stdin | - | *:- | *:-:* ) # input from stdin |
| cat >$tmp/stdin | cat >$tmp/stdin |
| ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| * ) ac_file_in=$ac_file.in ;; | * ) ac_file_in=$ac_file.in ;; |
| esac | esac |
| Line 7631 echo "$as_me: creating $ac_file" >&6;} | Line 8575 echo "$as_me: creating $ac_file" >&6;} |
| case $f in | case $f in |
| -) echo $tmp/stdin ;; | -) echo $tmp/stdin ;; |
| [\\/$]*) | [\\/$]*) |
| # Absolute (can't be DOS-style, as IFS=:) | # Absolute (can't be DOS-style, as IFS=:) |
| test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| echo "$as_me: error: cannot find input file: $f" >&2;} | echo "$as_me: error: cannot find input file: $f" >&2;} |
| { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| echo $f;; | # Do quote $f, to prevent DOS paths from being IFS'd. |
| echo "$f";; | |
| *) # Relative | *) # Relative |
| if test -f "$f"; then | if test -f "$f"; then |
| # Build tree | # Build tree |
| echo $f | echo "$f" |
| elif test -f "$srcdir/$f"; then | elif test -f "$srcdir/$f"; then |
| # Source tree | # Source tree |
| echo $srcdir/$f | echo "$srcdir/$f" |
| else | else |
| # /dev/null tree | # /dev/null tree |
| { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| echo "$as_me: error: cannot find input file: $f" >&2;} | echo "$as_me: error: cannot find input file: $f" >&2;} |
| { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| fi;; | fi;; |
| esac | esac |
| done` || { (exit 1); exit 1; } | done` || { (exit 1); exit 1; } |
| # Remove the trailing spaces. | # Remove the trailing spaces. |
| sed 's/[ ]*$//' $ac_file_inputs >$tmp/in | sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
| _ACEOF | _ACEOF |
| Line 7675 s/[\\&,]/\\&/g | Line 8620 s/[\\&,]/\\&/g |
| s,[\\$`],\\&,g | s,[\\$`],\\&,g |
| t clear | t clear |
| : clear | : clear |
| s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp | s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
| t end | t end |
| s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
| : end | : end |
| _ACEOF | _ACEOF |
| # If some macros were called several times there might be several times | # If some macros were called several times there might be several times |
| Line 7691 rm -f confdef2sed.sed | Line 8636 rm -f confdef2sed.sed |
| # example, in the case of _POSIX_SOURCE, which is predefined and required | # example, in the case of _POSIX_SOURCE, which is predefined and required |
| # on some systems where configure will not decide to define it. | # on some systems where configure will not decide to define it. |
| cat >>conftest.undefs <<\_ACEOF | cat >>conftest.undefs <<\_ACEOF |
| s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, | s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
| _ACEOF | _ACEOF |
| # Break up conftest.defines because some shells have a limit on the size | # Break up conftest.defines because some shells have a limit on the size |
| # of here documents, and old seds have small limits too (100 cmds). | # of here documents, and old seds have small limits too (100 cmds). |
| echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS | echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
| echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS | echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
| echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS | echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
| echo ' :' >>$CONFIG_STATUS | echo ' :' >>$CONFIG_STATUS |
| rm -f conftest.tail | rm -f conftest.tail |
| Line 7706 do | Line 8651 do |
| # Write a limited-size here document to $tmp/defines.sed. | # Write a limited-size here document to $tmp/defines.sed. |
| echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS | echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
| # Speed up: don't consider the non `#define' lines. | # Speed up: don't consider the non `#define' lines. |
| echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS | echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
| # Work around the forget-to-reset-the-flag bug. | # Work around the forget-to-reset-the-flag bug. |
| echo 't clr' >>$CONFIG_STATUS | echo 't clr' >>$CONFIG_STATUS |
| echo ': clr' >>$CONFIG_STATUS | echo ': clr' >>$CONFIG_STATUS |
| Line 7733 do | Line 8678 do |
| # Write a limited-size here document to $tmp/undefs.sed. | # Write a limited-size here document to $tmp/undefs.sed. |
| echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS | echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
| # Speed up: don't consider the non `#undef' | # Speed up: don't consider the non `#undef' |
| echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS | echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
| # Work around the forget-to-reset-the-flag bug. | # Work around the forget-to-reset-the-flag bug. |
| echo 't clr' >>$CONFIG_STATUS | echo 't clr' >>$CONFIG_STATUS |
| echo ': clr' >>$CONFIG_STATUS | echo ': clr' >>$CONFIG_STATUS |
| Line 7767 echo "$as_me: $ac_file is unchanged" >&6 | Line 8712 echo "$as_me: $ac_file is unchanged" >&6 |
| else | else |
| ac_dir=`(dirname "$ac_file") 2>/dev/null || | ac_dir=`(dirname "$ac_file") 2>/dev/null || |
| $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| X"$ac_file" : 'X\(//\)[^/]' \| \ | X"$ac_file" : 'X\(//\)[^/]' \| \ |
| X"$ac_file" : 'X\(//\)$' \| \ | X"$ac_file" : 'X\(//\)$' \| \ |
| X"$ac_file" : 'X\(/\)' \| \ | X"$ac_file" : 'X\(/\)' \| \ |
| . : '\(.\)' 2>/dev/null || | . : '\(.\)' 2>/dev/null || |
| echo X"$ac_file" | | echo X"$ac_file" | |
| sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| /^X\(\/\/\)[^/].*/{ s//\1/; q; } | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| Line 7786 echo X"$ac_file" | | Line 8731 echo X"$ac_file" | |
| as_dirs="$as_dir $as_dirs" | as_dirs="$as_dir $as_dirs" |
| as_dir=`(dirname "$as_dir") 2>/dev/null || | as_dir=`(dirname "$as_dir") 2>/dev/null || |
| $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| X"$as_dir" : 'X\(//\)[^/]' \| \ | X"$as_dir" : 'X\(//\)[^/]' \| \ |
| X"$as_dir" : 'X\(//\)$' \| \ | X"$as_dir" : 'X\(//\)$' \| \ |
| X"$as_dir" : 'X\(/\)' \| \ | X"$as_dir" : 'X\(/\)' \| \ |
| . : '\(.\)' 2>/dev/null || | . : '\(.\)' 2>/dev/null || |
| echo X"$as_dir" | | echo X"$as_dir" | |
| sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| /^X\(\/\/\)[^/].*/{ s//\1/; q; } | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| Line 7809 echo "$as_me: error: cannot create direc | Line 8754 echo "$as_me: error: cannot create direc |
| cat $tmp/config.h | cat $tmp/config.h |
| rm -f $tmp/config.h | rm -f $tmp/config.h |
| fi | fi |
| _am_stamp_count=`expr ${_am_stamp_count-0} + 1` | # Compute $ac_file's index in $config_headers. |
| _am_stamp_count=1 | |
| for _am_header in $config_headers :; do | |
| case $_am_header in | |
| $ac_file | $ac_file:* ) | |
| break ;; | |
| * ) | |
| _am_stamp_count=`expr $_am_stamp_count + 1` ;; | |
| esac | |
| done | |
| echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || | echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || |
| $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| X$ac_file : 'X\(//\)[^/]' \| \ | X$ac_file : 'X\(//\)[^/]' \| \ |
| X$ac_file : 'X\(//\)$' \| \ | X$ac_file : 'X\(//\)$' \| \ |
| X$ac_file : 'X\(/\)' \| \ | X$ac_file : 'X\(/\)' \| \ |
| . : '\(.\)' 2>/dev/null || | . : '\(.\)' 2>/dev/null || |
| echo X$ac_file | | echo X$ac_file | |
| sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| /^X\(\/\/\)[^/].*/{ s//\1/; q; } | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| Line 7834 for ac_file in : $CONFIG_COMMANDS; do te | Line 8788 for ac_file in : $CONFIG_COMMANDS; do te |
| ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` | ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| ac_dir=`(dirname "$ac_dest") 2>/dev/null || | ac_dir=`(dirname "$ac_dest") 2>/dev/null || |
| $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| X"$ac_dest" : 'X\(//\)[^/]' \| \ | X"$ac_dest" : 'X\(//\)[^/]' \| \ |
| X"$ac_dest" : 'X\(//\)$' \| \ | X"$ac_dest" : 'X\(//\)$' \| \ |
| X"$ac_dest" : 'X\(/\)' \| \ | X"$ac_dest" : 'X\(/\)' \| \ |
| . : '\(.\)' 2>/dev/null || | . : '\(.\)' 2>/dev/null || |
| echo X"$ac_dest" | | echo X"$ac_dest" | |
| sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| /^X\(\/\/\)[^/].*/{ s//\1/; q; } | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| /^X\(\/\/\)$/{ s//\1/; q; } | /^X\(\/\/\)$/{ s//\1/; q; } |
| /^X\(\/\).*/{ s//\1/; q; } | /^X\(\/\).*/{ s//\1/; q; } |
| s/.*/./; q'` | s/.*/./; q'` |
| { if $as_mkdir_p; then | |
| mkdir -p "$ac_dir" | |
| else | |
| as_dir="$ac_dir" | |
| as_dirs= | |
| while test ! -d "$as_dir"; do | |
| as_dirs="$as_dir $as_dirs" | |
| as_dir=`(dirname "$as_dir") 2>/dev/null || | |
| $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| X"$as_dir" : 'X\(//\)[^/]' \| \ | |
| X"$as_dir" : 'X\(//\)$' \| \ | |
| X"$as_dir" : 'X\(/\)' \| \ | |
| . : '\(.\)' 2>/dev/null || | |
| echo X"$as_dir" | | |
| sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
| /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
| /^X\(\/\/\)$/{ s//\1/; q; } | |
| /^X\(\/\).*/{ s//\1/; q; } | |
| s/.*/./; q'` | |
| done | |
| test ! -n "$as_dirs" || mkdir $as_dirs | |
| fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | |
| echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | |
| { (exit 1); exit 1; }; }; } | |
| ac_builddir=. | ac_builddir=. |
| if test "$ac_dir" != .; then | if test "$ac_dir" != .; then |
| Line 7869 case $srcdir in | Line 8848 case $srcdir in |
| ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
| ac_top_srcdir=$ac_top_builddir$srcdir ;; | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
| esac | esac |
| # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | |
| # absolute. | # Do not use `cd foo && pwd` to compute absolute paths, because |
| ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | # the directories may not exist. |
| ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` | case `pwd` in |
| ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | .) ac_abs_builddir="$ac_dir";; |
| ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | *) |
| case "$ac_dir" in | |
| .) ac_abs_builddir=`pwd`;; | |
| [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | |
| *) ac_abs_builddir=`pwd`/"$ac_dir";; | |
| esac;; | |
| esac | |
| case $ac_abs_builddir in | |
| .) ac_abs_top_builddir=${ac_top_builddir}.;; | |
| *) | |
| case ${ac_top_builddir}. in | |
| .) ac_abs_top_builddir=$ac_abs_builddir;; | |
| [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | |
| *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | |
| esac;; | |
| esac | |
| case $ac_abs_builddir in | |
| .) ac_abs_srcdir=$ac_srcdir;; | |
| *) | |
| case $ac_srcdir in | |
| .) ac_abs_srcdir=$ac_abs_builddir;; | |
| [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | |
| *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | |
| esac;; | |
| esac | |
| case $ac_abs_builddir in | |
| .) ac_abs_top_srcdir=$ac_top_srcdir;; | |
| *) | |
| case $ac_top_srcdir in | |
| .) ac_abs_top_srcdir=$ac_abs_builddir;; | |
| [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | |
| *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | |
| esac;; | |
| esac | |
| { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 | { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 |
| Line 7892 echo "$as_me: executing $ac_dest command | Line 8904 echo "$as_me: executing $ac_dest command |
| if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then | if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
| dirpart=`(dirname "$mf") 2>/dev/null || | dirpart=`(dirname "$mf") 2>/dev/null || |
| $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| X"$mf" : 'X\(//\)[^/]' \| \ | X"$mf" : 'X\(//\)[^/]' \| \ |
| X"$mf" : 'X\(//\)$' \| \ | X"$mf" : 'X\(//\)$' \| \ |
| X"$mf" : 'X\(/\)' \| \ | X"$mf" : 'X\(/\)' \| \ |
| . : '\(.\)' 2>/dev/null || | . : '\(.\)' 2>/dev/null || |
| echo X"$mf" | | echo X"$mf" | |
| sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| /^X\(\/\/\)[^/].*/{ s//\1/; q; } | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| Line 7905 echo X"$mf" | | Line 8917 echo X"$mf" | |
| else | else |
| continue | continue |
| fi | fi |
| grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue | # Extract the definition of DEPDIR, am__include, and am__quote |
| # Extract the definition of DEP_FILES from the Makefile without | # from the Makefile without running `make'. |
| # running `make'. | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
| DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` | |
| test -z "$DEPDIR" && continue | test -z "$DEPDIR" && continue |
| am__include=`sed -n 's/^am__include = //p' < "$mf"` | |
| test -z "am__include" && continue | |
| am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | |
| # When using ansi2knr, U may be empty or an underscore; expand it | # When using ansi2knr, U may be empty or an underscore; expand it |
| U=`sed -n -e '/^U = / s///p' < "$mf"` | U=`sed -n 's/^U = //p' < "$mf"` |
| test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" | # Find all dependency output files, they are included files with |
| # We invoke sed twice because it is the simplest approach to | # $(DEPDIR) in their names. We invoke sed twice because it is the |
| # changing $(DEPDIR) to its actual value in the expansion. | # simplest approach to changing $(DEPDIR) to its actual value in the |
| for file in `sed -n -e ' | # expansion. |
| /^DEP_FILES = .*\\\\$/ { | for file in `sed -n " |
| s/^DEP_FILES = // | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
| :loop | |
| s/\\\\$// | |
| p | |
| n | |
| /\\\\$/ b loop | |
| p | |
| } | |
| /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ | |
| sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
| # Make sure the directory exists. | # Make sure the directory exists. |
| test -f "$dirpart/$file" && continue | test -f "$dirpart/$file" && continue |
| fdir=`(dirname "$file") 2>/dev/null || | fdir=`(dirname "$file") 2>/dev/null || |
| $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| X"$file" : 'X\(//\)[^/]' \| \ | X"$file" : 'X\(//\)[^/]' \| \ |
| X"$file" : 'X\(//\)$' \| \ | X"$file" : 'X\(//\)$' \| \ |
| X"$file" : 'X\(/\)' \| \ | X"$file" : 'X\(/\)' \| \ |
| . : '\(.\)' 2>/dev/null || | . : '\(.\)' 2>/dev/null || |
| echo X"$file" | | echo X"$file" | |
| sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| /^X\(\/\/\)[^/].*/{ s//\1/; q; } | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| Line 7950 echo X"$file" | | Line 8956 echo X"$file" | |
| as_dirs="$as_dir $as_dirs" | as_dirs="$as_dir $as_dirs" |
| as_dir=`(dirname "$as_dir") 2>/dev/null || | as_dir=`(dirname "$as_dir") 2>/dev/null || |
| $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| X"$as_dir" : 'X\(//\)[^/]' \| \ | X"$as_dir" : 'X\(//\)[^/]' \| \ |
| X"$as_dir" : 'X\(//\)$' \| \ | X"$as_dir" : 'X\(//\)$' \| \ |
| X"$as_dir" : 'X\(/\)' \| \ | X"$as_dir" : 'X\(/\)' \| \ |
| . : '\(.\)' 2>/dev/null || | . : '\(.\)' 2>/dev/null || |
| echo X"$as_dir" | | echo X"$as_dir" | |
| sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| /^X\(\/\/\)[^/].*/{ s//\1/; q; } | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| Line 8061 echo "$as_me: configuring in $ac_dir" >& | Line 9067 echo "$as_me: configuring in $ac_dir" >& |
| as_dirs="$as_dir $as_dirs" | as_dirs="$as_dir $as_dirs" |
| as_dir=`(dirname "$as_dir") 2>/dev/null || | as_dir=`(dirname "$as_dir") 2>/dev/null || |
| $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| X"$as_dir" : 'X\(//\)[^/]' \| \ | X"$as_dir" : 'X\(//\)[^/]' \| \ |
| X"$as_dir" : 'X\(//\)$' \| \ | X"$as_dir" : 'X\(//\)$' \| \ |
| X"$as_dir" : 'X\(/\)' \| \ | X"$as_dir" : 'X\(/\)' \| \ |
| . : '\(.\)' 2>/dev/null || | . : '\(.\)' 2>/dev/null || |
| echo X"$as_dir" | | echo X"$as_dir" | |
| sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| /^X\(\/\/\)[^/].*/{ s//\1/; q; } | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| Line 8102 case $srcdir in | Line 9108 case $srcdir in |
| ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
| ac_top_srcdir=$ac_top_builddir$srcdir ;; | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
| esac | esac |
| # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | |
| # absolute. | # Do not use `cd foo && pwd` to compute absolute paths, because |
| ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | # the directories may not exist. |
| ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` | case `pwd` in |
| ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | .) ac_abs_builddir="$ac_dir";; |
| ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | *) |
| case "$ac_dir" in | |
| .) ac_abs_builddir=`pwd`;; | |
| [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | |
| *) ac_abs_builddir=`pwd`/"$ac_dir";; | |
| esac;; | |
| esac | |
| case $ac_abs_builddir in | |
| .) ac_abs_top_builddir=${ac_top_builddir}.;; | |
| *) | |
| case ${ac_top_builddir}. in | |
| .) ac_abs_top_builddir=$ac_abs_builddir;; | |
| [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | |
| *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | |
| esac;; | |
| esac | |
| case $ac_abs_builddir in | |
| .) ac_abs_srcdir=$ac_srcdir;; | |
| *) | |
| case $ac_srcdir in | |
| .) ac_abs_srcdir=$ac_abs_builddir;; | |
| [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | |
| *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | |
| esac;; | |
| esac | |
| case $ac_abs_builddir in | |
| .) ac_abs_top_srcdir=$ac_top_srcdir;; | |
| *) | |
| case $ac_top_srcdir in | |
| .) ac_abs_top_srcdir=$ac_abs_builddir;; | |
| [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | |
| *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | |
| esac;; | |
| esac | |
| cd $ac_dir | cd $ac_dir |
| Line 8131 echo "$as_me: WARNING: no configuration | Line 9170 echo "$as_me: WARNING: no configuration |
| case $cache_file in | case $cache_file in |
| [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; | [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; |
| *) # Relative path. | *) # Relative path. |
| ac_sub_cache_file=$ac_top_builddir$cache_file ;; | ac_sub_cache_file=$ac_top_builddir$cache_file ;; |
| esac | esac |
| { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 | { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 |
| echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} | echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} |
| # The eval makes quoting arguments work. | # The eval makes quoting arguments work. |
| eval $ac_sub_configure $ac_sub_configure_args \ | eval $ac_sub_configure $ac_sub_configure_args \ |
| --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir || | --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir || |
| { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 | { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 |
| echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} | echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} |
| { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| fi | fi |