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 78ff40c99a..55b62d1c7e 100644 --- a/source3/wscript +++ b/source3/wscript @@ -1676,6 +1676,9 @@ main() { Logs.warn("pthreadpool support cannot be enabled when pthread support was not found") conf.undefine('WITH_PTHREADPOOL') + if conf.CHECK_HEADERS('gpfs_gpl.h'): + conf.DEFINE('HAVE_GPFS', '1') + default_static_modules=TO_LIST('''pdb_smbpasswd pdb_tdbsam pdb_wbc_sam auth_sam auth_unix auth_winbind auth_wbc auth_server auth_domain auth_builtin vfs_default @@ -1716,6 +1719,9 @@ main() { if conf.CONFIG_SET('DARWINOS'): default_shared_modules.extend(TO_LIST('charset_macosxfs')) + if conf.CONFIG_SET('HAVE_GPFS'): + default_shared_modules.extend(TO_LIST('vfs_gpfs vfs_gpfs_hsm_notify')) + explicit_shared_modules = TO_LIST(Options.options.shared_modules, delimiter=',') explicit_static_modules = TO_LIST(Options.options.static_modules, delimiter=',') |