]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
configure: set version numbers for releases only
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Thu, 3 Feb 2022 14:59:20 +0000 (07:59 -0700)
committerTom Hromatka <tom.hromatka@oracle.com>
Thu, 3 Feb 2022 14:59:41 +0000 (07:59 -0700)
Let's set the version for releases only and set the development/main
branch version to 0.0.0, that differentiate between development and
releases.

Suggested-by: Tom Hromatka <tom.hromatka@oracle.com>
Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
configure.ac

index ebfd90a4381fb6d39b66b49f23f0f5fe3c4c2658..1b45fc1cbec5ae24f1c76c1a1ac72e4a1b19ef4a 100644 (file)
@@ -15,7 +15,7 @@
 AC_PREREQ([2.69])
 
 # In following section update all occurences of version, including soname
-AC_INIT([libcgroup],[2.0])
+AC_INIT([libcgroup],[0.0.0])
 
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
@@ -25,9 +25,9 @@ AM_INIT_AUTOMAKE([foreign dist-bzip2 subdir-objects])
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 
 # set library version, soname is libcgroup.so.MAJOR
-AC_SUBST(LIBRARY_VERSION_MAJOR, 1)
+AC_SUBST(LIBRARY_VERSION_MAJOR, 0)
 AC_SUBST(LIBRARY_VERSION_MINOR, 0)
-AC_SUBST(LIBRARY_VERSION_RELEASE, 42)
+AC_SUBST(LIBRARY_VERSION_RELEASE, 0)
 
 # we do not want static libraries
 #AC_DISABLE_STATIC