Add support for compile-time and run-time version checks
commitbd91b845a65805c290d43fc1bef8139864a163fb
authorAndreas Simbürger <simbuerg@googlemail.com>
Fri, 3 Sep 2010 18:22:03 +0000 (3 20:22 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Sat, 4 Sep 2010 12:26:14 +0000 (4 14:26 +0200)
treed780ed47c548c8c048ce21f1298f7ccf52cd45a3
parent4a19d7bf3d9671a6f55051a10bb3b00eb2c60a54
Add support for compile-time and run-time version checks

Define constants and functions to retreive CLooG's
version information at both compile time and run time.

By using both the constants and the functions it is possible
to match the included header files against the linked
library within a configure process.

CLooG's version information is constructed by the variables
inside configure.in:
 VERSION_MAJOR,
 VERSION_MINOR,
 VERSION_REVISION.

Signed-off-by: Andreas Simbürger <simbuerg@googlemail.com>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
.gitignore
configure.in
doc/cloog.texi
include/cloog/version.h.in [moved from include/cloog/version.h with 90% similarity]
source/version.c.in