[banshee] build: Rename HAVE_GDATA condition to ENABLE_YOUTUBE



commit 390b4a88b2c7249087d4a9d39672ac44a3ad665d
Author: Andres G. Aragoneses <knocte gmail com>
Date:   Mon Dec 10 19:30:42 2012 +0000

    build: Rename HAVE_GDATA condition to ENABLE_YOUTUBE
    
    The condition name HAVE_GDATA is a bit misleading because it could actually
    have a False value just because somebody configured banshee with the flag
    --disable-youtube , not because the GDataSharp libs are not in the system.

 build/m4/banshee/youtube.m4                |    4 ++--
 src/Extensions/Banshee.YouTube/Makefile.am |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/build/m4/banshee/youtube.m4 b/build/m4/banshee/youtube.m4
index 9161c5d..4a74bf4 100644
--- a/build/m4/banshee/youtube.m4
+++ b/build/m4/banshee/youtube.m4
@@ -12,9 +12,9 @@ AC_DEFUN([BANSHEE_CHECK_YOUTUBE],
 			 AM_CONDITIONAL(HAVE_GDATASHARP_1_5, false)]
 		)
 		AC_SUBST(GDATASHARP_LIBS)
-		AM_CONDITIONAL(HAVE_GDATA, true)
+		AM_CONDITIONAL(ENABLE_YOUTUBE, true)
 	else
 		AM_CONDITIONAL(HAVE_GDATASHARP_1_5, false)
-		AM_CONDITIONAL(HAVE_GDATA, false)
+		AM_CONDITIONAL(ENABLE_YOUTUBE, false)
 	fi
 ])
diff --git a/src/Extensions/Banshee.YouTube/Makefile.am b/src/Extensions/Banshee.YouTube/Makefile.am
index 4ccd165..485ed1c 100644
--- a/src/Extensions/Banshee.YouTube/Makefile.am
+++ b/src/Extensions/Banshee.YouTube/Makefile.am
@@ -13,7 +13,7 @@ SOURCES =  \
 
 RESOURCES = Banshee.YouTube.addin.xml
 
-if HAVE_GDATA
+if ENABLE_YOUTUBE
 include $(top_srcdir)/build/build.mk
 else
 include $(top_srcdir)/build/build.dist.mk



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