Skip to content
Browse files

Set libtool shared version info to 1:0:1

The previous release did not set shared version info, so it was
built as 0:0:0.
  • Loading branch information...
1 parent 8ecf84b commit 2de67159b0c53b49134690fb6e50886137c1da6b @kfish committed Nov 8, 2011
Showing with 23 additions and 0 deletions.
  1. +23 −0 configure.ac
View
23 configure.ac
@@ -6,6 +6,26 @@ AM_CONFIG_HEADER(config.h)
example_programs="noisedemo squaredemo"
+################################################################################
+# Set the shared versioning info, according to section 6.3 of the libtool info #
+# pages. CURRENT:REVISION:AGE must be updated immediately before each release: #
+# #
+# * If the library source code has changed at all since the last #
+# update, then increment REVISION (`C:R:A' becomes `C:r+1:A'). #
+# #
+# * If any interfaces have been added, removed, or changed since the #
+# last update, increment CURRENT, and set REVISION to 0. #
+# #
+# * If any interfaces have been added since the last public release, #
+# then increment AGE. #
+# #
+# * If any interfaces have been removed since the last public release, #
+# then set AGE to 0. #
+# #
+################################################################################
+SHARED_VERSION_INFO="1:0:1"
+SHLIB_VERSION_ARG=""
+
dnl Checks for programs.
AM_PROG_LIBTOOL
AC_PROG_INSTALL
@@ -145,6 +165,9 @@ if test "x$ac_cv_prog_gcc" = xyes ; then
fi
+AC_SUBST(SHLIB_VERSION_ARG)
+AC_SUBST(SHARED_VERSION_INFO)
+
AC_OUTPUT([
Makefile
doc/Makefile

0 comments on commit 2de6715

Please sign in to comment.
Something went wrong with that request. Please try again.