On Friday 06 April 2001 5:33 pm, s_a_white wrote:
> Hi,
Hello.
> I found another problem the other day. I created a line with a define on
> it and found libtool (1.3c) removed my quotes which were needed:
>
> c++ -DMY_STRING="FOO" ...
Don't forget that the host shell expands one set of quotes, so the
application (c++ in this case) will only see -DMY_STRING=FOO.
> now on the libtool (second) pass I get:
>
> libtool ... c++ -DMY_STRING=FOO ...
You should escape the quotes to make sure that your shell doesn't strip them
before libtool can see the resulting line:
libtool ... c++ -DMY_STRING=\"FOO\" ...
Take a look at libtool/tests/quote.test to see what I mean.
Cheers,
Gary.
--
___ _ ___ __ _ 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