[banshee] configure: fix typo in version number for u1-sharp dependency



commit 21de787148c3ff604abe8802ce23c0bdbc3f4821
Author: Andres G. Aragoneses <knocte gmail com>
Date:   Tue Dec 11 17:30:56 2012 +0000

    configure: fix typo in version number for u1-sharp dependency
    
    And make it have a Single Point Of Truth from now on.

 build/m4/banshee/ubuntuonemusicstore.m4 |    4 +++-
 configure.ac                            |    2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/build/m4/banshee/ubuntuonemusicstore.m4 b/build/m4/banshee/ubuntuonemusicstore.m4
index 50c8cb7..144c86d 100644
--- a/build/m4/banshee/ubuntuonemusicstore.m4
+++ b/build/m4/banshee/ubuntuonemusicstore.m4
@@ -1,5 +1,7 @@
 AC_DEFUN([BANSHEE_CHECK_UBUNTUONE],
 [
+	UBUNTUONESHARP_REQUIRED=0.9.2
+
 	AC_ARG_ENABLE([ubuntuone],
 		AS_HELP_STRING([--enable-ubuntuone], [Enable Ubuntu One Music Store support]),
 		enable_ubuntuone=$enableval, enable_ubuntuone=no
@@ -8,7 +10,7 @@ AC_DEFUN([BANSHEE_CHECK_UBUNTUONE],
 	if test "x$enable_ubuntuone" = "xyes"; then
 		has_ubuntuonesharp=no
 		PKG_CHECK_MODULES(UBUNTUONESHARP,
-			[ubuntuone-sharp-1.0 >= 0.9.2],
+			[ubuntuone-sharp-1.0 >= $UBUNTUONESHARP_REQUIRED],
 			has_ubuntuonesharp=yes, has_ubuntuonesharp=no)
 		if test "x$has_ubuntuonesharp" = "xno"; then
 			AC_MSG_ERROR([ubuntuone-sharp was not found. Please install ubuntuone-sharp, or disable Ubuntu One support by passing --disable-ubuntuone])
diff --git a/configure.ac b/configure.ac
index af5087e..144d96c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -397,7 +397,7 @@ ${PACKAGE}-${VERSION}
     GIO Hardware:          ${enable_gio_hardware} (gudev-sharp, gkeyfile-sharp)
     YouTube:               ${enable_youtube} (gdata-sharp >= 1.4)
     Sound Menu:            ${enable_soundmenu}
-    Ubuntu One Store:      ${enable_ubuntuone} (ubuntuone-sharp >= 0.3.2)
+    Ubuntu One Store:      ${enable_ubuntuone} (ubuntuone-sharp >= $UBUNTUONESHARP_REQUIRED)
     UPnP:                  ${enable_upnp} (mono-upnp >= $MONOUPNP_REQUIRED)
 
   Build/Development:



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