autoconf-patches
[Top][All Lists]
Advanced

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

Make special accommodation for cl in _AC_PROG_CC_G


From: Braden McDaniel
Subject: Make special accommodation for cl in _AC_PROG_CC_G
Date: Wed, 16 Jul 2003 12:41:42 -0400
User-agent: Internet Messaging Program (IMP) 4.0-cvs

cl doesn't actually support the -g option, but issues a warning to the console 
when it is used and proceeds with business as usual. For this reason, the 
compilation test that _AC_PROG_CC_G doesn't detect that cl does not support 
the -g option. So autoconf proceeds to apply -g to cl, resulting in annoying 
warning messages throughout a build.

This patch explicitly checks $CC to see whether it is "cl" or "cl.exe".

-- 
Braden McDaniel                           e-mail: <address@hidden>
<http://endoframe.com>                    Jabber: <address@hidden>

Attachment: cl-g.patch
Description: Text document


reply via email to

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