mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-17 18:45:10 +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
87e422c224
commit
42d2e90ba1
@ -318,7 +318,7 @@ AC_ARG_ENABLE([xmms2],
|
|||||||
|
|
||||||
AM_CONDITIONAL(BUILD_XMMS2, test x$want_xmms2 = xyes)
|
AM_CONDITIONAL(BUILD_XMMS2, test x$want_xmms2 = xyes)
|
||||||
if test x$want_xmms2 = xyes; then
|
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_CFLAGS="$conky_CFLAGS $XMMS2_CFLAGS"
|
||||||
conky_LIBS="$conky_LIBS $XMMS2_LIBS"
|
conky_LIBS="$conky_LIBS $XMMS2_LIBS"
|
||||||
AC_DEFINE(XMMS2, 1, [Define if you want XMMS2 support])
|
AC_DEFINE(XMMS2, 1, [Define if you want XMMS2 support])
|
||||||
|
Loading…
Reference in New Issue
Block a user