summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-12 16:47:55 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-12 16:47:55 +0000
commitd040d8b61916c69703f7bca83269716d5e20effe (patch)
treec77ae7f76f5a7863a8ce5602fb8fcd345eb77c70 /eclass
parentadd longdescription and fix trailing whitespace (diff)
downloadgentoo-2-d040d8b61916c69703f7bca83269716d5e20effe.tar.gz
gentoo-2-d040d8b61916c69703f7bca83269716d5e20effe.tar.bz2
gentoo-2-d040d8b61916c69703f7bca83269716d5e20effe.zip
Give an AT_NOELIBTOOLIZE variable to avoid calling elibtoolize, and use it so that only the parent-dir eautoreconf calls it, instead of all the sub-eautoreconf.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/autotools.eclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
index ba6bdd8f42e8..3b139da98728 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.31 2006/03/08 19:51:40 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.32 2006/03/12 16:47:55 flameeyes Exp $
#
# Author: Diego Pettenò <flameeyes@gentoo.org>
# Enhancements: Martin Schlemmer <azarah@gentoo.org>
@@ -55,7 +55,7 @@ eautoreconf() {
for x in $(autotools_get_subdirs); do
if [[ -d ${x} ]] ; then
cd "${x}"
- eautoreconf
+ AT_NOELIBTOOLIZE="yes" eautoreconf
cd "${pwd}"
fi
done
@@ -70,6 +70,8 @@ eautoreconf() {
# Normally run by econf()
[[ ${AT_GNUCONF_UPDATE} == "yes" ]] && gnuconfig_update
+ [[ ${AT_NOELIBTOOLIZE} == "yes" ]] && return 0
+
# Call it here to prevent failures due to elibtoolize called _before_
# eautoreconf.
elibtoolize