summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/acinclude.m4
diff options
context:
space:
mode:
authorpme <pme@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-02 02:53:28 +0000
committerpme <pme@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-02 02:53:28 +0000
commit307f7a6d3dd50baf8ab642e80e9f16eeaa3abf48 (patch)
tree000214aa7562016317a69d97eb75f1aac7062591 /libstdc++-v3/acinclude.m4
parentb58ef4b3452cfaf05a26ce76cd36d05add5311e9 (diff)
downloadppe42-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.m46
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)
OpenPOWER on IntegriCloud