diff options
Diffstat (limited to 'source3/wscript')
-rw-r--r-- | source3/wscript | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript index 1bc68115e5..42f532d9db 100644 --- a/source3/wscript +++ b/source3/wscript @@ -1669,6 +1669,9 @@ main() { if conf.CHECK_HEADERS('gpfs_gpl.h'): conf.DEFINE('HAVE_GPFS', '1') + if conf.CHECK_HEADERS('linux/ioctl.h sys/ioctl.h'): + conf.DEFINE('HAVE_LINUX_IOCTL', '1') + default_static_modules.extend(TO_LIST('''pdb_smbpasswd pdb_tdbsam pdb_wbc_sam auth_sam auth_unix auth_winbind auth_wbc auth_domain auth_builtin vfs_default @@ -1730,6 +1733,9 @@ main() { if conf.CONFIG_SET('HAVE_GPFS'): default_shared_modules.extend(TO_LIST('vfs_gpfs')) + if conf.CONFIG_SET('HAVE_LINUX_IOCTL'): + default_shared_modules.extend(TO_LIST('vfs_btrfs')) + explicit_shared_modules = TO_LIST(Options.options.shared_modules, delimiter=',') explicit_static_modules = TO_LIST(Options.options.static_modules, delimiter=',') |