automake-patches
[Top][All Lists]
Advanced

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

Patch: FYI: Refine APIVERSION


From: Tom Tromey
Subject: Patch: FYI: Refine APIVERSION
Date: 18 Jan 2002 14:29:13 -0700

I'm checking this in.

This changes APIVERSION so that prereleases on the trunk are
considered to have their own "API".

Tom

Index: ChangeLog
from  Tom Tromey  <address@hidden>

        * configure.in (APIVERSION): Refined definition.

Index: configure.in
===================================================================
RCS file: /cvs/automake/automake/configure.in,v
retrieving revision 1.100
diff -u -r1.100 configure.in
--- configure.in 2002/01/16 19:05:44 1.100
+++ configure.in 2002/01/18 21:11:48
@@ -28,7 +28,12 @@
 
 # The API version is the base version.  We must guarantee
 # compatibility for all releases with the same API version.
-APIVERSION=`echo "$VERSION" | sed -e 's/^\([[0-9]]*\.[[0-9]]*\).*$/\1/'`
+# Our current rule is that:
+# * All releases, including the prereleases, in an X.Y series
+#   are compatible.  So 1.5.1c is compatible with 1.5.
+# * Prereleases on the trunk are all incompatible -- 1.5b and 1.5c
+#   aren't the same.
+APIVERSION=`echo "$VERSION" | sed -e 
's/^\([[0-9]]*\.[[0-9]]*[[a-z]]?\).*$/\1/'`
 AC_SUBST(APIVERSION)
 
 # A versioned directory, defined here for convenience.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]