summaryrefslogtreecommitdiff
path: root/opcodes/configure
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
commitf0e026f5d6ad67cb34dce28319bd45111366da38 (patch)
treec6e0f7bdc30cd35b77b643b106b4ef72fefd3032 /opcodes/configure
parent071863de487a3acb3c9ad3b7eb5f3e9bcffc9ad2 (diff)
downloadbinutils-redhat-f0e026f5d6ad67cb34dce28319bd45111366da38.tar.gz
2005-01-24 Andrew Cagney <cagney@gnu.org>
* gettext.m4: Only fall back to ../intl/ when it's present.
Diffstat (limited to 'opcodes/configure')
-rwxr-xr-xopcodes/configure6
1 files changed, 4 insertions, 2 deletions
diff --git a/opcodes/configure b/opcodes/configure
index 05e49e60a6..f3e47dd69d 100755
--- a/opcodes/configure
+++ b/opcodes/configure
@@ -7836,8 +7836,10 @@ fi
- if test "$CATOBJEXT" = "NONE"; then
- nls_cv_use_gnu_gettext=yes
+ 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