selftest/tests.py: prepare looping over pam_winbindd tests
[Samba.git] / third_party / cmocka / wscript
blob9ebdd7cfbe9a5a8a9097142754ddeec22d2ffb44
1 #!/usr/bin/env python
3 from waflib 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)