summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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')