Mercurial > pidgin
comparison configure.ac @ 16678:a081abf60514
I've put the libgnt so versioning stuff into finch/libgnt/configure.ac,
which allows for building libgnt standalone. Until it's split out, we'll
need to increment the version numbers in both places, which is documented
in each configure.ac.
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 29 Apr 2007 23:01:43 +0000 |
parents | 9702a1c87d64 |
children | ca69d4253246 bc9219a40623 |
comparison
equal
deleted
inserted
replaced
16677:6238e7b6fe8a | 16678:a081abf60514 |
---|---|
19 # purple_version_suffix should be similar to one of the following: | 19 # purple_version_suffix should be similar to one of the following: |
20 # For beta releases: [beta2] | 20 # For beta releases: [beta2] |
21 # For code under development: [devel] | 21 # For code under development: [devel] |
22 # For production releases: [] | 22 # For production releases: [] |
23 # | 23 # |
24 # | |
24 # If any code has changed in libgnt: | 25 # If any code has changed in libgnt: |
25 # gnt_micro_version += 1 | 26 # gnt_micro_version += 1 |
26 # | 27 # |
27 # If any functions have been added to libgnt: | 28 # If any functions have been added to libgnt: |
28 # gnt_micro_version = 0 | 29 # gnt_micro_version = 0 |
33 # gnt_micro_version = 0 | 34 # gnt_micro_version = 0 |
34 # gnt_minor_version = 0 | 35 # gnt_minor_version = 0 |
35 # gnt_major_version += 1; | 36 # gnt_major_version += 1; |
36 # gnt_lt_current += 1 | 37 # gnt_lt_current += 1 |
37 # | 38 # |
39 # gnt_version_suffix should be similar to one of the following: | |
40 # For beta releases: [beta2] | |
41 # For code under development: [devel] | |
42 # For production releases: [] | |
43 # | |
44 # Make sure to update finch/libgnt/configure.ac with libgnt version changes. | |
45 # | |
38 m4_define([purple_lt_current], [0]) | 46 m4_define([purple_lt_current], [0]) |
39 m4_define([purple_major_version], [2]) | 47 m4_define([purple_major_version], [2]) |
40 m4_define([purple_minor_version], [0]) | 48 m4_define([purple_minor_version], [0]) |
41 m4_define([purple_micro_version], [0]) | 49 m4_define([purple_micro_version], [0]) |
42 m4_define([purple_version_suffix], [beta7]) | 50 m4_define([purple_version_suffix], [beta7]) |
46 | 54 |
47 m4_define([gnt_lt_current], [0]) | 55 m4_define([gnt_lt_current], [0]) |
48 m4_define([gnt_major_version], [1]) | 56 m4_define([gnt_major_version], [1]) |
49 m4_define([gnt_minor_version], [0]) | 57 m4_define([gnt_minor_version], [0]) |
50 m4_define([gnt_micro_version], [0]) | 58 m4_define([gnt_micro_version], [0]) |
59 m4_define([gnt_version_suffix], [beta7]) | |
60 m4_define([gnt_version], | |
61 [gnt_major_version.gnt_minor_version.gnt_micro_version]) | |
62 m4_define([gnt_display_version], gnt_version[]m4_ifdef([gnt_version_suffix],[gnt_version_suffix])) | |
51 | 63 |
52 | 64 |
53 AC_INIT([pidgin], [purple_display_version], [devel@pidgin.im]) | 65 AC_INIT([pidgin], [purple_display_version], [devel@pidgin.im]) |
54 | 66 |
55 AC_CANONICAL_SYSTEM | 67 AC_CANONICAL_SYSTEM |
70 AC_SUBST(PURPLE_LT_VERSION_INFO) | 82 AC_SUBST(PURPLE_LT_VERSION_INFO) |
71 | 83 |
72 GNT_MAJOR_VERSION=gnt_major_version | 84 GNT_MAJOR_VERSION=gnt_major_version |
73 GNT_MINOR_VERSION=gnt_minor_version | 85 GNT_MINOR_VERSION=gnt_minor_version |
74 GNT_MICRO_VERSION=gnt_micro_version | 86 GNT_MICRO_VERSION=gnt_micro_version |
87 GNT_VERSION=[gnt_display_version] | |
75 AC_SUBST(GNT_MAJOR_VERSION) | 88 AC_SUBST(GNT_MAJOR_VERSION) |
76 AC_SUBST(GNT_MINOR_VERSION) | 89 AC_SUBST(GNT_MINOR_VERSION) |
77 AC_SUBST(GNT_MICRO_VERSION) | 90 AC_SUBST(GNT_MICRO_VERSION) |
91 AC_SUBST(GNT_VERSION) | |
92 | |
78 GNT_LT_VERSION_INFO="gnt_lt_current:gnt_micro_version:gnt_minor_version" | 93 GNT_LT_VERSION_INFO="gnt_lt_current:gnt_micro_version:gnt_minor_version" |
79 AC_SUBST(GNT_LT_VERSION_INFO) | 94 AC_SUBST(GNT_LT_VERSION_INFO) |
80 | 95 |
81 AC_DEFINE(PIDGIN_NAME, "Pidgin", [The user-visible application name]) | 96 AC_DEFINE(PIDGIN_NAME, "Pidgin", [The user-visible application name]) |
82 | 97 |