mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-27 20:44:56 +00:00
XMMS2 - fix version check
Adds minimum version check for XMMS2 client libs. I couldn't get it to check exact version cause pkg-config gets confused with XMMS2's version number containing spaces.. Anyway it's better than not check at all. Signed-off-by: Brenden Matthews <brenden@diddyinc.com>
This commit is contained in:
parent
2e4f58d565
commit
823e4af018
@ -317,7 +317,7 @@ AC_ARG_ENABLE([xmms2],
|
||||
|
||||
AM_CONDITIONAL(BUILD_XMMS2, test x$want_xmms2 = xyes)
|
||||
if test x$want_xmms2 = xyes; then
|
||||
PKG_CHECK_MODULES([XMMS2], [xmms2-client])
|
||||
PKG_CHECK_MODULES([XMMS2], [xmms2-client] >= [0.6])
|
||||
conky_CFLAGS="$conky_CFLAGS $XMMS2_CFLAGS"
|
||||
conky_LIBS="$conky_LIBS $XMMS2_LIBS"
|
||||
AC_DEFINE(XMMS2, 1, [Define if you want XMMS2 support])
|
||||
|
Loading…
Reference in New Issue
Block a user