diff options
author | Andrew Cagney <cagney@gnu.org> | 2005-01-24 20:00:49 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@gnu.org> | 2005-01-24 20:00:49 +0000 |
commit | f5426af88d25b76e64575861f0b6d1eb82b8dfa7 (patch) | |
tree | 4f176fa7afc093a62a04e20575e0cc33464a49a0 | |
parent | dbfa92dd947cb26ebfec42c756eb36aa3b7571e5 (diff) | |
download | cygnal-f5426af88d25b76e64575861f0b6d1eb82b8dfa7.tar.gz cygnal-f5426af88d25b76e64575861f0b6d1eb82b8dfa7.tar.bz2 cygnal-f5426af88d25b76e64575861f0b6d1eb82b8dfa7.zip |
2005-01-24 Andrew Cagney <cagney@gnu.org>
* gettext.m4: Only fall back to ../intl/ when it's present.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | gettext.m4 | 6 |
2 files changed, 7 insertions, 3 deletions
@@ -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. diff --git a/gettext.m4 b/gettext.m4 index 6735696cb..6a48f4ac0 100644 --- a/gettext.m4 +++ b/gettext.m4 @@ -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 |