From ac17efdb11e4f87df68306f1abe8a564257a1f90 Mon Sep 17 00:00:00 2001 From: deva Date: Wed, 6 Oct 2010 11:44:36 +0000 Subject: Check for inotify. --- server/configure.in | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'server') diff --git a/server/configure.in b/server/configure.in index 0a2bc89..c5cdc40 100644 --- a/server/configure.in +++ b/server/configure.in @@ -22,11 +22,14 @@ dnl ====================== inotify_support=no AC_CHECK_HEADERS([sys/inotify.h], [ - inotify_support=yes - AC_CHECK_FUNCS(inotify_init1) + AC_CHECK_FUNCS(inotify_init1, inotify_support=yes +) ]) - -AM_CONDITIONAL(HAVE_INOTIFY, [test "$inotify_support" = "yes"]) +if test "$inotify_support" = "no" +then + AC_MSG_ERROR([*** Inotify not found (needs at least 2.6.21 kernel)!]) +fi +#AM_CONDITIONAL(HAVE_INOTIFY, [test "$inotify_support" = "yes"]) dnl ====================== dnl Compile with artefact support -- cgit v1.2.3