Hi Kevin,

Thanks for the analysis.

I think we need to take a careful look at the (complicated) echo testing in 
libtool.m4 and figure out how this behaviour is not noticed by the current 
tests.

I won't have time to do this myself until later in the Summer (in time for 
libtool-1.5), so if you are able to fix up the tests around line 400 in 
libtool.m4 to detect this brokenness correctly (this is exactly the sort of 
thing it is supposed to pick up) it would be a huge help.  If you can't, then 
perhaps you could try the following workaround:

   make ECHO="/bin/sh  `pwd`/libtool --fallback-echo"

If that works for you in the absence of a complete fix, I will add a note to 
the 1.4 README...

Do you have the same problem with MLB by the way?  If not, then I may have 
broken the echo tests when I eliminated ltconfig in HEAD last year, and the 
fix might not be as difficult to deduce as I anticipate.

Cheers,
        Gary.

On Tuesday 17 April 2001  5:51 am, Kevin Ryde wrote:
> I think I was getting a bit off track before.  Some cut down bad
> behaviour can be seen, I think, from a file "foo" containing the
> following
>
> blah blah \\\` blah blah
>
> and run a script
>
> if test -n "$ZSH_VERSION"; then emulate sh; fi
> eval "bar=\\\"\`cat foo\`\\\""
> cat <<EOF
> bar is: $bar
> EOF
>
> in ash or bash this gives
>
>         bar is: "blah blah \\\` blah blah"
>
> whereas in zsh it gives
>
>         bar is: "blah blah \\` blah blah"
>
> And I think this is the source of the wrong backslashes in the
> generated libtool archive_cmds.
>
> If more backslashes are added to the input file, it looks like a
> transform \\ -> \ gets done.  Don't know if that's right or wrong, but
> it might at least give something that could be tested for.
>
> _______________________________________________
> Libtool mailing list
> [EMAIL PROTECTED]
> http://mail.gnu.org/mailman/listinfo/libtool

-- 
  ___              _   ___   __              _         mailto: [EMAIL PROTECTED]
 / __|__ _ _ ___ _| | / / | / /_ _ _  _ __ _| |_  __ _ ___       [EMAIL PROTECTED]
| (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \
 \___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
home page:  /___/                      /___/                  gpg public key:
http://www.oranda.demon.co.uk           http://www.oranda.demon.co.uk/key.asc

_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to