This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

aclocal.m4 error


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]