[SCM] Samba Shared Repository - branch v3-6-test updated

Günther Deschner gd at samba.org
Thu Feb 17 04:25:51 MST 2011


The branch, v3-6-test has been updated
       via  5d3dc19 s3-waf: add check for "struct sigevent" and some of its members.
       via  44a6764 s3-waf: add check for "struct utimbuf".
      from  799152f s3: increase the log level for missing PIDs on SIGCHLD

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test


- Log -----------------------------------------------------------------
commit 5d3dc195045bb935be9005dbff1246bc511bbdff
Author: Günther Deschner <gd at samba.org>
Date:   Thu Feb 17 10:59:44 2011 +0100

    s3-waf: add check for "struct sigevent" and some of its members.
    
    Guenther
    
    Autobuild-User: Günther Deschner <gd at samba.org>
    Autobuild-Date: Thu Feb 17 12:01:58 CET 2011 on sn-devel-104
    (cherry picked from commit 2045cd7ed7235f68947720f4a2da84f05284791c)

commit 44a676444b9b6ae7b8c1b1235b6bd0afa021a191
Author: Günther Deschner <gd at samba.org>
Date:   Thu Feb 17 10:53:25 2011 +0100

    s3-waf: add check for "struct utimbuf".
    
    Guenther
    (cherry picked from commit ce718bb521d3f3a83d07303373889d2c834fbe14)

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

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


Changeset truncated at 500 lines:

diff --git a/source3/wscript b/source3/wscript
index c87fb45..8439e0e 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -1107,6 +1107,22 @@ syscall(SYS_initgroups, 16, NULL, NULL, 0);
 		    'HAVE_DARWIN_INITGROUPS',
 		    msg='Checking hether to use the Darwin-specific initgroups system call')
 
+    conf.CHECK_CODE('''struct utimbuf tbuf;  tbuf.actime = 0; tbuf.modtime = 1; exit(utime("foo.c",&tbuf));''',
+		    'HAVE_UTIMBUF',
+		    headers='sys/types.h utime.h',
+		    msg='Checking whether struct utimbuf is available')
+
+    if conf.CHECK_CODE('''struct sigevent s;''',
+		    'HAVE_STRUCT_SIGEVENT',
+		    headers='sys/types.h stdlib.h stddef.h signal.h',
+		    msg='Checking whether we have the struct sigevent'):
+        conf.CHECK_STRUCTURE_MEMBER('struct sigevent', 'sigev_value.sival_ptr',
+				    define='HAVE_STRUCT_SIGEVENT_SIGEV_VALUE_SIVAL_PTR',
+				    headers='signal.h');
+        conf.CHECK_STRUCTURE_MEMBER('struct sigevent', 'sigev_value.sigval_ptr',
+				    define='HAVE_STRUCT_SIGEVENT_SIGEV_VALUE_SIGVAL_PTR',
+				    headers='signal.h');
+
     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


-- 
Samba Shared Repository


More information about the samba-cvs mailing list