From c183b6e80b298e474a59b1c4f71d680183ca5519 Mon Sep 17 00:00:00 2001 From: David Cournapeau Date: Wed, 3 Sep 2008 08:29:19 +0000 Subject: Integrate CheckCC in configure context. --- 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 130e0d3..05dd97e 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 = '""'): -- cgit v0.12