summaryrefslogtreecommitdiff
path: root/source4/ntvfs/sysdep/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'source4/ntvfs/sysdep/config.m4')
-rw-r--r--source4/ntvfs/sysdep/config.m47
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/ntvfs/sysdep/config.m4 b/source4/ntvfs/sysdep/config.m4
new file mode 100644
index 0000000000..f67a3bdace
--- /dev/null
+++ b/source4/ntvfs/sysdep/config.m4
@@ -0,0 +1,7 @@
+AC_CHECK_HEADERS(linux/inotify.h asm/unistd.h)
+AC_CHECK_FUNC(inotify_init)
+
+SMB_ENABLE(ntvfs_inotify, NO)
+if test x"$ac_cv_header_linux_inotify_h" = x"yes"; then
+ SMB_ENABLE(ntvfs_inotify, YES)
+fi