[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Patch: AC_NO_EXECUTABLES and gcc

From: Tom Tromey
Subject: Patch: AC_NO_EXECUTABLES and gcc
Date: 06 Dec 2002 10:10:35 -0700

[ Zack, sorry for the resend.  The first one had a typo in the To: ]

Recently on the gcc list it was pointed out that AC_NO_EXECUTABLES
disables link tests.

This isn't really satisfactory.  The target libraries typically run
link tests for native builds, and avoid link tests for non-native

The appended patch changes this.  This problem is a blocker for
changing gcc to use autoconf 2.5x.


Index: ChangeLog
from  Tom Tromey  <address@hidden>

        * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Don't disable link

Index: lib/autoconf/lang.m4
RCS file: /cvs/autoconf/lib/autoconf/lang.m4,v
retrieving revision 1.161
diff -u -r1.161 lang.m4
--- lib/autoconf/lang.m4 31 Oct 2002 08:27:15 -0000 1.161
+++ lib/autoconf/lang.m4 6 Dec 2002 17:08:06 -0000
@@ -347,11 +347,6 @@
 # hack until Autoconf is abble to provide the services its users
 # needs.
-# Several of the support libraries that are often built with GCC can't
-# assume the tool-chain is already capable of linking a program: the
-# compiler often expects to be able to link with some of such
-# libraries.
 # In several of these libraries, workarounds have been introduced to
 # avoid the AC_PROG_CC_WORKS test, that would just abort their
 # configuration.  The introduction of AC_EXEEXT, enabled either by
@@ -369,9 +364,6 @@
-[AC_FATAL([All the tests involving linking were disabled by $0])])

reply via email to

[Prev in Thread] Current Thread [Next in Thread]