diff --git a/configure.ac b/configure.ac index 9138c9e7..3f941fde 100644 --- a/configure.ac +++ b/configure.ac @@ -272,11 +272,11 @@ AS_IF([test "x$PLATFORM" = xosx], [AC_MSG_NOTICE([libnotify support will be disabled])])])])]) dnl feature: xscreensaver -AS_IF([test "x$enable_xscreensaver" != xno], +AS_IF([test "x$with_xscreensaver" != xno], [PKG_CHECK_MODULES([xscrnsaver], [xscrnsaver], [AC_MSG_NOTICE([xscreensaver support is enabled]); LIBS="$xscrnsaver_LIBS $LIBS" CFLAGS="$CFLAGS $xscrnsaver_CFLAGS"], - [AS_IF([test "x$enable_xscreensaver" = xyes], + [AS_IF([test "x$with_xscreensaver" = xyes], [AC_MSG_ERROR([xscreensaver is required but does not exist])], [AC_MSG_NOTICE([xscreensaver support is disabled])])])])