configure.ac: don't append DESPOTIFY_LIBS to MPD_LIBS

Use DESPOTIFY_LIBS in Makefile.am instead.  Also, use
DESPOTIFY_CFLAGS.
This commit is contained in:
Max Kellermann
2011-10-09 17:36:02 +02:00
parent 75ad90abc7
commit 02a6a46e86
2 changed files with 2 additions and 1 deletions

View File

@@ -678,7 +678,6 @@ MPD_AUTO_PKG(despotify, DESPOTIFY, [despotify],
[Despotify support], [despotify not found])
if test x$enable_despotify = xyes; then
AC_DEFINE(ENABLE_DESPOTIFY, 1, [Define when despotify is enabled])
MPD_LIBS="$MPD_LIBS $DESPOTIFY_LIBS"
fi
AM_CONDITIONAL(ENABLE_DESPOTIFY, test x$enable_despotify = xyes)