[banshee] Make configure fail if --enable-webkit and webkit-sharp is not found



commit ebcf9c6ed699252ca7921b4a1c6086ed5a588d3e
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date:   Wed May 13 21:00:47 2009 +0200

    Make configure fail if --enable-webkit and webkit-sharp is not found
---
 build/m4/banshee/webkit.m4 |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/build/m4/banshee/webkit.m4 b/build/m4/banshee/webkit.m4
index c274b12..1666193 100644
--- a/build/m4/banshee/webkit.m4
+++ b/build/m4/banshee/webkit.m4
@@ -3,8 +3,7 @@ AC_DEFUN([BANSHEE_CHECK_WEBKIT],
 	AC_ARG_ENABLE(webkit, AC_HELP_STRING([--enable-webkit], [Enable experimental Wikipedia and MediaWeb extensions- unfinished, likely broken]), , enable_webkit="no")
 
 	if test "x$enable_webkit" = "xyes"; then
-        PKG_CHECK_MODULES(WEBKIT, webkit-sharp-1.0 >= 0.2,
-            enable_webkit=yes, enable_webkit=no)
+		PKG_CHECK_MODULES(WEBKIT, webkit-sharp-1.0 >= 0.2)
 		AC_SUBST(WEBKIT_LIBS)
 		AM_CONDITIONAL(HAVE_WEBKIT, true)
 	else



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