source: branches/0.7-stable/m4/version.m4 @ 2412

Last change on this file since 2412 was 2412, checked in by Peter, 12 years ago

bumping version to 0.7.2pre

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 KB
Line 
1## $Id: version.m4 2412 2011-01-13 02:49:28Z peter $
2#
3# Copyright (C) 2008, 2009 Jari Häkkinen, Peter Johansson
4# Copyright (C) 2010, 2011 Peter Johansson
5#
6# This file is part of the yat library, http://dev.thep.lu.se/yat
7#
8# The yat library is free software; you can redistribute it
9# and/or modify it under the terms of the GNU General Public License as
10# published by the Free Software Foundation; either version 3 of the
11# License, or (at your option) any later version.
12#
13# The yat library is distributed in the hope that it will be useful,
14# but WITHOUT ANY WARRANTY; without even the implied warranty of
15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16# General Public License for more details.
17#
18# You should have received a copy of the GNU General Public License
19# along with yat. If not, see <http://www.gnu.org/licenses/>.
20#
21
22#
23# Set version numbers, see http://apr.apache.org/versioning.html 
24#
25# MAJOR - Modify when incompatible changes are made
26m4_define([MAJOR_VERSION], [0])
27# MINOR - Modify when new functionality is added
28m4_define([MINOR_VERSION], [7])
29# PATCH - Modify for every released patch
30m4_define([PATCH_VERSION], [2])
31
32# DEV_BUILD - When rolling a tarball we set this to `false'. In
33# repository value remains `true'.
34m4_define([DEV_BUILD], [true])
35
36# Library versioning (current:revision:age)
37#
38# How to update library version number
39#
40# current: Increment if the interface has additions, changes, removals.
41#
42# revision: Increment any time the source changes; set to 0 if you
43# incremented 'current'.
44#
45# age: Increment if any interfaces have been added; set to 0 if any
46# interfaces have been removed. removal has precedence over adding, so
47# set to 0 if both happened.
48#
49# See the libtool manual for further explanation of the numbers
50#
51# yat-0.3    undefined
52# yat-0.4    1:0:0
53# yat-0.4.1  1:0:0
54# yat-0.4.2  1:1:0
55# yat-0.4.3  1:2:0
56# yat-0.5    1:2:0*
57# yat-0.5.1  2:0:0
58# yat-0.5.2  2:1:0
59# yat-0.5.3  2:2:0
60# yat-0.5.4  2:3:0
61# yat-0.5.5  2:4:0
62# yat-0.5.6  2:5:0
63# yat-0.6.0  3:0:0
64# yat-0.6.1  3:1:0
65# yat-0.6.2  3:2:0
66# yat-0.6.3  3:3:0
67# yat-0.7.0  4:0:0
68# yat-0.7.1  4:1:0
69#
70# *Accidently, the libtool number was not updated for yat 0.5
71#
72m4_define([YAT_LT_VERSION_INFO], [4:2:0])
73
74###
75###  DO NOT EDIT BELOW THIS LINE
76###
77
78# Setting YAT_VERSION based upon settings above
79m4_define([YAT_VERSION],MAJOR_VERSION.MINOR_VERSION)
80# disregarding patch number if zero
81m4_define([YAT_VERSION], m4_if(PATCH_VERSION,[0], YAT_VERSION,
82                                  YAT_VERSION.PATCH_VERSION))
83m4_define([YAT_VERSION], m4_if(DEV_BUILD,[true], YAT_VERSION[pre],
84                                  YAT_VERSION))
Note: See TracBrowser for help on using the repository browser.