summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-03-03 22:55:09 +0100
committerGünther Deschner <gd@samba.org>2011-03-04 01:13:54 +0100
commit6b3d68fffd8c16c14b16e802d1a074ef12b3b0dc (patch)
treec8ac3cfb1354921c03505ba54cd079769317ccb3 /source3
parent0fb246ba7340c58fdb419ed434f8b17a21f24953 (diff)
downloadsamba-6b3d68fffd8c16c14b16e802d1a074ef12b3b0dc.tar.gz
samba-6b3d68fffd8c16c14b16e802d1a074ef12b3b0dc.tar.bz2
samba-6b3d68fffd8c16c14b16e802d1a074ef12b3b0dc.zip
s3-waf: add check for SEEKDIR_RETURNS_VOID.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Mar 4 01:13:54 CET 2011 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/wscript5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript
index 1062b3a463..c1c98011b1 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