diff options
author | Jonathon Jongsma <jjongsma@gnome.org> | 2008-10-07 23:00:15 +0900 |
---|---|---|
committer | Jonathon Jongsma <jjongsma@gnome.org> | 2008-10-07 23:00:15 +0900 |
commit | e3ff8518c2b371cd27917ae195ef67a9ad3ea67b (patch) | |
tree | d9a795a35b5aa3231b5e23586267211bf5a463de /configure.in | |
parent | 794aa436a4bc5b7d453c21ab8a00e6098c3a9e85 (diff) |
Add library version numbers to the cairommconfig.h file
CAIROMM_MAJOR_VERSION, CAIROMM_MINOR_VERSION, and CAIROMM_MICRO_VERSION
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.in b/configure.in index b2daf17..8746277 100644 --- a/configure.in +++ b/configure.in @@ -25,12 +25,15 @@ GENERIC_LIBRARY_VERSION=3:0:2 # +- increment if interfaces have been added, removed or changed AC_SUBST(GENERIC_LIBRARY_VERSION) - VERSION=$GENERIC_VERSION AM_INIT_AUTOMAKE(cairomm, $GENERIC_VERSION) -AM_CONFIG_HEADER(cairomm/cairommconfig.h) +# define values for config header +AC_DEFINE_UNQUOTED([CAIROMM_MAJOR_VERSION], $GENERIC_MAJOR_VERSION, [cairomm major version]) +AC_DEFINE_UNQUOTED([CAIROMM_MINOR_VERSION], $GENERIC_MINOR_VERSION, [cairomm minor version]) +AC_DEFINE_UNQUOTED([CAIROMM_MICRO_VERSION], $GENERIC_MICRO_VERSION, [cairomm micro version]) +AC_CONFIG_HEADER(cairomm/cairommconfig.h) AC_PROG_CXX AC_PROG_CXXCPP |