From 031e652fb7969aa929bd36dfa72906f1b9104cf8 Mon Sep 17 00:00:00 2001 From: J. Ali Harlow Date: Thu, 1 Oct 2009 20:37:02 +0100 Subject: [PATCH] Start 0.2.1 --- configure.ac | 18 +++++++++++++++++- plover/Makefile.am | 3 ++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 5c102bf..85556b8 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ # -*- Autoconf -*- # Process this file with autoconf to produce a configure script. -AC_INIT([plover],[0.2],[ali@juiblex.co.uk]) +AC_INIT([plover],[0.2.1],[ali@juiblex.co.uk]) AC_PREREQ(2.59) AC_CONFIG_AUX_DIR([config]) AC_CONFIG_SRCDIR([plover/plover.h]) @@ -34,6 +34,22 @@ case $VERSION in ;; esac +# libtool versioning for libplover. For a release one of the following +# must apply: +# +# - If interfaces have been changed or added, but binary compatibility has +# been preserved, increment CURRENT and AGE and set REVISION to 0. +# - If binary compatibility has been broken (eg removed or changed interfaces), +# increment CURRENT and set AGE and REVISION to 0. +# - If the interface is the same as the previous version, increment REVISION. +# +LT_CURRENT=0 +LT_REVISION=1 +LT_AGE=0 +AC_SUBST(LT_CURRENT) +AC_SUBST(LT_REVISION) +AC_SUBST(LT_AGE) + ################################################## # Checks for programs. ################################################## diff --git a/plover/Makefile.am b/plover/Makefile.am index 075dbd8..38c3cd3 100644 --- a/plover/Makefile.am +++ b/plover/Makefile.am @@ -1,7 +1,8 @@ AM_CFLAGS=-g $(LIBPLOVER_CFLAGS) LIBS=$(LIBPLOVER_LIBS) INCLUDES=-I$(top_srcdir) -LDFLAGS=-no-undefined +LDFLAGS=-no-undefined \ + -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) lib_LTLIBRARIES=libplover.la libplover_la_SOURCES=plover.h util.c import-yum.c razor.c comps.c -- 1.7.1