summaryrefslogtreecommitdiff
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
commitdca452baa80d1fb766a2d85ae4d602832d4d054b (patch)
treea523b6b0306e34a36fb77f937c66aab5eaf92fef /gettext.m4
parentb4b8c24a275f476f86ecb1932b66d9fa16c8df5c (diff)
downloadgdb-dca452baa80d1fb766a2d85ae4d602832d4d054b.tar.gz
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 6a48f4ac001..f3deafa61dc 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