From 4f6f19357e80cba340992a5d6e933c354e47e470 Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Sun, 8 Apr 2012 12:29:57 +0200
Subject: [PATCH] [aranea] install plugins in datadir, even when using
 --enable-site-packages si Gajim can find them.

---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index d9ce3bf06e..11f6c27711 100644
--- a/configure.ac
+++ b/configure.ac
@@ -47,12 +47,12 @@ AC_ARG_ENABLE(site-packages,
 instead of DATADIR/gajim/src.])]
 ,
 AC_SUBST([gajim_srcdir], [\${pkgpythondir}])
-AC_SUBST([gajim_pluginsdir], [\${pkgpythondir}])
 ,
 AC_SUBST([gajim_srcdir], [\${datadir}/\${PACKAGE}/src])
-AC_SUBST([gajim_pluginsdir], [\${datadir}/\${PACKAGE}/plugins])
 )
 
+AC_SUBST([gajim_pluginsdir], [\${datadir}/\${PACKAGE}/plugins])
+
 AS_AC_EXPAND(GAJIM_SRCDIR, "${gajim_srcdir}")
 AS_AC_EXPAND(PKGDATADIR, "${datadir}/${PACKAGE}")
 AS_AC_EXPAND(DOCDIR, "${docdir}")
-- 
GitLab