diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-04-08 15:03:40 -0600 |
---|---|---|
committer | Kai Blin <kai@samba.org> | 2010-05-20 22:16:13 +0200 |
commit | 0077761f7ec0e404e67ff602135e1b4189b4c5c6 (patch) | |
tree | 8f20503083da0a498ed8a0755825e8907f92b59e /source3 | |
parent | fa48325bb65749af87106d4e19e29be1f91e6477 (diff) | |
download | samba-0077761f7ec0e404e67ff602135e1b4189b4c5c6.tar.gz samba-0077761f7ec0e404e67ff602135e1b4189b4c5c6.tar.bz2 samba-0077761f7ec0e404e67ff602135e1b4189b4c5c6.zip |
s3-waf: correctly handle the libcap dependency when libcap is not installed
Diffstat (limited to 'source3')
-rw-r--r-- | source3/wscript | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/wscript b/source3/wscript index bec3dbb04b..8931125e28 100644 --- 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]; |