changeset 31138:5986175b84e0

ld-output-def.texi: Use DLL_VERSION.
author Simon Josefsson <simon@josefsson.org>
date Thu, 02 Apr 2009 17:17:11 +0200
parents bc429fd62a43
children c1c5fb3b848a
files ChangeLog doc/ld-output-def.texi
diffstat 2 files changed, 11 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Apr 02 12:40:42 2009 +0200
+++ b/ChangeLog	Thu Apr 02 17:17:11 2009 +0200
@@ -1,3 +1,8 @@
+2009-04-02  Simon Josefsson  <simon@josefsson.org>
+
+	* doc/ld-output-def.texi: Use DLL_VERSION instead of confusing
+	SOVERSION variable.
+
 2009-04-02  Bruno Haible  <bruno@clisp.org>
 
 	* Makefile (info, html, dvi, pdf): Combine the rules.
--- a/doc/ld-output-def.texi	Thu Apr 02 12:40:42 2009 +0200
+++ b/doc/ld-output-def.texi	Thu Apr 02 17:17:11 2009 +0200
@@ -44,21 +44,21 @@
 
 @smallexample
 if HAVE_LD_OUTPUT_DEF
-libfoo_la_LDFLAGS += -Wl,--output-def,libfoo-$(SOVERSION).def
+libfoo_la_LDFLAGS += -Wl,--output-def,libfoo-$(DLL_VERSION).def
 defexecdir = $(bindir)
-defexec_DATA = libfoo-$(SOVERSION).def
+defexec_DATA = libfoo-$(DLL_VERSION).def
 DISTCLEANFILES += $(defexec_DATA)
 endif
 @end smallexample
 
-The @code{SOVERSION} variable needs to be defined.  It should be the
+The @code{DLL_VERSION} variable needs to be defined.  It should be the
 shared library version number used in the DLL filename.  For Windows
 targets you compute this value from the values you pass to Libtool's
 @code{-version-info}.  Assuming you have variables @code{LT_CURRENT}
 and @code{LT_AGE} defined for the @code{CURRENT} and @code{AGE}
-libtool version integers, you compute @code{SOVERSION} as follows:
+libtool version integers, you compute @code{DLL_VERSION} as follows:
 
 @smallexample
-SOVERSION=`expr $@{LT_CURRENT@} - $@{LT_AGE@}`
-AC_SUBST(SOVERSION)
+DLL_VERSION=`expr $@{LT_CURRENT@} - $@{LT_AGE@}`
+AC_SUBST(DLL_VERSION)
 @end smallexample