From df04788fe501e951cfcb9e52ec3176c017f4f294 Mon Sep 17 00:00:00 2001 From: cournape Date: Wed, 3 Sep 2008 08:29:19 +0000 Subject: [PATCH] Integrate CheckCC in configure context. git-svn-id: http://scons.tigris.org/svn/scons/trunk@3329 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- src/engine/SCons/SConf.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/engine/SCons/SConf.py b/src/engine/SCons/SConf.py index 130e0d39..05dd97e0 100644 --- a/src/engine/SCons/SConf.py +++ b/src/engine/SCons/SConf.py @@ -401,6 +401,7 @@ class SConfBase: # add default tests default_tests = { + 'CheckCC' : CheckCC, 'CheckFunc' : CheckFunc, 'CheckType' : CheckType, 'CheckTypeSize' : CheckTypeSize, @@ -922,6 +923,10 @@ def CheckHeader(context, header, include_quotes = '<>', language = None): context.did_show_result = 1 return not res +def CheckCC(context): + res = SCons.Conftest.CheckCC(context) + return not res + # Bram: Make this function obsolete? CheckHeader() is more generic. def CheckCHeader(context, header, include_quotes = '""'): -- 2.26.2