Mercurial > pidgin
changeset 16632:b7e977e2da8e
To do libtool soversioning properly, we need to manage lt_current separately and
manually. This commit updates the code and the documentation in configure.ac.
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 29 Apr 2007 19:15:42 +0000 |
parents | f9c369b4291c |
children | a4a20c1fdd95 |
files | configure.ac |
diffstat | 1 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.ac Sun Apr 29 07:36:06 2007 +0000 +++ b/configure.ac Sun Apr 29 19:15:42 2007 +0000 @@ -6,11 +6,15 @@ # if any functions have been added: # purple_micro_version = 0 # purple_minor_version += 1 +# lt_current += 1 # if backwards compatibility has been broken -# purple_minor_version = 0 # purple_micro_version = 0 +# purple_minor_version = 0 # purple_major_version += 1; +# lt_current += 1 # +m4_define([lt_current], [0]) + m4_define([purple_major_version], [2]) m4_define([purple_minor_version], [0]) m4_define([purple_micro_version], [0]) @@ -35,9 +39,8 @@ AC_SUBST(PURPLE_MICRO_VERSION) AC_SUBST(PURPLE_VERSION) -m4_define([lt_current], [m4_eval(100 * purple_major_version + purple_minor_version)]) +m4_define([lt_revision], [purple_micro_version]) m4_define([lt_age], [purple_minor_version]) -m4_define([lt_revision], [purple_micro_version]) LT_VERSION_INFO="lt_current:lt_revision:lt_age" AC_SUBST(LT_VERSION_INFO)