From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5586 invoked by alias); 7 Dec 2002 21:06:06 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 5557 invoked from network); 7 Dec 2002 21:06:05 -0000 Received: from unknown (HELO egil.codesourcery.com) (66.92.14.122) by sources.redhat.com with SMTP; 7 Dec 2002 21:06:05 -0000 Received: from zack by egil.codesourcery.com with local (Exim 3.36 #1 (Debian)) id 18Km9C-0007pu-00; Sat, 07 Dec 2002 13:06:02 -0800 To: Alexandre Oliva Cc: Nathanael Nerode , gdb-patches@sources.redhat.com, binutils@sources.redhat.com, newlib@sources.redhat.com, gcc@gcc.gnu.org Subject: Re: [RFC] Update to current automake/autoconf/libtool versions. References: <20021205223538.GA24616@doctormoo> <87adjk83ce.fsf@egil.codesourcery.com> From: Zack Weinberg Date: Sat, 07 Dec 2002 16:03:00 -0000 In-Reply-To: (Alexandre Oliva's message of "07 Dec 2002 18:49:48 -0200") Message-ID: <874r9pleth.fsf@egil.codesourcery.com> User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-12/txt/msg00250.txt.bz2 Alexandre Oliva writes: > On Dec 5, 2002, Zack Weinberg wrote: > >> AC_NO_EXECUTABLES has two effects: (1) it disables the equivalent of >> AC_PROG_CC_WORKS, which is what we need. But, (2) it causes autoconf >> to barf if an AC_TRY_LINK test appears anywhere in the script being >> generated. > > Please tell me why (2) doesn't make sense. > > If AC_PROG_CC_WORKS can't even link a do-nothing program, how would > you expect to get any useful results from AC_TRY_LINK? Because libstdc++'s AC_TRY_LINK tests are only executed in a situation where AC_PROG_CC_WORKS would have succeeded (i.e. a native compilation). zw