public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* aclocal.m4 error
@ 2003-04-11  2:06 Kean Johnston
  2003-04-11 14:42 ` Andreas Schwab
  0 siblings, 1 reply; 2+ messages in thread
From: Kean Johnston @ 2003-04-11  2:06 UTC (permalink / raw)
  To: gcc, gcc-patches

Hi,

3.3's aclocal.m4 has an error in it. It uses the autoconf 2.5
name for the CC log file descriptor, but configure is created
with 2.13. Here's a patch that fixes it.

Kean

Index: aclocal.m4
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/aclocal.m4,v
retrieving revision 1.61.2.1
diff -u -r1.61.2.1 aclocal.m4
--- aclocal.m4	13 Jan 2003 17:23:58 -0000	1.61.2.1
+++ aclocal.m4	11 Apr 2003 01:47:39 -0000
@@ -1702,7 +1702,7 @@
 int foo (void) { x = 0; }
 int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
 EOF
-  if AC_TRY_COMMAND([${CC-cc} -o conftest conftest.c
1>&AS_MESSAGE_LOG_FD])
+  if AC_TRY_COMMAND([${CC-cc} -o conftest conftest.c 1>&AC_FD_CC])
   then
     if ./conftest; then
       gcc_cv_initfinit_array=yes

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

* Re: aclocal.m4 error
  2003-04-11  2:06 aclocal.m4 error Kean Johnston
@ 2003-04-11 14:42 ` Andreas Schwab
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 2003-04-11 14:42 UTC (permalink / raw)
  To: Kean Johnston; +Cc: gcc, gcc-patches

"Kean Johnston" <jkj@sco.com> writes:

|> Hi,
|> 
|> 3.3's aclocal.m4 has an error in it. It uses the autoconf 2.5
|> name for the CC log file descriptor, but configure is created
|> with 2.13. Here's a patch that fixes it.

IMHO the patch in
<http://gcc.gnu.org/ml/gcc-patches/2002-11/msg01980.html> (together with
the followup in <http://gcc.gnu.org/ml/gcc-patches/2003-01/msg00425.html>)
should be merged from mainline.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

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

end of thread, other threads:[~2003-04-11 11:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-11  2:06 aclocal.m4 error Kean Johnston
2003-04-11 14:42 ` Andreas Schwab

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).