diff --git a/caca/Makefile.am b/caca/Makefile.am index 47fbff0..6c3aeb2 100644 --- a/caca/Makefile.am +++ b/caca/Makefile.am @@ -30,7 +30,7 @@ libcaca_la_SOURCES = \ $(cocoa_source) \ $(extra_source) \ $(NULL) -libcaca_la_LDFLAGS = -no-undefined -version-info @LT_VERSION@ +libcaca_la_LDFLAGS = -no-undefined -version-number @LT_VERSION@ libcaca_la_LIBADD = ../cucul/libcucul.la @CACA_LIBS@ if USE_PLUGINS diff --git a/configure.ac b/configure.ac index 5f267d2..2e31e3f 100644 --- a/configure.ac +++ b/configure.ac @@ -7,7 +7,13 @@ AC_CONFIG_AUX_DIR(autotools) AC_CANONICAL_SYSTEM AM_INIT_AUTOMAKE(libcaca, 0.99.beta12) -LT_VERSION="99:0:99" +LT_MAJOR="0" +LT_MINOR="99" +LT_MICRO="12" +AC_SUBST(LT_MAJOR) +AC_SUBST(LT_MINOR) +AC_SUBST(LT_MICRO) +LT_VERSION="$LT_MAJOR:$LT_MINOR:$LT_MICRO" AC_SUBST(LT_VERSION) AM_CONFIG_HEADER(config.h) diff --git a/cucul/Makefile.am b/cucul/Makefile.am index 01f0197..ac04774 100644 --- a/cucul/Makefile.am +++ b/cucul/Makefile.am @@ -34,6 +34,6 @@ libcucul_la_DEPENDENCIES = \ monobold12.data \ $(NULL) AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/cucul -libcucul_la_LDFLAGS = -no-undefined -version-info @LT_VERSION@ +libcucul_la_LDFLAGS = -no-undefined -version-number @LT_VERSION@ libcucul_la_LIBADD = diff --git a/cxx/Makefile.am b/cxx/Makefile.am index 3005c88..2b97dbf 100644 --- a/cxx/Makefile.am +++ b/cxx/Makefile.am @@ -8,11 +8,11 @@ lib_LTLIBRARIES = libcucul++.la libcaca++.la endif libcucul___la_SOURCES = cucul++.cpp cucul++.h -libcucul___la_LDFLAGS = -no-undefined -version-info @LT_VERSION@ +libcucul___la_LDFLAGS = -no-undefined -version-number @LT_VERSION@ libcucul___la_LIBADD = ../cucul/libcucul.la libcaca___la_SOURCES = caca++.cpp caca++.h -libcaca___la_LDFLAGS = -no-undefined -version-info @LT_VERSION@ +libcaca___la_LDFLAGS = -no-undefined -version-number @LT_VERSION@ libcaca___la_LIBADD = libcucul++.la ../caca/libcaca.la if USE_CXX