[b695396d3070a538dafaeed76a84fb93d8481fdd7f4672113c5a968130c2e9f4/LIBDMAPSHARING_3_0] configure.ac: restore SO_VERSION
- From: W. Michael Petullo <wmpetullo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [b695396d3070a538dafaeed76a84fb93d8481fdd7f4672113c5a968130c2e9f4/LIBDMAPSHARING_3_0] configure.ac: restore SO_VERSION
- Date: Wed, 8 Jul 2020 12:04:26 +0000 (UTC)
commit 8ae6a51e6dfc939961485a5d9b374d081edaeec0
Author: W. Michael Petullo <mike flyn org>
Date: Wed Jul 8 08:01:40 2020 -0400
configure.ac: restore SO_VERSION
configure.ac | 10 +++++++++-
libdmapsharing/Makefile.am | 1 +
2 files changed, 10 insertions(+), 1 deletion(-)
---
diff --git a/configure.ac b/configure.ac
index 6927146..5088bc1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,8 +1,16 @@
-AC_INIT(libdmapsharing, 2.9.40, [https://www.flyn.org/projects/libdmapsharing/])
+m4_define([libdmapsharing_major], [2])
+m4_define([libdmapsharing_minor], [9])
+m4_define([libdmapsharing_micro], [40])
+m4_define([libdmapsharing_version], [libdmapsharing_major.libdmapsharing_minor.libdmapsharing_micro])
+
+AC_INIT(libdmapsharing, [libdmapsharing_version], [https://www.flyn.org/projects/libdmapsharing/])
API_VERSION=3.0
AC_SUBST(API_VERSION)
+SO_VERSION=m4_eval(libdmapsharing_minor+libdmapsharing_major):m4_eval(libdmapsharing_micro):m4_eval(libdmapsharing_minor)
+AC_SUBST(SO_VERSION)
+
AM_CONFIG_HEADER(config.h)
AC_CONFIG_MACRO_DIRS([m4])
diff --git a/libdmapsharing/Makefile.am b/libdmapsharing/Makefile.am
index cdc4542..a76ea46 100644
--- a/libdmapsharing/Makefile.am
+++ b/libdmapsharing/Makefile.am
@@ -62,6 +62,7 @@ libdmapsharing_3_0_la_CFLAGS = \
$(WARN_CFLAGS)
libdmapsharing_3_0_la_LDFLAGS = \
+ -version-info @SO_VERSION@ \
$(CHECK_LIBS) \
$(GLIB_LIBS) \
$(GTHREAD_LIBS) \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]