summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-07 14:01:05 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:42 +1000
commitd87ea524d82a069d5df053b54eeb1e3bdbfdb5a9 (patch)
treef3431eabca4367081ffdcabfba01d8d142888390
parentabaf9aaba7acc10dde3a0b619209749748df52e2 (diff)
downloadsamba-d87ea524d82a069d5df053b54eeb1e3bdbfdb5a9.tar.gz
samba-d87ea524d82a069d5df053b54eeb1e3bdbfdb5a9.tar.bz2
samba-d87ea524d82a069d5df053b54eeb1e3bdbfdb5a9.zip
build: ntvfs/sysdep configure checks
-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')