COIN-OR::LEMON - Graph Library

Changeset 2412:086fc76d591d in lemon-0.x for configure.ac


Ignore:
Timestamp:
03/22/07 07:36:50 (13 years ago)
Author:
Akos Ladanyi
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3243
Message:

Append the svn revision number to the version string automatically.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r2390 r2412  
    11dnl Process this file with autoconf to produce a configure script.
     2
     3dnl Version information.
     4m4_define([lemon_version_major], [0])
     5m4_define([lemon_version_minor], [6])
     6m4_define([lemon_version_micro], [90])
     7m4_define([lemon_version_nano], [])
     8m4_define([lemon_version_tag], [svn])
     9m4_define([lemon_svn_revision], [m4_normalize(esyscmd([svn info |grep ^Revision |cut -d ' ' -f 2]))])
     10m4_define([lemon_version], [lemon_version_major().lemon_version_minor()ifelse(lemon_version_micro(), [], [], [.lemon_version_micro()])ifelse(lemon_version_nano(), [], [], [.lemon_version_nano()])ifelse(lemon_version_tag(), [], [], lemon_version_tag(), [svn], [[_]lemon_version_tag()[]lemon_svn_revision()], [[_]lemon_version_tag()])])
     11
    212AC_PREREQ([2.59])
    3 AC_INIT([LEMON], [svnhead], [etik-ol@cs.elte.hu], [lemon])
     13AC_INIT([LEMON], [lemon_version()], [etik-ol@cs.elte.hu], [lemon])
    414AC_CONFIG_AUX_DIR([build-aux])
    515AC_CONFIG_MACRO_DIR([m4])
Note: See TracChangeset for help on using the changeset viewer.