summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2016-04-18 13:05:18 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2016-04-18 13:45:43 +0200
commit9f60b85504cf9b824ad52fffb868b28f17132914 (patch)
treea087d5b548c8184309212944b97251c158eb5194
parent3825a2b150972112627eebf5d1caaa095b90ee53 (diff)
downloadlibrest-9f60b85504cf9b824ad52fffb868b28f17132914.tar.gz
Start 0.9 series
Decouple ABI/API versioning from the package version number, there is no reason for having a broken ABI/API every time we change librest minor version number. For now, API version stays at 0.7 as API/ABI hasn't been broken yet. If we were to break it, we can go directly up to 1.0 and attempt to stick to a stable API. ABI can still be broken through soname changes (but it's also better if we can avoid it).
-rw-r--r--configure.ac12
1 files changed, 6 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index 0aa9091..334f76d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,8 +1,8 @@
-m4_define([api_major], [0])
-m4_define([api_minor], [7])
-m4_define([api_micro], [93])
+m4_define([rest_major], [0])
+m4_define([rest_minor], [9])
+m4_define([rest_micro], [0])
-m4_define([rest_version], [api_major.api_minor.api_micro])
+m4_define([rest_version], [rest_major.rest_minor.rest_micro])
AC_PREREQ([2.63])
@@ -20,8 +20,8 @@ AM_INIT_AUTOMAKE([1.11 foreign -Wno-portability no-define dist-xz])
AM_SILENT_RULES([yes])
-API_MAJOR=api_major
-API_MINOR=api_minor
+API_MAJOR=0
+API_MINOR=7
AC_SUBST([API_VERSION],[$API_MAJOR.$API_MINOR])
AC_SUBST([API_VERSION_AM],[$API_MAJOR\_$API_MINOR])
AC_DEFINE_UNQUOTED(API_VERSION, [$API_VERSION], [API version])