1.1 --- a/configure.ac Tue Jun 17 12:28:49 2008 +0100
1.2 +++ b/configure.ac Tue Jun 17 12:47:15 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])