From 4220e6b0adccf2f09a82fb85768b7aecc5744b6c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 2 Mar 2009 23:11:31 +0100 Subject: input_lastfm: new input plugin for last.fm radio The lastfm input plugin enables MPD to play lastfm:// URLs. This plugin is not complete yet: it plays only the first song in the last.fm playlist, and the playlist parser isn't even implemented properly. --- configure.ac | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 5f5f70a10..1e1669085 100644 --- a/configure.ac +++ b/configure.ac @@ -253,6 +253,20 @@ if test x$enable_curl = xyes; then fi AM_CONDITIONAL(HAVE_CURL, test x$enable_curl = xyes) +AC_ARG_ENABLE(lastfm, + AS_HELP_STRING([--enable-lastfm], + [enable support for last.fm radio (default: disable)]),, + [enable_lastfm=no]) + +if test x$enable_lastfm = xyes; then + if test x$enable_curl != xyes; then + AC_MSG_ERROR([Cannot enable last.fm radio without curl]) + fi + + AC_DEFINE(ENABLE_LASTFM, 1, [Define when last.fm radio is enabled]), +fi +AM_CONDITIONAL(ENABLE_LASTFM, test x$enable_lastfm = xyes) + AC_ARG_ENABLE(mms, AS_HELP_STRING([--enable-mms], [enable the MMS protocol with libmms (default: disable)]),, -- cgit v1.2.3