From 565191e39f23f6203412ecee728d15666906ca48 Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Sun, 21 Mar 2010 13:01:00 +0100 Subject: build: Check for IRIX kernel oplock types --- source3/wscript | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3/wscript') diff --git a/source3/wscript b/source3/wscript index 589f1b4da2..115adc408d 100644 --- a/source3/wscript +++ b/source3/wscript @@ -71,6 +71,11 @@ main() { }''', 'HAVE_KERNEL_OPLOCKS_LINUX', addmain=False, execute=True, msg="Checking for Linux kernel oplocks") + # Check for IRIX kernel oplock types + conf.CHECK_CODE('oplock_stat_t t; t.os_state = OP_REVOKE; t.os_dev = 1; t.os_ino = 1;', + 'HAVE_KERNEL_OPLOCKS_IRIX', headers='sys/types.h fcntl.h', + msg="Checking for IRIX kernel oplock types") + # Look for CUPS conf.find_program('cups-config', var='CUPS_CONFIG') if conf.env.CUPS_CONFIG: -- cgit