Commit 3306be16 authored by Christian Persch's avatar Christian Persch Committed by Christian Persch
Browse files

Move libtool versioning to configure so you just have to update one file

2007-06-21  Christian Persch  <chpe@gnome.org>

	* configure.in:
	* src/Makefile.am: Move libtool versioning to configure so you just
	have to update one file for releasing. See bug #396265 comment 17.

svn path=/trunk/; revision=1914
parent 4184ee2c
2007-06-21 Christian Persch <chpe@gnome.org>
* configure.in:
* src/Makefile.am: Move libtool versioning to configure so you just
have to update one file for releasing. See bug #396265 comment 17.
2007-06-18 Behdad Esfahbod <behdad@gnome.org>
Released vte-0.16.6.
......
......@@ -5,6 +5,23 @@ AC_CONFIG_SRCDIR([src/vte.c])
AM_INIT_AUTOMAKE(1.6)
AM_CONFIG_HEADER([config.h])
################################################################################
# Libtool shared library versioning stuffs.
# REVISION gets incremented whenever the source code changes without adding
# an API or ABI change.
LTVERSION_REVISION=10
# CURRENT must be incremented when an API or ABI change (addition or removal)
# is made, and REVISION must be reset to 0 when this happens.
LTVERSION_CURRENT=11
# AGE must be incremented when an API or ABI addition is made, and REVISION
# must be reset to 0 when this happens.
LTVERSION_AGE=2
LIBVTE_LTVERSION=${LTVERSION_CURRENT}:${LTVERSION_REVISION}:${LTVERSION_AGE}
AC_SUBST([LIBVTE_LTVERSION])
################################################################################
AC_ISC_POSIX
AC_PROG_CC
AC_STDC_HEADERS
......
......@@ -115,18 +115,8 @@ libvte_la_SOURCES += \
vtepangox.h
endif
# Libtool shared library versioning stuffs.
# REVISION gets incremented whenever the source code changes without adding
# an API or ABI change.
VERSION_REVISION=10
# CURRENT must be incremented when an API or ABI change (addition or removal)
# is made, and REVISION must be reset to 0 when this happens.
VERSION_CURRENT=11
# AGE must be incremented when an API or ABI addition is made, and REVISION
# must be reset to 0 when this happens.
VERSION_AGE=2
libvte_la_LDFLAGS = $(LDFLAGS) \
-version-info $(VERSION_CURRENT):$(VERSION_REVISION):$(VERSION_AGE) \
-version-info $(LIBVTE_LTVERSION) \
-export-symbols-regex "^vte_terminal_.*|^_vte_pty_.*|^vte_reaper_.*|_vte_debug_.*" \
@LIBTOOL_EXPORT_OPTIONS@ @LIBTOOL_FLAGS@
libvte_la_LIBADD = $(LIBS) $(VTE_LIBS) $(X_LIBS) $(PCRE_LIBS) $(FT2_LIBS)
......
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