configure.ac
changeset 2615 2bf1f6e3d5ae
parent 2568 046c055217f6
equal deleted inserted replaced
47:11f057cf0ae8 48:fb5157d90a43
     1 dnl Process this file with autoconf to produce a configure script.
     1 dnl Process this file with autoconf to produce a configure script.
     2 
     2 
     3 dnl Version information.
     3 dnl Version information.
     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], [7])
     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], [svn])
     8 m4_define([lemon_version_tag], [svn])
     9 m4_define([lemon_svn_revision], [m4_normalize(esyscmd([svn info |grep ^Revision |cut -d ' ' -f 2]))])
     9 m4_define([lemon_svn_revision], [m4_normalize(esyscmd([svn info |grep ^Revision |cut -d ' ' -f 2]))])
    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(), [svn], [[_]lemon_version_tag()[]lemon_svn_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(), [svn], [[_]lemon_version_tag()[]lemon_svn_revision()], [[_]lemon_version_tag()])])