b76e4d08d6
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/subversion#3d5f8d900a066a77c81766ea91fcb3fd49ed0d4e
20 lines
703 B
Diff
20 lines
703 B
Diff
|
|
Use the minor version as the revision in the libtool version, so the library
|
|
soversion is not always 0.0.0. (Does not influence the soname)
|
|
|
|
--- subversion-1.14.0/configure.ac.soversion
|
|
+++ subversion-1.14.0/configure.ac
|
|
@@ -112,7 +112,11 @@
|
|
SVN_APR_MAJOR_VERSION=1
|
|
fi
|
|
AC_SUBST(SVN_APR_MAJOR_VERSION)
|
|
-SVN_LT_SOVERSION="-version-info $svn_lib_ver"
|
|
+
|
|
+m4_define([svn_ver_minor], m4_bpatsubst(AC_PACKAGE_VERSION, [[0-9]*\.\([0-9]*\)\.[0-9]*], [\1]))
|
|
+
|
|
+SVN_LT_SOVERSION="-version-info $svn_lib_ver:svn_ver_minor"
|
|
+AC_MSG_NOTICE([SVN_LT_SOVERSION $SVN_LT_SOVERSION])
|
|
AC_SUBST(SVN_LT_SOVERSION)
|
|
AC_DEFINE_UNQUOTED(SVN_SOVERSION, $svn_lib_ver,
|
|
[Subversion library major verson])
|