From d1749fb2af81d884e254d4725d7c3bdf565059d8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Diego=20Elio=20Petten=C3=B2?= Date: Sun, 12 Mar 2006 16:47:55 +0000 Subject: [PATCH] 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. --- eclass/autotools.eclass | 6 ++++-- 1 file 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ò # Enhancements: Martin Schlemmer @@ -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 -- 2.26.2