libtool-patches
[Top][All Lists]
Advanced

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

LTCC containing whitespace


From: Kevin Ryde
Subject: LTCC containing whitespace
Date: 08 Oct 2001 07:04:24 +1000
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.5

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.

Attachment: libtool.m4.ltccquote.diff
Description: Source code patch


reply via email to

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