From be798998bf44f740943cf82f6edb6d3616a8606a Mon Sep 17 00:00:00 2001 From: Simon Kagstrom Date: Sun, 27 Mar 2011 08:41:40 +0200 Subject: build: Add despotify to build system --- configure.ac | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 2142bcfc..5af8324e 100644 --- a/configure.ac +++ b/configure.ac @@ -242,6 +242,11 @@ AC_ARG_ENABLE(lastfm, [enable support for last.fm radio (default: disable)]),, [enable_lastfm=no]) +AC_ARG_ENABLE(despotify, + AS_HELP_STRING([--enable-despotify], + [enable support for despotify (default: disable)]),, + [enable_despotify=no]) + AC_ARG_ENABLE(lame-encoder, AS_HELP_STRING([--enable-lame-encoder], [enable the LAME mp3 encoder]),, @@ -649,6 +654,15 @@ if test x$enable_lastfm = xyes; then fi AM_CONDITIONAL(ENABLE_LASTFM, test x$enable_lastfm = xyes) +dnl --------------------------------- Despotify --------------------------------- +MPD_AUTO_PKG(despotify, DESPOTIFY, [despotify], + [libcurl HTTP streaming], [libcurl 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) + dnl ---------------------------------- libcue --------------------------------- MPD_AUTO_PKG(cdio_paranoia, CDIO_PARANOIA, [libcdio_paranoia], [libcdio_paranoia audio CD library], [libcdio_paranoia not found]) @@ -1625,6 +1639,7 @@ results(curl,[CURL]) results(lastfm,[Last.FM]) results(mms,[MMS]) results(cdio_paranoia, [CDIO_PARANOIA]) +results(despotify,[Despotify]) printf '\n\n##########################################\n\n' -- cgit v1.2.3