Correctly print version number
commit72ffa865f3c0863309fc56a74ecb64c6b2eaf053
authorSven Verdoolaege <skimo@kotnet.org>
Fri, 22 Feb 2008 16:20:01 +0000 (22 17:20 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Sat, 23 Feb 2008 12:40:29 +0000 (23 13:40 +0100)
treed931c7b3116cbb23a111dd2def6d02b2466bff88
parentf9bc39531b35a34a6e16989a031d3c387ed40839
Correctly print version number

In 4a3e83d7f59760dd7ffb936810f6df9e95ccd1dc (switch to automake/libtool),
some names of macros were changed, but not carried through completey,
which resulted in "cloog -v" printing bogus information, as reported
by Cedric Bastoul.

This fixes the problem and adds a cloog_version() function that
returns a printable version string, including information about
the currect git version.  The CLOOG_RELEASE and CLOOG_VERSION
defines are removed from cloog.h since they are both strings
and cannot be used for numerical comparisons anyway.
Makefile.am
configure.in
genversion.sh.in [new file with mode: 0755]
include/cloog/cloog.h.in
include/cloog/version.h [new file with mode: 0644]
source/options.c
source/program.c
source/version.c.in [new file with mode: 0644]