diff options
author | Alejandro Piñeiro <apinheiro@igalia.com> | 2011-07-18 13:04:37 +0200 |
---|---|---|
committer | Alejandro Piñeiro <apinheiro@igalia.com> | 2011-07-18 13:04:37 +0200 |
commit | 01cec7262f067b42f8359a3f4ccf3bca84f4b3e9 (patch) | |
tree | c47444aae6383c03134638abd4edf3562ebcddd6 | |
parent | f51fc2842b02a978ecbb18f4a96f576dc4407b17 (diff) | |
download | atk-01cec7262f067b42f8359a3f4ccf3bca84f4b3e9.tar.gz |
Using atk_major_version on the binary_age
This was required in order to avoid a shlib downgrade due the
bump to 2.0
The ideal would be to update all the 1.0 stuff to 2.0. But that
would required libraries using atk-1.0 to be modified in order
to link against 2.0. Taking into account that ATK 2.0 is
fully API and ABI compatible with ATK 1.0, this seems an
overkill.
-rw-r--r-- | configure.ac | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 6328c3b..0936fb8 100644 --- a/configure.ac +++ b/configure.ac @@ -21,17 +21,18 @@ m4_define([atk_micro_version], [1]) m4_define([atk_version], [atk_major_version.atk_minor_version.atk_micro_version]) -dnl The X.Y in -latk-X.Y line. This is expected to stay 1.0 until Atk 2. +dnl The X.Y in -latk-X.Y line. This is expected to stay 1.0 until Atk 3. m4_define([atk_api_version], [1.0]) dnl Number of releases since we've added interfaces m4_define([atk_interface_age], [1]) +dnl binary_age includes major version as ATK 2 is still fully API and ABI compatible m4_define([atk_binary_age], - [m4_eval(100 * atk_minor_version + 10 + atk_micro_version)]) + [m4_eval(10000 * atk_major_version + 100 * atk_minor_version + 10 + atk_micro_version)]) m4_define([lt_current], - [m4_eval(100 * atk_minor_version + 10 + atk_micro_version - atk_interface_age)]) + [m4_eval(10000 * atk_major_version + 100 * atk_minor_version + 10 + atk_micro_version - atk_interface_age)]) m4_define([lt_revision], [atk_interface_age]) m4_define([lt_age], [m4_eval(atk_binary_age - atk_interface_age)]) m4_define([lt_version_info], [lt_current:lt_revision:lt_age]) |