This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] rename configure.in to configure.ac


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/>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]