[gnumeric] configure.in: update script damage.



commit 957d1f26f9800885715f5450814ba0c6a8b73c9e
Author: Morten Welinder <terra gnome org>
Date:   Fri Oct 1 22:48:20 2010 -0400

    configure.in: update script damage.

 configure.in |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/configure.in b/configure.in
index e702764..b060a6b 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([gnumeric_version_epoch], [1])
 m4_define([gnumeric_version_major], [10])
 m4_define([gnumeric_version_minor], [12])
-m4_define([gnumeric_version_extra], [])
 m4_define([gnumeric_version_full],
+    [gnumeric_version_epoch.gnumeric_version_major.gnumeric_version_minor[]gnumeric_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 * gnumeric_version_epoch + gnumeric_version_major))
 
 AC_SUBST([VERSION_INFO], [version_iface:gnumeric_version_minor:0])
 AC_SUBST([VERSION_IFACE], [version_iface])
@@ -1030,6 +1032,7 @@ AC_SUBST(YYYYMMDD, `date +%Y%m%d`)
 dnl Export to gnumeric-config.h
 AC_DEFINE(GNM_VERSION_FULL, "gnumeric_version_full",
 	[The version number of this release, with optional extra suffix])
+AC_DEFINE(GNM_VERSION_EPOCH, gnumeric_version_epoch,
 	[The Epoch of this release])
 AC_DEFINE(GNM_VERSION_MAJOR, gnumeric_version_major,
 	[The Major version number of this release])



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]