mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
94b7672d48
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlet <abartlet@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Mon Apr 10 11:38:13 CEST 2017 on sn-devel-144
20 lines
450 B
Python
20 lines
450 B
Python
#!/usr/bin/env python
|
|
|
|
import Options
|
|
|
|
def configure(conf):
|
|
conf.CHECK_FUNCS('longjmp siglongjmp')
|
|
|
|
if conf.CHECK_CMOCKA():
|
|
conf.define('USING_SYSTEM_CMOCKA', 1)
|
|
|
|
def build(bld):
|
|
if bld.CONFIG_SET('USING_SYSTEM_CMOCKA'):
|
|
return
|
|
|
|
bld.SAMBA_LIBRARY('cmocka',
|
|
source='cmocka.c',
|
|
deps='rt',
|
|
allow_warnings=True,
|
|
private_library=True)
|