Mercurial > pidgin
comparison configure.ac @ 16583:ce049678a67b
soname versioning of libpurple. Should help resolve debian bug 421282
All version control is within configure.ac now
Adjust the define for purple_version_suffix as appropriate:
[devel] - normal development periods
[betaN] - for beta releases
[] - for releases
Follow the instructions in configure.ac to set the version number depending on
how the API has changed (ie. following our normal version numbering!)
version.h is auto-generated now
Added purple_version_check(), purple_major_version, purple_minor_version,
& purple_micro_version for run-time version comparisons in addition to the
existing compile time macros.
libpurple Plugins moved again, this time to:
$(libdir)/purple-$PURPLE_MAJOR_VERSION
This will allow parallel installations of different major libpurple versions
in the future should someone wish to.
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 28 Apr 2007 16:55:31 +0000 |
parents | 60f9ac8421ef |
children | 513ca15861d7 |
comparison
equal
deleted
inserted
replaced
16582:60f9ac8421ef | 16583:ce049678a67b |
---|---|
1 dnl Process this file with autoconf to produce a configure script. | 1 dnl Process this file with autoconf to produce a configure script. |
2 AC_INIT([pidgin], [2.0.0beta7devel], [devel@pidgin.im]) | 2 AC_PREREQ([2.50]) |
3 | |
4 # Making releases: | |
5 # purple_micro_version += 1 | |
6 # if any functions have been added: | |
7 # purple_micro_version = 0 | |
8 # purple_minor_version += 1 | |
9 # if backwards compatibility has been broken | |
10 # purple_minor_version = 0 | |
11 # purple_micro_version = 0 | |
12 # purple_major_version += 1; | |
13 # | |
14 # purple_is_release = 1 *only* for the release | |
15 # | |
16 m4_define([purple_major_version], [2]) | |
17 m4_define([purple_minor_version], [0]) | |
18 m4_define([purple_micro_version], [0]) | |
19 m4_define([purple_version_suffix], [devel]) | |
20 m4_define([purple_version], | |
21 [purple_major_version.purple_minor_version.purple_micro_version]) | |
22 dnl m4_define([purple_display_version], purple_version[]m4_if(purple_beta,[7],[beta[]purple_beta])) | |
23 dnl m4_define([purple_display_version], purple_version[]m4_ifdef(purple_suffix[],[purple_suffix])) | |
24 m4_define([purple_display_version], purple_version[]m4_ifdef([purple_version_suffix],[purple_version_suffix])) | |
25 | |
26 AC_INIT([pidgin], [purple_display_version], [devel@pidgin.im]) | |
27 | |
3 AC_CANONICAL_SYSTEM | 28 AC_CANONICAL_SYSTEM |
4 AM_CONFIG_HEADER(config.h) | 29 AM_CONFIG_HEADER(config.h) |
5 AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) | 30 AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) |
6 #AM_INIT_AUTOMAKE([foreign dist-bzip2]) | 31 #AM_INIT_AUTOMAKE([foreign dist-bzip2]) |
7 | 32 |
8 AC_PREREQ([2.50]) | 33 PURPLE_MAJOR_VERSION=purple_major_version |
34 PURPLE_MINOR_VERSION=purple_minor_version | |
35 PURPLE_MICRO_VERSION=purple_micro_version | |
36 PURPLE_VERSION=[purple_display_version] | |
37 AC_SUBST(PURPLE_MAJOR_VERSION) | |
38 AC_SUBST(PURPLE_MINOR_VERSION) | |
39 AC_SUBST(PURPLE_MICRO_VERSION) | |
40 AC_SUBST(PURPLE_VERSION) | |
41 | |
42 m4_define([lt_current], [m4_eval(100 * purple_major_version + purple_minor_version)]) | |
43 m4_define([lt_age], [purple_minor_version]) | |
44 m4_define([lt_revision], [purple_micro_version]) | |
45 LT_VERSION_INFO="lt_current:lt_revision:lt_age" | |
46 AC_SUBST(LT_VERSION_INFO) | |
47 | |
9 | 48 |
10 AC_DEFINE(PIDGIN_NAME, "Pidgin", [The user-visible application name]) | 49 AC_DEFINE(PIDGIN_NAME, "Pidgin", [The user-visible application name]) |
11 | 50 |
12 AC_PATH_PROG(sedpath, sed) | 51 AC_PATH_PROG(sedpath, sed) |
13 | 52 |
2011 libpurple/protocols/simple/Makefile | 2050 libpurple/protocols/simple/Makefile |
2012 libpurple/protocols/toc/Makefile | 2051 libpurple/protocols/toc/Makefile |
2013 libpurple/protocols/yahoo/Makefile | 2052 libpurple/protocols/yahoo/Makefile |
2014 libpurple/protocols/zephyr/Makefile | 2053 libpurple/protocols/zephyr/Makefile |
2015 libpurple/tests/Makefile | 2054 libpurple/tests/Makefile |
2055 libpurple/version.h | |
2016 finch/Makefile | 2056 finch/Makefile |
2017 finch/libgnt/Makefile | 2057 finch/libgnt/Makefile |
2018 finch/libgnt/gnt.pc | 2058 finch/libgnt/gnt.pc |
2019 finch/libgnt/wms/Makefile | 2059 finch/libgnt/wms/Makefile |
2020 finch/plugins/Makefile | 2060 finch/plugins/Makefile |