From ce0204886f02193df2c768c175ef02eaaf2d691c Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Thu, 26 Jul 2007 15:41:46 +0000 Subject: Use libtool -version-info. Fixes bug #460579 (Laurent Bigonville). 2007-07-26 Xavier Claessens * libempathy-gtk/Makefile.am: * libempathy/Makefile.am: * configure.ac: Use libtool -version-info. Fixes bug #460579 (Laurent Bigonville). svn path=/trunk/; revision=200 --- ChangeLog | 7 +++++++ configure.ac | 18 ++++++++++++++++++ libempathy-gtk/Makefile.am | 3 +++ libempathy/Makefile.am | 3 +++ 4 files changed, 31 insertions(+) diff --git a/ChangeLog b/ChangeLog index 3c6250c76..5370bc7cd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-07-26 Xavier Claessens + + * libempathy-gtk/Makefile.am: + * libempathy/Makefile.am: + * configure.ac: Use libtool -version-info. Fixes bug #460579 + (Laurent Bigonville). + 2007-07-26 Xavier Claessens * README: diff --git a/configure.ac b/configure.ac index 747b6d586..56a81eb13 100644 --- a/configure.ac +++ b/configure.ac @@ -11,6 +11,24 @@ AC_ISC_POSIX AC_PROG_CC AC_HEADER_STDC +# LT Version numbers, remember to change them just *before* a release. +# (Interfaces removed: CURRENT++, AGE=0, REVISION=0) +# (Interfaces added: CURRENT++, AGE++, REVISION=0) +# (No interfaces changed: REVISION++) +LIBEMPATHY_CURRENT=0 +LIBEMPATHY_AGE=0 +LIBEMPATHY_REVISION=0 +AC_SUBST(LIBEMPATHY_CURRENT) +AC_SUBST(LIBEMPATHY_AGE) +AC_SUBST(LIBEMPATHY_REVISION) + +LIBEMPATHY_GTK_CURRENT=0 +LIBEMPATHY_GTK_AGE=0 +LIBEMPATHY_GTK_REVISION=0 +AC_SUBST(LIBEMPATHY_GTK_CURRENT) +AC_SUBST(LIBEMPATHY_GTK_AGE) +AC_SUBST(LIBEMPATHY_GTK_REVISION) + AM_PROG_LIBTOOL AM_PATH_GLIB_2_0 AC_PATH_XTRA diff --git a/libempathy-gtk/Makefile.am b/libempathy-gtk/Makefile.am index 57e2c5198..9da681a1e 100644 --- a/libempathy-gtk/Makefile.am +++ b/libempathy-gtk/Makefile.am @@ -46,6 +46,9 @@ libempathy_gtk_la_LIBADD = \ $(EMPATHY_LIBS) \ $(top_builddir)/libempathy/libempathy.la +libempathy_gtk_la_LDFLAGS = \ + -version-info ${LIBEMPATHY_GTK_CURRENT}:${LIBEMPATHY_GTK_REVISION}:${LIBEMPATHY_GTK_AGE} + libempathy_gtkdir = $(includedir)/libempathy-gtk/ libempathy_gtk_HEADERS = \ empathy-images.h \ diff --git a/libempathy/Makefile.am b/libempathy/Makefile.am index 9fbb7fe0b..6f5758325 100644 --- a/libempathy/Makefile.am +++ b/libempathy/Makefile.am @@ -40,6 +40,9 @@ libempathy_la_SOURCES = \ libempathy_la_LIBADD = \ $(LIBEMPATHY_LIBS) +libempathy_la_LDFLAGS = \ + -version-info ${LIBEMPATHY_CURRENT}:${LIBEMPATHY_REVISION}:${LIBEMPATHY_AGE} + libempathydir = $(includedir)/libempathy/ libempathy_HEADERS = \ empathy-conf.h \ -- cgit v1.2.3