Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <cagney@gnu.org>
To: gdb-patches@sources.redhat.com, binutils@sources.redhat.com
Subject: [commit] Avoid CATOBJEXT=NONE; Was: [patch/rfc] Only use ../intl/ when present
Date: Thu, 27 Jan 2005 14:59:00 -0000	[thread overview]
Message-ID: <41F9016C.6000101@gnu.org> (raw)
In-Reply-To: <41F54D42.60204@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 655 bytes --]

Andrew Cagney wrote:
> Andrew Cagney wrote:
> 
>> Hello,
>>
>> This patch should stop getgext.m4 trying to use ../intl when it isn't 
>> present.
>>
>> I can't actually test it - all the systems I looked to test it on had 
>> a bundled gettext :-/

The attached should fix a further problem - it was appending NONE as the 
catalog suffix.  Again tested on a system with installed gettext, and 
with --disable-nls (which isn't very useful).

If people still encounter problems can they please include a few details 
such as the broken Makefile.  Otherwize I'm put in a situtation where 
I'm flying blind :-(

committed, configures also regenerated,
Andrew

[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 1124 bytes --]

2005-01-27  Andrew Cagney  <cagney@gnu.org>

	* gettext.m4: Don't use NONE as a default for CATOBJEXT.

Index: gettext.m4
===================================================================
RCS file: /cvs/src/src/gettext.m4,v
retrieving revision 1.4
diff -p -u -r1.4 gettext.m4
--- gettext.m4	24 Jan 2005 20:00:49 -0000	1.4
+++ gettext.m4	27 Jan 2005 14:44:24 -0000
@@ -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

  reply	other threads:[~2005-01-27 14:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-18  0:04 Andrew Cagney
2005-01-18  0:24 ` Andreas Schwab
2005-01-24 19:35   ` Andrew Cagney
2005-01-24 19:32 ` Andrew Cagney
2005-01-27 14:59   ` Andrew Cagney [this message]
2005-01-27 20:40     ` [commit] Avoid CATOBJEXT=NONE; Was: " Mark Kettenis
2005-01-31 21:22       ` [commit] Fix ENABLE_NLS; Was .... " Andrew Cagney
2005-01-31 21:46         ` Daniel Jacobowitz
2005-01-31 22:37           ` Andrew Cagney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41F9016C.6000101@gnu.org \
    --to=cagney@gnu.org \
    --cc=binutils@sources.redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox