public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] autotools.eclass: automatically move configure.in to configure.ac
@ 2017-06-10 11:28 Jeroen Roovers
  2017-06-10 12:04 ` Sergei Trofimovich
  0 siblings, 1 reply; 15+ messages in thread
From: Jeroen Roovers @ 2017-06-10 11:28 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 46 bytes --]

https://bugs.gentoo.org/show_bug.cgi?id=426262

[-- Attachment #2: 426262-autotools.eclass-deprecated-configure.in.patch --]
[-- Type: text/x-patch, Size: 1018 bytes --]

diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
index 2710bf827b..76a5c2eade 100644
--- a/eclass/autotools.eclass
+++ b/eclass/autotools.eclass
@@ -341,10 +341,11 @@ eautoconf() {
 		echo
 		die "No configure.{ac,in} present!"
 	fi
-	if [[ ${WANT_AUTOCONF} != "2.1" && -e configure.in ]] ; then
-		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."
+	if [[ ${WANT_AUTOCONF} != "2.1" && -e configure.in && ! -e configure.ac ]] ; then
+		eqawarn "This package has a configure.in file which has long been deprecated. Since no"
+		eqawarn "configure.ac is present either, we rename configure.in to configure.ac. If"
+		eqawarn "this causes problems, please file a bug report and make it block bug #426262."
+		mv configure.{in,ac} || die
 	fi
 
 	autotools_run_tool --at-m4flags autoconf "$@"

^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2017-09-21 14:14 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-10 11:28 [gentoo-dev] autotools.eclass: automatically move configure.in to configure.ac Jeroen Roovers
2017-06-10 12:04 ` Sergei Trofimovich
2017-06-11 15:00   ` William Hubbs
2017-06-11 15:07     ` Mart Raudsepp
2017-06-11 15:12       ` Kristian Fiskerstrand
2017-06-11 15:17         ` Mart Raudsepp
2017-06-11 15:20           ` Kristian Fiskerstrand
2017-06-11 15:36             ` Alexis Ballier
2017-06-11 15:24         ` David Seifert
2017-06-11 15:35           ` Kristian Fiskerstrand
2017-06-11 16:12             ` William Hubbs
2017-06-11 16:14               ` Mart Raudsepp
2017-06-11 18:08                 ` William Hubbs
2017-06-11 20:02                   ` Mart Raudsepp
2017-09-21 14:14                     ` Ian Stakenvicius

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox