Commit 5d435118 authored by Federico Mena Quintero's avatar Federico Mena Quintero Committed by Federico Mena Quintero

Use libtool versioning for libslab

2008-02-08  Federico Mena Quintero  <federico@novell.com>

	* configure.in (libslab_major_version libslab_minor_version
	libslab_micro_version libslab_interface_age): New m4 defines so
	that we can have proper versioning with libtool.  This is copied
	from libgnomeui/configure.in.
Signed-off-by: 's avatarFederico Mena Quintero <federico@gnu.org>

svn path=/trunk/; revision=386
parent ce41baea
2008-02-08 Federico Mena Quintero <federico@novell.com>
* configure.in (libslab_major_version libslab_minor_version
libslab_micro_version libslab_interface_age): New m4 defines so
that we can have proper versioning with libtool. This is copied
from libgnomeui/configure.in.
2008-01-29 Scott Reeves <sreeves@novell.com>
* libslab/bookmark-agent.c:
Fix BNC#349604 Labeled Bookmarks.
......
AC_INIT([gnome-main-menu], [0.9.9], [http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-main-menu])
AC_PREREQ(2.54)
# These version numbers are for gnome-main-menu and libslab. The interface/binary age is for libslab.
# Making releases:
# LIBSLAB_VERSION += 1;
# LIBSLAB_INTERFACE_AGE += 1;
# LIBSLAB_BINARY_AGE += 1;
# if any functions have been added, set LIBSLAB_INTERFACE_AGE to 0.
# if backwards compatibility has been broken,
# set LIBSLAB_BINARY_AGE and LIBSLAB_INTERFACE_AGE to 0.
#
m4_define([libslab_major_version], [0])
m4_define([libslab_minor_version], [9])
m4_define([libslab_micro_version], [9])
m4_define([libslab_interface_age], [0])
dnl libtool versioning from libgnomeui
m4_define([libslab_current], [m4_eval(100 * libslab_minor_version + libslab_micro_version - libslab_interface_age)])
m4_define([libslab_binary_age], [m4_eval(100 * libslab_minor_version + libslab_micro_version)])
m4_define([libslab_revision], [libslab_interface_age])
m4_define([libslab_age], [m4_eval(libslab_binary_age - libslab_interface_age)])
m4_define([libslab_version], [libslab_major_version().libslab_minor_version().libslab_micro_version()])
AC_INIT([gnome-main-menu], [libslab_version], [http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-main-menu])
AC_CONFIG_SRCDIR([.])
AC_CONFIG_HEADERS([config.h])
......@@ -8,6 +31,14 @@ AM_MAINTAINER_MODE
AC_SUBST([ACLOCAL_AMFLAGS], ["\${ACLOCAL_FLAGS}"])
dnl libtool versioning from libgnomeui
LIBSLAB_CURRENT=libslab_current
LIBSLAB_REVISION=libslab_revision
LIBSLAB_AGE=libslab_age
AC_SUBST(LIBSLAB_CURRENT)
AC_SUBST(LIBSLAB_REVISION)
AC_SUBST(LIBSLAB_AGE)
GNOME_COMPILE_WARNINGS
AC_ISC_POSIX
......
2008-02-08 Federico Mena Quintero <federico@novell.com>
* Makefile.am (libslab_la_LDFLAGS): Specify libtool versioning
info. Copied from libgnomeui/libgnomeui/Makefile.am.
2007-09-16 Andre Klapper <a9016009@gmx.de>
* system-tile.c: revert to svn revision 339 (=before
......
......@@ -73,6 +73,9 @@ endif
libslab_la_LIBADD = $(LIBSLAB_LIBS)
libslab_la_LDFLAGS = \
-version-info $(LIBSLAB_CURRENT):$(LIBSLAB_REVISION):$(LIBSLAB_AGE)
if ENABLE_DYNAMIC_LIBSLAB
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libslab.pc
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment