libtool
[Top][All Lists]
Advanced

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

Re: shared library linking on Darwin


From: Kevin Ryde
Subject: Re: shared library linking on Darwin
Date: 26 Apr 2001 07:19:07 +1000
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.5

"Gary V. Vaughan" <address@hidden> 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.



reply via email to

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