[evolution-couchdb] Check existence of needed .pc files for e-d-s/evolution plugins dirs



commit 8060668e84b4596a18385f62c746bc54c9365501
Author: Rodrigo Moya <rodrigo gnome-db org>
Date:   Mon Oct 26 22:01:39 2009 +0100

    Check existence of needed .pc files for e-d-s/evolution plugins dirs

 configure.ac |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 2771313..91c9263 100644
--- a/configure.ac
+++ b/configure.ac
@@ -43,11 +43,15 @@ AC_SUBST(EPLUGIN_CFLAGS)
 AC_SUBST(EPLUGIN_LIBS)
 
 EDS_API_VERSION=1.2
-EDS_EXTENSION_DIR=`$PKG_CONFIG --variable=extensiondir evolution-data-server-1.2`
+PKG_CHECK_EXISTS(evolution-data-server-1.2,
+	EDS_EXTENSION_DIR=`$PKG_CONFIG --variable=extensiondir evolution-data-server-1.2`,
+	AC_MSG_ERROR(You need evolution-data-server to compile evolution-couchdb))				    
 AC_SUBST(EDS_API_VERSION)
 AC_SUBST(EDS_EXTENSION_DIR)
 
-EVOLUTION_PLUGINS_DIR=`$PKG_CONFIG --variable=plugindir evolution-plugin`
+PKG_CHECK_EXISTS(evolution-plugin,
+	EVOLUTION_PLUGINS_DIR=`$PKG_CONFIG --variable=plugindir evolution-plugin`,
+	AC_MSG_ERROR(You need evolution-plugin to compile evolution-couchdb))
 AC_SUBST(EVOLUTION_PLUGINS_DIR)
 
 dnl Makefiles



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