summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2012-03-09 13:38:04 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-03-23 14:11:48 +0000
commit352d2da805561ec0164a6e800cd3c3e3bbc629f3 (patch)
treeac54d59da94d4397d9c71d3d585d7ac91eb0cbcd /src
parentf06469da5cfc7c8dc750bce82099dde4b528a20b (diff)
Replace plugindir with an AC_ARG_VAR so it can be passed to configure
This lets you configure the plugin directory: ./configure pluginexecdir='${libdir}/my-gabble-plugins' The directory-name variable has 'exec' in it because Automake installs unknown directory names with 'exec' in their variable name during "make install-exec", and other unknown directory names during "make install-data". Bug: https://bugs.freedesktop.org/show_bug.cgi?id=46417 Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index b5b281d04..28f02725f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -267,7 +267,7 @@ AM_CFLAGS = $(ERROR_CFLAGS) -I$(top_srcdir) -I$(top_builddir) \
@SOUP_CFLAGS@ @NICE_CFLAGS@ @GMODULE_CFLAGS@ \
-I $(top_srcdir)/lib -I $(top_builddir)/lib \
-DG_LOG_DOMAIN=\"gabble\" \
- -DPLUGIN_DIR=\"$(libdir)/telepathy/gabble-0\"
+ -DPLUGIN_DIR=\"$(pluginexecdir)\"
# following flag is requied to make getnameinfo work
if WINDOWS