Version magic.
1.1 --- a/configure.ac Tue Nov 07 21:27:28 2006 +0000
1.2 +++ b/configure.ac Sat Dec 16 17:37:06 2006 +0000
1.3 @@ -1,6 +1,16 @@
1.4 dnl Process this file with autoconf to produce a configure script.
1.5 +
1.6 +dnl Version information.
1.7 +m4_define([glemon_version_major], [0])
1.8 +m4_define([glemon_version_minor], [5])
1.9 +m4_define([glemon_version_micro], [90])
1.10 +m4_define([glemon_version_nano], [])
1.11 +m4_define([glemon_version_tag], [svn])
1.12 +m4_define([glemon_svn_revision], [m4_normalize(esyscmd([svn info |grep ^Revision |cut -d ' ' -f 2]))])
1.13 +m4_define([glemon_version], [glemon_version_major().glemon_version_minor()ifelse(glemon_version_micro(), [], [], [.glemon_version_micro()])ifelse(glemon_version_nano(), [], [], [.glemon_version_nano()])ifelse(glemon_version_tag(), [svn], [[_]glemon_version_tag()[]glemon_svn_revision()], [[_]glemon_version_tag()])])
1.14 +
1.15 AC_PREREQ([2.59])
1.16 -AC_INIT([gLEMON], [svnhead], [etik-ol@cs.elte.hu], [glemon])
1.17 +AC_INIT([gLEMON], [glemon_version()], [etik-ol@cs.elte.hu], [glemon])
1.18 AC_CONFIG_AUX_DIR([build-aux])
1.19 AC_CONFIG_MACRO_DIR([m4])
1.20 AM_INIT_AUTOMAKE([-Wall -Werror foreign])