Hi all,

I attached a patch that illustrates how we use the -revision switch of
libtool to say we don't provide a stable binary interface, instead of
hardcoded 0:0:0, as it's done currently in gnu cp.  Short story is:
-revision does exactly the thing that 0:0:0 hack is supposed to do.

What you pass to -revision is another story.  We pass Subversion
revision number, but you may pass adequate CVS rev. no, or just stick
to "0.11+cvs" string.  Every such solution is better than 0:0:0 hack.

I'll let Michael handle it further, as we discussed the issue broadly on
IRC long time ago (and I was actully sure it was already included in GNU
CP).

HTH

                        Grzegorz B. Prokopski

-- 
Grzegorz B. Prokopski      <[EMAIL PROTECTED]>
Debian GNU/Linux           http://www.debian.org
SableVM - LGPL'ed Java VM  http://www.sablevm.org
Why SableVM ?!?            http://sablevm.org/wiki/Features

Index: configure.ac
===================================================================
--- configure.ac	(.../vendor/current/configure.ac)	(revision 3037)
+++ configure.ac	(.../branches/staging/configure.ac)	(revision 3037)
@@ -6,11 +10,13 @@
 dnl define([AC_CACHE_LOAD], )dnl
 dnl define([AC_CACHE_SAVE], )dnl
 
-AC_INIT([GNU Classpath],[0.11+cvs],[EMAIL PROTECTED],[classpath])
+AC_INIT([sablevm-classpath], [staging+]esyscmd([svn info | grep ^Revision: | awk '{print $2}' | head -n 1 | xargs echo -n]), [http://www.sablevm.org/])
 AC_CONFIG_SRCDIR(java/lang/System.java)
 
 AC_CANONICAL_TARGET
 
+AC_SUBST(LIBRELEASE, ["]AC_PACKAGE_VERSION["])
+
 dnl -----------------------------------------------------------
 dnl Fold all IA-32 CPU architectures into "x86"
 dnl -----------------------------------------------------------
@@ -20,15 +26,39 @@
 dnl We will not track/change lib version until we reach version 1.0
 dnl at which time we'll have to be more anal about such things
 dnl -----------------------------------------------------------
-AC_SUBST(LIBVERSION, "0:0:0")
-CLASSPATH_MODULE="-module -version-info ${LIBVERSION} -no-undefined"
+CLASSPATH_MODULE="-module -release ${LIBRELEASE}"
 AC_SUBST(CLASSPATH_MODULE)
 
 AC_PREREQ(2.59)
_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/classpath

Reply via email to