# -*- python -*-
+import glob
+
Import('env')
###########################################################################
('<ext/algorithm>', '__gnu_cxx::copy_n', 'GNUCXX') ]
for include, name, define in versions:
ret = context.TryCompile("#include %s\n"
- "int main(int,char**) { int *a,*b; %s(a,0,b); }\n"
+ "int main(int,char**) { int *a (NULL); int *b (NULL); %s(a,0,b); }\n"
% (include, name),
".cc")
if ret:
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()
+