From 8d74d571b32dffce94b31a2b498ba1f308ab41c4 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Tue, 31 Jul 2007 02:21:24 +0000 Subject: [PATCH] Move to current:revision:age discipline for library version numbers. Bumped version for next release. --- configure.ac | 3 +-- lib/Makefile.am | 2 +- m4/as-libtool.m4 | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 635ab96..2912536 100644 --- a/configure.ac +++ b/configure.ac @@ -3,11 +3,10 @@ AC_INIT AC_CANONICAL_TARGET([]) AC_CONFIG_AUX_DIR([.]) -AS_VERSION(comedilib, COMEDILIB, 0, 7, 22) #COMEDILIB_DEBUG="-Wall -Werror" COMEDILIB_DEBUG="-Wall" AM_INIT_AUTOMAKE($PACKAGE,$VERSION) -AS_LIBTOOL(COMEDILIB, 0, 7, 18, yes) +AS_LIBTOOL(COMEDILIB, 7, 23, 7) AM_CONFIG_HEADER(config.h) diff --git a/lib/Makefile.am b/lib/Makefile.am index 4f30055..11b88ea 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -19,7 +19,7 @@ libcomedi_la_CFLAGS = $(COMEDILIB_CFLAGS) -D_REENTRANT -DLOCALSTATEDIR=\"\$(loca libcomedi_la_LDFLAGS = -soname libcomedi \ - -release $(VERSION) \ + $(COMEDILIB_LT_LDFLAGS) \ -Wl,--version-script=$(srcdir)/version_script diff --git a/m4/as-libtool.m4 b/m4/as-libtool.m4 index 0f50dd4..3d0fbd5 100644 --- a/m4/as-libtool.m4 +++ b/m4/as-libtool.m4 @@ -27,7 +27,7 @@ AC_DEFUN([AS_LIBTOOL], AC_SUBST([$1]_AGE) AC_SUBST([$1]_LIBVERSION) -dnl [$1]_LT_LDFLAGS="$[$1]_LT_LDFLAGS -version-info $[$1]_LIBVERSION" + [$1]_LT_LDFLAGS="$[$1]_LT_LDFLAGS -version-info $[$1]_LIBVERSION" if test ! -z "[$5]" then [$1]_LT_LDFLAGS="$[$1]_LT_LDFLAGS -release $[$1]_VERSION" -- 2.26.2