summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorJan Safranek <jsafrane@redhat.com>2009-03-26 15:10:09 +0100
committerJan Safranek <jsafrane@redhat.com>2009-03-26 15:10:09 +0100
commitb5a9d8553bd1fa47ba354bf52b4adc03d070b1e3 (patch)
tree4960a21e5ed8778d8554dec231421bbfa12c4f80 /configure.in
parent5d17fc1d7f60abd35f852706bef06411a963caa3 (diff)
downloadlibcg-b5a9d8553bd1fa47ba354bf52b4adc03d070b1e3.tar.gz
libcg-b5a9d8553bd1fa47ba354bf52b4adc03d070b1e3.tar.xz
libcg-b5a9d8553bd1fa47ba354bf52b4adc03d070b1e3.zip
Rework the way how so version is defined
Make the shared object version a bit more usable, the notation with double colons cannot be used on different places (see next patch). Also run automake && autoconf to refresh the generated stuff. Signed-off-by: Jan Safranek <jsafrane@redhat.com>
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index 7f44ea6..c0ab521 100644
--- a/configure.in
+++ b/configure.in
@@ -18,9 +18,10 @@ AC_PREREQ(2.61)
AC_INIT([control groups library and utilities], 0.34,
[http://sourceforge.net/tracker/?group_id=218421&atid=1043649])
AM_INIT_AUTOMAKE(libcgroup, 0.34)
-# set library version (X:Y:Z gets transfromed to libcgroup.so.X.Y.Z,
-# soname is libcgroup.so.X
-AC_SUBST(LIBRARY_VERSION, 1:0:34)
+# set library version, soname is libcgroup.so.MAJOR
+AC_SUBST(LIBRARY_VERSION_MAJOR, 1)
+AC_SUBST(LIBRARY_VERSION_MINOR, 0)
+AC_SUBST(LIBRARY_VERSION_RELEASE, 34)
# we do not want static libraries
AC_DISABLE_STATIC