about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAshish SHUKLA <ashish.is@lostca.se>2022-09-15 17:37:57 +0000
committerAshish SHUKLA <ashish.is@lostca.se>2022-09-15 17:37:57 +0000
commit6c01df040f5102c2a43cdd82b3310834f5aac46a (patch)
treecb789b3ab05bb39cc83862e888965851a1ceec4b
parent496eb6ceb81508291e49a6e3e91bd62f1eee333c (diff)
downloadprofani-tty-6c01df040f5102c2a43cdd82b3310834f5aac46a.tar.gz
Fix typo in configure.ac
Signed-off-by: Ashish SHUKLA <ashish.is@lostca.se>
-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])])])])