diff options
Diffstat (limited to 'source3/wscript')
-rw-r--r-- | source3/wscript | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript index 3f9dfd9303..7f178a4c55 100644 --- a/source3/wscript +++ b/source3/wscript @@ -1669,6 +1669,13 @@ main() { conf.CHECK_HEADERS('pthread.h') conf.DEFINE('HAVE_PTHREAD', '1') + if Options.options.with_pthreadpool: + if conf.CONFIG_SET('HAVE_PTHREAD'): + conf.DEFINE('WITH_PTHREADPOOL', '1') + else: + Logs.warn("pthreadpool support cannot be enabled when pthread support was not found") + conf.undefine('WITH_PTHREADPOOL') + 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 |