From: Guillaume Desmottes Date: Tue, 22 Oct 2013 09:36:34 +0000 (+0200) Subject: use the plugindir pc variable from MC X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=4b0430db4bf7cdbef60290bdcca94bd1e5cf05d3 use the plugindir pc variable from MC The whole point of this variable is to give us the path where plugins are supposed to be installed. We should just use it instead of re-implementing it assuming the location. --- diff --git a/configure.ac b/configure.ac index b0a4b80c..9c127ed8 100644 --- a/configure.ac +++ b/configure.ac @@ -591,7 +591,7 @@ 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` + MISSION_CONTROL_PLUGINS_DIR=`pkg-config --define-variable=libdir='${libdir}' --variable=plugindir mission-control-plugins` AC_MSG_RESULT([$MISSION_CONTROL_PLUGINS_DIR]) AC_SUBST(MISSION_CONTROL_PLUGINS_DIR)