git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa48325
)
s3-waf: correctly handle the libcap dependency when libcap is not installed
author
Andrew Tridgell
<tridge@samba.org>
Thu, 8 Apr 2010 21:03:40 +0000
(15:03 -0600)
committer
Kai Blin
<kai@samba.org>
Thu, 20 May 2010 20:16:13 +0000
(22:16 +0200)
source3/wscript
patch
|
blob
|
history
diff --git
a/source3/wscript
b/source3/wscript
index bec3dbb04b6843ced34ba64cac6d9583459bbd7d..8931125e287f2c94a6abf2fef74913ff8a8dd952 100644
(file)
--- a/
source3/wscript
+++ b/
source3/wscript
@@
-149,8
+149,9
@@
main() {
headers='sys/stat.h')
# Check for POSIX capability support
+ conf.CHECK_FUNCS_IN('cap_get_proc', 'cap', headers='sys/capability.h')
+
if "HAVE_SYS_CAPABILITY_H" in conf.env:
- conf.CHECK_FUNCS_IN('cap_get_proc', 'cap')
conf.CHECK_CODE('''
cap_t cap;
cap_value_t vals[1];