summaryrefslogtreecommitdiff
path: root/source3/modules/wscript_build
diff options
context:
space:
mode:
authorIra Cooper <ira@samba.org>2016-07-26 11:44:47 -0400
committerIra Cooper <ira@samba.org>2016-08-08 21:27:46 +0200
commit14f29c4f560f1b3942245a6fa43924a8ce45d99d (patch)
tree04f4aa2404063f62d1b3d8d4859f64092b53af7f /source3/modules/wscript_build
parent38bb993657f8eb6c49899de0d741ed5186ca5022 (diff)
downloadsamba-14f29c4f560f1b3942245a6fa43924a8ce45d99d.tar.gz
buildscripts: Fix the regression with --without-acl-support.
This will disable the vfs_glusterfs and vfs_cephfs modules if you provide --without-acl-support. In addition it makes compiling in POSIXACL_XATTR conditional on vfs_glusterfs or vfs_cephfs being built in. Signed-off-by: Ira Cooper <ira@samba.org> Reviewed-by: Steve French <sfrench@samba.org> Tested-by: Steve French <sfrench@samba.org> Autobuild-User(master): Ira Cooper <ira@samba.org> Autobuild-Date(master): Mon Aug 8 21:27:46 CEST 2016 on sn-devel-144
Diffstat (limited to 'source3/modules/wscript_build')
-rw-r--r--source3/modules/wscript_build1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/modules/wscript_build b/source3/modules/wscript_build
index 2d42a82b9fa..a5d84075872 100644
--- a/source3/modules/wscript_build
+++ b/source3/modules/wscript_build
@@ -6,6 +6,7 @@ bld.SAMBA3_SUBSYSTEM('NFS4_ACLS',
bld.SAMBA3_SUBSYSTEM('POSIXACL_XATTR',
source='posixacl_xattr.c',
+ enabled=(bld.SAMBA3_IS_ENABLED_MODULE('vfs_ceph') or bld.SAMBA3_IS_ENABLED_MODULE('vfs_glusterfs')),
deps='acl attr')
bld.SAMBA3_LIBRARY('non_posix_acls',