Handle the case when glemon_version_tag is empty.
authorladanyi
Sat, 16 Dec 2006 17:43:17 +0000
changeset 1825cdee8207025
parent 181 2a9f611989df
child 183 48580778851e
Handle the case when glemon_version_tag is empty.
configure.ac
     1.1 --- a/configure.ac	Sat Dec 16 17:37:06 2006 +0000
     1.2 +++ b/configure.ac	Sat Dec 16 17:43:17 2006 +0000
     1.3 @@ -7,7 +7,7 @@
     1.4  m4_define([glemon_version_nano], [])
     1.5  m4_define([glemon_version_tag], [svn])
     1.6  m4_define([glemon_svn_revision], [m4_normalize(esyscmd([svn info |grep ^Revision |cut -d ' ' -f 2]))])
     1.7 -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.8 +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(), [], [], glemon_version_tag(), [svn], [[_]glemon_version_tag()[]glemon_svn_revision()], [[_]glemon_version_tag()])])
     1.9  
    1.10  AC_PREREQ([2.59])
    1.11  AC_INIT([gLEMON], [glemon_version()], [etik-ol@cs.elte.hu], [glemon])