summaryrefslogtreecommitdiff
path: root/source3/wscript
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2010-05-26 00:16:10 +0200
committerKai Blin <kai@samba.org>2010-05-26 00:28:34 +0200
commit9e194cd673a0d0a56cd064bab38cbf30b468999d (patch)
tree1464faec7bcf4a47cb6bbc888f0a8d3d47627281 /source3/wscript
parent5a023e73f7b1e788b49a05318b8de264aca085f0 (diff)
downloadsamba-9e194cd673a0d0a56cd064bab38cbf30b468999d.tar.gz
samba-9e194cd673a0d0a56cd064bab38cbf30b468999d.tar.bz2
samba-9e194cd673a0d0a56cd064bab38cbf30b468999d.zip
s3-waf: Check for additional options on *xattr
Diffstat (limited to 'source3/wscript')
-rw-r--r--source3/wscript6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript
index 2695073cd2..166f7c5295 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -325,6 +325,12 @@ updwtmp updwtmpx utimensat vsyslog _write __write __xstat
conf.find_program('awk', var='AWK')
+ # Darwin has extra options to xattr-family functions
+ conf.CHECK_CODE('getxattr(0, 0, 0, 0, 0, 0);',
+ 'XATTR_ADD_OPT',
+ msg="Checking whether xattr interface takes additional options",
+ headers='sys/types.h attr/xattr.h sys/xattr.h')
+
#FIXME: Should just be set when krb5 and ldap requirements are fulfilled
if Options.options.with_ads:
conf.DEFINE('WITH_ADS', '1')