source: branches/0.4-stable/build_support/version.m4 @ 1742

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

Preparing release 0.4.3

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1## $Id: version.m4 1742 2009-01-23 14:08:36Z 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://trac.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 2 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 this program; if not, write to the Free Software
20# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
21# 02111-1307, USA.
22#
23
24#
25# Set version numbers, see http://apr.apache.org/versioning.html 
26#
27# MAJOR - Modify when incompatible changes are made
28m4_define([MAJOR_VERSION], [0])
29# MINOR - Modify when new functionality is added
30m4_define([MINOR_VERSION], [4])
31# PATCH - Modify for every released patch
32m4_define([PATCH_VERSION], [3])
33
34# DEV_BUILD - When rolling a tarball we set this to `false'. In
35# repository value remains `true'.
36m4_define([DEV_BUILD], [false])
37
38# Library versioning (current:revision:age)
39#
40# How to update library version number
41#
42# current: Increment if the interface has additions, changes, removals.
43#
44# revision: Increment any time the source changes; set to 0 if you
45# incremented 'current'.
46#
47# age: Increment if any interfaces have been added; set to 0 if any
48# interfaces have been removed. removal has precedence over adding, so
49# set to 0 if both happened.
50#
51# See the libtool manual for further explanation of the numbers
52#
53# yat-0.3    undefined
54# yat-0.4    1:0:0
55# yat-0.4.1  1:0:0
56# yat-0.4.2  1:1:0
57# yat-0.4.3  1:2:0
58#
59m4_define([LT_VERSION], [1:2: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
Note: See TracBrowser for help on using the repository browser.