Changeset 1321 for trunk/build_support


Ignore:
Timestamp:
May 23, 2008, 4:14:41 PM (13 years ago)
Author:
Peter
Message:

Basically reverting r1319. I was not happy with the macro, so create defines are now placed in version.h instead. version.h is generated by configure from version.h.in. The macro ax_prefix_config_h.m4 will be removed later.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build_support/version.m4

    r1319 r1321  
    2525#
    2626# MAJOR - Modify when incompatible changes are made
    27 m4_define([yat_major_version], [0])
     27m4_define([MAJOR_VERSION], [0])
    2828# MINOR - Modify when new functionality is added
    29 m4_define([yat_minor_version], [5])
     29m4_define([MINOR_VERSION], [5])
    3030# PATCH - Modify for every released patch
    31 m4_define([yat_patch_version], [0])
     31m4_define([PATCH_VERSION], [0])
    3232
    3333# DEV_BUILD - When rolling a tarball we set this to `false'. In
    3434# repository value remains `true'.
    35 m4_define([yat_dev_build], [true])
     35m4_define([DEV_BUILD], [true])
    3636
    3737# Library versioning (current:revision:age)
     
    5454# yat-0.4.1  1:0:0
    5555#
    56 m4_define([yat_lt_version], [1:0:0])
     56m4_define([LT_VERSION], [1:0:0])
    5757
    5858
     
    6262
    6363# Setting YAT_VERSION based upon settings above
    64 m4_define([yat_version],yat_major_version.yat_minor_version)
     64m4_define([YAT_VERSION],MAJOR_VERSION.MINOR_VERSION)
    6565# 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))
     66m4_define([YAT_VERSION], m4_if(PATCH_VERSION,[0], YAT_VERSION,
     67                                  YAT_VERSION.PATCH_VERSION))
     68m4_define([YAT_VERSION], m4_if(DEV_BUILD,[true], YAT_VERSION[pre],
     69                                  YAT_VERSION))
    7070
Note: See TracChangeset for help on using the changeset viewer.