diff options
author | Kai Blin <kai@samba.org> | 2010-03-21 13:01:00 +0100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-06 20:27:03 +1000 |
commit | 565191e39f23f6203412ecee728d15666906ca48 (patch) | |
tree | 1d72148d4c2f35ebf36d22edf09fc1f27c725368 /source3 | |
parent | 23ba9ad6e20f751e7d68f24f8d2dca7cb1c7e335 (diff) | |
download | samba-565191e39f23f6203412ecee728d15666906ca48.tar.gz samba-565191e39f23f6203412ecee728d15666906ca48.tar.bz2 samba-565191e39f23f6203412ecee728d15666906ca48.zip |
build: Check for IRIX kernel oplock types
Diffstat (limited to 'source3')
-rw-r--r-- | source3/wscript | 5 |
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: |