mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Fix xscreensaver detection
Using pkg-config to find libraries requires explicit mention of the relevant _CFLAGS and _LIBS variables. Fixes #1695.
This commit is contained in:
parent
f891edc0e9
commit
b4857c6043
@ -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])])])])
|
||||
|
Loading…
Reference in New Issue
Block a user