From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28051 invoked by alias); 10 Aug 2006 21:02:52 -0000 Received: (qmail 28033 invoked by uid 22791); 10 Aug 2006 21:02:51 -0000 X-Spam-Check-By: sourceware.org Received: from palrel13.hp.com (HELO palrel13.hp.com) (156.153.255.238) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 10 Aug 2006 21:02:49 +0000 Received: from smtp1.ptp.hp.com (smtp1.ptp.hp.com [15.1.28.250]) by palrel13.hp.com (Postfix) with ESMTP id 8376438F12; Thu, 10 Aug 2006 14:02:47 -0700 (PDT) Received: from hpsje.cup.hp.com (hpsje.cup.hp.com [16.89.92.85]) by smtp1.ptp.hp.com (Postfix) with ESMTP id 7A95F423D8A; Thu, 10 Aug 2006 21:02:46 +0000 (UTC) Received: (from sje@localhost) by hpsje.cup.hp.com (8.9.3 (PHNE_24419+JAGae58098)/8.7.3 TIS Messaging 5.0) id OAA28953; Thu, 10 Aug 2006 14:02:46 -0700 (PDT) Date: Thu, 10 Aug 2006 21:15:00 -0000 From: Steve Ellcey Message-Id: <200608102102.OAA28953@hpsje.cup.hp.com> To: drow@false.org Cc: binutils@sourceware.org, gdb-patches@sourceware.org Subject: Re: Patch to update top-level config to autoconf 2.59 In-Reply-To: <20060810202957.GA31776@nevyn.them.org> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00089.txt.bz2 > On Thu, Aug 10, 2006 at 01:08:00PM -0700, Steve Ellcey wrote: > > Here is my final patch to update autoconf in the src tree. All subtrees > > have been updated to be configured by autoconf 2.59 and this patch > > updates the top level configure and Makefiles to also use 2.59. The > > only real change needed was to rename AS_FOR_TARGET to GAS_FOR_TARGET. > > I also changed COMPILER_AS_FOR_TARGET to COMPILER_GAS_FOR_TARGET, though > > that wasn't strictly necessary, it just seemed like a good idea to > > maintain the naming consistency. > > Why was the AS_FOR_TARGET change necessary? Because autoconf 2.59 gave an error if I didn't change the name. | [hpsje] $ autoconf | configure.in:2299: error: possibly undefined macro: AS_FOR_TARGET | If this token and others are legitimate, please use m4_pattern_allow. | See the Autoconf documentation. It looked like the common fix for this was to rename it to GAS_FOR_TARGET. I see that all these files are shared, I didn't realise that. I thought that GCC was already configuring everything with 2.59 but I see they still use 2.13 for the toplevel configure and have the same configure.in (and Makefiles) as the src tree. Oh well. > The top level files are all shared with GCC; you'll really have to copy > this to gcc-patches, and I suspect they'll want you to wait until 4.2 > branches. Yes, I expect so. I guess this last bit will have to wait for a while. Steve Ellcey sje@cup.hp.com