configure.ac
changeset 18 596ae3af03a1
parent 17 d0dd44af6fec
child 19 5e9f3d3c115b
equal deleted inserted replaced
2:2128cd779079 3:d276d9ee699c
     4 m4_define([lemon_version_major], [0])
     4 m4_define([lemon_version_major], [0])
     5 m4_define([lemon_version_minor], [6])
     5 m4_define([lemon_version_minor], [6])
     6 m4_define([lemon_version_micro], [90])
     6 m4_define([lemon_version_micro], [90])
     7 m4_define([lemon_version_nano], [])
     7 m4_define([lemon_version_nano], [])
     8 m4_define([lemon_version_tag], [hg])
     8 m4_define([lemon_version_tag], [hg])
     9 m4_define([lemon_hg_revision], [m4_normalize(esyscmd([hg tip --template '{node|short}']))])
     9 m4_define([lemon_hg_revision], [m4_normalize(esyscmd([hg id]))])
    10 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()])])
    10 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()])])
    11 
    11 
    12 AC_PREREQ([2.59])
    12 AC_PREREQ([2.59])
    13 AC_INIT([LEMON], [lemon_version()], [etik-ol@cs.elte.hu], [lemon])
    13 AC_INIT([LEMON], [lemon_version()], [etik-ol@cs.elte.hu], [lemon])
    14 AC_CONFIG_AUX_DIR([build-aux])
    14 AC_CONFIG_AUX_DIR([build-aux])