summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-03-19 19:27:02 +0000
committerMike Frysinger <vapier@gentoo.org>2015-03-19 19:27:02 +0000
commitbe21885365aba72cce65b1cbb9b8e3f1f3bfa100 (patch)
tree09169dcf29e2684fd13ef6f958636b9af1bacaeb /eclass
parentVersion bump. (diff)
downloadgentoo-2-be21885365aba72cce65b1cbb9b8e3f1f3bfa100.tar.gz
gentoo-2-be21885365aba72cce65b1cbb9b8e3f1f3bfa100.tar.bz2
gentoo-2-be21885365aba72cce65b1cbb9b8e3f1f3bfa100.zip
eautoconf: do not warn about configure.in usage when using autoconf-2.1 #531646 by Alexander Tsoy
Diffstat (limited to 'eclass')
-rw-r--r--eclass/autotools.eclass4
1 files 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."