summaryrefslogtreecommitdiff
path: root/lib/subunit
diff options
context:
space:
mode:
Diffstat (limited to 'lib/subunit')
-rw-r--r--lib/subunit/c/wscript14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/subunit/c/wscript b/lib/subunit/c/wscript
new file mode 100644
index 0000000000..75449121c6
--- /dev/null
+++ b/lib/subunit/c/wscript
@@ -0,0 +1,14 @@
+#!/usr/bin/env python
+
+import Options
+
+def configure(conf):
+ if conf.CHECK_BUNDLED_SYSTEM('subunit', checkfunctions='subunit_test_start', headers='subunit/child.h'):
+ conf.define('USING_SYSTEM_SUBUNIT', 1)
+
+def build(bld):
+ if bld.CONFIG_SET('USING_SYSTEM_SUBUNIT'):
+ return
+
+ bld.SAMBA_LIBRARY('subunit', source='lib/child.c', is_bundled=True,
+ includes='include')