From b7d932e672686b57bb0c7b9874bff0647c453749 Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Mon, 3 Jul 2006 18:42:54 +0000 Subject: Allow to not use recursive rebuild. --- eclass/autotools.eclass | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'eclass/autotools.eclass') 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ò # Enhancements: Martin Schlemmer @@ -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) -- cgit v1.2.3-65-gdbad