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: Russ Allbery <rra at stanford dot edu>
- To: libc-alpha at sourceware dot org, libc-ports at sourceware dot org
- Date: Thu, 05 Sep 2013 23:53:07 -0700
- 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>
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.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>