2000-04-21 22:33:34 +02:00
|
|
|
# Process this file with autoconf to produce a configure script, like so:
|
2002-03-18 22:41:02 +01:00
|
|
|
# aclocal && autoconf && autoheader && automake
|
2000-04-21 22:33:34 +02:00
|
|
|
|
|
|
|
AC_PREREQ(2.13)
|
2000-12-21 02:28:58 +01:00
|
|
|
AC_INIT(src/ios.cc)
|
2001-02-01 22:08:05 +01:00
|
|
|
|
2002-05-08 06:38:00 +02:00
|
|
|
# This works around the fact that libtool configuration may change LD
|
|
|
|
# for this particular configuration, but some shells, instead of
|
|
|
|
# keeping the changes in LD private, export them just because LD is
|
2002-06-18 21:07:12 +02:00
|
|
|
# exported. Only used at the end of this file.
|
2002-05-08 06:38:00 +02:00
|
|
|
ORIGINAL_LD_FOR_MULTILIBS=$LD
|
|
|
|
|
2001-08-08 04:49:01 +02:00
|
|
|
PACKAGE=libstdc++
|
|
|
|
AC_SUBST(PACKAGE)
|
2001-08-14 03:24:30 +02:00
|
|
|
# For libtool versioning info, format is CURRENT:REVISION:AGE
|
2003-01-23 18:21:11 +01:00
|
|
|
libtool_VERSION=6:0:0
|
2001-08-14 03:24:30 +02:00
|
|
|
AC_SUBST(libtool_VERSION)
|
2000-04-21 22:33:34 +02:00
|
|
|
|
2002-06-26 05:53:45 +02:00
|
|
|
GLIBCPP_TOPREL_CONFIGURE
|
|
|
|
|
2001-08-10 08:50:34 +02:00
|
|
|
# Gets build, host, target, *_vendor, *_cpu, *_os, etc.
|
2002-06-18 21:07:12 +02:00
|
|
|
#
|
|
|
|
# You will slowly go insane if you do not grok the following fact: when
|
|
|
|
# building v3 as part of the compiler, the top-level /target/ becomes the
|
|
|
|
# library's /host/. `configure' then causes --target to default to --host,
|
|
|
|
# exactly like any other package using autoconf. Therefore, 'target' and
|
|
|
|
# 'host' will always be the same. This makes sense both for native and
|
|
|
|
# cross compilers, just think about it for a little while. :-)
|
|
|
|
#
|
|
|
|
# Also, if v3 is being configured as part of a cross compiler, the top-level
|
|
|
|
# configure script will pass the "real" host as $with_cross_host.
|
|
|
|
#
|
2003-05-23 04:31:07 +02:00
|
|
|
# In AC 2.13 AC_CANONICAL_TARGET was known as AC_CANONICAL_SYSTEM.
|
2000-04-21 22:33:34 +02:00
|
|
|
AC_CANONICAL_SYSTEM
|
|
|
|
|
2003-05-23 04:31:07 +02:00
|
|
|
# Runs configure.host, finds CC, CXX and assorted other critical bits.
|
2002-06-18 21:07:12 +02:00
|
|
|
# Must run this before the GLIBCPP_ENABLE_* macros below.
|
2000-04-21 22:33:34 +02:00
|
|
|
GLIBCPP_CONFIGURE(.)
|
2000-12-05 23:03:19 +01:00
|
|
|
|
2002-07-02 08:39:04 +02:00
|
|
|
AM_INIT_AUTOMAKE($PACKAGE, $gcc_version)
|
|
|
|
AM_CONFIG_HEADER(config.h)
|
|
|
|
|
2000-04-21 22:33:34 +02:00
|
|
|
AC_LIBTOOL_DLOPEN
|
2000-07-26 08:51:38 +02:00
|
|
|
AM_PROG_LIBTOOL
|
2000-10-31 02:56:19 +01:00
|
|
|
AC_SUBST(enable_shared)
|
|
|
|
AC_SUBST(enable_static)
|
2001-06-01 11:22:05 +02:00
|
|
|
|
2000-04-21 22:33:34 +02:00
|
|
|
# Check for c++ or library specific bits that don't require linking.
|
2001-08-08 04:49:01 +02:00
|
|
|
GLIBCPP_CHECK_GNU_MAKE
|
2003-04-24 00:31:44 +02:00
|
|
|
#GLIBCPP_CHECK_COMPILER_VERSION
|
|
|
|
GLIBCPP_CHECK_PCH
|
2000-04-21 22:33:34 +02:00
|
|
|
|
2001-08-08 04:49:01 +02:00
|
|
|
# Enable all the variable C++ stuff. C_MBCHAR must come early.
|
2000-04-21 22:33:34 +02:00
|
|
|
GLIBCPP_ENABLE_CSTDIO
|
Preliminary named locales.
2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
Preliminary named locales.
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
* aclocal.m4: Regenerate.
* configure.in: Use it.
* configure: Regerate.
* src/Makefile.am (sources): Add c++locale.cc.
(build_headers): Add c++locale.h.
* src/Makefile.in: Regenerate.
* config/c_locale_gnu.h: New file.
* config/c_locale_gnu.cc: New file. Non-inline member functions
for named locales, gnu-specific.
* config/c_locale_generic.h: New file.
* config/c_locale_generic.cc: New file. Non-inline member
functions for named locales, generic version.
* docs/html/configopts.html: Add documentation on new options.
* include/bits/locale_facets.h (class _Messages): Remove.
(class _Moneypunct): Remove.
* src/locale-inst.cc: Remove.
* include/bits/locale_facets.h (class _Collate): Remove.
* src/locale-inst.cc (std): Remove.
* src/locale.cc: And here.
* include/bits/localefwd.h (locale::_M_coalesce): New
function. Correctly put together multi-name locales.
(_Impl(const _Impl&, category, size_t)): Remove.
* include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
member functions.
(_M_normalize_category_names): Remove.
(_M_replace_categories): Fix.
* src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
(locale::_Impl::_M_construct_ctype): Remove.
(locale::_Impl::_M_construct_monetary): Remove.
(locale::_Impl::_M_construct_numeric): Remove.
(locale::_Impl::_M_construct_time): Remove.
(locale::_Impl::_M_construct_messages): Remove.
* include/bits/locale_facets.h (_Bad_use_facet): Remove.
(_Use_facet_failure_handle): Remove.
* src/locale.cc: Remove definitions.
* src/locale-inst.cc: And here.
* testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
* src/localename.cc (locale::facet::_S_create_c_locale): Properly
create and error-check underlying locale object.
(locale::facet::_S_destroy_c_locale): Add, take care of properly
tearing down underlying locale object.
* include/bits/localefwd.h (locale::facet): Declare.
* testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
correctness, as glibc apparently has incorrect info in it. Test
with it when it works again.....
* include/bits/localefwd.h (locale::_Impl::__vec_string):
Remove. Number of categories is fixed at six, so just simplify and
make this an array of strings.
(locale::_Impl::_M_has_name): Remove.
(locale::_Impl::_M_name): Remove.
(locale::_Impl::_M_category_names): Turns into...
(locale::_Impl::_M_names): ...this.
(locale::_Impl::_M_has_same_name()): New function.
* src/localename.cc (locale::_Impl::~_Impl()): Remove here.
(locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
signature.
* src/locale.cc (locale::name()): Construct mangled name
accurately reflecting combined locale categories.
* src/locale.cc (locale::classic()): Don't initialize here.
* src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
__refs, bool __has_name, string __str): Do it here.
* include/bits/localefwd.h: _S_categories_num to
_S_num_categories. _S_facets_num to _S_num_facets.
(locale::id::id()): Explicitly set _M_index to zero.
* src/locale.cc: Same.
* src/locale.cc: (locale::locale(const char*)): Construct named
locales uniquely.
* src/locale.cc: Remove numpunct_byname ctors.
* testsuite/22_locale/numpunct_byname.cc: New file.
* testsuite/22_locale/numpunct.cc: New file.
* include/bits/localefwd.h (class locale): Change data members to
protected, from private.
(_Impl::_M_get_c_locale): Add member function.
(locale::facet::_M_get_global_impl()): Add member function.
* include/bits/locale_facets.h (numpunct::_M_init): Change to take
a __c_locale pointer.
(numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
named locales.
* testsuite/22_locale/members.cc: New file, test name and combine.
* include/bits/locale_facets.h (class numpunct): Remove class
_Punct and _Numpunct. Rewrite class numpunct to be correct for
named locales.
* include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
* src/localename.cc (_Impl::~_Impl()): Call __frelocale.
(_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
* src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
* testsuite/22_locale/numpunct_char_members.cc: New file.
From-SVN: r39347
2001-01-30 10:18:51 +01:00
|
|
|
GLIBCPP_ENABLE_CLOCALE
|
2002-12-16 20:02:01 +01:00
|
|
|
GLIBCPP_ENABLE_CHEADERS([$c_model])
|
2000-11-17 02:04:02 +01:00
|
|
|
GLIBCPP_ENABLE_C_MBCHAR([yes])
|
2001-04-20 10:59:25 +02:00
|
|
|
GLIBCPP_ENABLE_C99([yes])
|
|
|
|
GLIBCPP_ENABLE_LONG_LONG([yes])
|
2000-04-21 22:33:34 +02:00
|
|
|
GLIBCPP_ENABLE_THREADS
|
2001-03-28 13:04:51 +02:00
|
|
|
GLIBCPP_ENABLE_SJLJ_EXCEPTIONS
|
2002-03-19 20:50:30 +01:00
|
|
|
GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS
|
2001-11-01 16:46:48 +01:00
|
|
|
GLIBCPP_ENABLE_CONCEPT_CHECKS
|
2002-12-30 16:50:52 +01:00
|
|
|
GLIBCPP_ENABLE_CXX_FLAGS
|
2002-12-16 20:02:01 +01:00
|
|
|
GLIBCPP_ENABLE_DEBUG([no])
|
|
|
|
GLIBCPP_ENABLE_DEBUG_FLAGS([none])
|
2000-04-21 22:33:34 +02:00
|
|
|
|
2002-11-21 08:34:30 +01:00
|
|
|
# No surprises, no surprises...
|
|
|
|
if test $ATOMICITYH = cpu/generic ; then
|
2003-04-17 05:27:05 +02:00
|
|
|
AC_MSG_WARN([No native atomic operations are provided for this platform.])
|
2002-11-21 08:34:30 +01:00
|
|
|
if test $target_thread_file = single; then
|
|
|
|
AC_MSG_WARN([They cannot be faked when thread support is disabled.])
|
|
|
|
AC_MSG_WARN([Thread-safety of certain classes is not guaranteed.])
|
|
|
|
else
|
|
|
|
AC_MSG_WARN([They will be faked using a mutex.])
|
|
|
|
AC_MSG_WARN([Performance of certain classes will degrade as a result.])
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
2003-05-23 04:31:07 +02:00
|
|
|
if test x"$build" != x"$host"; then
|
2000-04-21 22:33:34 +02:00
|
|
|
|
2001-07-06 19:16:46 +02:00
|
|
|
# We are being configured with some form of cross compiler.
|
2003-06-09 16:54:08 +02:00
|
|
|
GLIBCPP_IS_CROSS_COMPILING=true
|
2000-12-13 10:25:44 +01:00
|
|
|
|
2002-06-18 21:07:12 +02:00
|
|
|
# This lets us hard-code the functionality we know we'll have in the cross
|
|
|
|
# target environment. "Let" is a sugar-coated word placed on an especially
|
|
|
|
# dull and tedious hack, actually.
|
|
|
|
#
|
|
|
|
# Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
|
|
|
|
# that involve linking, can't be used:
|
|
|
|
# "cannot open sim-crt0.o"
|
|
|
|
# "cannot open crt0.o"
|
|
|
|
# etc. All this is because there currently exists no unified, consistent
|
|
|
|
# way for top level CC information to be passed down to target directories:
|
|
|
|
# newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
|
|
|
|
# When all of that is done, all of this hokey, excessive AC_DEFINE junk for
|
|
|
|
# crosses can be removed.
|
|
|
|
|
|
|
|
# If Canadian cross, then don't pick up tools from the build directory.
|
|
|
|
# Used in GLIBCPP_EXPORT_INCLUDES (and nowhere else?).
|
2003-05-23 04:31:07 +02:00
|
|
|
if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host" \
|
|
|
|
&& test x"$build" != x"$target"; then
|
2000-04-21 22:33:34 +02:00
|
|
|
CANADIAN=yes
|
|
|
|
else
|
|
|
|
CANADIAN=no
|
|
|
|
fi
|
|
|
|
|
2001-12-03 23:28:57 +01:00
|
|
|
# Construct crosses by hand, eliminating bits that need ld...
|
|
|
|
# GLIBCPP_CHECK_COMPILER_FEATURES
|
|
|
|
# GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
|
|
|
|
# GLIBCPP_CHECK_MATH_SUPPORT
|
|
|
|
|
2003-05-23 04:31:07 +02:00
|
|
|
case "${host}" in
|
2003-05-22 19:04:13 +02:00
|
|
|
*-freebsd*)
|
|
|
|
os_include_dir="os/bsd/freebsd"
|
2001-12-03 23:28:57 +01:00
|
|
|
AC_CHECK_HEADERS([nan.h ieeefp.h endian.h sys/isa_defs.h \
|
2002-06-18 21:07:12 +02:00
|
|
|
machine/endian.h machine/param.h sys/machine.h sys/types.h \
|
2003-05-22 19:04:13 +02:00
|
|
|
fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
|
|
|
|
sys/time.h unistd.h])
|
2001-12-03 23:28:57 +01:00
|
|
|
SECTION_FLAGS='-ffunction-sections -fdata-sections'
|
2003-05-22 19:04:13 +02:00
|
|
|
AC_SUBST(SECTION_FLAGS)
|
2001-12-03 23:28:57 +01:00
|
|
|
GLIBCPP_CHECK_LINKER_FEATURES
|
|
|
|
GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT
|
|
|
|
GLIBCPP_CHECK_WCHAR_T_SUPPORT
|
2003-05-22 19:04:13 +02:00
|
|
|
AC_DEFINE(HAVE_LC_MESSAGES)
|
|
|
|
AC_DEFINE(HAVE_DRAND48)
|
|
|
|
AC_DEFINE(HAVE_GETPAGESIZE)
|
|
|
|
AC_DEFINE(HAVE_SETENV)
|
|
|
|
AC_DEFINE(HAVE_SIGSETJMP)
|
2001-12-03 23:28:57 +01:00
|
|
|
AC_DEFINE(HAVE_COPYSIGN)
|
|
|
|
AC_DEFINE(HAVE_COPYSIGNF)
|
|
|
|
AC_DEFINE(HAVE_FINITEF)
|
2003-05-22 19:04:13 +02:00
|
|
|
AC_DEFINE(HAVE_FINITE)
|
2001-12-03 23:28:57 +01:00
|
|
|
AC_DEFINE(HAVE_FREXPF)
|
2003-05-22 19:04:13 +02:00
|
|
|
AC_DEFINE(HAVE_HYPOT)
|
2001-12-03 23:28:57 +01:00
|
|
|
AC_DEFINE(HAVE_HYPOTF)
|
2002-06-19 22:30:13 +02:00
|
|
|
AC_DEFINE(HAVE_ISINF)
|
|
|
|
AC_DEFINE(HAVE_ISNAN)
|
|
|
|
AC_DEFINE(HAVE_ISNANF)
|
2003-05-22 19:04:13 +02:00
|
|
|
|
|
|
|
AC_DEFINE(HAVE_MMAP)
|
|
|
|
AC_DEFINE(HAVE_ACOSF)
|
|
|
|
AC_DEFINE(HAVE_ASINF)
|
|
|
|
AC_DEFINE(HAVE_ATAN2F)
|
|
|
|
AC_DEFINE(HAVE_ATANF)
|
|
|
|
AC_DEFINE(HAVE_CEILF)
|
|
|
|
AC_DEFINE(HAVE_COPYSIGN)
|
|
|
|
AC_DEFINE(HAVE_COPYSIGNF)
|
|
|
|
AC_DEFINE(HAVE_COSF)
|
|
|
|
AC_DEFINE(HAVE_COSHF)
|
|
|
|
AC_DEFINE(HAVE_EXPF)
|
|
|
|
AC_DEFINE(HAVE_FABSF)
|
|
|
|
AC_DEFINE(HAVE_FLOORF)
|
|
|
|
AC_DEFINE(HAVE_FMODF)
|
|
|
|
AC_DEFINE(HAVE_FREXPF)
|
|
|
|
AC_DEFINE(HAVE_LDEXPF)
|
|
|
|
AC_DEFINE(HAVE_LOG10F)
|
|
|
|
AC_DEFINE(HAVE_LOGF)
|
|
|
|
AC_DEFINE(HAVE_MODFF)
|
|
|
|
AC_DEFINE(HAVE_POWF)
|
|
|
|
AC_DEFINE(HAVE_SINF)
|
|
|
|
AC_DEFINE(HAVE_SINHF)
|
|
|
|
AC_DEFINE(HAVE_SQRTF)
|
|
|
|
AC_DEFINE(HAVE_TANF)
|
|
|
|
AC_DEFINE(HAVE_TANHF)
|
2001-12-03 23:28:57 +01:00
|
|
|
if test x"long_double_math_on_this_cpu" = x"yes"; then
|
2002-06-19 22:30:13 +02:00
|
|
|
AC_DEFINE(HAVE_FINITEL)
|
|
|
|
AC_DEFINE(HAVE_ISINFL)
|
|
|
|
AC_DEFINE(HAVE_ISNANL)
|
2001-12-03 23:28:57 +01:00
|
|
|
fi
|
|
|
|
;;
|
|
|
|
*-hpux*)
|
2003-05-22 19:04:13 +02:00
|
|
|
os_include_dir="os/hpux"
|
2001-12-03 23:28:57 +01:00
|
|
|
AC_CHECK_HEADERS([nan.h ieeefp.h endian.h sys/isa_defs.h \
|
2002-06-18 21:07:12 +02:00
|
|
|
machine/endian.h machine/param.h sys/machine.h sys/types.h \
|
|
|
|
fp.h locale.h float.h inttypes.h])
|
2001-12-03 23:28:57 +01:00
|
|
|
SECTION_FLAGS='-ffunction-sections -fdata-sections'
|
|
|
|
AC_SUBST(SECTION_FLAGS)
|
|
|
|
GLIBCPP_CHECK_LINKER_FEATURES
|
|
|
|
GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT
|
|
|
|
GLIBCPP_CHECK_WCHAR_T_SUPPORT
|
|
|
|
AC_DEFINE(HAVE_COPYSIGN)
|
|
|
|
AC_DEFINE(HAVE_COPYSIGNF)
|
|
|
|
AC_DEFINE(HAVE_FREXPF)
|
|
|
|
AC_DEFINE(HAVE_HYPOT)
|
2002-10-18 06:46:54 +02:00
|
|
|
case "$target" in
|
2002-06-19 22:30:13 +02:00
|
|
|
*-hpux10*)
|
|
|
|
AC_DEFINE(HAVE_FINITE)
|
|
|
|
AC_DEFINE(HAVE_FINITEF)
|
|
|
|
AC_DEFINE(HAVE_ISINF)
|
|
|
|
AC_DEFINE(HAVE_ISINFF)
|
|
|
|
AC_DEFINE(HAVE_ISNAN)
|
|
|
|
AC_DEFINE(HAVE_ISNANF)
|
|
|
|
;;
|
|
|
|
esac
|
2001-12-03 23:28:57 +01:00
|
|
|
;;
|
2003-05-22 19:04:13 +02:00
|
|
|
*-linux*)
|
|
|
|
os_include_dir="os/gnu-linux"
|
2002-01-01 19:12:06 +01:00
|
|
|
AC_CHECK_HEADERS([nan.h ieeefp.h endian.h sys/isa_defs.h \
|
2002-06-18 21:07:12 +02:00
|
|
|
machine/endian.h machine/param.h sys/machine.h sys/types.h \
|
|
|
|
fp.h locale.h float.h inttypes.h])
|
2002-01-01 19:12:06 +01:00
|
|
|
SECTION_FLAGS='-ffunction-sections -fdata-sections'
|
2003-05-22 19:04:13 +02:00
|
|
|
AC_SUBST(SECTION_FLAGS)
|
2002-01-01 19:12:06 +01:00
|
|
|
GLIBCPP_CHECK_LINKER_FEATURES
|
|
|
|
GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT
|
|
|
|
GLIBCPP_CHECK_WCHAR_T_SUPPORT
|
|
|
|
AC_DEFINE(HAVE_COPYSIGN)
|
|
|
|
AC_DEFINE(HAVE_COPYSIGNF)
|
2002-06-19 22:30:13 +02:00
|
|
|
AC_DEFINE(HAVE_FINITE)
|
2003-05-22 19:04:13 +02:00
|
|
|
AC_DEFINE(HAVE_FINITEF)
|
2002-01-01 19:12:06 +01:00
|
|
|
AC_DEFINE(HAVE_FREXPF)
|
|
|
|
AC_DEFINE(HAVE_HYPOTF)
|
2002-06-19 22:30:13 +02:00
|
|
|
AC_DEFINE(HAVE_ISINF)
|
|
|
|
AC_DEFINE(HAVE_ISINFF)
|
|
|
|
AC_DEFINE(HAVE_ISNAN)
|
|
|
|
AC_DEFINE(HAVE_ISNANF)
|
2003-05-22 19:04:13 +02:00
|
|
|
AC_DEFINE(HAVE_SINCOS)
|
|
|
|
AC_DEFINE(HAVE_SINCOSF)
|
2002-06-19 22:30:13 +02:00
|
|
|
if test x"long_double_math_on_this_cpu" = x"yes"; then
|
|
|
|
AC_DEFINE(HAVE_FINITEL)
|
2003-05-22 19:04:13 +02:00
|
|
|
AC_DEFINE(HAVE_HYPOTL)
|
2002-06-19 22:30:13 +02:00
|
|
|
AC_DEFINE(HAVE_ISINFL)
|
|
|
|
AC_DEFINE(HAVE_ISNANL)
|
|
|
|
fi
|
2002-01-01 19:12:06 +01:00
|
|
|
;;
|
2003-05-22 19:04:13 +02:00
|
|
|
*-mingw32*)
|
|
|
|
os_include_dir="os/mingw32"
|
|
|
|
AC_CHECK_HEADERS([sys/types.h locale.h float.h])
|
|
|
|
GLIBCPP_CHECK_LINKER_FEATURES
|
|
|
|
GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT
|
|
|
|
GLIBCPP_CHECK_WCHAR_T_SUPPORT
|
|
|
|
;;
|
|
|
|
*-netbsd*)
|
|
|
|
os_include_dir="os/bsd/netbsd"
|
2002-10-17 07:26:21 +02:00
|
|
|
AC_CHECK_HEADERS([nan.h ieeefp.h endian.h sys/isa_defs.h \
|
|
|
|
machine/endian.h machine/param.h sys/machine.h sys/types.h \
|
2003-05-22 19:04:13 +02:00
|
|
|
fp.h locale.h float.h inttypes.h])
|
2002-10-17 07:26:21 +02:00
|
|
|
SECTION_FLAGS='-ffunction-sections -fdata-sections'
|
|
|
|
AC_SUBST(SECTION_FLAGS)
|
|
|
|
GLIBCPP_CHECK_LINKER_FEATURES
|
|
|
|
GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT
|
|
|
|
GLIBCPP_CHECK_WCHAR_T_SUPPORT
|
|
|
|
AC_DEFINE(HAVE_COPYSIGN)
|
|
|
|
AC_DEFINE(HAVE_COPYSIGNF)
|
|
|
|
AC_DEFINE(HAVE_FINITEF)
|
|
|
|
AC_DEFINE(HAVE_FINITE)
|
|
|
|
AC_DEFINE(HAVE_FREXPF)
|
|
|
|
AC_DEFINE(HAVE_HYPOTF)
|
|
|
|
AC_DEFINE(HAVE_ISINF)
|
2003-05-22 19:04:13 +02:00
|
|
|
AC_DEFINE(HAVE_ISINFF)
|
2002-10-17 07:26:21 +02:00
|
|
|
AC_DEFINE(HAVE_ISNAN)
|
|
|
|
AC_DEFINE(HAVE_ISNANF)
|
|
|
|
if test x"long_double_math_on_this_cpu" = x"yes"; then
|
|
|
|
AC_DEFINE(HAVE_FINITEL)
|
|
|
|
AC_DEFINE(HAVE_ISINFL)
|
|
|
|
AC_DEFINE(HAVE_ISNANL)
|
|
|
|
fi
|
|
|
|
;;
|
2003-05-22 19:04:13 +02:00
|
|
|
*-qnx6.1* | *-qnx6.2*)
|
|
|
|
os_include_dir="os/qnx/qnx6.1"
|
2002-06-11 19:54:27 +02:00
|
|
|
SECTION_FLAGS='-ffunction-sections -fdata-sections'
|
|
|
|
AC_SUBST(SECTION_FLAGS)
|
|
|
|
GLIBCPP_CHECK_LINKER_FEATURES
|
|
|
|
GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT
|
|
|
|
GLIBCPP_CHECK_WCHAR_T_SUPPORT
|
|
|
|
AC_DEFINE(HAVE_COSF)
|
|
|
|
AC_DEFINE(HAVE_COSL)
|
|
|
|
AC_DEFINE(HAVE_COSHF)
|
|
|
|
AC_DEFINE(HAVE_COSHL)
|
|
|
|
AC_DEFINE(HAVE_LOGF)
|
|
|
|
AC_DEFINE(HAVE_LOGL)
|
|
|
|
AC_DEFINE(HAVE_LOG10F)
|
|
|
|
AC_DEFINE(HAVE_LOG10L)
|
|
|
|
AC_DEFINE(HAVE_SINF)
|
|
|
|
AC_DEFINE(HAVE_SINL)
|
|
|
|
AC_DEFINE(HAVE_SINHF)
|
|
|
|
AC_DEFINE(HAVE_SINHL)
|
|
|
|
;;
|
2003-05-22 19:04:13 +02:00
|
|
|
*-solaris*)
|
|
|
|
case "$target" in
|
|
|
|
*-solaris2.5)
|
|
|
|
os_include_dir="os/solaris/solaris2.5"
|
|
|
|
;;
|
|
|
|
*-solaris2.6)
|
|
|
|
os_include_dir="os/solaris/solaris2.6"
|
|
|
|
;;
|
|
|
|
*-solaris2.7 | *-solaris2.8 | *-solaris2.9)
|
|
|
|
os_include_dir="os/solaris/solaris2.7"
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
AC_DEFINE(HAVE_STRTOF)
|
|
|
|
AC_DEFINE(HAVE_STRTOLD)
|
|
|
|
AC_DEFINE(HAVE_MMAP)
|
2002-10-17 07:26:21 +02:00
|
|
|
AC_DEFINE(HAVE_COPYSIGN)
|
2003-05-22 19:04:13 +02:00
|
|
|
AC_DEFINE(HAVE_ISNAN)
|
|
|
|
AC_DEFINE(HAVE_ISNANF)
|
2002-10-17 07:26:21 +02:00
|
|
|
AC_DEFINE(HAVE_MODFF)
|
2003-05-22 19:04:13 +02:00
|
|
|
AC_DEFINE(HAVE_HYPOT)
|
2002-10-17 07:26:21 +02:00
|
|
|
;;
|
2003-05-22 19:04:13 +02:00
|
|
|
*-windiss*)
|
|
|
|
os_include_dir="os/windiss"
|
2002-10-17 07:26:21 +02:00
|
|
|
AC_DEFINE(HAVE_ACOSF)
|
|
|
|
AC_DEFINE(HAVE_ASINF)
|
|
|
|
AC_DEFINE(HAVE_ATAN2F)
|
|
|
|
AC_DEFINE(HAVE_ATANF)
|
2002-05-07 22:43:10 +02:00
|
|
|
AC_DEFINE(HAVE_CEILF)
|
|
|
|
AC_DEFINE(HAVE_COPYSIGN)
|
|
|
|
AC_DEFINE(HAVE_COPYSIGNF)
|
|
|
|
AC_DEFINE(HAVE_COSF)
|
|
|
|
AC_DEFINE(HAVE_COSHF)
|
|
|
|
AC_DEFINE(HAVE_EXPF)
|
|
|
|
AC_DEFINE(HAVE_FABSF)
|
|
|
|
AC_DEFINE(HAVE_FLOORF)
|
|
|
|
AC_DEFINE(HAVE_FMODF)
|
|
|
|
AC_DEFINE(HAVE_FREXPF)
|
|
|
|
AC_DEFINE(HAVE_LDEXPF)
|
|
|
|
AC_DEFINE(HAVE_LOG10F)
|
|
|
|
AC_DEFINE(HAVE_LOGF)
|
|
|
|
AC_DEFINE(HAVE_MODFF)
|
|
|
|
AC_DEFINE(HAVE_POWF)
|
|
|
|
AC_DEFINE(HAVE_SINF)
|
|
|
|
AC_DEFINE(HAVE_SINHF)
|
|
|
|
AC_DEFINE(HAVE_SQRTF)
|
|
|
|
AC_DEFINE(HAVE_TANF)
|
|
|
|
AC_DEFINE(HAVE_TANHF)
|
|
|
|
;;
|
2002-03-10 20:28:05 +01:00
|
|
|
*)
|
2003-05-23 04:31:07 +02:00
|
|
|
if test "x${with_newlib}" = "xyes"; then
|
|
|
|
os_include_dir="os/newlib"
|
|
|
|
AC_DEFINE(HAVE_HYPOT)
|
2003-05-22 19:04:13 +02:00
|
|
|
|
2003-05-23 04:31:07 +02:00
|
|
|
# GLIBCPP_CHECK_STDLIB_SUPPORT
|
|
|
|
AC_DEFINE(HAVE_STRTOF)
|
|
|
|
AC_DEFINE(HAVE_STRTOLD)
|
|
|
|
# AC_FUNC_MMAP
|
|
|
|
AC_DEFINE(HAVE_MMAP)
|
2002-03-10 20:28:05 +01:00
|
|
|
|
2003-05-23 04:31:07 +02:00
|
|
|
AC_DEFINE(HAVE_ACOSF)
|
|
|
|
AC_DEFINE(HAVE_ASINF)
|
|
|
|
AC_DEFINE(HAVE_ATAN2F)
|
|
|
|
AC_DEFINE(HAVE_ATANF)
|
|
|
|
AC_DEFINE(HAVE_CEILF)
|
|
|
|
AC_DEFINE(HAVE_COPYSIGN)
|
|
|
|
AC_DEFINE(HAVE_COPYSIGNF)
|
|
|
|
AC_DEFINE(HAVE_COSF)
|
|
|
|
AC_DEFINE(HAVE_COSHF)
|
|
|
|
AC_DEFINE(HAVE_EXPF)
|
|
|
|
AC_DEFINE(HAVE_FABSF)
|
|
|
|
AC_DEFINE(HAVE_FLOORF)
|
|
|
|
AC_DEFINE(HAVE_FMODF)
|
|
|
|
AC_DEFINE(HAVE_FREXPF)
|
|
|
|
AC_DEFINE(HAVE_LDEXPF)
|
|
|
|
AC_DEFINE(HAVE_LOG10F)
|
|
|
|
AC_DEFINE(HAVE_LOGF)
|
|
|
|
AC_DEFINE(HAVE_MODFF)
|
|
|
|
AC_DEFINE(HAVE_POWF)
|
|
|
|
AC_DEFINE(HAVE_SINF)
|
|
|
|
AC_DEFINE(HAVE_SINHF)
|
|
|
|
AC_DEFINE(HAVE_SQRTF)
|
|
|
|
AC_DEFINE(HAVE_TANF)
|
|
|
|
AC_DEFINE(HAVE_TANHF)
|
|
|
|
else
|
|
|
|
AC_MSG_ERROR([No support for this host/target combination.])
|
|
|
|
fi
|
|
|
|
;;
|
2002-03-10 20:28:05 +01:00
|
|
|
esac
|
2001-12-03 23:28:57 +01:00
|
|
|
|
|
|
|
# At some point, we should differentiate between architectures
|
|
|
|
# like x86, which have long double versions, and alpha/powerpc/etc.,
|
|
|
|
# which don't. For the time being, punt.
|
|
|
|
if test x"long_double_math_on_this_cpu" = x"yes"; then
|
|
|
|
AC_DEFINE(HAVE_ACOSL)
|
|
|
|
AC_DEFINE(HAVE_ASINL)
|
|
|
|
AC_DEFINE(HAVE_ATAN2L)
|
|
|
|
AC_DEFINE(HAVE_ATANL)
|
|
|
|
AC_DEFINE(HAVE_CEILL)
|
|
|
|
AC_DEFINE(HAVE_COPYSIGNL)
|
|
|
|
AC_DEFINE(HAVE_COSL)
|
|
|
|
AC_DEFINE(HAVE_COSHL)
|
|
|
|
AC_DEFINE(HAVE_EXPL)
|
|
|
|
AC_DEFINE(HAVE_FABSL)
|
|
|
|
AC_DEFINE(HAVE_FLOORL)
|
|
|
|
AC_DEFINE(HAVE_FMODL)
|
|
|
|
AC_DEFINE(HAVE_FREXPL)
|
|
|
|
AC_DEFINE(HAVE_LDEXPL)
|
|
|
|
AC_DEFINE(HAVE_LOG10L)
|
|
|
|
AC_DEFINE(HAVE_LOGL)
|
|
|
|
AC_DEFINE(HAVE_MODFL)
|
|
|
|
AC_DEFINE(HAVE_POWL)
|
|
|
|
AC_DEFINE(HAVE_SINCOSL)
|
|
|
|
AC_DEFINE(HAVE_SINL)
|
|
|
|
AC_DEFINE(HAVE_SINHL)
|
|
|
|
AC_DEFINE(HAVE_SQRTL)
|
|
|
|
AC_DEFINE(HAVE_TANL)
|
|
|
|
AC_DEFINE(HAVE_TANHL)
|
|
|
|
fi
|
2002-06-18 21:07:12 +02:00
|
|
|
|
2000-04-21 22:33:34 +02:00
|
|
|
else
|
|
|
|
|
|
|
|
# We are being configured natively. We can do more elaborate tests
|
|
|
|
# that include AC_TRY_COMPILE now, as the linker is assumed to be
|
|
|
|
# working.
|
2003-06-09 16:54:08 +02:00
|
|
|
GLIBCPP_IS_CROSS_COMPILING=false
|
2000-04-21 22:33:34 +02:00
|
|
|
CANADIAN=no
|
|
|
|
|
|
|
|
# Check for available headers.
|
|
|
|
AC_CHECK_HEADERS([nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
|
2003-04-17 05:27:05 +02:00
|
|
|
machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
|
2003-05-02 04:53:28 +02:00
|
|
|
sys/types.h])
|
2000-04-21 22:33:34 +02:00
|
|
|
|
2000-06-19 05:14:40 +02:00
|
|
|
GLIBCPP_CHECK_COMPILER_FEATURES
|
|
|
|
GLIBCPP_CHECK_LINKER_FEATURES
|
2000-04-21 22:33:34 +02:00
|
|
|
GLIBCPP_CHECK_MATH_SUPPORT
|
2003-04-17 05:27:05 +02:00
|
|
|
GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
|
2000-06-20 00:20:15 +02:00
|
|
|
GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT
|
2000-04-21 22:33:34 +02:00
|
|
|
GLIBCPP_CHECK_WCHAR_T_SUPPORT
|
2000-10-27 14:31:37 +02:00
|
|
|
GLIBCPP_CHECK_STDLIB_SUPPORT
|
2003-03-28 19:28:47 +01:00
|
|
|
|
|
|
|
# For showmanyc_helper().
|
|
|
|
AC_CHECK_HEADERS(sys/ioctl.h sys/filio.h)
|
|
|
|
GLIBCPP_CHECK_POLL
|
|
|
|
GLIBCPP_CHECK_S_ISREG_OR_S_IFREG
|
|
|
|
|
2001-08-10 08:50:34 +02:00
|
|
|
AC_LC_MESSAGES
|
2000-04-21 22:33:34 +02:00
|
|
|
|
2001-02-11 19:15:49 +01:00
|
|
|
AC_TRY_COMPILE([
|
2001-10-23 23:40:31 +02:00
|
|
|
#include <setjmp.h>
|
|
|
|
], [sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);],
|
|
|
|
[AC_DEFINE(HAVE_SIGSETJMP, 1, [Define if sigsetjmp is available. ])
|
|
|
|
])
|
2001-02-11 19:15:49 +01:00
|
|
|
|
2000-04-21 22:33:34 +02:00
|
|
|
AC_FUNC_MMAP
|
|
|
|
fi
|
|
|
|
|
2003-06-17 07:46:01 +02:00
|
|
|
# This depends on GLIBCPP_CHECK_LINKER_FEATURES, but without it assumes no.
|
2002-02-22 12:36:26 +01:00
|
|
|
GLIBCPP_ENABLE_SYMVERS([yes])
|
2001-08-07 05:38:33 +02:00
|
|
|
|
2003-06-17 07:46:01 +02:00
|
|
|
# This depends on GLIBCPP_ENABLE_SYMVERS and GLIBCPP_IS_CROSS_COMPILING.
|
|
|
|
GLIBCPP_CONFIGURE_TESTSUITE
|
|
|
|
|
2001-07-13 18:47:56 +02:00
|
|
|
# Propagate the target-specific source directories through the build chain.
|
2002-09-26 07:25:14 +02:00
|
|
|
# (Nothing currently uses cpu_include_dir directly; only ATOMICITYH
|
2002-11-21 08:34:30 +01:00
|
|
|
# uses it, and it only gets used in this file.)
|
2002-06-24 07:50:58 +02:00
|
|
|
OS_INC_SRCDIR=config/${os_include_dir}
|
|
|
|
ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}
|
2001-07-13 18:47:56 +02:00
|
|
|
AC_SUBST(OS_INC_SRCDIR)
|
|
|
|
AC_SUBST(ATOMICITY_INC_SRCDIR)
|
2000-12-13 10:25:44 +01:00
|
|
|
|
2003-06-17 07:46:01 +02:00
|
|
|
# Determine cross-compile flags and all AM_CONDITIONALs.
|
2003-06-09 16:54:08 +02:00
|
|
|
AC_SUBST(GLIBCPP_IS_CROSS_COMPILING)
|
2000-12-18 19:03:08 +01:00
|
|
|
AM_CONDITIONAL(CANADIAN, test "$CANADIAN" = yes)
|
2003-06-09 16:54:08 +02:00
|
|
|
dnl from GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT:
|
|
|
|
AM_CONDITIONAL(GLIBCPP_BUILD_LIBMATH, test "$need_libmath" = yes)
|
2000-11-16 02:44:03 +01:00
|
|
|
|
2000-10-29 23:32:30 +01:00
|
|
|
AC_CACHE_SAVE
|
2000-04-21 22:33:34 +02:00
|
|
|
|
|
|
|
if test "${multilib}" = "yes"; then
|
|
|
|
multilib_arg="--enable-multilib"
|
|
|
|
else
|
|
|
|
multilib_arg=
|
|
|
|
fi
|
|
|
|
|
2001-02-06 07:32:01 +01:00
|
|
|
# Export all the install information
|
|
|
|
GLIBCPP_EXPORT_INSTALL_INFO
|
2000-10-15 10:45:33 +02:00
|
|
|
|
2002-12-16 20:02:01 +01:00
|
|
|
# Export all the include and flag information to Makefiles.
|
2000-10-12 13:45:23 +02:00
|
|
|
GLIBCPP_EXPORT_INCLUDES
|
|
|
|
GLIBCPP_EXPORT_FLAGS
|
|
|
|
|
2001-05-03 22:35:18 +02:00
|
|
|
if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
|
|
|
|
grep "enable shared" > /dev/null; then
|
|
|
|
LIBSUPCXX_PICFLAGS=-prefer-pic
|
|
|
|
else
|
|
|
|
LIBSUPCXX_PICFLAGS=
|
|
|
|
fi
|
|
|
|
AC_SUBST(LIBSUPCXX_PICFLAGS)
|
|
|
|
|
2001-07-13 18:47:56 +02:00
|
|
|
# Generate the various Makefiles, include files, and scripts.
|
2003-06-19 21:54:04 +02:00
|
|
|
# NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am,
|
|
|
|
# libsupc++/Makefile.am and testsuite/Makefile.am so that multilib installs
|
|
|
|
# will end up installed in the correct place. To work around this not being
|
|
|
|
# passed # down from config-ml.in -> top_srcdir/Makefile.am ->
|
2001-01-23 20:18:29 +01:00
|
|
|
# top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
|
2001-07-13 18:47:56 +02:00
|
|
|
AC_OUTPUT(Makefile \
|
2003-01-10 05:51:48 +01:00
|
|
|
include/Makefile src/Makefile \
|
2003-06-12 05:24:16 +02:00
|
|
|
libmath/Makefile libsupc++/Makefile \
|
2003-06-18 04:39:10 +02:00
|
|
|
po/Makefile testsuite/Makefile scripts/check_survey scripts/testsuite_flags,
|
2003-01-10 05:51:48 +01:00
|
|
|
[test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
|
|
|
|
if test -n "$CONFIG_FILES"; then
|
|
|
|
if test -n "${with_build_subdir}" || test -n "${with_target_subdir}"; then
|
|
|
|
LD="${ORIGINAL_LD_FOR_MULTILIBS}"
|
2003-03-14 16:12:06 +01:00
|
|
|
# Ony modify Makefiles that are just being created.
|
|
|
|
case " $CONFIG_FILES" in
|
|
|
|
*" Makefile"*)
|
|
|
|
ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
case $CONFIG_FILES in
|
|
|
|
*src/Makefile*)
|
|
|
|
grep '^MULTISUBDIR =' Makefile >> src/Makefile
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
case $CONFIG_FILES in
|
|
|
|
*libsupc++/Makefile*)
|
|
|
|
grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
|
|
|
|
;;
|
|
|
|
esac
|
2003-06-19 21:54:04 +02:00
|
|
|
case $CONFIG_FILES in
|
|
|
|
*testsuite/Makefile*)
|
|
|
|
grep '^MULTISUBDIR =' Makefile >> testsuite/Makefile
|
|
|
|
;;
|
|
|
|
esac
|
2003-01-08 20:43:11 +01:00
|
|
|
fi
|
2003-01-10 05:51:48 +01:00
|
|
|
fi
|
2003-06-18 04:39:10 +02:00
|
|
|
chmod +x scripts/check_survey
|
2003-06-18 03:52:08 +02:00
|
|
|
chmod +x scripts/testsuite_flags],
|
2000-04-21 22:33:34 +02:00
|
|
|
srcdir=${srcdir}
|
|
|
|
host=${host}
|
|
|
|
target=${target}
|
2002-12-18 02:18:58 +01:00
|
|
|
with_target_subdir=${with_target_subdir}
|
|
|
|
with_build_subdir=${with_build_subdir}
|
2000-04-21 22:33:34 +02:00
|
|
|
with_multisubdir=${with_multisubdir}
|
|
|
|
ac_configure_args="${multilib_arg} ${ac_configure_args}"
|
|
|
|
CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
|
|
|
|
glibcpp_basedir=${glibcpp_basedir}
|
|
|
|
CC="${CC}"
|
|
|
|
CXX="${CXX}"
|
2003-02-20 10:08:45 +01:00
|
|
|
ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
|
2000-04-21 22:33:34 +02:00
|
|
|
)
|
2002-03-18 22:41:02 +01:00
|
|
|
dnl In autoconf 2.5x, AC_OUTPUT is replaced by three AC_ macros:
|
|
|
|
dnl AC_CONFIG_FILES(Makefile \
|
|
|
|
dnl include/Makefile src/Makefile \
|
2003-06-12 05:24:16 +02:00
|
|
|
dnl libmath/Makefile libsupc++/Makefile \
|
2003-06-18 04:39:10 +02:00
|
|
|
dnl po/Makefile testsuite/Makefile \
|
|
|
|
dnl scripts/check_survey scripts/testsuite_flags)
|
2002-03-18 22:41:02 +01:00
|
|
|
dnl AC_CONFIG_COMMANDS([default],
|
|
|
|
dnl [if test -n "$CONFIG_FILES"; then
|
2003-03-14 16:12:06 +01:00
|
|
|
dnl # Ony modify Makefiles that are just being created.
|
|
|
|
dnl case " $CONFIG_FILES" in
|
|
|
|
dnl *" Makefile"*)
|
|
|
|
dnl ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
|
|
|
|
dnl ;;
|
|
|
|
dnl esac
|
|
|
|
dnl case $CONFIG_FILES in
|
|
|
|
dnl *src/Makefile*)
|
|
|
|
dnl grep '^MULTISUBDIR =' Makefile >> src/Makefile
|
|
|
|
dnl ;;
|
|
|
|
dnl esac
|
|
|
|
dnl case $CONFIG_FILES in
|
|
|
|
dnl *libsupc++/Makefile*)
|
|
|
|
dnl grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
|
|
|
|
dnl ;;
|
|
|
|
dnl esac
|
2003-06-19 21:54:04 +02:00
|
|
|
dnl case $CONFIG_FILES in
|
|
|
|
dnl *testsuite/Makefile*)
|
|
|
|
dnl grep '^MULTISUBDIR =' Makefile >> testsuite/Makefile
|
|
|
|
dnl ;;
|
|
|
|
dnl esac
|
2002-03-18 22:41:02 +01:00
|
|
|
dnl fi
|
2003-06-18 04:39:10 +02:00
|
|
|
dnl chmod +x scripts/check_survey
|
2003-06-18 03:52:08 +02:00
|
|
|
dnl chmod +x scripts/testsuite_flags
|
2002-03-18 22:41:02 +01:00
|
|
|
dnl ],
|
|
|
|
dnl srcdir=${srcdir}
|
|
|
|
dnl host=${host}
|
|
|
|
dnl target=${target}
|
|
|
|
dnl with_multisubdir=${with_multisubdir}
|
|
|
|
dnl ac_configure_args="${multilib_arg} ${ac_configure_args}"
|
|
|
|
dnl CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
|
|
|
|
dnl glibcpp_basedir=${glibcpp_basedir}
|
|
|
|
dnl CC="${CC}"
|
|
|
|
dnl CXX="${CXX}"
|
|
|
|
dnl )
|
|
|
|
dnl AC_OUTPUT
|
2000-04-21 22:33:34 +02:00
|
|
|
|
|
|
|
|
2000-07-17 20:17:33 +02:00
|
|
|
# Sanity checking & User-visible messages.
|
|
|
|
# Checks down here, otherwise they get scrolled off before
|
|
|
|
# the user will notice.
|
|
|
|
|
2000-07-26 08:51:38 +02:00
|
|
|
# Trying to get more people to read documentation. Possibly remove
|
|
|
|
# check and warn all the time. There is no "informational" AC_MSG_
|
|
|
|
# macro, so these are going to be printed even when --quiet/--silent
|
|
|
|
# is given.
|
2000-07-24 18:34:00 +02:00
|
|
|
if test ! -f stamp-sanity-warned; then
|
|
|
|
touch stamp-sanity-warned
|
2000-07-26 08:51:38 +02:00
|
|
|
echo ""
|
|
|
|
echo "Please make certain that you read the installation information here:"
|
2002-05-03 13:09:51 +02:00
|
|
|
echo " faster => ${srcdir}/docs/html/install.html"
|
acinclude.m4, [...]: Change sourceware.cygnus.com and sources.redhat.com URLs for libstdc++ web...
* acinclude.m4, configure.in, mkcheck.in,
testsuite/21_strings/ctor_copy_dtor.cc,
testsuite/21_strings/inserters_extractors.cc,
testsuite/23_containers/map_operators.cc,
testsuite/23_containers/vector_element_access.cc,
testsuite/25_algorithms/lower_bound.cc,
testsuite/27_io/ifstream_members.cc,
testsuite/27_io/istream_extractor_arith.cc,
testsuite/27_io/istream_unformatted.cc,
testsuite/27_io/ofstream_members.cc,
testsuite/27_io/ostream_inserter_char.cc,
testsuite/27_io/ostream_inserter_other.cc,
testsuite/27_io/ostream_manip.cc, testsuite/27_io/streambuf.cc:
Change sourceware.cygnus.com and sources.redhat.com URLs for
libstdc++ web pages and list archives to point to gcc.gnu.org
* aclocal.m4, configure: Regenerate.
From-SVN: r38428
2000-12-21 23:08:39 +01:00
|
|
|
echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
|
2000-07-26 08:51:38 +02:00
|
|
|
echo ""
|
|
|
|
echo "and the configuration information here:"
|
2002-05-03 13:09:51 +02:00
|
|
|
echo " faster => ${srcdir}/docs/html/configopts.html"
|
acinclude.m4, [...]: Change sourceware.cygnus.com and sources.redhat.com URLs for libstdc++ web...
* acinclude.m4, configure.in, mkcheck.in,
testsuite/21_strings/ctor_copy_dtor.cc,
testsuite/21_strings/inserters_extractors.cc,
testsuite/23_containers/map_operators.cc,
testsuite/23_containers/vector_element_access.cc,
testsuite/25_algorithms/lower_bound.cc,
testsuite/27_io/ifstream_members.cc,
testsuite/27_io/istream_extractor_arith.cc,
testsuite/27_io/istream_unformatted.cc,
testsuite/27_io/ofstream_members.cc,
testsuite/27_io/ostream_inserter_char.cc,
testsuite/27_io/ostream_inserter_other.cc,
testsuite/27_io/ostream_manip.cc, testsuite/27_io/streambuf.cc:
Change sourceware.cygnus.com and sources.redhat.com URLs for
libstdc++ web pages and list archives to point to gcc.gnu.org
* aclocal.m4, configure: Regenerate.
From-SVN: r38428
2000-12-21 23:08:39 +01:00
|
|
|
echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
|
2000-07-26 08:51:38 +02:00
|
|
|
echo ""
|
2000-07-26 23:30:45 +02:00
|
|
|
echo "before proceeding with ${_cv_gnu_make_command}."
|
2000-07-26 08:51:38 +02:00
|
|
|
echo ""
|
2000-07-17 20:17:33 +02:00
|
|
|
fi
|