aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2007-07-26 23:41:46 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-07-26 23:41:46 +0800
commitce0204886f02193df2c768c175ef02eaaf2d691c (patch)
treedad8cda22aec0885e07e80568313e5369e3ff821
parent5d4d4f7a80ff44d6b20f73d8c79cc9bfcc2cc234 (diff)
downloadgsoc2013-empathy-ce0204886f02193df2c768c175ef02eaaf2d691c.tar
gsoc2013-empathy-ce0204886f02193df2c768c175ef02eaaf2d691c.tar.gz
gsoc2013-empathy-ce0204886f02193df2c768c175ef02eaaf2d691c.tar.bz2
gsoc2013-empathy-ce0204886f02193df2c768c175ef02eaaf2d691c.tar.lz
gsoc2013-empathy-ce0204886f02193df2c768c175ef02eaaf2d691c.tar.xz
gsoc2013-empathy-ce0204886f02193df2c768c175ef02eaaf2d691c.tar.zst
gsoc2013-empathy-ce0204886f02193df2c768c175ef02eaaf2d691c.zip
Use libtool -version-info. Fixes bug #460579 (Laurent Bigonville).
2007-07-26 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/Makefile.am: * libempathy/Makefile.am: * configure.ac: Use libtool -version-info. Fixes bug #460579 (Laurent Bigonville). svn path=/trunk/; revision=200
-rw-r--r--ChangeLog7
-rw-r--r--configure.ac18
-rw-r--r--libempathy-gtk/Makefile.am3
-rw-r--r--libempathy/Makefile.am3
4 files changed, 31 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3c6250c76..5370bc7cd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2007-07-26 Xavier Claessens <xclaesse@gmail.com>
+ * libempathy-gtk/Makefile.am:
+ * libempathy/Makefile.am:
+ * configure.ac: Use libtool -version-info. Fixes bug #460579
+ (Laurent Bigonville).
+
+2007-07-26 Xavier Claessens <xclaesse@gmail.com>
+
* README:
* autogen.sh: Remove the autogen.sh script and use gnome-autogen.sh
instead. Fixes bug #460590.
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 \