Avuton Olrich (4):
      configure: Fix configure warning presented by lastfm radio.
      configure: more complete autoconf stuff for lastfm
      configure: display the status of lastfm protocol support
      configure: Add 'Streaming Support' section to the configure display.

 configure.ac |   44 +++++++++++++++++++++++++++-----------------
 1 files changed, 27 insertions(+), 17 deletions(-)

diff --git a/configure.ac b/configure.ac
index 1e16690..de7ddcd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -255,7 +255,8 @@ 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 support for last.fm radio (default: disable)]),
+       [enable_lastfm=$enableval],
        [enable_lastfm=no])

 if test x$enable_lastfm = xyes; then
@@ -263,7 +264,7 @@ if test x$enable_lastfm = 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]),
+       AC_DEFINE(ENABLE_LASTFM, 1, [Define when last.fm radio is enabled])
 fi
 AM_CONDITIONAL(ENABLE_LASTFM, test x$enable_lastfm = xyes)

@@ -1445,24 +1446,39 @@ else
 fi

 echo ""
-echo " Other features:"
+echo " Streaming support:"
+
+if test x$enable_lame = xyes; then
+        echo " lame support (mp3 output) .....enabled"
+else
+        echo " lame support (mp3 output) .....disabled"
+fi
+
+if test x$enable_lastfm = xyes; then
+        echo " last.fm radio support .........enabled"
+else
+        echo " last.fm radio support .........disabled"
+fi

 if test x$enable_curl != xno; then
-       echo " HTTP streaming (libcurl) ......enabled"
+        echo " libcurl support (streaming) ...enabled"
 else
-       echo " HTTP streaming (libcurl) ......disabled"
+        echo " libcurl support (streaming) ...disabled"
 fi

-if test x$enable_id3 = xyes; then
-       echo " ID3 tag support ...............enabled"
+if test x$enable_mms != xno; then
+        echo " libmms support ................enabled"
 else
-       echo " ID3 tag support ...............disabled"
+        echo " libmms support ................disabled"
 fi

-if test x$enable_lame = xyes; then
-       echo " lame support ..................enabled"
+echo ""
+echo " Other features:"
+
+if test x$enable_id3 = xyes; then
+       echo " ID3 tag support ...............enabled"
 else
-       echo " lame support ..................disabled"
+       echo " ID3 tag support ...............disabled"
 fi

 if test x$enable_lsr = xyes; then
@@ -1471,12 +1487,6 @@ else
        echo " libsamplerate support .........disabled"
 fi

-if test x$enable_mms != xno; then
-       echo " MMS streaming (libmms) ........enabled"
-else
-       echo " MMS streaming (libmms) ........disabled"
-fi
-
 if test x$with_zeroconf != xno; then
        echo " Zeroconf support ..............$with_zeroconf"
 else
-- 
avuton
--
|  (\_/)  This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team

Reply via email to