[Top][All Lists]

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

Re: Make special accommodation for cl in _AC_PROG_CC_G

From: Kevin Ryde
Subject: Re: Make special accommodation for cl in _AC_PROG_CC_G
Date: Fri, 18 Jul 2003 08:17:33 +1000
User-agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.2 (gnu/linux)

Braden McDaniel <address@hidden> writes:
> This patch explicitly checks $CC to see whether it is "cl" or "cl.exe".

Hard coding compiler names is usually not a good idea.  If a
particular compiler must be identified then testing a #define like for
gcc is better.

Maybe some other strategy would be more general.  Like checking that
adding -g both works and doesn't output any extra messages, or
something like that.

reply via email to

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