# HG changeset patch # User Mike Becker # Date 1525332366 -7200 # Node ID d7e43c4b2992ccac1173a603dfbad7ea7afaa6de # Parent c3b6ff227481e105f6e563a76a95f18032ccd2a2 introduces macro for library version, s.t. both version numbers can be changed in configure.ac diff -r c3b6ff227481 -r d7e43c4b2992 configure.ac --- 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]) diff -r c3b6ff227481 -r d7e43c4b2992 src/Makefile.am --- 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