[goffice] configure.in: only script damage.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] configure.in: only script damage.
- Date: Sat, 2 Oct 2010 02:43:16 +0000 (UTC)
commit 46f9745724a5eecc89b34879ead3c44ce3fcc7e2
Author: Morten Welinder <terra gnome org>
Date: Fri Oct 1 22:42:52 2010 -0400
configure.in: only script damage.
configure.in | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/configure.in b/configure.in
index 2430efe..fca56d6 100644
--- a/configure.in
+++ b/configure.in
@@ -3,10 +3,11 @@ dnl We require Automake 1.7.2, which requires Autoconf 2.54.
dnl (It needs _AC_AM_CONFIG_HEADER_HOOK, for example.)
AC_PREREQ(2.54)
+m4_define([goffice_version_epoch], [0])
m4_define([goffice_version_major], [8])
m4_define([goffice_version_minor], [12])
-m4_define([goffice_version_extra], [])
m4_define([goffice_full_version],
+ [goffice_version_epoch.goffice_version_major.goffice_version_minor[]goffice_version_extra])
dnl Emphasize some of the checks.
m4_define([BIG_CHECKING], [AC_MSG_CHECKING([
@@ -29,6 +30,7 @@ dnl the whole x.*.*.
dnl The easiest way is to declare no ABI compatibility, ie. AGE is always 0.
dnl
m4_define([version_iface],
+ m4_eval(100 * goffice_version_epoch + goffice_version_major))
AC_SUBST([VERSION_INFO], [version_iface:goffice_version_minor:0])
AC_SUBST([VERSION_IFACE], [version_iface])
@@ -606,6 +608,7 @@ AC_SUBST(goffice_plugindir, '${goffice_libdir}/plugins')
dnl Export to goffice-config.h and goffice-features.h
AC_DEFINE(GOFFICE_VERSION, "goffice_full_version",
[The version number of this release, possibly with additional suffix])
+AC_DEFINE(GO_VERSION_EPOCH, goffice_version_epoch,
[The Epoch of this release])
AC_DEFINE(GO_VERSION_MAJOR, goffice_version_major,
[The Major version number of this release])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]