summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-09-22 00:13:34 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-09-22 00:13:38 +0200
commitd00deaaef332967d86a2dee829ffb38a28163a42 (patch)
tree8c1aa15bab46fc1646cf3690d66c936a9a06d2c4 /configure.ac
parent205186da1627ab58f8ea7c1692749b5b1c5304e3 (diff)
eio: add kevent backend.
Summary: Implement basic kqueue/kevent backend for eio. When it comes to tracking directory changes, this backend falls back to the polling one. Test Plan: Ran Enlightenment for several days and some other EFL apps without any issue. Reviewers: cedric Reviewed By: cedric Subscribers: cedric Projects: #e_on_freebsd, #efl Differential Revision: https://phab.enlightenment.org/D2983 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ab6a061..3ca1316 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4086,6 +4086,13 @@ AC_DEFINE_IF([HAVE_NOTIFY_COCOA],
4086 [File monitoring with fsevent notification]) 4086 [File monitoring with fsevent notification])
4087AM_CONDITIONAL([HAVE_NOTIFY_COCOA], [test "x${have_darwin}" = "xyes"]) 4087AM_CONDITIONAL([HAVE_NOTIFY_COCOA], [test "x${have_darwin}" = "xyes"])
4088 4088
4089AC_CHECK_FUNC([kevent])
4090have_notify_kevent="${ac_cv_func_kevent}"
4091AC_DEFINE_IF([HAVE_NOTIFY_KEVENT],
4092 [test "x${have_notify_kevent}" = "xyes"], [1],
4093 [File monitoring with kqueue/kevent mechanism])
4094AM_CONDITIONAL([HAVE_NOTIFY_KEVENT], [test "x${have_notify_kevent}" = "xyes"])
4095
4089 4096
4090EFL_LIB_END([Eio]) 4097EFL_LIB_END([Eio])
4091dnl TODO: remove these ifdefs from code! 4098dnl TODO: remove these ifdefs from code!