summaryrefslogtreecommitdiff
path: root/source3/wscript
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-02-16 16:51:14 +0100
committerGünther Deschner <gd@samba.org>2011-02-16 18:39:28 +0100
commit4e32fd9d5cb9360fb32f765ba7018a8f609e287f (patch)
treefd948128459b411665810f0dea4251c923dd88df /source3/wscript
parentb3f76482d250511ddf3b75f276c48c51db939691 (diff)
downloadsamba-4e32fd9d5cb9360fb32f765ba7018a8f609e287f.tar.gz
samba-4e32fd9d5cb9360fb32f765ba7018a8f609e287f.tar.bz2
samba-4e32fd9d5cb9360fb32f765ba7018a8f609e287f.zip
s3-waf: add check for 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 bbb25eeedc..8ce2a129ce 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -1006,6 +1006,14 @@ int i; i = PAM_RADIO_TYPE;
else:
conf.undefine('HAVE_STRUCT_DIRENT64')
+ conf.CHECK_CODE('''
+#include "../tests/fcntl_lock.c"
+''',
+ 'HAVE_FCNTL_LOCK',
+ addmain=False,
+ execute=True,
+ msg='Checking whether fcntl locking is available')
+
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