diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2005-03-24 05:45:45 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2005-03-24 05:45:45 +0000 |
commit | 347669a079a7005bf211e57cba5db24d0b99f2f3 (patch) | |
tree | 15858b7da5b678b1ba495dd35826662b01a72d3a /libstdc++-v3/configure.ac | |
parent | a53ed3ded702e70cf720a032e880756d3bd4ed0b (diff) | |
download | gcc-347669a079a7005bf211e57cba5db24d0b99f2f3.zip gcc-347669a079a7005bf211e57cba5db24d0b99f2f3.tar.gz gcc-347669a079a7005bf211e57cba5db24d0b99f2f3.tar.bz2 |
acinclude.m4: Adjust so that _GLIBCXX_USE_C99 implies using _GLIBCXX_USE_C99_COMPLEX...
2005-03-23 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4: Adjust so that _GLIBCXX_USE_C99 implies
using _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_USE_C99_MATH, and
_GLIBCXX_USE_C99_WCHAR.
Remove GLIBCXX_ENABLE_C_MBCHAR, consolidate in GLIBCXX_ENABLE_C99
and GLIBCXX_ENABLE_WCHAR_T.
Take C99 bits from GLIBCXX_CHECK_WCHAR_T_SUPPORT and put in
GLIBCXX_ENABLE_C99.
Change remaining parts of GLIBCXX_CHECK_WCHAR_T_SUPPORT to
GLIBCXX_CHECK_ICONV_SUPPORT.
* configure.ac: Remove GLIBCXX_ENABLE_C_MBCHAR, use
GLIBCXX_CHECK_ICONV_SUPPORT and GLIBCXX_ENABLE_WCHAR_T.
* crossconfig.m4: Same.
* acconfig.h: Same, adjust comments.
* config.h.in: Regenerate.
* configure: Regenerate.
* docs/html/configopts.html: Change --enable-c-mbchar to
--enable-wchar_t.
* config/locale/gnu/c++locale_internal.h: Guard wide functions
with _GLIBCXX_USE_WCHAR_T.
* include/c_std/std_cwctype.h: Alphabetize, remove duplicates.
* include/c_std/std_cstdio.h: Spacing.
* config/locale/gnu/c_locale.h: Tweaks for unused warnings.
* src/debug.cc: Same.
From-SVN: r96981
Diffstat (limited to 'libstdc++-v3/configure.ac')
-rw-r--r-- | libstdc++-v3/configure.ac | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/libstdc++-v3/configure.ac b/libstdc++-v3/configure.ac index 5d0a54f..f2271c1 100644 --- a/libstdc++-v3/configure.ac +++ b/libstdc++-v3/configure.ac @@ -64,32 +64,28 @@ AM_INIT_AUTOMAKE([1.9.1 no-define foreign no-dependencies -Wall -Wno-portability # up critical shell variables. GLIBCXX_CONFIGURE -#AC_MSG_NOTICE([====== Starting libtool configuration]) AC_LIBTOOL_DLOPEN AM_PROG_LIBTOOL AC_SUBST(enable_shared) AC_SUBST(enable_static) -#AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10 # Possibly disable most of the library. -## XXX Consider skipping unncessary tests altogether in this case, rather +## TODO: Consider skipping unncessary tests altogether in this case, rather ## than just ignoring the results. Faster /and/ more correct, win win. GLIBCXX_ENABLE_HOSTED -# Check for support bits and g++ features that don't require linking. +# Check for compiler support that doesn't require linking. GLIBCXX_ENABLE_SJLJ_EXCEPTIONS GLIBCXX_ENABLE_PCH($is_hosted) # Enable all the variable C++ runtime options. -# NB: C_MBCHAR must come early. GLIBCXX_ENABLE_CSTDIO GLIBCXX_ENABLE_CLOCALE GLIBCXX_ENABLE_ALLOCATOR GLIBCXX_ENABLE_CHEADERS($c_model) dnl c_model from configure.host -GLIBCXX_ENABLE_C_MBCHAR([yes]) GLIBCXX_ENABLE_C99([yes]) GLIBCXX_ENABLE_LONG_LONG([yes]) -GLIBCXX_ENABLE_THREADS +GLIBCXX_ENABLE_WCHAR_T([yes]) GLIBCXX_ENABLE_CONCEPT_CHECKS([no]) GLIBCXX_ENABLE_DEBUG_FLAGS(["-g3 -O0"]) GLIBCXX_ENABLE_DEBUG([no]) @@ -97,6 +93,7 @@ GLIBCXX_ENABLE_CXX_FLAGS GLIBCXX_ENABLE_FULLY_DYNAMIC_STRING([no]) # No surprises, no surprises... +GLIBCXX_ENABLE_THREADS if test $atomicity_dir = cpu/generic ; then AC_MSG_WARN([No native atomic operations are provided for this platform.]) if test $target_thread_file = single; then @@ -124,7 +121,7 @@ if $GLIBCXX_IS_NATIVE; then GLIBCXX_CHECK_MATH_SUPPORT GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT - GLIBCXX_CHECK_WCHAR_T_SUPPORT + GLIBCXX_CHECK_ICONV_SUPPORT GLIBCXX_CHECK_STDLIB_SUPPORT # For showmanyc_helper(). |