commit:     f6c6734fca776ad54c4b254981a74a7b2f7978c5
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 12 10:11:59 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Apr 12 10:15:17 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6c6734f

Revert "autotools.eclass: rename configure.in to configure.ac on new EAPIs"

This reverts commit fe3f65790fabb6e98d0b851d3013714c7706eccc.
Change was done without maintainer consent

Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 eclass/autotools.eclass | 16 +++-------------
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
index e01e72e69b6..1a4bc954cbb 100644
--- a/eclass/autotools.eclass
+++ b/eclass/autotools.eclass
@@ -376,19 +376,9 @@ eautoconf() {
        fi
 
        if [[ ${WANT_AUTOCONF} != "2.1" && -e configure.in ]] ; then
-               case ${EAPI} in
-                       5|6|7)
-                               eqawarn "This package has a configure.in file 
which has long been deprecated.  Please"
-                               eqawarn "update it to use configure.ac instead 
as newer versions of autotools will die"
-                               eqawarn "when it finds this file.  See 
https://bugs.gentoo.org/426262 for details."
-                       ;;
-                       *)
-                               # Move configure file to the new location only 
on newer EAPIs to ensure
-                               # checks are done rather than retroactively 
breaking ebuilds.
-                               einfo "Moving configure.in to configure.ac (bug 
#426262)"
-                               mv configure.{in,ac} || die
-                       ;;
-               esac
+               eqawarn "This package has a configure.in file which has long 
been deprecated.  Please"
+               eqawarn "update it to use configure.ac instead as newer 
versions of autotools will die"
+               eqawarn "when it finds this file.  See 
https://bugs.gentoo.org/426262 for details."
        fi
 
        # Install config.guess and config.sub which are required by many macros

Reply via email to