about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 433a4738..68d09b2d 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])])])])