This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] rename configure.in to configure.ac
- From: Allan McRae <allan at archlinux dot org>
- To: Russ Allbery <rra at stanford dot edu>, libc-alpha at sourceware dot org, libc-ports at sourceware dot org, Mike Frysinger <vapier at gentoo dot org>
- Date: Wed, 16 Oct 2013 13:31:45 +1000
- Subject: Re: [PATCH] rename configure.in to configure.ac
- Authentication-results: sourceware.org; auth=none
- References: <1378339628-28867-1-git-send-email-vapier at gentoo dot org> <8738pia1bg dot fsf at windlord dot stanford dot edu>
On 06/09/13 16:53, Russ Allbery wrote:
> Mike Frysinger <vapier@gentoo.org> 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