source: trunk/m4/version.m4 @ 1796

Last change on this file since 1796 was 1785, checked in by Peter, 13 years ago

Moving m4 files to directory m4/.

NOTE: this change will break makefiles, so you need to issue
'autoreconf -m' (or equivalent) to create sound Makefiles reflecting
this change.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.4 KB
Line 
1## $Id: version.m4 1785 2009-02-08 23:32:52Z peter $
2#
3# Copyright (C) 2008 Jari Häkkinen, Peter Johansson
4# Copyright (C) 2009 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], [5])
29# PATCH - Modify for every released patch
30m4_define([PATCH_VERSION], [0])
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#
57m4_define([YAT_LT_CURRENT], [1])
58m4_define([YAT_LT_REVISION], [2])
59m4_define([YAT_LT_AGE], [0])
60
61
62###
63###  DO NOT EDIT BELOW THIS LINE
64###
65
66# Setting YAT_VERSION based upon settings above
67m4_define([YAT_VERSION],MAJOR_VERSION.MINOR_VERSION)
68# disregarding patch number if zero
69m4_define([YAT_VERSION], m4_if(PATCH_VERSION,[0], YAT_VERSION,
70                                  YAT_VERSION.PATCH_VERSION))
71m4_define([YAT_VERSION], m4_if(DEV_BUILD,[true], YAT_VERSION[pre],
72                                  YAT_VERSION))
73
74m4_define([YAT_LT_VERSION_INFO], YAT_LT_CURRENT[:]YAT_LT_REVISION[:]YAT_LT_AGE)
Note: See TracBrowser for help on using the repository browser.