2005-01-24 Andrew Cagney <cagney@gnu.org>

* gettext.m4: Only fall back to ../intl/ when it's present.
This commit is contained in:
Andrew Cagney 2005-01-24 20:00:49 +00:00
parent dbfa92dd94
commit f5426af88d
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2005-01-24 Andrew Cagney <cagney@gnu.org>
* gettext.m4: Only fall back to ../intl/ when it's present.
2005-01-17 Kelley Cook <kcook@gcc.gnu.org>
* install-sh, config.sub: Import from upstream.

View File

@ -81,9 +81,9 @@ AC_DEFUN([CY_WITH_NLS],
dnl In the standard gettext, we would now check for catgets.
dnl However, we never want to use catgets for our releases.
if test "$CATOBJEXT" = "NONE"; then
dnl Neither gettext nor catgets in included in the C library.
dnl Fall back on GNU gettext library.
if test "$CATOBJEXT" = "NONE" && test -d $srcdir/../intl; then
# Neither gettext nor catgets in included in the C library.
# Fall back on GNU gettext library (assuming it is present).
nls_cv_use_gnu_gettext=yes
fi
fi