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:
@ -647,6 +647,7 @@ INPUT_CFLAGS = \
|
|||||||
$(SOUP_CFLAGS) \
|
$(SOUP_CFLAGS) \
|
||||||
$(CDIO_PARANOIA_CFLAGS) \
|
$(CDIO_PARANOIA_CFLAGS) \
|
||||||
$(FFMPEG_CFLAGS) \
|
$(FFMPEG_CFLAGS) \
|
||||||
|
$(DESPOTIFY_CFLAGS) \
|
||||||
$(MMS_CFLAGS)
|
$(MMS_CFLAGS)
|
||||||
|
|
||||||
INPUT_LIBS = \
|
INPUT_LIBS = \
|
||||||
@ -654,6 +655,7 @@ INPUT_LIBS = \
|
|||||||
$(SOUP_LIBS) \
|
$(SOUP_LIBS) \
|
||||||
$(CDIO_PARANOIA_LIBS) \
|
$(CDIO_PARANOIA_LIBS) \
|
||||||
$(FFMPEG_LIBS) \
|
$(FFMPEG_LIBS) \
|
||||||
|
$(DESPOTIFY_LIBS) \
|
||||||
$(MMS_LIBS)
|
$(MMS_LIBS)
|
||||||
|
|
||||||
INPUT_SRC = \
|
INPUT_SRC = \
|
||||||
|
@ -678,7 +678,6 @@ MPD_AUTO_PKG(despotify, DESPOTIFY, [despotify],
|
|||||||
[Despotify support], [despotify not found])
|
[Despotify support], [despotify not found])
|
||||||
if test x$enable_despotify = xyes; then
|
if test x$enable_despotify = xyes; then
|
||||||
AC_DEFINE(ENABLE_DESPOTIFY, 1, [Define when despotify is enabled])
|
AC_DEFINE(ENABLE_DESPOTIFY, 1, [Define when despotify is enabled])
|
||||||
MPD_LIBS="$MPD_LIBS $DESPOTIFY_LIBS"
|
|
||||||
fi
|
fi
|
||||||
AM_CONDITIONAL(ENABLE_DESPOTIFY, test x$enable_despotify = xyes)
|
AM_CONDITIONAL(ENABLE_DESPOTIFY, test x$enable_despotify = xyes)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user