From 6b3d68fffd8c16c14b16e802d1a074ef12b3b0dc Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 3 Mar 2011 22:55:09 +0100 Subject: s3-waf: add check for SEEKDIR_RETURNS_VOID. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Guenther Autobuild-User: Günther Deschner Autobuild-Date: Fri Mar 4 01:13:54 CET 2011 on sn-devel-104 --- source3/wscript | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3') diff --git a/source3/wscript b/source3/wscript index 1062b3a4639..c1c98011b1b 100644 --- a/source3/wscript +++ b/source3/wscript @@ -1499,6 +1499,11 @@ main() { link=False, msg='Checking whether we can compile with __attribute__((destructor))') + conf.CHECK_CODE('void seekdir(DIR *d, long loc) { return; }', + 'SEEKDIR_RETURNS_VOID', + headers='sys/types.h dirent.h', + msg='Checking whether seekdir returns void') + 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 -- cgit