e99de7
e99de7
Use the minor version as the revision in the libtool version, so the library
e99de7
soversion is not always 0.0.0.  (Does not influence the soname)
e99de7
e99de7
--- subversion-1.14.0/configure.ac.soversion
e99de7
+++ subversion-1.14.0/configure.ac
e99de7
@@ -112,7 +112,11 @@
e99de7
   SVN_APR_MAJOR_VERSION=1
e99de7
 fi
e99de7
 AC_SUBST(SVN_APR_MAJOR_VERSION)
e99de7
-SVN_LT_SOVERSION="-version-info $svn_lib_ver"
e99de7
+
e99de7
+m4_define([svn_ver_minor], m4_bpatsubst(AC_PACKAGE_VERSION, [[0-9]*\.\([0-9]*\)\.[0-9]*], [\1]))
e99de7
+
e99de7
+SVN_LT_SOVERSION="-version-info $svn_lib_ver:svn_ver_minor"
e99de7
+AC_MSG_NOTICE([SVN_LT_SOVERSION $SVN_LT_SOVERSION])
e99de7
 AC_SUBST(SVN_LT_SOVERSION)
e99de7
 AC_DEFINE_UNQUOTED(SVN_SOVERSION, $svn_lib_ver,
e99de7
                    [Subversion library major verson])