mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
s3-waf: add configure check for dirfd and build vfs_syncops vfs_dirsort if possible.
Guenther
This commit is contained in:
parent
a699729447
commit
4c2ef4ffaa
@ -318,6 +318,8 @@ return acl_get_perm_np(permset_d, perm);
|
||||
conf.SET_TARGET_TYPE('acl', 'EMPTY')
|
||||
conf.SET_TARGET_TYPE('attr', 'EMPTY')
|
||||
|
||||
if conf.CHECK_FUNCS('dirfd'):
|
||||
conf.DEFINE('HAVE_DIRFD_DECL', 1)
|
||||
|
||||
default_static_modules=TO_LIST('''pdb_smbpasswd pdb_tdbsam pdb_wbc_sam pdb_ldap rpc_lsarpc rpc_samr
|
||||
rpc_winreg rpc_initshutdown rpc_dssetup rpc_wkssvc rpc_svcctl
|
||||
@ -343,6 +345,9 @@ return acl_get_perm_np(permset_d, perm);
|
||||
if Options.options.with_acl_support:
|
||||
default_static_modules.extend(TO_LIST('vfs_posixacl'))
|
||||
|
||||
if conf.CONFIG_SET('HAVE_DIRFD_DECL'):
|
||||
default_shared_modules.extend(TO_LIST('vfs_syncops vfs_dirsort'))
|
||||
|
||||
explicit_shared_modules = TO_LIST(Options.options.shared_modules, delimiter=',')
|
||||
explicit_static_modules = TO_LIST(Options.options.static_modules, delimiter=',')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user