From ca01de6b49de7beee264b00272eaab9209b7dc80 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 21 Dec 2011 21:21:04 +0000 Subject: elibtoolize: make sure header is included in logs too and not just the sub messages which rely on the context #395489 by Martin von Gagern --- eclass/libtool.eclass | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'eclass/libtool.eclass') diff --git a/eclass/libtool.eclass b/eclass/libtool.eclass index 2c4188b752eb..9e5ff23ef20c 100644 --- a/eclass/libtool.eclass +++ b/eclass/libtool.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.97 2011/12/13 21:28:15 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.98 2011/12/21 21:21:04 vapier Exp $ # @ECLASS: libtool.eclass # @MAINTAINER: @@ -208,8 +208,10 @@ elibtoolize() { ${force} || continue fi - einfo "Running elibtoolize in: ${d#${WORKDIR}/}/" - if [[ -f ${d}/.elibtoolized ]] ; then + local outfunc="einfo" + [[ -f ${d}/.elibtoolized ]] && outfunc="ewarn" + ${outfunc} "Running elibtoolize in: ${d#${WORKDIR}/}/" + if [[ ${outfunc} == "ewarn" ]] ; then ewarn " We've already been run in this tree; you should" ewarn " avoid this if possible (perhaps by filing a bug)" fi -- cgit v1.2.3-65-gdbad