diff options
author | Jeremy Olexa <darkside@gentoo.org> | 2008-07-31 19:13:57 +0000 |
---|---|---|
committer | Jeremy Olexa <darkside@gentoo.org> | 2008-07-31 19:13:57 +0000 |
commit | b2c050d939e8c567856f53bdd0d7fbcd3e831a90 (patch) | |
tree | 76e6f26b9cf550c683c61b7b61249eecc653190d /eclass | |
parent | sparc stable wrt #232054 (diff) | |
download | historical-b2c050d939e8c567856f53bdd0d7fbcd3e831a90.tar.gz historical-b2c050d939e8c567856f53bdd0d7fbcd3e831a90.tar.bz2 historical-b2c050d939e8c567856f53bdd0d7fbcd3e831a90.zip |
Add check to autotools.eclass to make sure eautoreconf doesn't get ran more than once, bug #232820
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/autotools.eclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass index b519dd2998ae..1793ff247f75 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.77 2008/06/09 09:09:58 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.78 2008/07/31 19:13:57 darkside Exp $ # @ECLASS: autotools.eclass # @MAINTAINER: @@ -81,6 +81,9 @@ AT_GNUCONF_UPDATE="no" # Also should handle additional directories specified by AC_CONFIG_SUBDIRS. eautoreconf() { local pwd=$(pwd) x auxdir + + [[ -f .eautoreconfd ]] && einfo "eautoreconf already ran, skipping" && return 0 + touch .eautoreconfd if [[ -z ${AT_NO_RECURSIVE} ]]; then # Take care of subdirs |