From 406becc4205df0ef1e675d7f1807f9fa4d8ba8a5 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 19 Mar 2015 19:27:02 +0000 Subject: [PATCH] eautoconf: do not warn about configure.in usage when using autoconf-2.1 #531646 by Alexander Tsoy --- eclass/autotools.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass index 5df3216e5c10..92c24db75b91 100644 --- a/eclass/autotools.eclass +++ b/eclass/autotools.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.173 2015/01/12 23:17:14 polynomial-c Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.174 2015/03/19 19:27:02 vapier Exp $ # @ECLASS: autotools.eclass # @MAINTAINER: @@ -336,7 +336,7 @@ eautoconf() { echo die "No configure.{ac,in} present!" fi - if [[ -e configure.in ]] ; then + 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." -- 2.26.2