[nautilus-sendto/gnome-3-6] build: Require the evolution plugin to build



commit 1fc6c1f9daf1a8ee5cae502ee78e863f9591c80d
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Sep 3 19:54:39 2012 +0100

    build: Require the evolution plugin to build

 configure.in |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/configure.in b/configure.in
index d566260..fc656c7 100644
--- a/configure.in
+++ b/configure.in
@@ -91,6 +91,11 @@ plugin_error_or_ignore()
 	fi
 }
 
+plugin_error()
+{
+	AC_MSG_ERROR([$1])
+}
+
 AC_ARG_WITH([plugins],
 	[AS_HELP_STRING([--with-plugins],[Which nautilus-sendto plugins to compile (default: auto; "all", "autodetect" are valid)])],
 	[], [with_plugins=autodetect])
@@ -135,7 +140,7 @@ for plugin in ${used_plugins}; do
 			PKG_CHECK_MODULES(NST_EBOOK, libebook-1.2 >= $EBOOK_REQUIRED libedataserverui-3.0,
 					   enable_evolution=yes, enable_evolution=no)
 			if test "${enable_evolution}" != "yes" ; then
-				plugin_error_or_ignore "you need libebook from evolution-data-server to build the Evolution plugin"
+				plugin_error "you need libebook from evolution-data-server to build the Evolution plugin"
 				add_plugin="0"
 			else
 				saved_CPPFLAGS="$CPPFLAGS"



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