summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2008-07-31 19:13:57 +0000
committerJeremy Olexa <darkside@gentoo.org>2008-07-31 19:13:57 +0000
commit08d1db5155094a56aedcf331ae60bc7c43173a97 (patch)
tree0b5d928887d7acac16801611796fd3f509aa5f9e /eclass
parentsparc stable wrt #232054 (diff)
downloadgentoo-2-08d1db5155094a56aedcf331ae60bc7c43173a97.tar.gz
gentoo-2-08d1db5155094a56aedcf331ae60bc7c43173a97.tar.bz2
gentoo-2-08d1db5155094a56aedcf331ae60bc7c43173a97.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.eclass5
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