Changeset 1216


Ignore:
Timestamp:
Mar 8, 2008, 12:39:11 AM (14 years ago)
Author:
Peter
Message:

adding support for MAJOR MINOR PATCH

Location:
trunk
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r1213 r1216  
    3232#     autoreconf
    3333
    34 AC_INIT([yat],[0.4pre],[jari@thep.lu.se])
     34m4_include([./build_support/version.m4])
     35AC_INIT([yat],[YAT_VERSION],[jari@thep.lu.se])
    3536AC_PREREQ(2.60)
    3637AC_CONFIG_SRCDIR([yat/utility/Matrix.h])
     
    3839AC_PREFIX_DEFAULT([/usr/local])
    3940
    40 # Library versioning (current:revision:age)
    41 # See the libtool manual for an explanation of the numbers
    42 #
    43 # yat-0.3    undefined
    44 # yat-0.4    1:0:0
    45 YAT_LT_VERSION="1:0:0"
    46 AC_SUBST(YAT_LT_VERSION)
     41AC_SUBST([YAT_LT_VERSION], [LT_VERSION])
     42AC_SUBST([YAT_MAJOR_VERSION], [MAJOR_VERSION])
     43AC_SUBST([YAT_MINOR_VERSION], [MINOR_VERSION])
     44AC_SUBST([YAT_PATCH_VERSION], [PATCH_VERSION])
    4745
    4846AM_CONFIG_HEADER([config.h])
     
    160158AC_SUBST(YAT_LIB)
    161159AC_SUBST(YAT_LIB_LOCATION)
     160AC_DEFINE([YAT_MAJOR_VERSION],[MAJOR_VERSION], [Define to yat MAJOR version])
     161AC_DEFINE([YAT_MINOR_VERSION],[MINOR_VERSION], [Define to yat minor version])
     162AC_DEFINE([YAT_PATCH_VERSION],[PATCH_VERSION], [Define to yat patch version])
     163AC_DEFINE([YAT_DEV_BUILD],[DEV_BUILD], [false if tagged release])
     164
     165
    162166
    163167AC_CONFIG_FILES([Makefile
Note: See TracChangeset for help on using the changeset viewer.