[banshee] [build] Fix --disable-youtube flag



commit a9bba0d9f890eaa803eaf07c0d7ad64d3208645e
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Thu Mar 11 11:58:57 2010 -0800

    [build] Fix --disable-youtube flag
    
    It was saying it worked (via configure --help), but actually required
    --disable-gdata.  Now it works (and --disable-gdata is no longer used).

 build/m4/banshee/{gdata.m4 => youtube.m4} |    6 +++---
 configure.ac                              |    6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/build/m4/banshee/gdata.m4 b/build/m4/banshee/youtube.m4
similarity index 63%
rename from build/m4/banshee/gdata.m4
rename to build/m4/banshee/youtube.m4
index 35157ae..3ffe488 100644
--- a/build/m4/banshee/gdata.m4
+++ b/build/m4/banshee/youtube.m4
@@ -1,11 +1,11 @@
-AC_DEFUN([BANSHEE_CHECK_GDATA],
+AC_DEFUN([BANSHEE_CHECK_YOUTUBE],
 [
 	GDATASHARP_REQUIRED_VERSION=1.4
 	AC_SUBST(GDATASHARP_REQUIRED_VERSION)
 
-	AC_ARG_ENABLE(gdata, AC_HELP_STRING([--disable-youtube], [Disable Youtube extension]), , enable_gdata="yes")
+	AC_ARG_ENABLE(youtube, AC_HELP_STRING([--disable-youtube], [Disable Youtube extension]), , enable_youtube="yes")
 
-	if test "x$enable_gdata" = "xyes"; then
+	if test "x$enable_youtube" = "xyes"; then
 		PKG_CHECK_MODULES(GDATASHARP,
 			gdata-sharp-core >= $GDATASHARP_REQUIRED_VERSION
 			gdata-sharp-youtube >= $GDATASHARP_REQUIRED_VERSION)
diff --git a/configure.ac b/configure.ac
index ffece65..265582a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -101,8 +101,8 @@ SHAMROCK_CHECK_MONODOC
 dnl webkit (optional through --disable-webkit)
 BANSHEE_CHECK_WEBKIT
 
-dnl gdata (optional through --enable-gdata)
-BANSHEE_CHECK_GDATA
+dnl gdata (optional through --disable-youtube)
+BANSHEE_CHECK_YOUTUBE
 
 dnl gtk#-beans and gio#
 BANSHEE_CHECK_GIO_SHARP
@@ -367,7 +367,7 @@ ${PACKAGE}-${VERSION}
     Podcasts:          ${enable_podcast}
     Wikipedia:         ${enable_webkit} (requires webkit-sharp)
     Gapless playback:  ${ENABLE_GAPLESS} (requires gstreamer-plugins-base > 0.10.25.2)
-    YouTube extension: ${enable_gdata} (requires gdata-sharp >= 1.4)
+    YouTube extension: ${enable_youtube} (requires gdata-sharp >= 1.4)
 
   Build/Development:
     Unit Tests:        ${do_tests} (requires nunit >= ${NUNIT_REQUIRED})



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