]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/Makefile.am (libltdl_la_LDFLAGS): increment the version
authorGary V. Vaughan <gary@gnu.org>
Tue, 21 Nov 2000 08:53:34 +0000 (08:53 +0000)
committerGary V. Vaughan <gary@gnu.org>
Tue, 21 Nov 2000 08:53:34 +0000 (08:53 +0000)
number to reflect the breakage of binary compatibility.
* doc/libtool.texi (Libltdl interface):  Document
LT_NON_POSIX_NAMESPACE.
* libltdl/ltdl.h (LT_POSIX_NAMESPACE):  Deleted.  The default is
now to use this namespace, so the cpp macro is no longer
necessary.

ChangeLog
doc/libtool.texi
libltdl/Makefile.am
libltdl/ltdl.h

index cd7abf563545ab0644005742d660f9aff702b4c7..3d0b5f5da99779ae4d61e204974241368323dabf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2000-11-20  Gary V. Vaughan  <gvv@techie.com>
+
+       * libltdl/Makefile.am (libltdl_la_LDFLAGS): increment the version
+       number to reflect the breakage of binary compatibility.
+       * doc/libtool.texi (Libltdl interface):  Document
+       LT_NON_POSIX_NAMESPACE.
+       * libltdl/ltdl.h (LT_POSIX_NAMESPACE):  Deleted.  The default is
+       now to use this namespace, so the cpp macro is no longer
+       necessary.
+
 2000-11-20  Morten Eriksen  <mortene@sim.no>
        
        * ltdl.m4 (AC_LIB_LTDL, AC_LTDL_SYMBOL_USCORE): Break a circular
index fd93eb8cd1bc672cfecca6bdf3248cae39a005fc..7cb5248ff9afe581b1557fb142338e1d7b4a529b 100644 (file)
@@ -2652,6 +2652,16 @@ To use libltdl in your program you have to include the header file @file{ltdl.h}
 #include <ltdl.h>
 @end example
 
+@noindent
+The last release of libltdl used some symbols that violated the
+@sc{posix} namespace conventions.  These symbols are now deprecated,
+and have been replaced by those described here.  If you have code that
+relies on the old deprecated symbol names, defining
+@samp{LT_NON_POSIX_NAMESPACE} before you include @file{ltdl.h} provides
+conversion macros.  Whichever set of symbols you use, the new api is
+not binary compatible with the last, so you will need to recompile
+your application in order to use this version of libltdl.
+
 @noindent
 Note that libltdl is not threadsafe, i.e. a multithreaded application
 has to use a mutex for libltdl.  It was reported that GNU/Linux's glibc
index 1f01d23eb523c75483a618da462301ddcaa31fbf..a08e7f00f994a5a7426fc7d37cd7ebed3385aa83 100644 (file)
@@ -14,7 +14,7 @@ noinst_LTLIBRARIES = libltdlc.la
 endif
 
 libltdl_la_SOURCES = ltdl.c
-libltdl_la_LDFLAGS = -no-undefined -version-info 2:0:2
+libltdl_la_LDFLAGS = -no-undefined -version-info 3:0:0
 libltdl_la_LIBADD = $(LIBADD_DL)
 
 libltdlc_la_SOURCES = ltdl.c
index 85f774a81585fe67885b0b6063f2a8acfe6920a8..bda28aa5f2b82fe043c7406cdfb2dad6358577eb 100644 (file)
@@ -284,11 +284,7 @@ enum {
 extern int     lt_dladderror   LT_PARAMS((const char *diagnostic));
 extern int     lt_dlseterror   LT_PARAMS((int errorcode));
 
-#ifndef LT_POSIX_NAMESPACE
-#  define LT_FUBAR_NAMESPACE
-#endif
-
-#ifdef LT_FUBAR_NAMESPACE
+#ifdef LT_NON_POSIX_NAMESPACE
 #  define lt_ptr_t             lt_ptr
 #  define lt_module_t          lt_module
 #  define lt_module_open_t     lt_module_open