This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
aclocal.m4 error
- From: "Kean Johnston" <jkj at sco dot com>
- To: <gcc at gcc dot gnu dot org>, <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 10 Apr 2003 18:41:28 -0700
- Subject: aclocal.m4 error
- Organization: The SCO Group
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