2000-04-21 22:33:34 +02:00
|
|
|
# Process this file with autoconf to produce a configure script, like so:
|
2000-05-25 07:11:42 +02: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
|
|
|
|
|
|
|
# When building with srcdir == objdir, links to the source files will
|
|
|
|
# be created in directories within the target_subdir. We have to
|
|
|
|
# adjust toplevel_srcdir accordingly, so that configure finds
|
|
|
|
# install-sh and other auxiliary files that live in the top-level
|
|
|
|
# source directory.
|
|
|
|
if test "${srcdir}" = "."; then
|
|
|
|
if test -z "${with_target_subdir}"; then
|
|
|
|
toplevel_srcdir="\${top_srcdir}/.."
|
|
|
|
auxdir="${srcdir}/.."
|
|
|
|
else
|
|
|
|
if test "${with_target_subdir}" != "."; then
|
|
|
|
toplevel_srcdir="\${top_srcdir}/${with_multisrctop}../.."
|
|
|
|
auxdir="${srcdir}/${with_multisrctop}../.."
|
|
|
|
else
|
|
|
|
toplevel_srcdir="\${top_srcdir}/${with_multisrctop}.."
|
|
|
|
auxdir="${srcdir}/${with_multisrctop}.."
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
toplevel_srcdir="\${top_srcdir}/.."
|
|
|
|
auxdir="${srcdir}/.."
|
|
|
|
fi
|
|
|
|
AC_CONFIG_AUX_DIR($auxdir)
|
|
|
|
AC_SUBST(toplevel_srcdir)
|
|
|
|
|
|
|
|
dnl This is here just to satisfy automake.
|
|
|
|
ifelse(not,equal,[AC_CONFIG_AUX_DIR(..)])
|
2000-04-21 22:33:34 +02:00
|
|
|
|
|
|
|
# Gets and sets build, host, target, *_vendor, *_cpu, *_os, etc.
|
|
|
|
AC_CANONICAL_SYSTEM
|
|
|
|
|
|
|
|
# We use these options to decide which functions to include.
|
|
|
|
AC_ARG_WITH(target-subdir,
|
|
|
|
[ --with-target-subdir=SUBDIR
|
|
|
|
configuring in a subdirectory])
|
|
|
|
AC_ARG_WITH(cross-host,
|
|
|
|
[ --with-cross-host=HOST configuring with a cross compiler])
|
|
|
|
|
2000-12-05 23:03:19 +01:00
|
|
|
# Runs configure.host and configure.target. Have to 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
|
|
|
|
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)
|
2000-07-17 20:17:33 +02:00
|
|
|
GLIBCPP_CHECK_GNU_MAKE
|
|
|
|
if test "x$_cv_gnu_make_command" = "x"; then
|
2000-07-24 18:34:00 +02:00
|
|
|
AC_MSG_ERROR([GNU make not found. Please install it or correct your path.])
|
2000-07-17 20:17:33 +02:00
|
|
|
fi
|
2000-04-21 22:33:34 +02:00
|
|
|
AM_CONFIG_HEADER(config.h)
|
|
|
|
|
|
|
|
# Check for c++ or library specific bits that don't require linking.
|
|
|
|
GLIBCPP_CHECK_COMPILER_VERSION
|
|
|
|
|
2000-10-25 14:50:06 +02:00
|
|
|
# Enable all the crazy c++ stuff. C_MBCHAR must come early.
|
2000-09-08 00:40:17 +02:00
|
|
|
GLIBCPP_ENABLE_DEBUG($USE_MAINTAINER_MODE)
|
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
|
2000-11-17 02:04:02 +01:00
|
|
|
GLIBCPP_ENABLE_C_MBCHAR([yes])
|
2000-12-19 23:55:07 +01:00
|
|
|
GLIBCPP_ENABLE_LONG_LONG([no])
|
2000-12-21 23:52:51 +01:00
|
|
|
GLIBCPP_ENABLE_CHEADERS([c_std])
|
2000-04-21 22:33:34 +02:00
|
|
|
GLIBCPP_ENABLE_THREADS
|
2000-05-11 21:52:00 +02:00
|
|
|
GLIBCPP_ENABLE_CXX_FLAGS([none])
|
2000-04-21 22:33:34 +02:00
|
|
|
|
|
|
|
if test -n "$with_cross_host"; then
|
|
|
|
|
|
|
|
# We are being configured with a cross compiler. AC_REPLACE_FUNCS
|
|
|
|
# may not work correctly, because the compiler may not be able to
|
|
|
|
# link executables.
|
|
|
|
xcompiling=1
|
|
|
|
NATIVE=no
|
2000-12-13 10:25:44 +01:00
|
|
|
|
2000-04-21 22:33:34 +02:00
|
|
|
# If Canadian cross, then don't pick up tools from the build
|
|
|
|
# directory.
|
2000-12-13 10:25:44 +01:00
|
|
|
if test x"$build" != x"$with_cross_host" && x"$build" != x"$target"; then
|
2000-04-21 22:33:34 +02:00
|
|
|
CANADIAN=yes
|
|
|
|
NULL_TARGET=yes
|
|
|
|
else
|
|
|
|
CANADIAN=no
|
|
|
|
NULL_TARGET=no
|
|
|
|
fi
|
|
|
|
|
|
|
|
case "$target_alias" in
|
2001-01-08 18:53:52 +01:00
|
|
|
*-linux*)
|
2000-12-13 10:25:44 +01:00
|
|
|
# Construct linux crosses by hand, eliminating bits that need ld...
|
|
|
|
# Check for available headers.
|
|
|
|
AC_CHECK_HEADERS([nan.h ieeefp.h endian.h sys/isa_defs.h \
|
|
|
|
machine/endian.h machine/param.h sys/machine.h fp.h locale.h \
|
|
|
|
float.h inttypes.h])
|
|
|
|
|
|
|
|
# GLIBCPP_CHECK_COMPILER_FEATURES
|
|
|
|
SECTION_FLAGS='-ffunction-sections -fdata-sections'
|
|
|
|
AC_SUBST(SECTION_FLAGS)
|
|
|
|
GLIBCPP_CHECK_LINKER_FEATURES
|
|
|
|
# GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
|
|
|
|
# GLIBCPP_CHECK_MATH_SUPPORT
|
|
|
|
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_FINITE)
|
|
|
|
AC_DEFINE(HAVE_FINITEF)
|
|
|
|
AC_DEFINE(HAVE_FLOORF)
|
|
|
|
AC_DEFINE(HAVE_FMODF)
|
|
|
|
AC_DEFINE(HAVE_FREXPF)
|
|
|
|
AC_DEFINE(HAVE_ISINF)
|
|
|
|
AC_DEFINE(HAVE_ISINFF)
|
|
|
|
AC_DEFINE(HAVE_ISNAN)
|
|
|
|
AC_DEFINE(HAVE_ISNANF)
|
|
|
|
AC_DEFINE(HAVE_LDEXPF)
|
|
|
|
AC_DEFINE(HAVE_LOG10F)
|
|
|
|
AC_DEFINE(HAVE_LOGF)
|
|
|
|
AC_DEFINE(HAVE_MODFF)
|
|
|
|
AC_DEFINE(HAVE_POWF)
|
|
|
|
AC_DEFINE(HAVE_SINCOS)
|
|
|
|
AC_DEFINE(HAVE_SINCOSF)
|
|
|
|
AC_DEFINE(HAVE_SINF)
|
|
|
|
AC_DEFINE(HAVE_SINHF)
|
|
|
|
AC_DEFINE(HAVE_SQRTF)
|
|
|
|
AC_DEFINE(HAVE_TANF)
|
|
|
|
AC_DEFINE(HAVE_TANHF)
|
|
|
|
|
|
|
|
# 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_FINITEL)
|
|
|
|
AC_DEFINE(HAVE_FLOORL)
|
|
|
|
AC_DEFINE(HAVE_FMODL)
|
|
|
|
AC_DEFINE(HAVE_FREXPL)
|
|
|
|
AC_DEFINE(HAVE_ISINFL)
|
|
|
|
AC_DEFINE(HAVE_ISNANL)
|
|
|
|
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
|
|
|
|
GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT
|
|
|
|
GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT
|
|
|
|
GLIBCPP_CHECK_WCHAR_T_SUPPORT
|
2001-01-23 21:58:23 +01:00
|
|
|
os_include_dir="config/os/gnu-linux"
|
2000-12-13 10:25:44 +01:00
|
|
|
# GLIBCPP_CHECK_STDLIB_SUPPORT
|
|
|
|
AC_DEFINE(HAVE_STRTOF)
|
|
|
|
AC_DEFINE(HAVE_STRTOLD)
|
|
|
|
# AC_FUNC_MMAP
|
|
|
|
AC_DEFINE(HAVE_MMAP)
|
2000-04-21 22:33:34 +02:00
|
|
|
;;
|
|
|
|
*)
|
|
|
|
# We assume newlib. This lets us hard-code the functions we know
|
|
|
|
# we'll have.
|
2000-10-15 10:45:33 +02:00
|
|
|
AC_DEFINE(HAVE_FINITE)
|
|
|
|
AC_DEFINE(HAVE_ISNAN)
|
|
|
|
AC_DEFINE(HAVE_ISNANF)
|
|
|
|
AC_DEFINE(HAVE_ISINF)
|
|
|
|
AC_DEFINE(HAVE_ISINFF)
|
|
|
|
|
2000-12-18 19:03:08 +01:00
|
|
|
os_include_dir="config/os/newlib"
|
2000-04-21 22:33:34 +02:00
|
|
|
|
2000-10-15 10:45:33 +02:00
|
|
|
AC_DEFINE(_GLIBCPP_BUGGY_FLOAT_COMPLEX)
|
|
|
|
AC_DEFINE(_GLIBCPP_BUGGY_COMPLEX)
|
2000-10-31 02:56:19 +01:00
|
|
|
# need to check for faster f versions of math functions, ie sinf?
|
2000-04-21 22:33:34 +02:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
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.
|
|
|
|
xcompiling=0
|
|
|
|
NATIVE=yes
|
|
|
|
CANADIAN=no
|
|
|
|
NULL_TARGET=no
|
|
|
|
|
|
|
|
# Check for available headers.
|
|
|
|
AC_CHECK_HEADERS([nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
|
2000-10-31 02:56:19 +01:00
|
|
|
machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.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_BUILTIN_MATH_SUPPORT
|
|
|
|
GLIBCPP_CHECK_MATH_SUPPORT
|
2000-06-20 00:20:15 +02:00
|
|
|
GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT
|
|
|
|
GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_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
|
2000-04-21 22:33:34 +02:00
|
|
|
|
2001-02-11 19:15:49 +01:00
|
|
|
AC_TRY_COMPILE([
|
|
|
|
#include <setjmp.h>
|
|
|
|
], [sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);],
|
|
|
|
[AC_DEFINE(HAVE_SIGSETJMP, 1, [Define if sigsetjmp is available. ])])
|
|
|
|
|
2000-04-21 22:33:34 +02:00
|
|
|
AC_FUNC_MMAP
|
|
|
|
fi
|
|
|
|
|
2000-12-13 10:25:44 +01:00
|
|
|
# Now that ctype is determined for all possible targets, we can do this...
|
2001-01-23 21:58:23 +01:00
|
|
|
AC_LINK_FILES($os_include_dir/bits/ctype_base.h, \
|
2000-12-13 10:25:44 +01:00
|
|
|
include/bits/ctype_base.h)
|
2001-01-23 21:58:23 +01:00
|
|
|
AC_LINK_FILES($os_include_dir/bits/ctype_inline.h, \
|
2000-12-13 10:25:44 +01:00
|
|
|
include/bits/ctype_inline.h)
|
2001-01-23 21:58:23 +01:00
|
|
|
AC_LINK_FILES($os_include_dir/bits/ctype_noninline.h, \
|
2000-12-13 10:25:44 +01:00
|
|
|
include/bits/ctype_noninline.h)
|
2001-01-23 21:58:23 +01:00
|
|
|
AC_LINK_FILES($ATOMICITYH/bits/atomicity.h, include/bits/atomicity.h)
|
2000-12-13 10:25:44 +01:00
|
|
|
|
2000-04-21 22:33:34 +02:00
|
|
|
AM_CONDITIONAL(NULL_TARGET, test "$NULL_TARGET" = yes)
|
|
|
|
AM_CONDITIONAL(NATIVE, test "$NATIVE" = yes || test "$NULL_TARGET" = yes)
|
2000-12-18 19:03:08 +01:00
|
|
|
AM_CONDITIONAL(CANADIAN, test "$CANADIAN" = 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
|
|
|
AC_LC_MESSAGES
|
|
|
|
|
|
|
|
if test "${multilib}" = "yes"; then
|
|
|
|
multilib_arg="--enable-multilib"
|
|
|
|
else
|
|
|
|
multilib_arg=
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
# Generate the various Makefiles, include files, and scripts.
|
|
|
|
|
2000-10-15 10:45:33 +02:00
|
|
|
# Needed so that g++ can find the correct include subdir automatically.
|
|
|
|
INTERFACE=v3
|
|
|
|
|
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
|
|
|
|
2000-10-12 13:45:23 +02:00
|
|
|
# Export all the include and flag information to makefiles.
|
|
|
|
GLIBCPP_EXPORT_INCLUDES
|
|
|
|
GLIBCPP_EXPORT_FLAGS
|
|
|
|
|
2000-10-29 23:32:30 +01:00
|
|
|
# This should be done by mkincludedir, but hack around it now.
|
|
|
|
blddir=`pwd`
|
|
|
|
echo "checking for $blddir/include"
|
|
|
|
|
|
|
|
if test ! -d "$blddir/include"; then
|
|
|
|
mkdir "$blddir/include"
|
|
|
|
fi
|
|
|
|
|
2000-04-21 22:33:34 +02:00
|
|
|
# NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
|
2001-01-23 20:18:29 +01:00
|
|
|
# and libsupc++/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 ->
|
|
|
|
# top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
|
2000-11-26 13:20:50 +01:00
|
|
|
AC_OUTPUT(tests_flags mkcheck Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile,
|
2000-04-21 22:33:34 +02:00
|
|
|
[if test -n "$CONFIG_FILES"; then
|
|
|
|
ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
|
|
|
|
grep '^MULTISUBDIR =' Makefile >> src/Makefile
|
2001-01-23 20:18:29 +01:00
|
|
|
grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
|
2000-10-26 09:28:25 +02:00
|
|
|
fi
|
2000-11-26 13:20:50 +01:00
|
|
|
chmod +x tests_flags
|
2000-10-26 09:28:25 +02:00
|
|
|
chmod +x mkcheck
|
|
|
|
],
|
2000-04-21 22:33:34 +02:00
|
|
|
srcdir=${srcdir}
|
|
|
|
host=${host}
|
|
|
|
target=${target}
|
|
|
|
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}"
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
# Generate bits/c++config.h
|
|
|
|
# NB: This must be the first generated file as others include it. . .
|
2000-11-25 00:48:45 +01:00
|
|
|
$srcdir/mkc++config $blddir $srcdir
|
2000-04-21 22:33:34 +02:00
|
|
|
|
|
|
|
# Generate bits/std_limits.h and src/limitsMEMBERS.cc
|
2000-10-15 10:45:33 +02:00
|
|
|
if test ! -f stamp-limits; then
|
2000-11-25 00:48:45 +01:00
|
|
|
$srcdir/mknumeric_limits $blddir $srcdir $xcompiling
|
2000-12-14 23:53:59 +01:00
|
|
|
if test ! -f include/bits/std_limits.h; then
|
|
|
|
echo "mknumeric_limits failed to execute properly: exiting"
|
|
|
|
exit 1
|
|
|
|
else
|
|
|
|
touch stamp-limits
|
|
|
|
fi
|
2000-10-15 10:45:33 +02:00
|
|
|
fi
|
2000-07-17 20:17:33 +02:00
|
|
|
|
2000-10-17 12:12:23 +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:"
|
2000-07-17 20:17:33 +02:00
|
|
|
echo " faster => ${srcdir}/docs/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:"
|
2000-07-17 20:17:33 +02:00
|
|
|
echo " faster => ${srcdir}/docs/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
|