# -*- python -*-
+import glob
+
Import('env')
###########################################################################
# alloca
ret = context.TryCompile("#include <alloca.h>\n"
- "void test(int a){void *b(alloca(a));}"
+ "void test(int a){void *b(alloca(a));}",
".cc")
if ret: return "alloca"
res = conf.CheckTempBufferStrategy()
# Standard library stuff
+res = conf.CheckCHeader("execinfo.h")
res = conf.FindCHeader("timerfd.h", [ 'sys', 'linux' ])
res = conf.CheckFunc("timerfd_create")
res = conf.CheckSymbolWithExpression(
res = conf.CheckValgrind() and conf.CheckValgrindWildcards(); \
conf.env.Replace(HAVE_VALGRIND = res)
+###########################################################################
+
+# run configure scripts from external modules
+Export('conf')
+
+sconscripts = sorted(glob.glob("senf/Ext/*/SConfigure"))
+if sconscripts:
+ SConscript(sconscripts)
+
+###########################################################################
+
env = conf.Finish()
+