summaryrefslogtreecommitdiff
path: root/source3/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'source3/wscript')
-rw-r--r--source3/wscript5
1 files changed, 5 insertions, 0 deletions
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: