summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-02-05 23:48:28 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-02-05 23:48:28 +0000
commit3293001b8aa09a4e812af974b389843c952871bb (patch)
tree4f5641caed2c5806162f7aff3ef1219db030ec65 /configure.in
parentca73084fad58044f6219fce2e5d0c497f4bbeac0 (diff)
downloadpango-3293001b8aa09a4e812af974b389843c952871bb.tar.gz
AC_DEFINE various version components.
2006-02-05 Behdad Esfahbod <behdad@gnome.org> * configure.in: AC_DEFINE various version components. * *.c: Change various const return types to G_CONST_RETURN.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in11
1 files changed, 7 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index a9dc9509..7778d077 100644
--- a/configure.in
+++ b/configure.in
@@ -32,10 +32,8 @@ m4_define([pango_interface_age], [2])
dnl Number of releases since we've broken binary compatibility.
m4_define([pango_binary_age],
[m4_eval(100 * pango_minor_version + pango_micro_version)])
-dnl This is the last version with which we have compatibility with
-dnl with the modules for; it isn't the same as
-dnl PANGO_API_VERSION.'PANGO_MICRO_VERSION - PANGO_BINARY_AGE' since we have
-dnl engine only API
+dnl Module API version. This should be stepped up when a change causes
+dnl older modules to not work with new pango.
m4_define([pango_module_version], [1.5.0])
@@ -67,6 +65,11 @@ AC_SUBST(PANGO_BINARY_AGE)
AC_SUBST(PANGO_MODULE_VERSION)
AC_DEFINE(MODULE_VERSION, "pango_module_version()", [Module interface version])
+AC_DEFINE(PANGO_BINARY_AGE, pango_binary_age(), [PANGO binary age])
+AC_DEFINE(PANGO_INTERFACE_AGE, pango_interface_age(), [PANGO interface age])
+AC_DEFINE(PANGO_MAJOR_VERSION, pango_major_version(), [PANGO major version])
+AC_DEFINE(PANGO_MINOR_VERSION, pango_minor_version(), [PANGO minor version])
+AC_DEFINE(PANGO_MICRO_VERSION, pango_micro_version(), [PANGO micro version])
dnl libtool versioning
m4_define([lt_current], [m4_eval(100 * pango_minor_version + pango_micro_version - pango_interface_age)])