From b5a9d8553bd1fa47ba354bf52b4adc03d070b1e3 Mon Sep 17 00:00:00 2001 From: Jan Safranek Date: Thu, 26 Mar 2009 15:10:09 +0100 Subject: 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 --- configure.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'configure.in') 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 -- cgit From 95d93536f8c036f5ba8815344930a8a03af5190a Mon Sep 17 00:00:00 2001 From: Jan Safranek Date: Thu, 26 Mar 2009 15:10:09 +0100 Subject: Generate .tar.bz2 on 'make dist' Automatically generate libcgroup*.tar.bz2 on 'make dist'. Some restructure of AC_INIT and AM_INIT was needed to archieve this and correct output filename. Namely AC_INIT( [package], ... ) is used as resulting tarball file name now. Also run automake and autoconf to refresh the generated stuff... Only configure.in contains manual changes, everything else is autoconf/automake bloat :(. Signed-off-by: Jan Safranek --- configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index c0ab521..0d82f96 100644 --- a/configure.in +++ b/configure.in @@ -15,9 +15,9 @@ AC_PREREQ(2.61) # In following section update all occurences of version, including soname -AC_INIT([control groups library and utilities], 0.34, +AC_INIT([libcgroup], 0.34, [http://sourceforge.net/tracker/?group_id=218421&atid=1043649]) -AM_INIT_AUTOMAKE(libcgroup, 0.34) +AM_INIT_AUTOMAKE([foreign dist-bzip2]) # set library version, soname is libcgroup.so.MAJOR AC_SUBST(LIBRARY_VERSION_MAJOR, 1) AC_SUBST(LIBRARY_VERSION_MINOR, 0) -- cgit