From 831a0d71c4767f81dd69f4078b393ff73d22172a Mon Sep 17 00:00:00 2001 From: "John (J5) Palmieri" Date: Mon, 14 Jan 2008 19:00:36 -0500 Subject: add inotify support (FDO Bz#13268) 2008-01-14 John (J5) Palmieri * patch by Frederic Crozat (FDO Bz# 13268) * add inotify support * bus/Makefile.am: add inotify module to the build * bus/dir-watch-inotify.c: inotify module based off the dnotify and kqueue modules * configure.in: add checks and switch for inotify also add a printout at the end of configure if inotify and kqueue support is being built in (dnotify already had this) --- bus/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bus/Makefile.am') diff --git a/bus/Makefile.am b/bus/Makefile.am index 4648a31d..3b4f69db 100644 --- a/bus/Makefile.am +++ b/bus/Makefile.am @@ -25,12 +25,16 @@ endif if DBUS_BUS_ENABLE_KQUEUE DIR_WATCH_SOURCE=dir-watch-kqueue.c else +if DBUS_BUS_ENABLE_INOTIFY +DIR_WATCH_SOURCE=dir-watch-inotify.c +else if DBUS_BUS_ENABLE_DNOTIFY_ON_LINUX DIR_WATCH_SOURCE=dir-watch-dnotify.c else DIR_WATCH_SOURCE=dir-watch-default.c endif endif +endif BUS_SOURCES= \ activation.c \ -- cgit v1.2.1