summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2017-06-21 14:53:04 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2017-06-21 14:53:04 +0200
commit8d41ebcedb603464affcf3a69215538c83b5affc (patch)
tree8545fb49e2a39b7f60bf45c266a5453a8b5b13bf /configure.ac
parente9975cdbd681e82484fea72d8fffd110a4b463d7 (diff)
downloadvala-8d41ebcedb603464affcf3a69215538c83b5affc.tar.gz
compiler: Use API_VERSION instead of stripping PACKAGE_SUFFIX
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index b8525ab33..531eef482 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,6 +18,7 @@ dnl We don't support separate builddir when building from git
echo \#buildapi-variable-no-builddir >/dev/null
AC_SUBST(API_VERSION)
+AC_DEFINE_UNQUOTED(API_VERSION, "$API_VERSION", [Define to the api-version of this package])
AC_SUBST(PACKAGE_SUFFIX)
AC_DEFINE_UNQUOTED(PACKAGE_SUFFIX, "$PACKAGE_SUFFIX", [Define to the suffix of this package])