summaryrefslogtreecommitdiffstats
path: root/source3/wscript
diff options
context:
space:
mode:
authorAbhidnya Joshi <abhidnya_joshi@symantec.com>2014-09-01 14:10:10 +0530
committerJeremy Allison <jra@samba.org>2014-09-18 02:30:06 +0200
commit9fca4f71c0556095fa23b44902948223efa68587 (patch)
treeb1ed1620144fbca5333892fd5425fe5e04675446 /source3/wscript
parent2df601bff0d949e66c79366b8248b9d950c0b430 (diff)
downloadsamba-9fca4f71c0556095fa23b44902948223efa68587.tar.gz
samba-9fca4f71c0556095fa23b44902948223efa68587.tar.xz
samba-9fca4f71c0556095fa23b44902948223efa68587.zip
s3: vfs module: Adding new vfs module for Symantec VxFS.
This mainly handles ACL related functions. Modified to add requirement for -DCFLAGS=-DXATTR_USER_NTACL="user.NTACL" and to hide access to XATTR_USER_NTACL by jra. Signed-off-by: Abhidnya Joshi <abhidnya_joshi@symantec.com> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Sep 18 02:30:06 CEST 2014 on sn-devel-104
Diffstat (limited to 'source3/wscript')
-rw-r--r--source3/wscript10
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript
index 44cce16b71..b285c5f38c 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -65,6 +65,10 @@ def set_options(opt):
opt.SAMBA3_ADD_OPTION('glusterfs', with_name="enable", without_name="disable", default=True)
+ opt.add_option('--enable-vxfs',
+ help=("enable support for VxFS (default=no)"),
+ action="store_true", dest='enable_vxfs', default=False)
+
def configure(conf):
from samba_utils import TO_LIST
@@ -1796,6 +1800,9 @@ main() {
conf.SET_TARGET_TYPE('gfapi', 'EMPTY')
conf.undefine('HAVE_GLUSTERFS')
+ if Options.options.enable_vxfs:
+ conf.DEFINE('HAVE_VXFS', '1')
+
if conf.check_cfg(package='dbus-1', args='--cflags --libs',
msg='Checking for dbus', uselib_store="DBUS-1"):
if (conf.CHECK_HEADERS('dbus/dbus.h', lib='dbus-1')
@@ -1905,6 +1912,9 @@ main() {
if conf.CONFIG_SET('HAVE_GLUSTERFS'):
default_shared_modules.extend(TO_LIST('vfs_glusterfs'))
+ if conf.CONFIG_SET('HAVE_VXFS'):
+ default_shared_modules.extend(TO_LIST('vfs_vxfs'))
+
if conf.CONFIG_SET('HAVE_DBUS'):
default_shared_modules.extend(TO_LIST('vfs_snapper'))