configure.ac
changeset 183 0c6556a8e105
parent 153 976a014b3797
child 219 b9c6a47c977b
child 225 c5a40fc54f1a
     1.1 --- a/configure.ac	Wed Jun 18 13:52:23 2008 +0100
     1.2 +++ b/configure.ac	Fri Jun 20 11:09:30 2008 +0100
     1.3 @@ -1,13 +1,9 @@
     1.4  dnl Process this file with autoconf to produce a configure script.
     1.5  
     1.6  dnl Version information.
     1.7 -m4_define([lemon_version_major], [0])
     1.8 -m4_define([lemon_version_minor], [99])
     1.9 -m4_define([lemon_version_micro], [])
    1.10 -m4_define([lemon_version_nano], [])
    1.11 -m4_define([lemon_version_tag], [hg])
    1.12 +m4_define([lemon_version_number], [])
    1.13  m4_define([lemon_hg_revision], [m4_normalize(esyscmd([hg id -i]))])
    1.14 -m4_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(), [hg], [[_]lemon_version_tag()[_]lemon_hg_revision()], [[_]lemon_version_tag()])])
    1.15 +m4_define([lemon_version], [ifelse(lemon_version_number(), [], [lemon_hg_revision()], [lemon_version_number()])])
    1.16  
    1.17  AC_PREREQ([2.59])
    1.18  AC_INIT([LEMON], [lemon_version()], [lemon-devel@lemon.cs.elte.hu], [lemon])