diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-04-22 22:38:22 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-04-22 22:38:22 +0000 |
commit | 43e7e8e1baf2f90f818698ea347960b254af3912 (patch) | |
tree | 92954b3d9cc78567a9faa913d0d1cd1bfba26918 /eclass | |
parent | Version bump. Cleaning. Add UNIVERSAL-require to RDEPEND (#210120) (diff) | |
download | gentoo-2-43e7e8e1baf2f90f818698ea347960b254af3912.tar.gz gentoo-2-43e7e8e1baf2f90f818698ea347960b254af3912.tar.bz2 gentoo-2-43e7e8e1baf2f90f818698ea347960b254af3912.zip |
rip out ACLOCAL_AMFLAGS from Makefiles #142787
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/autotools.eclass | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass index f97d56970791..7d94588978cd 100644 --- a/eclass/autotools.eclass +++ b/eclass/autotools.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.73 2008/03/31 14:19:35 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.74 2008/04/22 22:38:22 vapier Exp $ # # Maintainer: base-system@gentoo.org # @@ -117,6 +117,13 @@ eautoreconf() { eaclocal() { local aclocal_opts + local amflags_file + for amflags_file in GNUmakefile.am Makefile.am GNUmakefile.in Makefile.in ; do + [[ -e ${amflags_file} ]] || continue + aclocal_opts=$(sed -n '/^ACLOCAL_AMFLAGS[[:space:]]*=/s:[^=]*=::p' ${amflags_file}) + break + done + if [[ -n ${AT_M4DIR} ]] ; then for x in ${AT_M4DIR} ; do case "${x}" in |