From: Andrew Cagney Date: Thu, 27 Jan 2005 14:47:56 +0000 (+0000) Subject: 2005-01-27 Andrew Cagney X-Git-Tag: binutils-2_16-branchpoint~141 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=098da1dd5c4d57c7b8b8b330e384c6bee59f4cbd;p=newlib-cygwin.git 2005-01-27 Andrew Cagney * gettext.m4: Don't use NONE as a default for CATOBJEXT. --- diff --git a/ChangeLog b/ChangeLog index ee2675fb4..d648eb96e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-01-27 Andrew Cagney + + * gettext.m4: Don't use NONE as a default for CATOBJEXT. + 2005-01-24 Andrew Cagney * gettext.m4: Only fall back to ../intl/ when it's present. diff --git a/gettext.m4 b/gettext.m4 index 6a48f4ac0..f3deafa61 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