# 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.FindCHeader("timerfd.h", [ 'sys', 'linux' ])
res = conf.CheckFunc("timerfd_create")
+res = conf.CheckSymbolWithExpression(
+ "le16toh", "le16toh(0)", "#include <senf/Packets/80211Bundle/radiotap/platform.h>")
+res = conf.CheckSymbolWithExpression(
+ "le32toh", "le32toh(0)", "#include <senf/Packets/80211Bundle/radiotap/platform.h>")
+res = conf.CheckByteorder()
res = conf.CheckSTLCopyN(); \
conf.env.Fail(condition=not res, message="No 'copy_n' implementation found")