Improved libtool versioning, added copyrights, cleaned up configure.ac
authorSenko Rasic <senko.rasic@collabora.co.uk>
Mon, 29 Oct 2007 20:02:01 +0100
changeset 296 54393019edac
parent 295 2455123bb158
child 297 f65eee8ec802
Improved libtool versioning, added copyrights, cleaned up configure.ac
autogen.sh
configure.ac
loudmouth/Makefile.am
--- a/autogen.sh	Mon Oct 29 18:36:36 2007 +0100
+++ b/autogen.sh	Mon Oct 29 20:02:01 2007 +0100
@@ -3,8 +3,8 @@
 
 : ${AUTOCONF=autoconf}
 : ${AUTOHEADER=autoheader}
-: ${AUTOMAKE=automake-1.9}
-: ${ACLOCAL=aclocal-1.9}
+: ${AUTOMAKE=automake-1.10}
+: ${ACLOCAL=aclocal-1.10}
 : ${LIBTOOLIZE=libtoolize}
 : ${INTLTOOLIZE=intltoolize}
 : ${LIBTOOL=libtool}
--- a/configure.ac	Mon Oct 29 18:36:36 2007 +0100
+++ b/configure.ac	Mon Oct 29 20:02:01 2007 +0100
@@ -1,6 +1,6 @@
-AC_INIT(Loudmouth, 1.3.1, loudmouth)
+AC_INIT(Loudmouth, 1.3.2, loudmouth)
 AC_PREREQ(2.59)
-AC_COPYRIGHT([Copyright (C) 2003-2007 Imendio AB])
+AC_COPYRIGHT([Copyright (C) 2003-2007 Imendio, Collabora])
 
 AC_CONFIG_SRCDIR(loudmouth/loudmouth.h)
 AM_CONFIG_HEADER(config.h)
@@ -39,6 +39,13 @@
 AC_LIBTOOL_WIN32_DLL
 AM_PROG_LIBTOOL
 
+LT_CURRENT=1
+LT_REVISION=0
+LT_AGE=1
+AC_SUBST([LT_CURRENT])
+AC_SUBST([LT_REVISION])
+AC_SUBST([LT_AGE])
+
 AM_PATH_GLIB_2_0
 
 AC_CHECK_HEADERS([arpa/inet.h fcntl.h memory.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h sys/time.h unistd.h]) 
@@ -261,8 +268,8 @@
 dnl ==========================================================================
 echo "
 
-        Loudmouth $VERSION from Imendio, Collabora
-	=====================================
+	Loudmouth $VERSION from Imendio, Collabora
+	==========================================
 
 	prefix:                   ${prefix}
 	compiler:                 ${CC}
--- a/loudmouth/Makefile.am	Mon Oct 29 18:36:36 2007 +0100
+++ b/loudmouth/Makefile.am	Mon Oct 29 20:02:01 2007 +0100
@@ -78,6 +78,7 @@
 	$(LIBIDN_LIBS) \
 	-lresolv
 
+libloudmouth_1_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
 libloudmouthincludedir = $(includedir)/loudmouth-1.0/loudmouth
 
 # an explicit dependency here so alm generated files get built