summaryrefslogtreecommitdiffstats
path: root/net/samba4/files/patch-source4__ntvfs__sysdep__wscript_configure
blob: bdd6c628cc49cfdbbe58bda8829f36f93d46757f (plain)
1
2
3
4
5
6
7
8
9
10
11
--- ./source4/ntvfs/sysdep/wscript_configure.orig	2012-10-02 08:24:48.000000000 +0000
+++ ./source4/ntvfs/sysdep/wscript_configure	2013-02-05 04:12:51.909866322 +0000
@@ -5,5 +5,8 @@
 conf.CHECK_DECLS('F_SETLEASE', headers='linux/fcntl.h', reverse=True)
 conf.CHECK_DECLS('SA_SIGINFO', headers='signal.h', reverse=True)
 
+conf.SET_TARGET_TYPE('inotify', 'EMPTY')
+conf.CHECK_FUNCS_IN('inotify_init', 'inotify', checklibc=True, headers='sys/inotify.h')
+
 if (conf.CONFIG_SET('HAVE_SYS_INOTIFY_H')):
     conf.DEFINE('HAVE_LINUX_INOTIFY', 1)
OpenPOWER on IntegriCloud