summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2015-05-12 19:45:45 +0100
committerRichard Hughes <richard@hughsie.com>2015-05-12 19:45:48 +0100
commit8bac1fcbe127db2bb2c3e32403ba1c8fd06cb473 (patch)
treeecf8f74a530ea585fca4250f00dc0b278738981e /configure.ac
parent6a27bb88ead9f9696c6e2964ca523ce55ab1e205 (diff)
downloadappstream-glib-8bac1fcbe127db2bb2c3e32403ba1c8fd06cb473.tar.gz
Version the builder plugin location
This ensures we can run the correct plugins when different builder versions are installed on the same system.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index f93bbb2..d8f8a68 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,6 +24,12 @@ AC_SUBST(AS_MINOR_VERSION)
AC_SUBST(AS_MICRO_VERSION)
AC_SUBST(AS_VERSION)
+# this refers to the plugin API version
+# this is not in any way related to a package or soname version
+AS_PLUGIN_VERSION=2
+AC_SUBST(AS_PLUGIN_VERSION)
+AC_DEFINE_UNQUOTED([AS_PLUGIN_VERSION], "$AS_PLUGIN_VERSION", [plugin API version])
+
# enable nice build output on automake1.11
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])