summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-07-03 18:42:54 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-07-03 18:42:54 +0000
commitb7d932e672686b57bb0c7b9874bff0647c453749 (patch)
tree0e167a566a1025cf2b189b5efb4dfda2e7c5823e /eclass/autotools.eclass
parent-alpha and -amd64 all snapshots wrt Bug #136520. (diff)
downloadgentoo-2-b7d932e672686b57bb0c7b9874bff0647c453749.tar.gz
gentoo-2-b7d932e672686b57bb0c7b9874bff0647c453749.tar.bz2
gentoo-2-b7d932e672686b57bb0c7b9874bff0647c453749.zip
Allow to not use recursive rebuild.
Diffstat (limited to 'eclass/autotools.eclass')
-rw-r--r--eclass/autotools.eclass20
1 files changed, 11 insertions, 9 deletions
diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
index ccf0beeebdd2..5994e1effb9f 100644
--- a/eclass/autotools.eclass
+++ b/eclass/autotools.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.38 2006/06/28 00:15:32 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.39 2006/07/03 18:42:54 flameeyes Exp $
#
# Author: Diego Pettenò <flameeyes@gentoo.org>
# Enhancements: Martin Schlemmer <azarah@gentoo.org>
@@ -47,14 +47,16 @@ AT_GNUCONF_UPDATE="no"
eautoreconf() {
local pwd=$(pwd) x auxdir
- # Take care of subdirs
- for x in $(autotools_get_subdirs); do
- if [[ -d ${x} ]] ; then
- cd "${x}"
- AT_NOELIBTOOLIZE="yes" eautoreconf
- cd "${pwd}"
- fi
- done
+ if [[ -z ${AT_NO_RECURSIVE} ]]; then
+ # Take care of subdirs
+ for x in $(autotools_get_subdirs); do
+ if [[ -d ${x} ]] ; then
+ cd "${x}"
+ AT_NOELIBTOOLIZE="yes" eautoreconf
+ cd "${pwd}"
+ fi
+ done
+ fi
auxdir=$(autotools_get_auxdir)