Thu, 03 May 2018 09:26:06 +0200
introduces macro for library version, s.t. both version numbers can be changed in configure.ac
configure.ac | file | annotate | diff | comparison | revisions | |
src/Makefile.am | file | annotate | diff | comparison | revisions |
--- a/configure.ac Wed May 02 21:45:52 2018 +0200 +++ b/configure.ac Thu May 03 09:26:06 2018 +0200 @@ -27,9 +27,8 @@ # # the package version must match the macros in ucx.h -# if you change the version, don't forget to adjust the -# libtool version-info in src/Makefile.am accordingly AC_INIT([ucx], [1.1.0], [olaf.wintermann@gmail.com]) +AC_SUBST([UCX_LIB_VERSION], [2:0:1]) # don't place everything in the project root AC_CONFIG_AUX_DIR([build-aux])
--- a/src/Makefile.am Wed May 02 21:45:52 2018 +0200 +++ b/src/Makefile.am Thu May 03 09:26:06 2018 +0200 @@ -27,7 +27,7 @@ # lib_LTLIBRARIES = libucx.la -libucx_la_LDFLAGS = -version-info 2:0:1 +libucx_la_LDFLAGS = -version-info $(UCX_LIB_VERSION) libucx_la_SOURCES = utils.c libucx_la_SOURCES += list.c libucx_la_SOURCES += map.c