diff options
Diffstat (limited to 'server/configure.in')
-rw-r--r-- | server/configure.in | 11 |
1 files changed, 7 insertions, 4 deletions
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 |