diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-01-27 15:24:10 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-01-27 15:24:10 +0000 |
commit | e80937925fd99e09392fe3f76e4cce1b1b42105f (patch) | |
tree | c0c9df386cf14ee08304604f2e0e0374c0ea8d60 /gas/configure | |
parent | a53bf5062454ed1308388b951b461a042d6d21bd (diff) | |
download | gdb-e80937925fd99e09392fe3f76e4cce1b1b42105f.zip gdb-e80937925fd99e09392fe3f76e4cce1b1b42105f.tar.gz gdb-e80937925fd99e09392fe3f76e4cce1b1b42105f.tar.bz2 |
2005-01-27 Andrew Cagney <cagney@gnu.org>
* gettext.m4: Don't use NONE as a default for CATOBJEXT.
Diffstat (limited to 'gas/configure')
-rwxr-xr-x | gas/configure | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gas/configure b/gas/configure index 5dc5646..d4994f4 100755 --- a/gas/configure +++ b/gas/configure @@ -8057,7 +8057,7 @@ echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then nls_cv_header_intl= nls_cv_header_libgt= - CATOBJEXT=NONE + CATOBJEXT= if test "${ac_cv_header_libintl_h+set}" = set; then echo "$as_me:$LINENO: checking for libintl.h" >&5 @@ -8655,8 +8655,10 @@ fi - if test "$CATOBJEXT" = "NONE"; then - nls_cv_use_gnu_gettext=yes + if test x"$CATOBJEXT" = x && 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 |