summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/SConf.py
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2008-09-03 08:29:19 (GMT)
committerDavid Cournapeau <cournape@gmail.com>2008-09-03 08:29:19 (GMT)
commitc183b6e80b298e474a59b1c4f71d680183ca5519 (patch)
treea6cdb4abd3269afbe8ecf3652b4bb9e2b42ced6d /src/engine/SCons/SConf.py
parente82cd51fc1e345fd8005dccf6e1ae1862a37455c (diff)
downloadSCons-c183b6e80b298e474a59b1c4f71d680183ca5519.zip
SCons-c183b6e80b298e474a59b1c4f71d680183ca5519.tar.gz
SCons-c183b6e80b298e474a59b1c4f71d680183ca5519.tar.bz2
Integrate CheckCC in configure context.
Diffstat (limited to 'src/engine/SCons/SConf.py')
-rw-r--r--src/engine/SCons/SConf.py5
1 files changed, 5 insertions, 0 deletions
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 = '""'):