Merge pull request #1696 from paulfertser/fix-xscreensaver-configure

Fix xscreensaver detection
This commit is contained in:
Michael Vetter
2022-04-21 12:45:48 +02:00
committed by GitHub

View File

@@ -270,7 +270,8 @@ AS_IF([test "x$PLATFORM" = xosx],
dnl feature: xscreensaver
AS_IF([test "x$enable_xscreensaver" != xno],
[PKG_CHECK_MODULES([xscrnsaver], [xscrnsaver],
[AC_MSG_NOTICE([xscreensaver support is enabled])],
[AC_MSG_NOTICE([xscreensaver support is enabled]);
LIBS="$xscrnsaver_LIBS $LIBS" CFLAGS="$CFLAGS $xscrnsaver_CFLAGS"],
[AS_IF([test "x$enable_xscreensaver" = xyes],
[AC_MSG_ERROR([xscreensaver is required but does not exist])],
[AC_MSG_NOTICE([xscreensaver support is disabled])])])])