From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1079 invoked by alias); 27 Apr 2012 16:12:48 -0000 Received: (qmail 995 invoked by uid 22791); 27 Apr 2012 16:12:33 -0000 X-SWARE-Spam-Status: No, hits=-7.4 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 27 Apr 2012 16:12:20 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q3RGCHsP004428 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 27 Apr 2012 12:12:17 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q3RGCFHg010040; Fri, 27 Apr 2012 12:12:16 -0400 Message-ID: <4F9AC55F.5050404@redhat.com> Date: Fri, 27 Apr 2012 16:49:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 MIME-Version: 1.0 To: "Maciej W. Rozycki" CC: gdb-patches@sourceware.org, Tom Tromey Subject: Re: [PATCH] Unbreak program transformation name `configure' options References: <4F9ABD4C.9010406@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: 2012-04/txt/msg01016.txt.bz2 On 04/27/2012 04:46 PM, Maciej W. Rozycki wrote: > On Fri, 27 Apr 2012, Pedro Alves wrote: > >> It indeed removed AC_ARG_PROGRAM. It also does this though: >> >> -AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/..) >> +AC_CONFIG_AUX_DIR(..) >> >> I wonder if we need to restore that bit as well. > > I built out of the source directory so perhaps not? This looks weird to > me, autoconf should handle that just fine: > > "-- Macro: AC_CONFIG_AUX_DIR (DIR) > Use the auxiliary build tools (e.g., `install-sh', `config.sub', > `config.guess', Cygnus `configure', Automake and Libtool scripts, > etc.) that are in directory DIR. These are auxiliary files used > in configuration. DIR can be either absolute or relative to > `SRCDIR'. The default is `SRCDIR' or `SRCDIR/..' or > `SRCDIR/../..', whichever is the first that contains `install-sh'." > > -- perhaps this was a left-over from times when autoconf was more fragile? > I bet we have more places where we have some work-around logic left from > the old days. Yeah, sounds like at some point AC_CONFIG_AUX_DIR didn't handle relative paths to srcdir. Thanks. -- Pedro Alves