summaryrefslogtreecommitdiff
path: root/gettext.m4
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-01-24 20:01:09 +0000
committerAndrew Cagney <cagney@redhat.com>2005-01-24 20:01:09 +0000
commit2c61edbc5281f05c05b8d0126cf3fca84dadb0ca (patch)
treed18d3bdb7a6c6070fe92007f49ee24e2f06c41b2 /gettext.m4
parent62dcac519c4b3bc67a3ee78b327429a57d45302e (diff)
downloadgdb-2c61edbc5281f05c05b8d0126cf3fca84dadb0ca.tar.gz
2005-01-24 Andrew Cagney <cagney@gnu.org>
* gettext.m4: Only fall back to ../intl/ when it's present.
Diffstat (limited to 'gettext.m4')
-rw-r--r--gettext.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/gettext.m4 b/gettext.m4
index 6735696cb9a..6a48f4ac001 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