acinclude.m4: Adjust so that _GLIBCXX_USE_C99 implies using _GLIBCXX_USE_C99_COMPLEX...
authorBenjamin Kosnik <bkoz@redhat.com>
Thu, 24 Mar 2005 05:45:45 +0000 (05:45 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Thu, 24 Mar 2005 05:45:45 +0000 (05:45 +0000)
commit347669a079a7005bf211e57cba5db24d0b99f2f3
tree15858b7da5b678b1ba495dd35826662b01a72d3a
parenta53ed3ded702e70cf720a032e880756d3bd4ed0b
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
13 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/acconfig.h
libstdc++-v3/acinclude.m4
libstdc++-v3/config.h.in
libstdc++-v3/config/locale/gnu/c++locale_internal.h
libstdc++-v3/config/locale/gnu/c_locale.h
libstdc++-v3/configure
libstdc++-v3/configure.ac
libstdc++-v3/crossconfig.m4
libstdc++-v3/docs/html/configopts.html
libstdc++-v3/include/c_std/std_cstdio.h
libstdc++-v3/include/c_std/std_cwctype.h
libstdc++-v3/src/debug.cc