Commit 7f78b6ca by Phil Edwards

acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Search for gettext outside of libc if…

acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Search for gettext outside of libc if message translations are being used.

2003-04-29  Phil Edwards  <pme@gcc.gnu.org>

	* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE):  Search for gettext outside
	of libc if message translations are being used.  Fix info text in
	xieee_1003.1-2001 case.
	* aclocal.m4, configure:  Regenerate.

From-SVN: r66267
parent 74719742
2003-04-29 Phil Edwards <pme@gcc.gnu.org>
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Search for gettext outside
of libc if message translations are being used. Fix info text in
xieee_1003.1-2001 case.
* aclocal.m4, configure: Regenerate.
2003-04-29 Joel Sherrill <joel.sherrill@OARcorp.com> 2003-04-29 Joel Sherrill <joel.sherrill@OARcorp.com>
Loren J. Rittle <ljrittle@acm.org> Loren J. Rittle <ljrittle@acm.org>
Martin v. Loewis <martin@v.loewis.de> Martin v. Loewis <martin@v.loewis.de>
......
...@@ -1263,7 +1263,7 @@ AC_DEFUN(GLIBCPP_ENABLE_CLOCALE, [ ...@@ -1263,7 +1263,7 @@ AC_DEFUN(GLIBCPP_ENABLE_CLOCALE, [
CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
;; ;;
xieee_1003.1-2001) xieee_1003.1-2001)
AC_MSG_RESULT(generic) AC_MSG_RESULT(IEEE 1003.1)
CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
...@@ -1290,6 +1290,11 @@ AC_DEFUN(GLIBCPP_ENABLE_CLOCALE, [ ...@@ -1290,6 +1290,11 @@ AC_DEFUN(GLIBCPP_ENABLE_CLOCALE, [
glibcpp_localedir=${glibcpp_builddir}/po/share/locale glibcpp_localedir=${glibcpp_builddir}/po/share/locale
AC_SUBST(glibcpp_localedir) AC_SUBST(glibcpp_localedir)
# A standalone libintl (e.g., GNU libintl) may be in use.
if test $USE_NLS = yes; then
AC_SEARCH_LIBS(gettext, intl)
fi
AC_SUBST(USE_NLS) AC_SUBST(USE_NLS)
AC_SUBST(CLOCALE_H) AC_SUBST(CLOCALE_H)
AC_SUBST(CCODECVT_H) AC_SUBST(CCODECVT_H)
......
...@@ -1275,7 +1275,7 @@ AC_DEFUN(GLIBCPP_ENABLE_CLOCALE, [ ...@@ -1275,7 +1275,7 @@ AC_DEFUN(GLIBCPP_ENABLE_CLOCALE, [
CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
;; ;;
xieee_1003.1-2001) xieee_1003.1-2001)
AC_MSG_RESULT(generic) AC_MSG_RESULT(IEEE 1003.1)
CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
...@@ -1302,6 +1302,11 @@ AC_DEFUN(GLIBCPP_ENABLE_CLOCALE, [ ...@@ -1302,6 +1302,11 @@ AC_DEFUN(GLIBCPP_ENABLE_CLOCALE, [
glibcpp_localedir=${glibcpp_builddir}/po/share/locale glibcpp_localedir=${glibcpp_builddir}/po/share/locale
AC_SUBST(glibcpp_localedir) AC_SUBST(glibcpp_localedir)
# A standalone libintl (e.g., GNU libintl) may be in use.
if test $USE_NLS = yes; then
AC_SEARCH_LIBS(gettext, intl)
fi
AC_SUBST(USE_NLS) AC_SUBST(USE_NLS)
AC_SUBST(CLOCALE_H) AC_SUBST(CLOCALE_H)
AC_SUBST(CCODECVT_H) AC_SUBST(CCODECVT_H)
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment