build: ntvfs/sysdep configure checks
authorAndrew Tridgell <tridge@samba.org>
Sun, 7 Mar 2010 03:01:05 +0000 (14:01 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:26:42 +0000 (20:26 +1000)
source4/ntvfs/sysdep/wscript_configure [new file with mode: 0644]
source4/wscript

diff --git a/source4/ntvfs/sysdep/wscript_configure b/source4/ntvfs/sysdep/wscript_configure
new file mode 100644 (file)
index 0000000..2d20648
--- /dev/null
@@ -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')
index 04ae4be3f63f78e4fc79cf84e51a90ff027ef810..0bbf09b2dedd89aaece932f978efafe5242573d3 100644 (file)
@@ -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')