diff options
| author | Christof Schmitt <cs@samba.org> | 2021-09-13 13:14:49 -0700 |
|---|---|---|
| committer | Jeremy Allison <jra@samba.org> | 2021-09-14 23:14:36 +0000 |
| commit | c2d6284a033da3984cc13a85c862489c78fb7739 (patch) | |
| tree | e66e21abf987f2a5a2c6483ddf7bc6b364077e97 | |
| parent | b2b7f9e658d80f8e193c4d1e266783b1f02a6012 (diff) | |
| download | samba-c2d6284a033da3984cc13a85c862489c78fb7739.tar.gz | |
wscript: Remove config check for LOCK_MAND
The define set from this check is no longer needed.
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
| -rw-r--r-- | source3/wscript | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/source3/wscript b/source3/wscript index 87dbc00f191..5662c588776 100644 --- a/source3/wscript +++ b/source3/wscript @@ -165,21 +165,6 @@ long ret = splice(0,0,1,0,400,SPLICE_F_MOVE); if conf.CHECK_DECLS('F_SETLEASE', headers='linux/fcntl.h', reverse=True): conf.DEFINE('HAVE_KERNEL_OPLOCKS_LINUX', 1) - # Check for kernel share modes - conf.CHECK_CODE(''' -#include <sys/types.h> -#include <fcntl.h> -#include <signal.h> -#include <sys/file.h> -#ifndef LOCK_MAND -#define LOCK_MAND 32 -#define LOCK_READ 64 -#endif -main() { - exit(flock(open("/dev/null", O_RDWR), LOCK_MAND|LOCK_READ) != 0); -}''', 'HAVE_KERNEL_SHARE_MODES', addmain=False, execute=True, - msg="Checking for kernel share modes") - # check for fam libs samba_fam_libs=None check_for_fam=False |
