tdb: Avoid NULL tdb_write
[Samba.git] / third_party / cmocka / wscript
blob5ed56c9ceb01faba0fadad4f781ef7154730acc8
1 #!/usr/bin/env python
3 import Options
5 def configure(conf):
6 conf.CHECK_FUNCS('longjmp siglongjmp')
8 if conf.CHECK_CMOCKA():
9 conf.define('USING_SYSTEM_CMOCKA', 1)
11 def build(bld):
12 if bld.CONFIG_SET('USING_SYSTEM_CMOCKA'):
13 return
15 bld.SAMBA_LIBRARY('cmocka',
16 source='cmocka.c',
17 deps='rt',
18 allow_warnings=True,
19 private_library=True)