# -*- 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])
;;
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.
##################################################
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