[SCM] Samba Shared Repository - branch master updated

Günther Deschner gd at samba.org
Tue Dec 7 06:02:01 MST 2010


The branch, master has been updated
       via  af4a4f5 s3-waf: build vfs_fileid module if possible.
      from  6b1ba79 s3-waf: add support for --with-dnsupdate.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit af4a4f58b5192ba7c80f096f9c7bc26c128c007c
Author: Günther Deschner <gd at samba.org>
Date:   Tue Dec 7 12:46:50 2010 +0100

    s3-waf: build vfs_fileid module if possible.
    
    Guenther
    
    Autobuild-User: Günther Deschner <gd at samba.org>
    Autobuild-Date: Tue Dec  7 14:01:46 CET 2010 on sn-devel-104

-----------------------------------------------------------------------

Summary of changes:
 source3/wscript |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/wscript b/source3/wscript
index 264bda2..7fe142d 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=',')
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list