--- /dev/null
+#!/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')
bld.SAMBA_LIBRARY('torture',
source='torture.c subunit.c ../subunit/c/lib/child.c',
- includes='../subunit/c/include',
vnum='0.0.1',
pc_files='torture.pc',
public_deps='LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL LIBSAMBA-ERRORS talloc tevent',
conf.RECURSE('../lib/socket_wrapper')
conf.RECURSE('../lib/uid_wrapper')
conf.RECURSE('../lib/popt')
+ conf.RECURSE('../lib/subunit/c')
conf.RECURSE('lib/smbreadline')
conf.RECURSE('../pidl')
conf.RECURSE('selftest')