"Gary V. Vaughan" <[EMAIL PROTECTED]> writes:
>
> The problem is that libtool.m4 jumps through a bunch if hoops to
> find an echo that doesn't interpret backslashes, since it is quite a
> common problem, which causes libtool a lot of headaches.
Sorry I'm a bit thick, I've not been addressing the question. When
invoked as /bin/sh or after "emulate sh", zsh's echo seems clean.
Another question was the MLB, and as far as I can tell it has the same
problem whenever using zsh with backquotes.
> Does zsh have a `printf' builtin? Maybe that will work -- it is
> what we use for ksh.
No, but it has a "print" which does some horrible transformations.
> Anyway, I have temporarily changed the backticks for darwin to $()
> until we have time to solve this correctly.
If it turns out to be eval that's the problem (and it'd be unwise to
trust me on that), perhaps it'd be a simplification to do a transform
command for each variable separately rather than in a for loop. zsh
seems to leave backquote output alone when used directly.
lt_foo=`$echo "$foo" | sed 's/wacky/transform/'`
No doubt m4 could help with that, perhaps even the substitutions in
the here document could be generated that way too, via a diversion.
_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool