aboutsummaryrefslogtreecommitdiff
path: root/gettext.m4
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-01-27 14:48:23 +0000
committerAndrew Cagney <cagney@redhat.com>2005-01-27 14:48:23 +0000
commita53bf5062454ed1308388b951b461a042d6d21bd (patch)
treed549d3c3809ac2b8e7cb5e68337d0a6a12636fee /gettext.m4
parent09124b3f56eedab35076d6c89b9d9b7d14caad14 (diff)
downloadgdb-a53bf5062454ed1308388b951b461a042d6d21bd.zip
gdb-a53bf5062454ed1308388b951b461a042d6d21bd.tar.gz
gdb-a53bf5062454ed1308388b951b461a042d6d21bd.tar.bz2
2005-01-27 Andrew Cagney <cagney@gnu.org>
* gettext.m4: Don't use NONE as a default for CATOBJEXT.
Diffstat (limited to 'gettext.m4')
-rw-r--r--gettext.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/gettext.m4 b/gettext.m4
index 6a48f4a..f3deafa 100644
--- a/gettext.m4
+++ b/gettext.m4
@@ -40,7 +40,7 @@ AC_DEFUN([CY_WITH_NLS],
dnl catgets is only used if permitted by option --with-catgets.
nls_cv_header_intl=
nls_cv_header_libgt=
- CATOBJEXT=NONE
+ CATOBJEXT=
AC_CHECK_HEADER(libintl.h,
[AC_CACHE_CHECK([for gettext in libc], gt_cv_func_gettext_libc,
@@ -81,7 +81,7 @@ 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" && test -d $srcdir/../intl; then
+ 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