libgweather r152 - in trunk: . libgweather



Author: vuntz
Date: Mon Apr  7 23:54:28 2008
New Revision: 152
URL: http://svn.gnome.org/viewvc/libgweather?rev=152&view=rev

Log:
2008-04-08  Vincent Untz  <vuntz gnome org>

	* configure.in:
	* libgweather/Makefile.am: put the logic to change the soname in
	configure.in, so I don't forget about it...


Modified:
   trunk/ChangeLog
   trunk/configure.in
   trunk/libgweather/Makefile.am

Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in	(original)
+++ trunk/configure.in	Mon Apr  7 23:54:28 2008
@@ -4,6 +4,17 @@
 AM_CONFIG_HEADER(config.h)
 AM_INIT_AUTOMAKE([1.9 no-dist-gzip dist-bzip2])
 
+# Before making a release, the LT_VERSION string should be modified.
+# The string is of the form C:R:A.
+# - If interfaces have been changed or added, but binary compatibility has
+#   been preserved, change to C+1:0:A+1
+# - If binary compatibility has been broken (eg removed or changed interfaces)
+#   change to C+1:0:0
+# - If the interface is the same as the previous version, change to C:R+1:A
+
+LT_VERSION=1:0:0
+AC_SUBST(LT_VERSION)
+
 GTK_REQUIRED=2.11.0
 GLIB_REQUIRED=2.13.0
 GNOME_VFS_REQUIRED=2.15.4

Modified: trunk/libgweather/Makefile.am
==============================================================================
--- trunk/libgweather/Makefile.am	(original)
+++ trunk/libgweather/Makefile.am	Mon Apr  7 23:54:28 2008
@@ -1,5 +1,3 @@
-LIBRARY_VERSION = 0:0:0
-
 lib_LTLIBRARIES = libgweather.la
 
 libgweatherincdir = $(includedir)/libgweather
@@ -34,7 +32,7 @@
 	$(GNOME_VFS_APPLETS_LIBS)
 
 libgweather_la_LDFLAGS = \
-	-version-info $(LIBRARY_VERSION) -no-undefined
+	-version-info $(LT_VERSION) -no-undefined
 
 test_metar_SOURCES = test_metar.c
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]