From b790639bb06215f78545a410faa67dabbc871eda Mon Sep 17 00:00:00 2001 From: Axel Kittenberger Date: Mon, 21 Nov 2011 13:52:35 +0100 Subject: [PATCH] fixed --without-inotify option --- configure.ac | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index e7475e0..912b499 100644 --- a/configure.ac +++ b/configure.ac @@ -42,8 +42,9 @@ AM_CONDITIONAL([RUNNER], [test x${with_runner} != x]) ### # --without-inotify option AC_ARG_WITH([inotify], -[ --without-inotify Do not use Linux inotify event interface. On by default.]) -if test "x${without_inotify}" == x; then +[ --without-inotify Do not use Linux inotify event interface. On by default.], +[],[with_inotify=yes]) +if test "x${with_inotify}" == xyes; then echo "compiling with inotify" AC_DEFINE(LSYNCD_WITH_INOTIFY,,"descr") else @@ -57,7 +58,7 @@ AM_CONDITIONAL([INOTIFY], [test x${with_inotify} != xno]) AC_ARG_WITH([fsevents], [ --with-fsevents Uses MacOS (10.5) /dev/fsevents. EXPERIMENTAL! Off by default.]) -if test "x${with_fsevents}" != x; then +if test "x${with_fsevents}" == xyes; then echo "compiling with fsevents. WARNING experimental!" AC_DEFINE(LSYNCD_WITH_FSEVENTS,,"descr") fi