[empathy] Make sure we define MISSION_CONTROL_PLUGINS_DIR when building with UOA



commit 2f1114d3c1138af06a06ac32af6f55fc10a556f5
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Tue Jul 17 17:30:10 2012 +0200

    Make sure we define MISSION_CONTROL_PLUGINS_DIR when building with UOA

 configure.ac |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 73ad611..1e359f2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -515,6 +515,13 @@ if test "x$enable_ubuntu_online_accounts" != "xno"; then
        libaccounts-glib >= $LIBACCOUNTS_REQUIRED
     ], have_uoa="yes", have_uoa="no")
 
+   # MC plugins dir
+   AC_MSG_CHECKING([Mission Control plugins dir])
+   MISSION_CONTROL_PLUGINS_DIR=`pkg-config --variable=plugindir mission-control-plugins`
+
+   AC_MSG_RESULT([$MISSION_CONTROL_PLUGINS_DIR])
+   AC_SUBST(MISSION_CONTROL_PLUGINS_DIR)
+
    # provider plugin dir
    AC_MSG_CHECKING([Accounts provider plugin dir])
    ACCOUNTS_PROVIDER_PLUGIN_DIR=`pkg-config --variable=provider_plugindir account-plugin`



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