]> git.ipfire.org Git - thirdparty/libtool.git/log
thirdparty/libtool.git
23 years ago* TODO: Removed obsolete comments about RMS' package system.
Gary V. Vaughan [Sat, 16 Mar 2002 18:50:43 +0000 (18:50 +0000)] 
* TODO: Removed obsolete comments about RMS' package system.

23 years ago* libtool.m4: Allow LT_AC_PROG_SED to work under autoconf
Albert Chin-A-Young [Thu, 7 Mar 2002 21:34:19 +0000 (21:34 +0000)] 
* libtool.m4: Allow LT_AC_PROG_SED to work under autoconf
2.13 and 2.5x with $ECHO_N/$ECHO_C and $ac_n/$ac_c.

23 years ago* ltmain.in: Quote $pic_mode.
Albert Chin-A-Young [Mon, 25 Feb 2002 20:46:19 +0000 (20:46 +0000)] 
* ltmain.in: Quote $pic_mode.

23 years ago* ltmain.in: Fix version string under IRIX.
Albert Chin-A-Young [Mon, 25 Feb 2002 20:41:41 +0000 (20:41 +0000)] 
* ltmain.in: Fix version string under IRIX.

* libtool.m4 (LT_AC_PROG_SED): Use $ac_n and $ac_c rather than
$ECHO_N and $ECHO_C for new LT_AC_PROG_SED macro.
$ECHO_N and $ECHO_C defined for autoconf 2.50 and above only.

23 years ago* Use $ac_n and $ac_c rather than $ECHO_N and $ECHO_C for
Albert Chin-A-Young [Mon, 25 Feb 2002 20:37:10 +0000 (20:37 +0000)] 
* Use $ac_n and $ac_c rather than $ECHO_N and $ECHO_C for
new LT_AC_PROG_SED macro. $ECHO_N and $ECHO_C defined for
autoconf 2.50 and above only.

23 years ago* libtool.m4 (LT_AC_PROG_SED): New macro tests sed for truncation of
Robert Boehne [Sat, 2 Feb 2002 00:17:12 +0000 (00:17 +0000)] 
* libtool.m4 (LT_AC_PROG_SED): New macro tests sed for truncation of
output.  AC_REQUIRE the new macro.
* ltmain.in: Use $SED rather than plan old sed, as set by the new
macro LT_AC_PROG_SED.

23 years agoFrom Roger Leigh <rl117@york.ac.uk>:
Ossama Othman [Mon, 14 Jan 2002 19:04:40 +0000 (19:04 +0000)] 
From Roger Leigh <rl117@york.ac.uk>:
* libtoolize.in (auxdirline): Fixed hardcoded value of
"configure.in." Instead use "$configure_ac" variable.  Corrects
AC_CONFIG_AUX_DIR support when using new style `configure.ac.'

* doc/libtool.texi:  Corrected typo.  "Safety" not "Saftey".

23 years ago* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Add mips/mipsel to list of
Robert Boehne [Mon, 14 Jan 2002 14:25:58 +0000 (14:25 +0000)] 
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Add mips/mipsel to list of
architectures for linux.

23 years ago* libltdl/ltdl.c (find_handle_callback): treat the result of a call
Volker Christian [Thu, 10 Jan 2002 20:56:20 +0000 (20:56 +0000)] 
* libltdl/ltdl.c (find_handle_callback): treat the result of a call
to access(2) correctly when deciding whether a library can be found
in a directory from user_search_path.

23 years agoWith help from Michael Matz <matz@kde.org>:
Robert Boehne [Wed, 28 Nov 2001 21:50:32 +0000 (21:50 +0000)] 
With help from Michael Matz <matz@kde.org>:
* ltmain.in:  Add a new command line argument
--preserve-dup-deps for preserving duplicate
dependent libraries.
* libtool.texi: Document it.

23 years ago* libtoolize.in: The test for whether AC_PROG_LIBTOOL is defined
Gary V. Vaughan [Wed, 28 Nov 2001 00:42:30 +0000 (00:42 +0000)] 
* libtoolize.in: The test for whether AC_PROG_LIBTOOL is defined
in aclocal.m4 had bitrotted slightly.
Reported by Takahiko Kawasaki <Takahiko_Kawasaki@cii.csk.co.jp>

23 years ago* ltmain.in: Treat freebsd like openbsd, in that -lc/-lc_r should
Donald D. Anderson [Tue, 27 Nov 2001 23:15:11 +0000 (23:15 +0000)] 
* ltmain.in: Treat freebsd like openbsd, in that -lc/-lc_r should
not be explicitly used.  ld handles this depending on the presence
of the -pthread option.

23 years ago* ltdl.m4: Changed "underscode to underscore".
Guido Draheim [Thu, 15 Nov 2001 01:26:15 +0000 (01:26 +0000)] 
* ltdl.m4: Changed "underscode to underscore".

23 years agoRevert last change -- LTCC is not used in this branch
Gary V. Vaughan [Thu, 15 Nov 2001 01:22:58 +0000 (01:22 +0000)] 
Revert last change -- LTCC is not used in this branch

23 years ago* libtool.m4: quote LTCC because autoconf AC_PROG_CC_STDC
Albert Chin-A-Young [Thu, 15 Nov 2001 01:17:06 +0000 (01:17 +0000)] 
* libtool.m4: quote LTCC because autoconf AC_PROG_CC_STDC
macro might add to $CC if options needed by compiler to
grok ANSI.

23 years agoFrom Joseph S. Myers <jsm28@cam.ac.uk>
Gary V. Vaughan [Thu, 15 Nov 2001 00:57:37 +0000 (00:57 +0000)] 
From Joseph S. Myers  <jsm28@cam.ac.uk>
* ltmain.in: Typo.

23 years ago* ltmain.in: Place parens around a generated relink_command
Mo DeJong [Thu, 15 Nov 2001 00:47:39 +0000 (00:47 +0000)] 
* ltmain.in: Place parens around a generated relink_command
so it is run is a subshell. This avoids an install error
where libtool ended up in the wrong directory after
relinking a .la file.

23 years ago* ltmain.in: Display better and different error messages when
Guido Draheim [Thu, 15 Nov 2001 00:34:30 +0000 (00:34 +0000)] 
* ltmain.in: Display better and different error messages when
library linkage fails in various ways.

23 years agoFrom Tom Bates <Tom.Bates@compaq.com>:
Gary V. Vaughan [Sun, 28 Oct 2001 12:01:43 +0000 (12:01 +0000)] 
From Tom Bates  <Tom.Bates@compaq.com>:
* libtool.m4 [mips-compaq-nonstopux]: New port.
* ltmain.in [mips-compaq-nonstopux]: Support
$version_type == nonstopux.
* NEWS: Updated.

23 years ago* libltdl/ltdl.c (foreach_dirinpath): change some types to size_t
Albert Chin-A-Young [Sun, 28 Oct 2001 11:59:05 +0000 (11:59 +0000)] 
* libltdl/ltdl.c (foreach_dirinpath): change some types to size_t
from int because strlen() returns size_t. argz_len changed to
size_t because argzize_path() takes 3rd argument as size_t, not
int.
Based on lint run from Bob Friesenhahn <bfriesen@simple.dallas.tx.us>

23 years ago* ltdl.m4 (AC_WITH_LTDL): New macro to add `--with-included-ltdl'
Gary V. Vaughan [Sat, 27 Oct 2001 23:52:57 +0000 (23:52 +0000)] 
* ltdl.m4 (AC_WITH_LTDL): New macro to add `--with-included-ltdl'
option to configure, but to find an appropriate ltdl library and
append the right options to link it.

23 years ago* libltdl/ltdl.c: Match function return type with prototype
Albert Chin-A-Young [Thu, 4 Oct 2001 14:56:23 +0000 (14:56 +0000)] 
* libltdl/ltdl.c: Match function return type with prototype
(add static initializer to file_not_found).

23 years ago* libtool.m4 (AC_LIBLTDL_CONVENIENCE): s/INCLTDL/LTDLINCL/ for
Gary V. Vaughan [Sun, 30 Sep 2001 10:35:39 +0000 (10:35 +0000)] 
* libtool.m4 (AC_LIBLTDL_CONVENIENCE): s/INCLTDL/LTDLINCL/ for
consistency with gettext's INTLINCL.  Keep the old symbol too for
backwards compatibility.
(AC_LIBLTDL_INSTALLABLE): Ditto.
* doc/libtool.texi (Distributing libltdl):  Adjust documentation.

23 years ago* ltdl.m4 (AC_LTDL_DLLIB): Even though HP-UX 10.20 and 11.00
Albert Chin-A-Young [Sat, 22 Sep 2001 16:53:56 +0000 (16:53 +0000)] 
* ltdl.m4 (AC_LTDL_DLLIB): Even though HP-UX 10.20 and 11.00
support shl_load *and* dlopen, dlopen works correctly only
with a patch. Because we want to avoid the situation where we
build on a system with the patch but deploy on a system without,
use shl_load exclusively if found.

23 years agoFrom Tor Lillqvist <tml@iki.fi>:
Gary V. Vaughan [Fri, 21 Sep 2001 20:16:31 +0000 (20:16 +0000)] 
From Tor Lillqvist <tml@iki.fi>:
* ltmain.in [cygwin* mingw*]: Take care of the difference between
wrapper script name and executable name.

23 years ago* libtool.m4 (archive_cmds) [darwin1.[0-2]]: Darwin uses zsh-3.1.6
Gary V. Vaughan [Fri, 21 Sep 2001 18:09:59 +0000 (18:09 +0000)] 
* libtool.m4 (archive_cmds) [darwin1.[0-2]]: Darwin uses zsh-3.1.6
for /bin/sh, and that shell does not handle escaped quotes
properly yet.
Reported by Christopher Pfisterer <cp@chrisp.de>

23 years ago* libltdl/ltdl.c: Match function return type with prototype
Albert Chin-A-Young [Fri, 21 Sep 2001 17:51:54 +0000 (17:51 +0000)] 
* libltdl/ltdl.c: Match function return type with prototype
(add static initializer to some functions) to prevent warnings
from HP-UX cc.

23 years ago* libltdl/ltdl.c: Added support for dmalloc, and uncovered some
Gary V. Vaughan [Fri, 21 Sep 2001 17:48:07 +0000 (17:48 +0000)] 
* libltdl/ltdl.c: Added support for dmalloc, and uncovered some
memory bugs as a result.

23 years agotypo
Gary V. Vaughan [Sun, 16 Sep 2001 15:47:12 +0000 (15:47 +0000)] 
typo

23 years ago* ltmain.in (exec_cmd): Don't overquote or we end up with this:
Gary V. Vaughan [Thu, 13 Sep 2001 21:20:08 +0000 (21:20 +0000)] 
* ltmain.in (exec_cmd): Don't overquote or we end up with this:
$ libtool --mode=execute echo foo
"foo"
Reported by Rob Browning <rlb@defaultvalue.org>

23 years ago* ltdl.m4 (AC_LTDL_DLLIB): call dlopen with arguments so the test
Assar Westerlund [Thu, 13 Sep 2001 20:06:35 +0000 (20:06 +0000)] 
* ltdl.m4 (AC_LTDL_DLLIB): call dlopen with arguments so the test
does not fail due to a prototype in dlfcn.h

23 years ago* libltdl/Makefile.am (OBJECTS): In addition to making $(OBJECTS)
Gary V. Vaughan [Tue, 11 Sep 2001 19:28:19 +0000 (19:28 +0000)] 
* libltdl/Makefile.am (OBJECTS):  In addition to making $(OBJECTS)
depend on libtool -- which causes Automake 1.4 to generate the
ibtool script in this directory during bootstrap -- also add
libltdl_la_OBJECTS and libltdlc_la_OBJECTS, the Automake 1.5
equivalents.
* NEWS: Updated.

23 years ago* bootstrap: Be robust to having no files that need removing.
Gary V. Vaughan [Tue, 11 Sep 2001 19:09:39 +0000 (19:09 +0000)] 
* bootstrap: Be robust to having no files that need removing.

23 years ago* configure.in: Bumped version to 1.4.2a.
Gary V. Vaughan [Tue, 11 Sep 2001 03:52:05 +0000 (03:52 +0000)] 
* configure.in: Bumped version to 1.4.2a.

23 years ago* configure.in: Bumped version to 1.4.2. release-1-4-2
Gary V. Vaughan [Tue, 11 Sep 2001 03:33:37 +0000 (03:33 +0000)] 
* configure.in: Bumped version to 1.4.2.
* config.sub, config.guess:  Synchronised from ftp.gnu.org.
* NEWS: Updated.

23 years ago* libtool.m4 (no_undefine_flag) [solaris*]: Don't set this flag
Tim Van Holder [Tue, 11 Sep 2001 03:18:52 +0000 (03:18 +0000)] 
* libtool.m4 (no_undefine_flag) [solaris*]:  Don't set this flag
if GCC < 3.0 with native ld, which introduces a dependency on
libgcc.a under certain circumstances, which in turn violates
-no-undefined.  Also display a prominent configure time warning if
the buggy combination of GCC and ld is detected.
(AC_LIBTOOL_HEADER_ASSERT):  libltdl falls foul of this bug
because assert requires __eprintf from libgcc.a.  This macro
detects the combination of GCC and ld that produce this problem,
and pretends that assert.h does not exist...
* libltdl/ltdl.c (HAVE_ASSERT_H):  ...so that assertions can be
disabled in libltdl.  Otherwise the library would only be useable
when linking using gcc, or by manually adding libgcc.a to the link
line of the application that uses libltdl.
* ltdl.m4 (AC_LIB_LTDL):  Require AC_LIBTOOL_HEADER_ASSERT.
* doc/PLATFORMS:  Updated.

23 years ago* libtool.m4 (ltdll_cmds): [$]0 doesn't appear to translate through
Daniel Harvey [Tue, 11 Sep 2001 03:09:14 +0000 (03:09 +0000)] 
* libtool.m4 (ltdll_cmds): [$]0 doesn't appear to translate through
the script correctly, change to $''0

23 years ago* libltdl/configure.in (AC_CONFIG_HEADER): Use config-h.in for DOS
Gary V. Vaughan [Tue, 11 Sep 2001 02:04:24 +0000 (02:04 +0000)] 
* libltdl/configure.in (AC_CONFIG_HEADER): Use config-h.in for DOS
compatibility.

23 years ago* libtool.m4: Add missing M4 quotation to $1 of AC_DEFUN calls.
Gary V. Vaughan [Tue, 11 Sep 2001 01:50:41 +0000 (01:50 +0000)] 
* libtool.m4: Add missing M4 quotation to $1 of AC_DEFUN calls.

23 years ago* libltdl/configure.in (AM_INIT_AUTOMAKE): Bump libltdl version to
Gary V. Vaughan [Tue, 11 Sep 2001 01:22:03 +0000 (01:22 +0000)] 
* libltdl/configure.in (AM_INIT_AUTOMAKE): Bump libltdl version to
1.2.
* libltdl/Makefile.am (libltdl_la_LDFLAGS):  Bump libtool library
version info to 4:0:1.

23 years ago* libtool.m4 (_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR): Oops. We
Gary V. Vaughan [Tue, 11 Sep 2001 00:05:33 +0000 (00:05 +0000)] 
* libtool.m4 (_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR):  Oops.  We
really ought to set PATH_SEPARATOR in here somewhere.
(AC_PROG_LD): Don't forget to AC_REQUIRE it!  Be careful not to
set IFS="${IFS}$PATH_SEPARATOR" for PATH splitting, otherwise
spaces in directory names will be lost.
(AC_PROG_NM): Dittp.
* ltmain.in: Default IFS once, at the start.
Reported by Akim Demaille <akim@epita.fr>

23 years ago* ltmain.in (-lc_r): Style improvement.
Brad [Mon, 10 Sep 2001 22:37:44 +0000 (22:37 +0000)] 
* ltmain.in (-lc_r): Style improvement.

23 years agoFrom Brad <brad@comstyle.com>:
Gary V. Vaughan [Mon, 10 Sep 2001 22:25:55 +0000 (22:25 +0000)] 
From Brad <brad@comstyle.com>:
* doc/libtool.texi: Remove obsolete references to ltconfig.
* bootstrap: Don't bother creating an empty ltconfig and then
removing it.
* tests/quote.test: s/ltconfig/$0/

23 years agoFrom Brad <brad@comstyle.com>:
Gary V. Vaughan [Sun, 9 Sep 2001 17:20:33 +0000 (17:20 +0000)] 
From Brad <brad@comstyle.com>:
* libtool.m4: Use Autoconf square bracket quoting style
consistently throughout.

23 years ago* bootstrap: Cleanup `autom4te' and `libtool' so that we don't
Gary V. Vaughan [Sat, 8 Sep 2001 02:56:43 +0000 (02:56 +0000)] 
* bootstrap: Cleanup `autom4te' and `libtool' so that we don't
get caught by something from a previous build.

23 years agoForgot to commit this...
Gary V. Vaughan [Sat, 8 Sep 2001 02:54:04 +0000 (02:54 +0000)] 
Forgot to commit this...

23 years ago* libtool.m4 (archive_cmds, archive_expsym_cmds) [solaris*]: Revert
Gary V. Vaughan [Sat, 8 Sep 2001 02:50:07 +0000 (02:50 +0000)] 
* libtool.m4 (archive_cmds, archive_expsym_cmds) [solaris*]: Revert
my 2001-09-06 patch.
(no_undefined_flag)i [solaris*]: Revert Alexandre's 2001-04-11 patch.

23 years ago* libltdl/acconfig.h: Removed. Obsoleted with modern Automake
Gary V. Vaughan [Fri, 7 Sep 2001 18:55:11 +0000 (18:55 +0000)] 
* libltdl/acconfig.h:  Removed.  Obsoleted with modern Automake
(i.e. 1.4 or better).

23 years ago* libltdl/ltdl.c (foreach_dirinpath): argz_len should be a size_t.
Gary V. Vaughan [Thu, 6 Sep 2001 23:36:45 +0000 (23:36 +0000)] 
* libltdl/ltdl.c (foreach_dirinpath): argz_len should be a size_t.
Reported by Albert Chin <china@thewrittenword.com>

23 years ago* libtool.m4 (archive_cmds, archive_expsym_cmds) [solaris*]: Changing
Gary V. Vaughan [Thu, 6 Sep 2001 21:44:10 +0000 (21:44 +0000)] 
* libtool.m4 (archive_cmds, archive_expsym_cmds) [solaris*]: Changing
no_undefined_flag from `-z text' to `-z defs' (see entry below at
2001-04-11  Alexandre Oliva  <aoliva@redhat.com>) has a problem.
when linking a shared library with gcc calling /usr/ccs/bin/ld (eg.
the gcc supplied with Solaris 8 companion CD), using the flag
-no-undefined, shared library linking will always fail because of
the unresolved symbols from libgcc.a.  Consequently we have to
provide a path to libgcc.a when linking shared libraries in
conjunction with -no-undefined!

23 years agoFrom Michael Pruett <mpruett@engr.sgi.com>:
Gary V. Vaughan [Thu, 6 Sep 2001 21:32:02 +0000 (21:32 +0000)] 
From Michael Pruett <mpruett@engr.sgi.com>:
* libltdl/ltdl.c (find_module): `0' valued arguments to
tryall_dlopen_module() must be explicitly cast to avoid compiler
warnings on some environments.

23 years ago* demo/Makefile.am (helldl): Automake 1.4 can't find the target
Gary V. Vaughan [Mon, 3 Sep 2001 22:06:19 +0000 (22:06 +0000)] 
* demo/Makefile.am (helldl):  Automake 1.4 can't find the target
if we use helldl$(EXEEXT), and Automake 1.5 barfs unless we do.
Using both targets to the left of the colon seems to work though!

23 years ago* ltdl.m4 [AC_LTDL_SYS_DLOPEN_DEPLIBS]: Teach ltdl about the
Brad [Mon, 3 Sep 2001 03:26:13 +0000 (03:26 +0000)] 
* ltdl.m4 [AC_LTDL_SYS_DLOPEN_DEPLIBS]: Teach ltdl about the
behavior of OpenBSD's dlopen().

23 years ago* configure.in: Bumped version to 1.4.1a.
Gary V. Vaughan [Mon, 3 Sep 2001 02:15:22 +0000 (02:15 +0000)] 
* configure.in: Bumped version to 1.4.1a.

23 years ago* configure.in: Bumped version to 1.4.1. release-1-4-1
Gary V. Vaughan [Mon, 3 Sep 2001 01:48:29 +0000 (01:48 +0000)] 
* configure.in: Bumped version to 1.4.1.
* config.sub, config.guess:  Synchronised from ftp.gnu.org.
* doc/texinfo.tex: Ditto.
* NEWS: Updated.
* TODO: Remove fixed bugs.

23 years ago* ltdl.m4 (AC_CHECK_TYPES): This macro was introduced in Autoconf
Gary V. Vaughan [Mon, 3 Sep 2001 01:22:13 +0000 (01:22 +0000)] 
* ltdl.m4 (AC_CHECK_TYPES):  This macro was introduced in Autoconf
2.5x.  Backported a fallback implementation (directly to ltdl.m4)
from Autoconf 2.50, so that we can still bootstrap with Autoconf
2.13.

23 years agoFrom Marius Vollmer <mvo@zagadka.ping.de>:
Gary V. Vaughan [Mon, 3 Sep 2001 00:22:51 +0000 (00:22 +0000)] 
From Marius Vollmer <mvo@zagadka.ping.de>:
* libltdl/ltdl.c (tryall_dlopen_module): Don't forget to propogate
errors over recurse levels.

23 years ago* libtool.m4 [openbsd*]: More improvements to the OpenBSD port.
Brad [Sun, 2 Sep 2001 23:31:08 +0000 (23:31 +0000)] 
* libtool.m4 [openbsd*]: More improvements to the OpenBSD port.

23 years ago* libtool.m4 (deplibs_check_method) [aix*]: Removed redundant
Brad [Sun, 2 Sep 2001 23:05:04 +0000 (23:05 +0000)] 
* libtool.m4 (deplibs_check_method) [aix*]: Removed redundant
setting of this variable.

23 years agoFrom Albert Chin <china@thewrittenword.com>:
Gary V. Vaughan [Sun, 2 Sep 2001 22:59:50 +0000 (22:59 +0000)] 
From Albert Chin <china@thewrittenword.com>:
* libtool.m4 (_LT_AC_LANG_C_CONFIG) [aix4*]: Be careful with
shared namespaces for static and shared libs.
(AC_LIBTOOL_DLOPEN_SELF): If all else fails, try dld_link from GNU
DLD.

23 years ago* libtool.m4, ltmain.in: Linker flag and version numbering fixes
Christopher Pfisterer [Sun, 2 Sep 2001 22:18:21 +0000 (22:18 +0000)] 
* libtool.m4, ltmain.in: Linker flag and version numbering fixes
for darwin.

23 years agoBackported the following patches from the development branch:
Gary V. Vaughan [Sun, 2 Sep 2001 18:54:31 +0000 (18:54 +0000)] 
Backported the following patches from the development branch:

Based on a patch from Marius Vollmer <mvo@zagadka.ping.de>:
* NEWS: updated.
* ltdl.m4 (AC_LIB_LTDL): Check for unistd.h.
* libltdl/ltdl.c: Include unistd.h if it exists.
(LTDL_SEARCHPATH_VAR): Macro to prevent hardcoding
"LTDL_LIBRARY_PATH".
(LTDL_ARCHIVE_EXT): Macro to prevent hardcoding ".la".
(archive_ext): Have only one copy of ".la" in the readonly
segment of the compiled library.
(find_handle_callback): Don't bother trying to dlopen the file if
it doesn't exist.
(find_handle): Don't bother searching for files if no search_path
was supplied.
(file_not_found): A new function to determine whether the last
error was due to a file not found condition.
(try_dlopen): Renamed from lt_dlopen() and changed to have the
same footprint as tryall_dlopen.  This involved a minor rewrite of
much of the internals of this function.
(lt_dlopen): A new function wrapped arounf try_dlopen().
(lt_dlopenext): If a file already has a suitable extension, don't
bother adding additional extensions and trying to open those.
Tidy up the rest of the code to prevent continued searching with
an eventual FILE_NOT_FOUND when a genuine failure earlier in the
search process could be legitimately reported.

* libltdl/ltdl.c (argz_create_sep): Don't forget to include the
terminating '0' when counting argz_len.
(argz_create_sep): When canonicalizing argz, don't forget to copy
the terminating '0', incase canonicalization has shortened argz.
(argz_stringify): Don't covert the final '0' to a separator.

* libltdl/ltdl.c (lt_dlhandle_next): Now we can loop through all
loaded module handles as originally intended.

* libltdl/ltdl.c (lt_dlseterror): Oops.  This never worked
either, due to a pair of typos.  Now fixed.

* libltdl/ltdl.c (N_ELEMENTS):  Deleted.  How come nobody noticed
there was no way this could have ever worked?
(lt_dlcaller_set_data): Now that valid caller_ids must be
non-zero, allocate an addition entry in the caller_data vector and
use a zero valued key as the end marker.
(lt_dlcaller_get_data): Iterate up to the end marker in one pass.

* libltdl/ltdl.c (lt_dlcaller_register): Caller ids are allocated
starting from value `1', so that clients can use a value of zero
to indicate that libltdl has not yet initialised.

* libltdl/ltdl.c (find_file_callback): Fix a multiple free()
bug.
(tryall_dlopen_module): Remove some unused variables.

* libltdl/ltdl.c (lt_dlinsertsearchdir): Calculate the address
of the end of user_search_path correctly.

* libltdl/ltdl.c (rpl_argz_stringify): New fallback implementation.
* ltdl.m4 (AC_LTDL_FUNC_ARGZ):  Test for argz_stringify in libc.
* libltdl/ltdl.c (lt_argz_insertinorder): Renamed from
lt_argz_insert to make room for...
(lt_argz_insert): Wraps argz_insert with libltdl error handling.
(lt_dlpath_insertdir): Insert new path elements into an
argzized path.
(lt_dlinsertsearchdir): New function to insert new search
directories anywhere into user_search_path using the above.
(lt_dladdsearchdir): Rewritten to use lt_dlpath_insertdir.
* libltdl/ltdl.h (lt_dlinsertsearchdir): Prototype for export.
* doc/libtool.texi (Libltdl interface): Document it.

23 years ago* ltmain.in: Do not remove -lm from deplibs for OpenBSD.
Brad [Sat, 18 Aug 2001 22:31:47 +0000 (22:31 +0000)] 
* ltmain.in: Do not remove -lm from deplibs for OpenBSD.

24 years agoFrom Brad <brad@comstyle.com>:
Gary V. Vaughan [Sun, 5 Aug 2001 16:48:33 +0000 (16:48 +0000)] 
From Brad <brad@comstyle.com>:
* libtool.m4 (archive_cmds) [darwin, newsos, sysv4]: Replace
1.3 era $linkopts references with $linker_flags.

24 years agoFrom Brad <brad@comstyle.com>:
Gary V. Vaughan [Sun, 5 Aug 2001 11:54:01 +0000 (11:54 +0000)] 
From Brad <brad@comstyle.com>:
* libtool.m4 [openbsd]:  OpenBSD can build modules without a `lib'
prefix and version number.

24 years agoFrom Edouard G. Parmelan <egp@free.fr>
Gary V. Vaughan [Sat, 4 Aug 2001 11:04:07 +0000 (11:04 +0000)] 
From Edouard G. Parmelan <egp@free.fr>
* libtool.m4 [darwin, openbsd]: Fix quoting problems with
unquoted [] expressions.

24 years ago* libtool.m4: Prefer shl_load to dlopen on HP-UX because
Albert Chin-A-Young [Sun, 29 Jul 2001 16:48:38 +0000 (16:48 +0000)] 
* libtool.m4: Prefer shl_load to dlopen on HP-UX because
dlopen won't work properly without a patch.

24 years agoFrom albert chin <china@thewrittenword.com>
Dan McNichol [Thu, 12 Jul 2001 18:10:46 +0000 (18:10 +0000)] 
From albert chin <china@thewrittenword.com>
* libtool.m4: Fix AIX run-time-linking when using gcc.

24 years agoFrom albert chin <china@thewrittenword.com>
Dan McNichol [Thu, 12 Jul 2001 00:08:42 +0000 (00:08 +0000)] 
From albert chin <china@thewrittenword.com>
* ltmain.in: Fix a case where the lockfile is not removed, thus
causing libtool to loop forever waiting for it to be removed.

24 years ago* libtool.m4 (_LT_AC_LTCONFIG_HACK): Revert to 1.3.x
Gary V. Vaughan [Thu, 5 Jul 2001 22:08:58 +0000 (22:08 +0000)] 
* libtool.m4 (_LT_AC_LTCONFIG_HACK):  Revert to 1.3.x
sematics, and always build static libs when the host machine
cannot build shared libs.  Even if static libs were explicitly
disabled.

24 years ago* libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE) [HPUX]: Define
Gary V. Vaughan [Thu, 5 Jul 2001 20:19:56 +0000 (20:19 +0000)] 
* libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE) [HPUX]: Define
lt_cv_sys_global_symbol_to_c_name_address to be a sed expression
for mangling the output of the symbol pipe into a brace delimited
C declaration of symbol name and address.
* ltmain.in: Use it to generate the fooS.c symbol name to address
map.

24 years agoPorting test improvements from multi-language-branch:
Gary V. Vaughan [Sat, 30 Jun 2001 20:27:42 +0000 (20:27 +0000)] 
Porting test improvements from multi-language-branch:
* tests/defs: Find and set the value of CC probed by libtool.m4
* tests/link-2.test: Use a .lo wrapper script, and the value of
CC set by defs instead of hardcoding gcc.
* tests/link.test: Use the value of CC set by defs instead of
hardcoding gcc.
* tests/quote.test: Ditto.
* tests/suffix.test: Ditto.

24 years ago* libtool.m4 (_LT_AC_LTCONFIG_HACK) [aix*]: Always set
Gary V. Vaughan [Sat, 30 Jun 2001 02:42:55 +0000 (02:42 +0000)] 
* libtool.m4 (_LT_AC_LTCONFIG_HACK) [aix*]: Always set
lt_prog_compiler_wl to `-Wl'.
Reported by Albert Chin-A-Young  <china@thewrittenword.com>

24 years agoFrom Tim Van Holder <tim.van.holder@pandora.be>
Gary V. Vaughan [Fri, 29 Jun 2001 22:32:03 +0000 (22:32 +0000)] 
From Tim Van Holder <tim.van.holder@pandora.be>
* tests/suffix.test: Typo in 2nd for loop.

24 years agoFrom Bruno Haible <haible@ilog.fr>
Gary V. Vaughan [Fri, 29 Jun 2001 21:58:16 +0000 (21:58 +0000)] 
From Bruno Haible <haible@ilog.fr>
* libtool.m4:  undefine the m4 builtin `symbols', so that the
string `symbols' can be used in the rest of the code without
causing errors with autoconf-2.13.

24 years agoFrom "Golubev I. N." <gin@mo.msk.ru>
Gary V. Vaughan [Fri, 29 Jun 2001 17:06:56 +0000 (17:06 +0000)] 
From "Golubev I. N." <gin@mo.msk.ru>
* tests/Makefile.am (CPPLAGS): Typo. s/CPPLAGS/CPPFLAGS.

24 years ago* mdemo/Makefile,am (foo1_la_LIBADD): Add libsub.la, since foo1
Gary V. Vaughan [Fri, 29 Jun 2001 02:38:04 +0000 (02:38 +0000)] 
* mdemo/Makefile,am (foo1_la_LIBADD): Add libsub.la, since foo1
does use symbols from libsub.la -- only platforms that allow
undefined symbols in libraries were able to cope with this
previously.
Reported by Robert Collins <robert.collins@itdomain.com.au>

24 years agoFrom "Golubev I. N." <gin@mo.msk.ru>
Gary V. Vaughan [Fri, 29 Jun 2001 02:12:31 +0000 (02:12 +0000)] 
From "Golubev I. N." <gin@mo.msk.ru>
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [sco3.2v5*]: Needs
-wl,-Bexport to make self dlopen work.

24 years agoFrom Chris Leishman <chris@sharinga.com>
Gary V. Vaughan [Fri, 29 Jun 2001 01:54:05 +0000 (01:54 +0000)] 
From Chris Leishman <chris@sharinga.com>
* libtool,m4 (_LT_AC_LTCONFIG_HACK) [darwin]:  Cheap hack to
help fake a C++ compilation.

24 years agoFrom Bruno Haible <haible@ilog.fr>
Gary V. Vaughan [Fri, 29 Jun 2001 01:43:19 +0000 (01:43 +0000)] 
From Bruno Haible  <haible@ilog.fr>
* NEWS: Updated.
* libtool.m4 (_LT_AC_LTCONFIG_HACK):  Make sure ac_objext is
set to `lo' when testing for compiler output to *.lo filenames.

24 years agoFrom Alexander Bluhm <Alexander.Bluhm@WiredMinds.de>
Gary V. Vaughan [Fri, 29 Jun 2001 01:18:05 +0000 (01:18 +0000)] 
From  Alexander Bluhm  <Alexander.Bluhm@WiredMinds.de>
* libltdl/ltdl.c (lt_dlopen): Fix bad memory initialisation
assumptions.

24 years agoFrom brad@openbsd.org:
Gary V. Vaughan [Wed, 27 Jun 2001 18:44:03 +0000 (18:44 +0000)] 
From brad@openbsd.org:
* NEWS: Updated.
* libtool.m4 (_LT_AC_LTCONFIG_HACK) [openbsd]: Improved support
for various openbsd platforms.
* ltmain.in: Ditto,

24 years ago* libtool.m4 (_LT_AC_LTCONFIG_HACK): Fix typo in variable name.
Peter Eisentraut [Sun, 20 May 2001 18:24:28 +0000 (18:24 +0000)] 
* libtool.m4 (_LT_AC_LTCONFIG_HACK): Fix typo in variable name.

24 years agoRemoved unwanted blank from CL entry
Alexandre Oliva [Sun, 20 May 2001 18:15:08 +0000 (18:15 +0000)] 
Removed unwanted blank from CL entry

24 years ago* libtool.m4 (allow_undefined_flag) [aix4* | aix 5*]: Fix quote
Alexandre Oliva [Sun, 20 May 2001 18:14:13 +0000 (18:14 +0000)] 
* libtool.m4 (allow_undefined_flag) [aix4* | aix 5*]: Fix quote
error.

24 years ago* ltmain.in (exec_cmd): New variable. Don't exec programs within
Alexandre Oliva [Sun, 20 May 2001 18:10:01 +0000 (18:10 +0000)] 
* ltmain.in (exec_cmd): New variable.  Don't exec programs within
the big `case'; set the variable instead, and exec the cmd
afterwards, so that the shell gets a chance to clean up here-doc
files.
* NEWS: Update.

24 years ago* libtool.m4 (lt_cv_deplibs_check_method): pass_all for hppa*-linux.
Alan Modra [Wed, 16 May 2001 06:53:53 +0000 (06:53 +0000)] 
* libtool.m4 (lt_cv_deplibs_check_method): pass_all for hppa*-linux.

24 years ago* ltmain.in (relink_command): Arrange for wrapper script to save
Andreas Jaeger [Thu, 3 May 2001 15:33:28 +0000 (15:33 +0000)] 
* ltmain.in (relink_command): Arrange for wrapper script to save
output to a variable and display it only if relinking fails.

24 years ago* configure.in: Bumped version to 1.4.0a.
Alexandre Oliva [Thu, 3 May 2001 15:32:33 +0000 (15:32 +0000)] 
* configure.in: Bumped version to 1.4.0a.

24 years agoGNU libtool 1.4 was released. release-1-4
Gary V. Vaughan [Wed, 25 Apr 2001 00:05:38 +0000 (00:05 +0000)] 
GNU libtool 1.4 was released.

* configure.in: Bumped version to 1.4.
* config.sub, config.guess:  Synchronised from ftp.gnu.org.
* NEWS: updated.

24 years ago* libtool.m4: Support $host_os as /sysv5uw7*/ from newer
Peter Eisentraut [Tue, 24 Apr 2001 23:40:42 +0000 (23:40 +0000)] 
* libtool.m4: Support $host_os as /sysv5uw7*/ from newer
config.guess in addition to older /unixware*/.  Use compiler
driver, not linker, for linking shared libraries.

24 years agoBlank lines should only be used to separate distinct commits.
Gary V. Vaughan [Tue, 24 Apr 2001 23:26:18 +0000 (23:26 +0000)] 
Blank lines should only be used to separate distinct commits.

24 years ago* libtool.m4, ltmain.in, libltdl/configure.in,
Gary V. Vaughan [Tue, 24 Apr 2001 23:22:35 +0000 (23:22 +0000)] 
* libtool.m4, ltmain.in, libltdl/configure.in,
tests/quote.test:  Remove stale references to ltconfig.

24 years ago* ltdl.m4 (AC_C_INLINE): No longer required.
Gary V. Vaughan [Tue, 24 Apr 2001 22:53:48 +0000 (22:53 +0000)] 
* ltdl.m4 (AC_C_INLINE): No longer required.
* libltdl/ltdl.c (strdup, strcmp, strchr, strrchr, memcpy, trim,
free_vars):  Revoke inline keyword from declarations.  `static
inline' is not very portable, and in addition Unixware 7.1.1's
compiler says you can't access static variables from inline
functions.
Reported by Peter Eisentraut  <peter_e@gmx.net>

24 years ago* libtool.m4: Handle case where /bin/nm -p outputs multiple
Albert Chin-A-Young [Tue, 24 Apr 2001 21:21:39 +0000 (21:21 +0000)] 
* libtool.m4: Handle case where /bin/nm -p outputs multiple
symbol types (like under HP-UX 11.00).

24 years ago* TODO: describe problems with libltdl
Thomas Tanner [Tue, 24 Apr 2001 20:30:21 +0000 (20:30 +0000)] 
* TODO: describe problems with libltdl

* ltmain.in (ILD): tidy up, add comments, remove dead code,
  merge duplicate code

* ltmain.in (ILD): don't touch newdependency_libs after scan or
  dlopen pass

* ltmain.in (ILD): don't dlpreopen dependency_libs of a dlopened
  module (remove absolutely wrong quick hack)

* ltmain.in (ILD): remove wrong comments about duplicate removal

* ltmain.in (ILD): build a static-only module if it has
  static libraries in its dependencies (so that libltdl can
  safely load dependency_libs)

* ltmain.in (argument parsing): prefix comparsions of -l args with X,
  replace -lc with `-framework System' _after_ the ILD passes

* ltmain.in (argument parsing): support dl[pre]open
  for both .o and .lo files

* ltmain.in (deplibs_check): use portable test syntax

* ltmain.in (help): document -prefer-[non-]pic flags

* ltmain.in: improve readablity by adding some comments,
  rename uninst_* to notinst_* (more adequate name)

24 years ago* doc/PLATFORMS: More updates from subscribers to
Gary V. Vaughan [Tue, 24 Apr 2001 18:07:31 +0000 (18:07 +0000)] 
* doc/PLATFORMS:  More updates from subscribers to
libtool@gnu.org.

24 years agoFrom Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
Gary V. Vaughan [Tue, 24 Apr 2001 17:13:01 +0000 (17:13 +0000)] 
From Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
* tests/Makefile.am (TESTS_ENVIRONMENT): Make sure the *.test
scripts get the same make that was used in the top level
directory.

24 years ago* doc/PLATFORMS: Updated with more platforms successfully
Gary V. Vaughan [Mon, 23 Apr 2001 21:59:36 +0000 (21:59 +0000)] 
* doc/PLATFORMS:  Updated with more platforms successfully
tested by members of libtool@gnu.org.

24 years ago* doc/PLATFORMS: With this patch, freebsd4.3 passes the test
Peter Eisentraut [Mon, 23 Apr 2001 21:16:38 +0000 (21:16 +0000)] 
* doc/PLATFORMS:  With this patch, freebsd4.3 passes the test
suite.
* libltdl/ltdl.c (lt_dlexit): Quit loop if only resident modules
are left.