From: cournape Date: Wed, 9 Sep 2009 03:10:46 +0000 (+0000) Subject: BUG: fix issue 2294. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=c9968d489b6cd2ad433b19b9a70443bc2fbbe819;p=scons.git BUG: fix issue 2294. CheckCC and assimilate did not set did_show_result up, and this caused spurious 'error: no result' messages after the check was executed. git-svn-id: http://scons.tigris.org/svn/scons/trunk@4353 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/src/engine/SCons/SConf.py b/src/engine/SCons/SConf.py index 3749e41a..4bf2d1c1 100644 --- a/src/engine/SCons/SConf.py +++ b/src/engine/SCons/SConf.py @@ -948,18 +948,22 @@ def CheckHeader(context, header, include_quotes = '<>', language = None): def CheckCC(context): res = SCons.Conftest.CheckCC(context) + context.did_show_result = 1 return not res def CheckCXX(context): res = SCons.Conftest.CheckCXX(context) + context.did_show_result = 1 return not res def CheckSHCC(context): res = SCons.Conftest.CheckSHCC(context) + context.did_show_result = 1 return not res def CheckSHCXX(context): res = SCons.Conftest.CheckSHCXX(context) + context.did_show_result = 1 return not res # Bram: Make this function obsolete? CheckHeader() is more generic.