source: trunk/build_support/version.m4 @ 1319

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

config.h is no longer installed. Therefore, do not include config.h
into other header files. Instead there is a yat/yat-config.h which
will be installed and can therefore be used in header files. The
yat-config contains the same information as config.h but variables are
prefix'd with a YAT_. I had to change style in version.m4 due to a
variable clash between variables set in version.m4 and variables I
wanted in config.h.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1## $Id: version.m4 1319 2008-05-21 16:03:42Z peter $
2#
3# Copyright (C) 2008 Jari Häkkinen, Peter Johansson
4#
5# This file is part of the yat library, http://trac.thep.lu.se/yat
6#
7# The yat library is free software; you can redistribute it
8# and/or modify it under the terms of the GNU General Public License as
9# published by the Free Software Foundation; either version 2 of the
10# License, or (at your option) any later version.
11#
12# The yat library is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15# General Public License for more details.
16#
17# You should have received a copy of the GNU General Public License
18# along with this program; if not, write to the Free Software
19# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
20# 02111-1307, USA.
21#
22
23#
24# Set version numbers, see http://apr.apache.org/versioning.html 
25#
26# MAJOR - Modify when incompatible changes are made
27m4_define([yat_major_version], [0])
28# MINOR - Modify when new functionality is added
29m4_define([yat_minor_version], [5])
30# PATCH - Modify for every released patch
31m4_define([yat_patch_version], [0])
32
33# DEV_BUILD - When rolling a tarball we set this to `false'. In
34# repository value remains `true'.
35m4_define([yat_dev_build], [true])
36
37# Library versioning (current:revision:age)
38#
39# How to update library version number
40#
41# current: Increment if the interface has additions, changes, removals.
42#
43# revision: Increment any time the source changes; set to 0 if you
44# incremented 'current'.
45#
46# age: Increment if any interfaces have been added; set to 0 if any
47# interfaces have been removed. removal has precedence over adding, so
48# set to 0 if both happened.
49#
50# See the libtool manual for further explanation of the numbers
51#
52# yat-0.3    undefined
53# yat-0.4    1:0:0
54# yat-0.4.1  1:0:0
55#
56m4_define([yat_lt_version], [1:0:0])
57
58
59###
60###  DO NOT EDIT BELOW THIS LINE
61###
62
63# Setting YAT_VERSION based upon settings above
64m4_define([yat_version],yat_major_version.yat_minor_version)
65# disregarding patch number if zero
66m4_define([yat_version], m4_if(yat_patch_version,[0], yat_version,
67                                  yat_version.yat_patch_version))
68m4_define([yat_version], m4_if(yat_dev_build,[true], yat_version[pre],
69                                  yat_version))
70
Note: See TracBrowser for help on using the repository browser.