public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Jeroen Roovers <jer@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] autotools.eclass: automatically move configure.in to configure.ac
Date: Sat, 10 Jun 2017 13:28:19 +0200	[thread overview]
Message-ID: <20170610132819.736131ca@wim.jer> (raw)

[-- 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 "$@"

             reply	other threads:[~2017-06-10 11:28 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-10 11:28 Jeroen Roovers [this message]
2017-06-10 12:04 ` [gentoo-dev] autotools.eclass: automatically move configure.in to configure.ac 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170610132819.736131ca@wim.jer \
    --to=jer@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox