diff options
author | Günther Deschner <gd@samba.org> | 2010-12-07 12:46:50 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-12-07 14:01:46 +0100 |
commit | af4a4f58b5192ba7c80f096f9c7bc26c128c007c (patch) | |
tree | e0ffaf63169857f560a06e171c8cc292dea2d5c9 /source3/wscript | |
parent | 6b1ba79fbf64afd7a8bc77eec7c8bdce48bb620f (diff) | |
download | samba-af4a4f58b5192ba7c80f096f9c7bc26c128c007c.tar.gz samba-af4a4f58b5192ba7c80f096f9c7bc26c128c007c.tar.bz2 samba-af4a4f58b5192ba7c80f096f9c7bc26c128c007c.zip |
s3-waf: build vfs_fileid module if possible.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Dec 7 14:01:46 CET 2010 on sn-devel-104
Diffstat (limited to 'source3/wscript')
-rw-r--r-- | source3/wscript | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript index 264bda2de1..7fe142d1ec 100644 --- a/source3/wscript +++ b/source3/wscript @@ -322,6 +322,12 @@ return acl_get_perm_np(permset_d, perm); if conf.CHECK_FUNCS('dirfd'): conf.DEFINE('HAVE_DIRFD_DECL', 1) + conf.CHECK_CODE('struct statfs fsd; fsid_t fsid = fsd.f_fsid; return statfs(".", &fsd);', + 'HAVE_STATFS_F_FSID', + msg="vfs_fileid: checking for statfs() and struct statfs.f_fsid", + headers='sys/types.h sys/statfs.h', + execute=True) + 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 rpc_ntsvcs rpc_netlogon rpc_netdfs rpc_srvsvc rpc_spoolss @@ -349,6 +355,9 @@ return acl_get_perm_np(permset_d, perm); if conf.CONFIG_SET('HAVE_DIRFD_DECL'): default_shared_modules.extend(TO_LIST('vfs_syncops vfs_dirsort')) + if conf.CONFIG_SET('HAVE_STATFS_F_FSID'): + default_shared_modules.extend(TO_LIST('vfs_fileid')) + explicit_shared_modules = TO_LIST(Options.options.shared_modules, delimiter=',') explicit_static_modules = TO_LIST(Options.options.static_modules, delimiter=',') |