From 9e194cd673a0d0a56cd064bab38cbf30b468999d Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Wed, 26 May 2010 00:16:10 +0200 Subject: s3-waf: Check for additional options on *xattr --- source3/wscript | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source3') 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') -- cgit