diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-07-03 18:42:54 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-07-03 18:42:54 +0000 |
commit | dd8d01f8b6f9baca91d335ed51183d63238d6dcb (patch) | |
tree | 073be9a7eb474d869f2168555acd3d78702569c2 /eclass | |
parent | -alpha and -amd64 all snapshots wrt Bug #136520. (diff) | |
download | historical-dd8d01f8b6f9baca91d335ed51183d63238d6dcb.tar.gz historical-dd8d01f8b6f9baca91d335ed51183d63238d6dcb.tar.bz2 historical-dd8d01f8b6f9baca91d335ed51183d63238d6dcb.zip |
Allow to not use recursive rebuild.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/autotools.eclass | 20 |
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) |