summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-12-13 12:56:38 +0100
committerGünther Deschner <gd@samba.org>2010-12-13 15:03:08 +0100
commita5cfdde558314ea8bd8b9421d0fffd9acbfb7de9 (patch)
tree2f78e0821920897187039358ca0552d8809ed56f /source3
parent4ce3b53f122afb1eb3eaa3fbc2b8ef7fa8d075f5 (diff)
downloadsamba-a5cfdde558314ea8bd8b9421d0fffd9acbfb7de9.tar.gz
samba-a5cfdde558314ea8bd8b9421d0fffd9acbfb7de9.tar.bz2
samba-a5cfdde558314ea8bd8b9421d0fffd9acbfb7de9.zip
s3-waf: try to fix the build with snow leopard.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Dec 13 15:03:08 CET 2010 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/wscript6
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/wscript b/source3/wscript
index c02f2a239d..684461ffd0 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -317,6 +317,10 @@ return acl_get_perm_np(permset_d, perm);
'HAVE_ACL_GET_PERM_NP',
headers='sys/types.h sys/acl.h', link=True,
msg="Checking whether acl_get_perm_np() is available")
+ else:
+ conf.DEFINE('HAVE_NO_ACLS', 1)
+ conf.SET_TARGET_TYPE('acl', 'EMPTY')
+ conf.SET_TARGET_TYPE('attr', 'EMPTY')
else:
conf.DEFINE('HAVE_NO_ACLS', 1)
conf.SET_TARGET_TYPE('acl', 'EMPTY')
@@ -352,7 +356,7 @@ return acl_get_perm_np(permset_d, perm);
default_static_modules.extend(TO_LIST('rpc_rpcecho pdb_ads'))
default_shared_modules.extend(TO_LIST('charset_weird perfcount_test'))
- if Options.options.with_acl_support:
+ if Options.options.with_acl_support and conf.CONFIG_SET('HAVE_POSIX_ACLS'):
default_static_modules.extend(TO_LIST('vfs_posixacl'))
if conf.CONFIG_SET('HAVE_DIRFD_DECL'):