1
0
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:
Lassi Selander 2010-01-01 14:53:31 -08:00 committed by Brenden Matthews
parent 2e4f58d565
commit 823e4af018

View File

@ -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])