bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: echo vs. printf regression (darwin8)


From: Paolo Bonzini
Subject: Re: echo vs. printf regression (darwin8)
Date: Mon, 16 Aug 2010 16:59:53 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100621 Fedora/3.0.5-1.fc13 Lightning/1.0b2pre Mnenhy/0.8.3 Thunderbird/3.0.5

On 08/16/2010 04:27 PM, Peter O'Gorman wrote:
On 08/16/2010 07:37 AM, Paolo Bonzini wrote:
On 08/16/2010 12:54 AM, David Fang wrote:
Actually, 'pogma' pointed out that this comes from the autoconf macros
in libtool.m4, near AC_MSG_CHECKING([how to print strings]).
I'm using libtool-2.2.10 right now.

I don't understand, is it breaking in Makefiles that you wrote? I don't
know of anything in {autoconf,automake,libtool} that would use $ECHO
this way.

I think it is a namespace problem. What business does libtool have
setting vars like ECHO, MV, etc.

That's correct.  However...

If libtool had not unconditionally set ECHO to something other than
'echo', David's Makefiles would have continued to work when he moved
from libtool-1.5.x to libtool-2.x.

... this doesn't seem to be the case. It looks like David's makefiles were relying on the definition of ECHO that libtool provided, and this is clearly an issue of using an undocumented interface. He, or some package he used, had to explicitly do AC_SUBST([ECHO]), and this is a very strong point against this usage, even if the variable name doesn't show that.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]