From 2b387cd059cb43759cb512c7aef3b60f9295e18b Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Sun, 31 Jan 2010 19:45:41 +0100 Subject: [PATCH] Dispense with the x11-monitoring when neither fam nor inotify are configured --- src/configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/configure.ac b/src/configure.ac index 7b47ef14..b8110480 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -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