From: Günther Deschner Date: Wed, 16 Feb 2011 15:52:45 +0000 (+0100) Subject: s3-waf: add check for broken (glibc2.1/x86) 64 bit fcntl locking. X-Git-Tag: tevent-0.9.11~576 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8701b0d6454f846472a186f1e44dd4a9368631f4;p=thirdparty%2Fsamba.git s3-waf: add check for broken (glibc2.1/x86) 64 bit fcntl locking. Guenther --- diff --git a/source3/wscript b/source3/wscript index 8ce2a129ce4..d076596f5bd 100644 --- a/source3/wscript +++ b/source3/wscript @@ -1014,6 +1014,14 @@ int i; i = PAM_RADIO_TYPE; execute=True, msg='Checking whether fcntl locking is available') + conf.CHECK_CODE(''' +#include "../tests/fcntl_lock64.c" +''', + 'HAVE_BROKEN_FCNTL64_LOCKS', + addmain=False, + execute=True, + msg='Checking whether fcntl64 locks are broken') + 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