summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Aguerreche <laurent.aguerreche@free.fr>2009-10-09 12:03:09 +0100
committerMartyn Russell <martyn@lanedo.com>2009-10-09 12:03:09 +0100
commit45b66bd3a5af658c3e72242acfe0b1c6b95525e7 (patch)
treeb3685e77b31a33fd1c8549c3dfe44ab029d5c381
parentbfa5b806779ace58eb132e86b209dd5c6e9bce2c (diff)
downloadtracker-45b66bd3a5af658c3e72242acfe0b1c6b95525e7.tar.gz
Fixes GB#589059 - Add option to set evolution plugins directory in configure
-rw-r--r--configure.ac12
1 files changed, 11 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index ef60ebe14..67c1cbbea 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1253,7 +1253,17 @@ if test "x$enable_evolution_push_module" != "xno" ; then
AC_SUBST(EVOLUTION_PLUGIN_LIBS)
if test x$have_evolution_plugin == "xyes"; then
- EVOLUTION_PLUGIN_INSTALL_DIR=`$PKG_CONFIG evolution-plugin --variable=plugindir`
+ dnl Evolution plugins dir
+ AC_ARG_WITH([evolution_plugins_dir],
+ AS_HELP_STRING([--with-evolution-plugins-dir],
+ [Path to Evolution plugins directory]))
+ if test "x$with_evolution_plugins_dir" = "x" ; then
+ evolution_plugins_dir=`$PKG_CONFIG evolution-plugin --variable=plugindir`
+ else
+ evolution_plugins_dir="$with_evolution_plugins_dir"
+ fi
+
+ EVOLUTION_PLUGIN_INSTALL_DIR=$evolution_plugins_dir
else
EVOLUTION_PLUGIN_INSTALL_DIR=/dev/null
fi