# -*- 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.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()
+