]> git.ipfire.org Git - thirdparty/libtool.git/log
thirdparty/libtool.git
22 years agoLast checkins for 1.4.3 release. branch-1-4
Robert Boehne [Wed, 23 Oct 2002 23:54:00 +0000 (23:54 +0000)] 
Last checkins for 1.4.3 release.

22 years agoGNU libtool 1.4.3 was released. release-1-4-3
Robert Boehne [Wed, 23 Oct 2002 02:54:37 +0000 (02:54 +0000)] 
GNU libtool 1.4.3 was released.

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

22 years ago* libltdl/ltdl.c: Init char * to NULL, not 0. And, for
Albert Chin-A-Young [Wed, 23 Oct 2002 01:39:55 +0000 (01:39 +0000)] 
* libltdl/ltdl.c: Init char * to NULL, not 0. And, for
some char * values, set *[var] = 0 to *[var] = '0'.

22 years ago* libtool.m4: $linker_flag -> $compiler_flag for OpenBSD
Brad Smith [Wed, 23 Oct 2002 00:55:33 +0000 (00:55 +0000)] 
* libtool.m4: $linker_flag -> $compiler_flag for OpenBSD
archive_cmds entries using $CC.

22 years ago* ltdl.m4 (AC_LIB_LTDL, AC_LTDL_ENABLE_INSTALL,
Alexandre Duret-Lutz [Wed, 23 Oct 2002 00:34:55 +0000 (00:34 +0000)] 
* ltdl.m4 (AC_LIB_LTDL, AC_LTDL_ENABLE_INSTALL,
AC_LTDL_SYS_DLOPEN_DEPLIBS, AC_LTDL_SHLIBEXT, AC_LTDL_SHLIBPATH,
AC_LTDL_SYSSEARCHPATH, AC_LTDL_OBJDIR, AC_LTDL_DLPREOPEN,
AC_LTDL_DLLIB, AC_LTDL_SYMBOL_USCORE, AC_LTDL_DLSYM_USCORE): Quote
macro name in definition.

22 years ago* libtool.m4: When a module is built for AIX, the 'lib'
Albert Chin-A-Young [Wed, 23 Oct 2002 00:30:49 +0000 (00:30 +0000)] 
* libtool.m4: When a module is built for AIX, the 'lib'
prefix isn't needed, neither is the version. AIX dlopen
will honor the RPATH in a library.

22 years ago* libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): Honor
Alexandre Duret-Lutz [Sun, 20 Oct 2002 20:52:53 +0000 (20:52 +0000)] 
* libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): Honor
ac_exeext.

22 years ago* libtool.m4: If ld is being used on IRIX to embed the
Albert Chin-A-Young [Mon, 14 Oct 2002 14:38:04 +0000 (14:38 +0000)] 
* libtool.m4: If ld is being used on IRIX to embed the
runtmie path, use -rpath, not -Wl,-rpath. Embed the runtime
path into libraries for AIX (supported on AIX 4.3.2+).
Embed the runtime path into Tru64 libraries, even though it
doesn't make much sense unless using Tru64 UNIX 5.1 with a
specific patch and >5.1.

22 years ago* libtool.m4 (aix): When LDFLAGS="-Wl,-brtl,[other options]",
Albert Chin-A-Young [Fri, 11 Oct 2002 16:06:07 +0000 (16:06 +0000)] 
* libtool.m4 (aix): When LDFLAGS="-Wl,-brtl,[other options]",
the "-brtl" special-case code for AIX never gets triggered
because were are being too specific about how we search for
"-brtl".  Use case statement to avoid this. Remove extraneous
semicolon.
* ltmain.in: Recognize the IBM xlc compiler family.

22 years ago* libtool.m4 (darwin): Add -install_name to the link line only
Christoph Egger [Fri, 11 Oct 2002 15:04:05 +0000 (15:04 +0000)] 
* libtool.m4 (darwin): Add -install_name to the link line only
when -dynamiclib is specified for a module.
* ltmain.in (darwin): Use -bind_at_load when linking shared
libraries.

22 years ago* libtool.m4: Custom $symcode for Tru64 UNIX to catch 'Q',
Albert Chin-A-Young [Tue, 10 Sep 2002 13:50:54 +0000 (13:50 +0000)] 
* libtool.m4: Custom $symcode for Tru64 UNIX to catch 'Q',
read-only constants.

22 years ago* libtool.m4 (osf[345]): Append $major to soname_spec.
Rainer Orth [Mon, 9 Sep 2002 18:27:14 +0000 (18:27 +0000)] 
* libtool.m4 (osf[345]): Append $major to soname_spec.
Reflect this in library_names_spec.
* ltmain.in (osf): Prefix $major with '.' for use as extension.

23 years ago* libtool.m4 (sys_lib_search_path_spec): Remove extraneous '='
Gary V. Vaughan [Wed, 26 Jun 2002 07:25:14 +0000 (07:25 +0000)] 
* libtool.m4 (sys_lib_search_path_spec):  Remove extraneous '='
character which appears in gcc 3.1 -print-search-dirs output.

23 years ago* ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): HP/UX needs
Albert Chin-A-Young [Sun, 23 Jun 2002 22:48:38 +0000 (22:48 +0000)] 
* ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): HP/UX needs
libltdl_cv_sys_dlopen_deplibs set to yes.

23 years ago* libltdl/ltdl.c (argz_insert): Actually, BEFORE can be NULL
Gary V. Vaughan [Sun, 23 Jun 2002 21:47:20 +0000 (21:47 +0000)] 
* libltdl/ltdl.c (argz_insert): Actually, BEFORE can be NULL
when *PARGZ_LEN is non-NULL, so the assertion to the contrary was
bogus.
Reported by Bob Friesenhahn <bfreisen@simple.dallas.tx.us>
and Albert Chin-A-Young <china@thewrittenword.com>

23 years ago* libltdl/ltdl.c (foreach_dirinpath): Ensure that filename is '0'
Gary V. Vaughan [Sat, 22 Jun 2002 14:55:44 +0000 (14:55 +0000)] 
* libltdl/ltdl.c (foreach_dirinpath): Ensure that filename is '0'
terminated by all code paths.
Reported by Lutz Müller <lutz@users.sourceforge.net>

23 years agoFrom Kevin Ryde <user42@zip.com.au>:
Gary V. Vaughan [Thu, 20 Jun 2002 07:06:29 +0000 (07:06 +0000)] 
From Kevin Ryde  <user42@zip.com.au>:
* doc/libtool.texi (Platform quirks): s/dependan/dependen/
* TODO: Ditto.

23 years ago* ltmain.in (irix, nonstopux): Set major before use.
Rainer Orth [Thu, 13 Jun 2002 11:11:52 +0000 (11:11 +0000)] 
* ltmain.in (irix, nonstopux): Set major before use.

23 years ago* libltdl/ltdl.c (try_dlopen): Don't return bogus handle to user
Daniel Kobras [Tue, 11 Jun 2002 15:58:53 +0000 (15:58 +0000)] 
* libltdl/ltdl.c (try_dlopen): Don't return bogus handle to user
  if tryall_dlopen() fails.

23 years ago* libtool.m4 (_LT_AC_LTCONFIG_HACK): head -1 -> sed 1q to
Paul Eggert [Mon, 6 May 2002 15:02:58 +0000 (15:02 +0000)] 
* libtool.m4 (_LT_AC_LTCONFIG_HACK): head -1 -> sed 1q to
port to POSIX 1003.1-2001 hosts, like textutils 2.0.21 with
_POSIX2_VERSION=200112.

23 years ago* ltmain.in: Don't assume that "sort +2" works, as POSIX
Paul Eggert [Mon, 6 May 2002 14:51:24 +0000 (14:51 +0000)] 
* ltmain.in: Don't assume that "sort +2" works, as POSIX
1003.1-2001 says that "sort +2" is supposed to sort the file
named "+2".  An example host that behaves like this is
textutils 2.0.21 with _POSIX2_VERSION=200112.

23 years ago* ltmain.in: Remove convenience libraries from deplibs for Darwin.
Dave Vasilevsky [Thu, 2 May 2002 20:38:30 +0000 (20:38 +0000)] 
* ltmain.in: Remove convenience libraries from deplibs for Darwin.

23 years ago* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Modify archive_expsym_cmds
Fritz Elfert [Thu, 2 May 2002 14:22:52 +0000 (14:22 +0000)] 
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Modify archive_expsym_cmds
to catch properly handle dll alias symbols.

23 years ago* libtool.m4: Update support for Fujistu-Siemens Computers (FSC).
Jean-Frederic Clere [Sun, 14 Apr 2002 21:34:02 +0000 (21:34 +0000)] 
* libtool.m4: Update support for Fujistu-Siemens Computers (FSC).
* ltmain.in: Add support for EBCDIC based systems.

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.

23 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.

23 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.

23 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.

23 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.