summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/ntvfs/sysdep/wscript_configure7
-rw-r--r--source4/wscript1
2 files changed, 8 insertions, 0 deletions
diff --git a/source4/ntvfs/sysdep/wscript_configure b/source4/ntvfs/sysdep/wscript_configure
new file mode 100644
index 0000000000..2d2064843e
--- /dev/null
+++ b/source4/ntvfs/sysdep/wscript_configure
@@ -0,0 +1,7 @@
+conf.CHECK_HEADERS('linux/inotify.h asm/unistd.h sys/inotify.h', add_headers=False)
+
+conf.CHECK_FUNCS('inotify_init')
+
+conf.CHECK_VARIABLE('__NR_inotify_init')
+conf.CHECK_VARIABLE('F_SETLEASE')
+conf.CHECK_VARIABLE('SA_SIGINFO')
diff --git a/source4/wscript b/source4/wscript
index 04ae4be3f6..0bbf09b2de 100644
--- a/source4/wscript
+++ b/source4/wscript
@@ -25,6 +25,7 @@ def configure(conf):
conf.sub_config(LIBLDB_DIR)
conf.sub_config('heimdal_build')
conf.sub_config('lib/tls')
+ conf.sub_config('ntvfs/sysdep')
conf.DEFINE('CONFIG_H_IS_FROM_SAMBA', 1)
conf.ADD_EXTRA_INCLUDES('#source4 #lib #source4/lib #source4/include #lib/socket_wrapper #lib/talloc #lib/replace #lib/event')