Start 0.2.1
authorJ. Ali Harlow <ali@juiblex.co.uk>
Thu, 1 Oct 2009 19:37:02 +0000 (20:37 +0100)
committerJ. Ali Harlow <ali@juiblex.co.uk>
Thu, 1 Oct 2009 19:37:02 +0000 (20:37 +0100)
configure.ac
plover/Makefile.am

index 5c102bf..85556b8 100644 (file)
@@ -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.
 ##################################################
index 075dbd8..38c3cd3 100644 (file)
@@ -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