repo.or.cz
/
Samba.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
selftest/tests.py: prepare looping over pam_winbindd tests
[Samba.git]
/
third_party
/
cmocka
/
wscript
blob
9ebdd7cfbe9a5a8a9097142754ddeec22d2ffb44
1
#!/usr/bin/env python
2
3
from
waflib
import
Options
4
5
def
configure
(
conf
):
6
conf
.
CHECK_FUNCS
(
'longjmp siglongjmp'
)
7
8
if
conf
.
CHECK_CMOCKA
():
9
conf
.
define
(
'USING_SYSTEM_CMOCKA'
,
1
)
10
11
def
build
(
bld
):
12
if
bld
.
CONFIG_SET
(
'USING_SYSTEM_CMOCKA'
):
13
return
14
15
bld
.
SAMBA_LIBRARY
(
'cmocka'
,
16
source
=
'cmocka.c'
,
17
deps
=
'rt'
,
18
allow_warnings
=
True
,
19
private_library
=
True
)