Dispense with the x11-monitoring when neither fam nor inotify are configured

This commit is contained in:
Jean-Francois Dockes 2010-01-31 19:45:41 +01:00
parent d0501aa63b
commit 2b387cd059

View File

@ -378,6 +378,11 @@ AC_ARG_ENABLE(x11mon,
AC_HELP_STRING([--disable-x11mon],
[Disable recollindex support for X11 session monitoring.]),
enableX11mon=$enableval, enableX11mon="yes")
if test X$withInotify = Xno -a X$withFam = Xno ; then
enableX11mon=no
fi
if test "$enableX11mon" = "yes" ; then
AC_PATH_XTRA
X_LIBX11=-lX11