[grilo-plugins/0.1.x] build: Build SHOUTCast plugin automatically



commit 6c49e1612b064beb011a585a5ac64cf773fc7580
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date:   Tue Dec 13 15:22:56 2011 +0000

    build: Build SHOUTCast plugin automatically
    
    If requirements are fulfilled.
    
    Signed-off-by: Juan A. Suarez Romero <jasuarez igalia com>

 configure.ac |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 79e6791..1fd6743 100644
--- a/configure.ac
+++ b/configure.ac
@@ -498,7 +498,7 @@ AC_DEFINE_UNQUOTED([BOOKMARKS_PLUGIN_ID], ["$BOOKMARKS_PLUGIN_ID"], [Bookmarks p
 
 AC_ARG_ENABLE(shoutcast,
         AC_HELP_STRING([--enable-shoutcast],
-                [enable SHOUTcast plugin (default: no)]),
+                [enable SHOUTcast plugin (default: auto)]),
         [
                 case "$enableval" in
                      yes)
@@ -512,13 +512,12 @@ AC_ARG_ENABLE(shoutcast,
                 esac
         ],
         [
-                 enable_shoutcast=no
-#                Do not build SHOUTCast by default; it is broken
-#                if test "x$HAVE_GRLNET" = "xyes" -a "x$HAVE_XML" = "xyes"; then
-#                   enable_shoutcast=yes
-#                else
-#                   enable_shoutcast=no
-#                fi
+               Do not build SHOUTCast by default; it is broken
+               if test "x$HAVE_GRLNET" = "xyes" -a "x$HAVE_XML" = "xyes"; then
+                  enable_shoutcast=yes
+               else
+                  enable_shoutcast=no
+               fi
         ])
 
 AM_CONDITIONAL([SHOUTCAST_PLUGIN], [test "x$enable_shoutcast" = "xyes"])



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]