Dispense with the x11-monitoring when neither fam nor inotify are configured
This commit is contained in:
parent
d0501aa63b
commit
2b387cd059
@ -378,6 +378,11 @@ AC_ARG_ENABLE(x11mon,
|
|||||||
AC_HELP_STRING([--disable-x11mon],
|
AC_HELP_STRING([--disable-x11mon],
|
||||||
[Disable recollindex support for X11 session monitoring.]),
|
[Disable recollindex support for X11 session monitoring.]),
|
||||||
enableX11mon=$enableval, enableX11mon="yes")
|
enableX11mon=$enableval, enableX11mon="yes")
|
||||||
|
|
||||||
|
if test X$withInotify = Xno -a X$withFam = Xno ; then
|
||||||
|
enableX11mon=no
|
||||||
|
fi
|
||||||
|
|
||||||
if test "$enableX11mon" = "yes" ; then
|
if test "$enableX11mon" = "yes" ; then
|
||||||
AC_PATH_XTRA
|
AC_PATH_XTRA
|
||||||
X_LIBX11=-lX11
|
X_LIBX11=-lX11
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user