[empathy] Do not install MC plugins into MC's prefix
- From: Xavier Claessens <xclaesse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] Do not install MC plugins into MC's prefix
- Date: Mon, 23 Jul 2012 13:56:07 +0000 (UTC)
commit 4d3c3a8e211febcbbd71ce451c7eb9cd67eecd85
Author: Xavier Claessens <xavier claessens collabora co uk>
Date: Mon Jul 23 15:27:20 2012 +0200
Do not install MC plugins into MC's prefix
MC and Empathy could be installed in different prefixes
configure.ac | 22 +++++++++-------------
1 files changed, 9 insertions(+), 13 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 3c9435d..868b064 100644
--- a/configure.ac
+++ b/configure.ac
@@ -458,12 +458,6 @@ if test "x$enable_goa" != "xno"; then
mission-control-plugins
goa-1.0 >= $GOA_REQUIRED
], have_goa="yes", have_goa="no")
-
- 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)
else
have_goa=no
fi
@@ -518,13 +512,6 @@ if test "x$enable_ubuntu_online_accounts" != "xno"; then
libsignon-glib >= $LIBSIGNON_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`
@@ -561,6 +548,15 @@ fi
AM_CONDITIONAL(HAVE_UOA, test "x$have_uoa" = "xyes")
+if test "x$have_uoa" = "xyes" -o "x$have_goa" = "xyes"; then
+ AC_MSG_CHECKING([Mission Control plugins dir])
+ MISSION_CONTROL_PLUGINS_DIR=${libdir}/mission-control-plugins.`pkg-config --variable=MCP_ABI_VERSION mission-control-plugins`
+
+ AC_MSG_RESULT([$MISSION_CONTROL_PLUGINS_DIR])
+ AC_SUBST(MISSION_CONTROL_PLUGINS_DIR)
+fi
+
+
# Help documentation
YELP_HELP_INIT
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]