Changeset 1321
- Timestamp:
- May 23, 2008, 4:14:41 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEWS
r1319 r1321 8 8 - is_int now depends on numerical_limits for inf and NaN treatment 9 9 - Similar for is_float. See revision [1312] for details. 10 - yat-config.h is installed rather than config.h10 - config.h is no longer installed 11 11 12 12 Version 0.4.1 (released 14 May 2008) -
trunk/build_support/version.m4
r1319 r1321 25 25 # 26 26 # MAJOR - Modify when incompatible changes are made 27 m4_define([ yat_major_version], [0])27 m4_define([MAJOR_VERSION], [0]) 28 28 # MINOR - Modify when new functionality is added 29 m4_define([ yat_minor_version], [5])29 m4_define([MINOR_VERSION], [5]) 30 30 # PATCH - Modify for every released patch 31 m4_define([ yat_patch_version], [0])31 m4_define([PATCH_VERSION], [0]) 32 32 33 33 # DEV_BUILD - When rolling a tarball we set this to `false'. In 34 34 # repository value remains `true'. 35 m4_define([ yat_dev_build], [true])35 m4_define([DEV_BUILD], [true]) 36 36 37 37 # Library versioning (current:revision:age) … … 54 54 # yat-0.4.1 1:0:0 55 55 # 56 m4_define([ yat_lt_version], [1:0:0])56 m4_define([LT_VERSION], [1:0:0]) 57 57 58 58 … … 62 62 63 63 # Setting YAT_VERSION based upon settings above 64 m4_define([ yat_version],yat_major_version.yat_minor_version)64 m4_define([YAT_VERSION],MAJOR_VERSION.MINOR_VERSION) 65 65 # disregarding patch number if zero 66 m4_define([ yat_version], m4_if(yat_patch_version,[0], yat_version,67 yat_version.yat_patch_version))68 m4_define([ yat_version], m4_if(yat_dev_build,[true], yat_version[pre],69 yat_version))66 m4_define([YAT_VERSION], m4_if(PATCH_VERSION,[0], YAT_VERSION, 67 YAT_VERSION.PATCH_VERSION)) 68 m4_define([YAT_VERSION], m4_if(DEV_BUILD,[true], YAT_VERSION[pre], 69 YAT_VERSION)) 70 70 -
trunk/configure.ac
r1319 r1321 33 33 34 34 m4_include([./build_support/version.m4]) 35 AC_INIT([yat],[ yat_version],[jari@thep.lu.se])35 AC_INIT([yat],[YAT_VERSION],[jari@thep.lu.se]) 36 36 AC_PREREQ(2.60) 37 37 AC_CONFIG_SRCDIR([yat/utility/Matrix.h]) … … 39 39 AC_PREFIX_DEFAULT([/usr/local]) 40 40 41 AC_SUBST([YAT_LT_VERSION], [yat_lt_version]) 42 AC_SUBST([YAT_MAJOR_VERSION], [yat_major_version]) 43 AC_SUBST([YAT_MINOR_VERSION], [yat_minor_version]) 44 AC_SUBST([YAT_PATCH_VERSION], [yat_patch_version]) 41 AC_SUBST([YAT_LT_VERSION], [LT_VERSION]) 42 AC_SUBST([YAT_MAJOR_VERSION], [MAJOR_VERSION]) 43 AC_SUBST([YAT_MINOR_VERSION], [MINOR_VERSION]) 44 AC_SUBST([YAT_PATCH_VERSION], [PATCH_VERSION]) 45 AC_SUBST([YAT_DEV_BUILD], [DEV_BUILD]) 45 46 46 47 AC_CONFIG_HEADER([config.h]) 47 m4_include(build_support/ax_prefix_config_h.m4)48 AX_PREFIX_CONFIG_H(yat/[AC_PACKAGE_NAME]-config.h,, config.h)49 50 48 AM_INIT_AUTOMAKE() 51 49 … … 161 159 AC_SUBST(YAT_LIB) 162 160 AC_SUBST(YAT_LIB_LOCATION) 163 AC_DEFINE([MAJOR_VERSION], [yat_major_version], [Define to yat MAJOR version])164 AC_DEFINE([MINOR_VERSION],[yat_minor_version], [Define to yat MINOR version])165 AC_DEFINE([PATCH_VERSION],[yat_patch_version], [Define to yat PATCH version])166 AC_DEFINE([DEV_BUILD],[yat_dev_build], [false if tagged release])167 161 168 162 #doxygen stuff … … 184 178 yat/regression/Makefile 185 179 yat/statistics/Makefile 180 yat/utility/version.h 186 181 yat/utility/Makefile]) 187 182 -
trunk/yat/Makefile.am
r1319 r1321 27 27 SUBDIRS = classifier random regression statistics utility 28 28 29 include_yatdir = $(includedir)/yat30 31 include_yat_HEADERS = yat-config.h32 33 29 lib_LTLIBRARIES = libyat.la 34 30 -
trunk/yat/utility/Makefile.am
r1292 r1321 46 46 SVD.h TypeInfo.h utility.h Vector.h \ 47 47 VectorBase.h VectorConstView.h VectorMutable.h VectorView.h \ 48 version.hWeNNI.h yat_assert.h48 WeNNI.h yat_assert.h 49 49 -
trunk/yat/utility/version.cc
r1319 r1321 23 23 24 24 #include "version.h" 25 #include "yat/yat-config.h"26 25 27 26 namespace theplu { -
trunk/yat/utility/version.h.in
r1317 r1321 1 // @configure_input@ 1 2 #ifndef _theplu_yat_utility_version_ 2 3 #define _theplu_yat_utility_version_ … … 29 30 /// 30 31 32 /* 33 Compile-time version constants 34 35 \see http://apr.apache.org/versioning.html 36 */ 37 #define YAT_MAJOR_VERSION @YAT_MAJOR_VERSION@ 38 #define YAT_MINOR_VERSION @YAT_MINOR_VERSION@ 39 #define YAT_PATCH_VERSION @YAT_PATCH_VERSION@ 40 #define YAT_VERSION "@VERSION@" 41 #define YAT_DEV_BUILD @YAT_DEV_BUILD@ 42 31 43 #include <string> 32 #include <stdexcept>33 #include <sstream>34 #include <utility>35 #include <vector>36 44 37 45 namespace theplu {
Note: See TracChangeset
for help on using the changeset viewer.