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
tdb: Avoid NULL tdb_write
[Samba.git]
/
third_party
/
cmocka
/
wscript
blob
5ed56c9ceb01faba0fadad4f781ef7154730acc8
1
#!/usr/bin/env python
2
3
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
)