autoconf-patches
[Top][All Lists]
Advanced

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

Re: Problem with cl and autoconf


From: Alexandre Duret-Lutz
Subject: Re: Problem with cl and autoconf
Date: Sat, 14 May 2005 21:21:31 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

>>> "Stepan" == Stepan Kasal <address@hidden> writes:

[...]

 Stepan> 2005-02-24  Stepan Kasal  <address@hidden>

 Stepan> * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
 Stepan> `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
 Stepan> from a Common Lisp's `cl'.
 Stepan> (AC_PROG_CXX): Behave according to the documentation: don't
 Stepan> search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
 Stepan> make the variable CCC precious; use `cl.exe', not `cl'.

A side effect of this patch is that AC_PROG_CXX now AC_SUBSTs
CCC.  Is this really meant ?  As far as I can tell, this
variable is documented as being read to set CXX; it is not
documented as an output variable, and I don't think we want
people to use it in Makefile.ins.

(I just noticed that because this new variable matched a pattern
in an Automake test case and caused it to fail.  Blame those
grepish test cases...)
-- 
Alexandre Duret-Lutz





reply via email to

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