Changeset 585 for trunk/configure.ac


Ignore:
Timestamp:
Apr 11, 2008, 11:37:36 PM (13 years ago)
Author:
Peter Johansson
Message:

replacing SPLIT_VERSION macro with version.m4 taken from yat project

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r584 r585  
    3535
    3636
    37 AC_INIT([svndigest],[pre0.7],[jari@thep.lu.se])
     37m4_include([./build_support/version.m4])
     38AC_INIT([svndigest],[SVNDIGEST_VERSION],[jari@thep.lu.se])
    3839AC_CONFIG_SRCDIR([lib/File.h])
    3940AC_CONFIG_AUX_DIR([autotools])
     
    4142test $prefix = NONE && prefix=/usr/local
    4243
     44AC_SUBST([SVNDIGEST_MAJOR_VERSION], [MAJOR_VERSION])
     45AC_SUBST([SVNDIGEST_MINOR_VERSION], [MINOR_VERSION])
     46AC_SUBST([SVNDIGEST_PATCH_VERSION], [PATCH_VERSION])
     47
     48AC_DEFINE([DEV_BUILD],[SVNDIGEST_DEV_BUILD],
     49          [true if dev build (version starts with pre)])
     50AC_DEFINE([VERSION_MAJOR], [SVNDIGEST_MAJOR_VERSION],
     51                    [Define to the svndigest major version])
     52AC_DEFINE([VERSION_MINOR], [SVNDIGEST_MINOR_VERSION],
     53                    [Define to the svndigest minor version])
     54AC_DEFINE([VERSION_PATCH], [SVNDIGEST_PATCH_VERSION],
     55                    [Define to the svndigest patch version])
     56
    4357AC_CONFIG_HEADER([config.h])
    4458AM_INIT_AUTOMAKE([std-options check-news])
    45 
    46 sinclude(./build_support/svndigest.m4)
    47 SPLIT_VERSION([VERSION], [$VERSION])
    4859
    4960# seems like these variables are not set with older autoconf(?)
Note: See TracChangeset for help on using the changeset viewer.