banshee r4201 - in trunk/banshee: . build/m4/banshee
- From: blorentz svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r4201 - in trunk/banshee: . build/m4/banshee
- Date: Wed, 25 Jun 2008 19:57:32 +0000 (UTC)
Author: blorentz
Date: Wed Jun 25 19:57:32 2008
New Revision: 4201
URL: http://svn.gnome.org/viewvc/banshee?rev=4201&view=rev
Log:
* build/m4/banshee/boo.m4: Add a disable-boo flag. If boo is not
present and disable-boo is not set, configure will fail (BGO
#532420).
Modified:
trunk/banshee/ChangeLog
trunk/banshee/build/m4/banshee/boo.m4
Modified: trunk/banshee/build/m4/banshee/boo.m4
==============================================================================
--- trunk/banshee/build/m4/banshee/boo.m4 (original)
+++ trunk/banshee/build/m4/banshee/boo.m4 Wed Jun 25 19:57:32 2008
@@ -1,7 +1,22 @@
AC_DEFUN([BANSHEE_CHECK_BOO],
[
- PKG_CHECK_MODULES(BOO, boo >= 0.8.1, enable_boo="yes", enable_boo="no")
- AC_SUBST(BOO_LIBS)
- AM_CONDITIONAL(HAVE_BOO, test "x$enable_boo" = "xyes")
+ AC_ARG_ENABLE([boo], AC_HELP_STRING([--disable-boo],
+ [Do not build with boo support]),
+ [
+ if test "x$enableval" = "xno"; then
+ enable_boo=no
+ elif test "x$enableval" = "xyes"; then
+ enable_boo=yes
+ fi
+ ], enable_boo=yes
+ )
+
+ if test "x$enable_boo" = "xyes"; then
+ PKG_CHECK_MODULES(BOO, boo >= 0.8.1)
+ AC_SUBST(BOO_LIBS)
+ AM_CONDITIONAL(HAVE_BOO, true)
+ else
+ AM_CONDITIONAL(HAVE_BOO, false)
+ fi
])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]