From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6894 invoked by alias); 11 Apr 2007 09:23:40 -0000 Received: (qmail 6871 invoked by uid 22791); 11 Apr 2007 09:23:38 -0000 X-Spam-Check-By: sourceware.org Received: from mail.artimi.com (HELO mail.artimi.com) (194.72.81.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 11 Apr 2007 10:23:35 +0100 Received: from rainbow ([192.168.8.46] RDNS failed) by mail.artimi.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 11 Apr 2007 10:23:11 +0100 From: "Dave Korn" To: , "'Andreas Schwab'" , "'Steve Ellcey'" , , , , , , References: <006501c77bab$1753a410$2e08a8c0@CAM.ARTIMI.COM> <200704102006.NAA21177@hpsje.cup.hp.com> <008301c77bd6$7fa44bc0$2e08a8c0@CAM.ARTIMI.COM> <461C8FE6.9010800@lu.unisi.ch> <461CA157.1020908@lu.unisi.ch> <20070411085700.GA7406@iam.uni-bonn.de> <461CA33C.2010209@lu.unisi.ch> Subject: RE: Final(?) patch to update libtool in GCC and src trees Date: Wed, 11 Apr 2007 09:23:00 -0000 Message-ID: <00c101c77c1b$05fd0e20$2e08a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <461CA33C.2010209@lu.unisi.ch> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-04/txt/msg00137.txt.bz2 On 11 April 2007 09:59, Paolo Bonzini wrote: >>> Does AS_IF put required macros outside its expansion? That's a >>> cool feature if it does. >> >> Only with Autoconf 2.60 and newer. > > I see; so it's ruled out for now. I used 2.60 to regenerate in newlib/, was that the wrong thing to do? /usr/build/src-winsup/newlib $ head -3 configure #! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.60 for newlib 1.15.0. >>> However, if this is the case, it is also a problem. >>> AM_PROG_LIBTOOL used to expand its subparts via >>> AC_REQUIRE, which would sort of undo the effect of >>> the if statement. >> >> Yes, I don't think it'll help here. But also I don't see why CXX should >> come into play here at all, if not by an old 1.5.x libtool.m4 file that >> is picked up by aclocal (without having tested anything, though). > > Dave, can you check the content of newlib/aclocal.m4? > > Paolo That would be the freshly regenerated one: /usr/build/src-winsup/newlib $ head -1 aclocal.m4 # generated automatically by aclocal 1.9.6 -*- Autoconf -*- cheers, DaveK -- Can't think of a witty .sigline today....