[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LTCC containing whitespace
From: |
libtool-patches |
Subject: |
Re: LTCC containing whitespace |
Date: |
Sun, 7 Oct 2001 19:40:58 -0500 |
User-agent: |
Mutt/1.2.5i |
On Mon, Oct 08, 2001 at 07:04:24AM +1000, Kevin Ryde wrote:
> I think the LTCC setup emitted to the generated libtool script needs
> quotes in case it contains whitespace, per below.
>
> This happened to me on hppa2.0-hp-hpux10.20, where AC_PROG_CC_STDC
> appends -Ae to $CC to put it into ANSI-mode, ie. CC="cc -Ae", and that
> value gets used for LTCC. I guess a user might do something similar
> manually too.
>
> The symptom of missing the quotes was
>
> ../libtool[73]: -Ae: not found.
>
> on each compile or link, being an attempt to execute the program "-Ae"
> in
>
> LTCC=cc -Ae
>
> Similar can be expected on the other systems where AC_PROG_CC_STDC
> mungs $CC.
>
> * libtool.m4 (AC_LIBTOOL_CONFIG): Quote LTCC emitted, to
> preserve whitespace.
Your patch isn't correct. I have a correct patch already submitted to
libtool-patches for the HEAD branch and it's trivial to get into the
1.4 branch. See:
http://mail.gnu.org/pipermail/libtool-patches/2001-September/001533.html
--
albert chin (address@hidden)