|
From: | David Fang |
Subject: | Re: echo vs. printf regression (darwin8) |
Date: | Sun, 15 Aug 2010 18:54:53 -0400 (EDT) |
I'm using libtool-2.2.10 right now. Fang
On 08/15/2010 06:59 PM, David Fang wrote:Hi, The ECHO that is chosen by autoconf on darwin8 (printf %s\n) is buggy: fangism % printf %s\n foo foonfangism% printf '%s\n' foo foo Must be due to the version of the Bourne shell (2.05b). Failure is similar with sh-3.2. The 'correct' value of ECHO should be printf '%s\n' (note the extra single quote protection). I don't know yet whether that is forward-compatible with newer versions of Bourne shell. Don't recall which version of autoconf broke this, betweem 2.63 and latest.The problem seems to be in the way that "printf '%s\n'" is assigned to as_echo.Paolo
David Fang http://www.csl.cornell.edu/~fang/ http://www.achronix.com/
[Prev in Thread] | Current Thread | [Next in Thread] |