public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [patch/rfc] Only use ../intl/ when present
@ 2005-01-18  0:04 Andrew Cagney
  2005-01-18  0:24 ` Andreas Schwab
  2005-01-24 19:32 ` Andrew Cagney
  0 siblings, 2 replies; 13+ messages in thread
From: Andrew Cagney @ 2005-01-18  0:04 UTC (permalink / raw)
  To: gdb-patches, binutils

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

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 :-/

comments?
Andrew

(I'll need to regenerate the binutils@ and gdb@ configure files, hence 
the cross post.)

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

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

	* gettext.m4: Only fall back to ../intl/ when it's present.

Index: gettext.m4
===================================================================
RCS file: /cvs/src/src/gettext.m4,v
retrieving revision 1.3
diff -p -u -r1.3 gettext.m4
--- gettext.m4	14 Jan 2004 13:41:36 -0000	1.3
+++ gettext.m4	17 Jan 2005 23:56:17 -0000
@@ -81,9 +81,9 @@ 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"; then
-	  dnl Neither gettext nor catgets in included in the C library.
-	  dnl Fall back on GNU gettext library.
+        if test "$CATOBJEXT" = "NONE" && 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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2005-01-31 22:37 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-18  0:04 [patch/rfc] Only use ../intl/ when present 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   ` [commit] Avoid CATOBJEXT=NONE; Was: " Andrew Cagney
2005-01-27 15:27     ` Andrew Cagney
2005-01-27 15:32       ` Ian Lance Taylor
2005-01-27 15:57         ` Andrew Cagney
2005-01-27 16:02           ` Ian Lance Taylor
2005-01-27 20:40     ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).