diff options
author | Günther Deschner <gd@samba.org> | 2011-02-17 10:59:44 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-02-17 12:01:58 +0100 |
commit | 2045cd7ed7235f68947720f4a2da84f05284791c (patch) | |
tree | afc1b0eea3f57c689ff4b428ed9feaf222be61fd /source3/wscript | |
parent | ce718bb521d3f3a83d07303373889d2c834fbe14 (diff) | |
download | samba-2045cd7ed7235f68947720f4a2da84f05284791c.tar.gz samba-2045cd7ed7235f68947720f4a2da84f05284791c.tar.bz2 samba-2045cd7ed7235f68947720f4a2da84f05284791c.zip |
s3-waf: add check for "struct sigevent" and some of its members.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Feb 17 12:01:58 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/wscript')
-rw-r--r-- | source3/wscript | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript index e8c867f741..dac52a7b67 100644 --- a/source3/wscript +++ b/source3/wscript @@ -1118,6 +1118,17 @@ syscall(SYS_initgroups, 16, NULL, NULL, 0); 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 |