From 4809e412023005c56c45a8e56df3c7eec8977f2b Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 15 Nov 2014 05:10:47 +0000 Subject: [PATCH] eautoconf: dump a QA warning when we find old configure.in files instead of configure.ac #426262 --- eclass/autotools.eclass | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass index d7fa44684ff5..8271aad01267 100644 --- a/eclass/autotools.eclass +++ b/eclass/autotools.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.165 2014/11/14 01:31:01 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.166 2014/11/15 05:10:47 vapier Exp $ # @ECLASS: autotools.eclass # @MAINTAINER: @@ -330,6 +330,11 @@ eautoconf() { echo die "No configure.{ac,in} present!" fi + if [[ -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." + fi autotools_run_tool --at-m4flags autoconf "$@" } -- 2.26.2