fixed --without-inotify option

This commit is contained in:
Axel Kittenberger 2011-11-21 13:52:35 +01:00
parent 7388029c5e
commit b790639bb0
1 changed files with 4 additions and 3 deletions

View File

@ -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