summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Chantereay <rchantereau@entrouvert.com>2004-08-05 15:24:33 +0000
committerRomain Chantereay <rchantereau@entrouvert.com>2004-08-05 15:24:33 +0000
commit8ecc49afbd5a6d860d5de1b170ef8e81e6a58fea (patch)
treeb29c6a4f2f7db0bb4081f3d9afda36abb3c33041
parentb29c3b78c49577c287910dd00397dfbbfd2d2dd0 (diff)
downloadlasso-8ecc49afbd5a6d860d5de1b170ef8e81e6a58fea.tar.gz
lasso-8ecc49afbd5a6d860d5de1b170ef8e81e6a58fea.tar.xz
lasso-8ecc49afbd5a6d860d5de1b170ef8e81e6a58fea.zip
- Added explanations to libtool versionning system.
- Added explanations in order to fix a "good" version number in order to produce a correct libtool version. - Fixed #229. - Fixed #202.
-rw-r--r--configure.ac12
1 files changed, 11 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 822733b0..4ec20a30 100644
--- a/configure.ac
+++ b/configure.ac
@@ -11,7 +11,13 @@ dnl full license terms.
dnl
dnl
-dnl Declare package
+dnl Declare package and package version.
+dnl (r-c).a.r
+dnl - First number is the lowest supported API version number.
+dnl - Second number is the number of supported API versions where API version >
+dnl first number.
+dnl - Third number is the current API version implementation version number.
+dnl See libtool explanations about current, age and release, later in this file.
AC_INIT([Liberty Alliance Single Sign On], 0.3.0, lasso-devel@lists.labs.libre-entreprise.org)
dnl Check if autoconf ver > 2.53
AC_PREREQ(2.53)
@@ -123,6 +129,10 @@ AC_DEFINE_UNQUOTED(LASSO_WINDOWS_VERSION, $windows_version, [Windows version of
# then set AGE to 0.
#
# syntax: CURRENT[:REVISION[:AGE]]
+# So if M=major, m=minor, r=release:
+# c = M + a = M + m;
+# m = a
+# r = r
current=`expr $VERSION_MAJOR + $VERSION_MINOR`
LASSO_VERSION_INFO="$current:$VERSION_RELEASE:$VERSION_MINOR"
AC_SUBST(LASSO_VERSION_INFO)