diff options
author | pme <pme@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-02 02:53:28 +0000 |
---|---|---|
committer | pme <pme@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-02 02:53:28 +0000 |
commit | 307f7a6d3dd50baf8ab642e80e9f16eeaa3abf48 (patch) | |
tree | 000214aa7562016317a69d97eb75f1aac7062591 /libstdc++-v3/acinclude.m4 | |
parent | b58ef4b3452cfaf05a26ce76cd36d05add5311e9 (diff) | |
download | ppe42-gcc-307f7a6d3dd50baf8ab642e80e9f16eeaa3abf48.tar.gz ppe42-gcc-307f7a6d3dd50baf8ab642e80e9f16eeaa3abf48.zip |
2003-05-01 Phil Edwards <pme@gcc.gnu.org>
* acconfig.h (_GLIBCPP_USE_NLS): New symbol.
* configure.in: Move libintl.h header test...
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): ...to here. Gather all
the NLS-related test results into one symbol.
* src/functexcept.cc: Use it here.
* aclocal.m4, config.h.in, configure: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66372 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/acinclude.m4')
-rw-r--r-- | libstdc++-v3/acinclude.m4 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4 index f1f5d7a41bb..c1bae225f6b 100644 --- a/libstdc++-v3/acinclude.m4 +++ b/libstdc++-v3/acinclude.m4 @@ -1292,7 +1292,11 @@ AC_DEFUN(GLIBCPP_ENABLE_CLOCALE, [ # A standalone libintl (e.g., GNU libintl) may be in use. if test $USE_NLS = yes; then - AC_SEARCH_LIBS(gettext, intl,, USE_NLS=no) + AC_CHECK_HEADERS([libintl.h], [], USE_NLS=no) + AC_SEARCH_LIBS(gettext, intl, [], USE_NLS=no) + fi + if test $USE_NLS = yes; then + AC_DEFINE(_GLIBCPP_USE_NLS) fi AC_SUBST(USE_NLS) |