aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/configure')
-rwxr-xr-xgdb/configure6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/configure b/gdb/configure
index d22a2df..1dc3ae2 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -5554,8 +5554,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