summaryrefslogtreecommitdiff
path: root/source3/wscript
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-02-16 16:52:45 +0100
committerGünther Deschner <gd@samba.org>2011-02-16 18:39:32 +0100
commit8701b0d6454f846472a186f1e44dd4a9368631f4 (patch)
treea374dc354736cf00727f004b52a849edb46eb247 /source3/wscript
parent4e32fd9d5cb9360fb32f765ba7018a8f609e287f (diff)
downloadsamba-8701b0d6454f846472a186f1e44dd4a9368631f4.tar.gz
samba-8701b0d6454f846472a186f1e44dd4a9368631f4.tar.bz2
samba-8701b0d6454f846472a186f1e44dd4a9368631f4.zip
s3-waf: add check for broken (glibc2.1/x86) 64 bit fcntl locking.
Guenther
Diffstat (limited to 'source3/wscript')
-rw-r--r--source3/wscript8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript
index 8ce2a129ce..d076596f5b 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