[tracker] Fixes GB#589059 - Add option to set evolution plugins directory in configure



commit 45b66bd3a5af658c3e72242acfe0b1c6b95525e7
Author: Laurent Aguerreche <laurent aguerreche free fr>
Date:   Fri Oct 9 12:03:09 2009 +0100

    Fixes GB#589059 - Add option to set evolution plugins directory in configure

 configure.ac |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index ef60ebe..67c1cbb 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



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