From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31445 invoked by alias); 16 Oct 2013 03:31:53 -0000 Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org Received: (qmail 31418 invoked by uid 89); 16 Oct 2013 03:31:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: gerolde.archlinux.org Received: from gerolde.archlinux.org (HELO gerolde.archlinux.org) (66.211.214.132) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 16 Oct 2013 03:31:50 +0000 Received: from [10.36.74.201] (a82-1.nat.uq.edu.au [130.102.82.1]) by gerolde.archlinux.org (Postfix) with ESMTPSA id E3ADC90043; Tue, 15 Oct 2013 23:31:47 -0400 (EDT) Message-ID: <525E08A1.9090204@archlinux.org> Date: Wed, 16 Oct 2013 03:31:00 -0000 From: Allan McRae User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: Russ Allbery , libc-alpha@sourceware.org, libc-ports@sourceware.org, Mike Frysinger Subject: Re: [PATCH] rename configure.in to configure.ac References: <1378339628-28867-1-git-send-email-vapier@gentoo.org> <8738pia1bg.fsf@windlord.stanford.edu> In-Reply-To: <8738pia1bg.fsf@windlord.stanford.edu> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-10/txt/msg00015.txt.bz2 On 06/09/13 16:53, Russ Allbery wrote: > Mike Frysinger writes: > >> Autoconf has been deprecating configure.in for quite a long time. >> Rename all our configure.in and preconfigure.in files to .ac. > > This is almost certainly perfectly fine, and I haven't looked at context, > but I wanted to make sure that someone had noticed it: > >> diff --git a/configure b/configure >> index 2122583..e9c2827 100755 >> --- a/configure >> +++ b/configure >> @@ -5171,7 +5171,7 @@ $as_echo_n "checking whether $AUTOCONF${ACFLAGS:+ }$ACFLAGS works... " >&6; } >> if ${libc_cv_autoconf_works+:} false; then : >> $as_echo_n "(cached) " >&6 >> else >> - if (cd $srcdir; $AUTOCONF $ACFLAGS configure.in > /dev/null 2>&1); then >> + if (cd $srcdir; $AUTOCONF $ACFLAGS configure.ac > /dev/null 2>&1); then >> libc_cv_autoconf_works=yes >> else >> libc_cv_autoconf_works=no >> @@ -8801,7 +8801,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix >> ac_sub_configure=$ac_srcdir/configure.gnu >> elif test -f "$ac_srcdir/configure"; then >> ac_sub_configure=$ac_srcdir/configure >> - elif test -f "$ac_srcdir/configure.in"; then >> + elif test -f "$ac_srcdir/configure.ac"; then >> # This should be Cygnus configure. >> ac_sub_configure=$ac_aux_dir/configure >> else > > I believe the renaming of configure.in to configure.ac is specific to > Autoconf. Cygnus configure is a different (and older) beast; if anyone is > actually still using Cygnus configure, those files would still be named > configure.in, not configure.ac. > Correct. In fact, rerunning autoconf changes thus line back to using configure.in. Patch is good for me with that change. Allan