diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-01-24 20:01:09 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-01-24 20:01:09 +0000 |
commit | 2c61edbc5281f05c05b8d0126cf3fca84dadb0ca (patch) | |
tree | d18d3bdb7a6c6070fe92007f49ee24e2f06c41b2 /opcodes/configure | |
parent | 62dcac519c4b3bc67a3ee78b327429a57d45302e (diff) | |
download | gdb-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 'opcodes/configure')
-rwxr-xr-x | opcodes/configure | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/opcodes/configure b/opcodes/configure index 05e49e60a66..f3e47dd69db 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 |