]> git.ipfire.org Git - thirdparty/libtool.git/log
thirdparty/libtool.git
23 years ago* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): head -1 -> sed 1q to
Paul Eggert [Mon, 6 May 2002 15:03:29 +0000 (15:03 +0000)] 
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): 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:40 +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.sh: Detect and handle object name conflicts while
Loren James Rittle [Mon, 6 May 2002 13:38:11 +0000 (13:38 +0000)] 
* ltmain.sh: Detect and handle object name conflicts while
piecewise linking a static library.

23 years ago* ltmain.in: Remove convenience libraries from deplibs for Darwin.
Dave Vasilevsky [Thu, 2 May 2002 20:38:11 +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:51 +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 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Use $build_os not $host_os.
Kevin Ryde [Wed, 24 Apr 2002 14:39:31 +0000 (14:39 +0000)] 
* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Use $build_os not $host_os.

23 years ago* doc/libtool.texi (C++ libraries): Finally updated to reflect
Robert Boehne [Fri, 19 Apr 2002 19:22:45 +0000 (19:22 +0000)] 
* doc/libtool.texi (C++ libraries): Finally updated to reflect
Libtool's support for C++.

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

23 years ago* libtool.m4 (LT_AC_PROG_SED): Refactor, removing temporary directory
Robert Boehne [Mon, 8 Apr 2002 00:25:56 +0000 (00:25 +0000)] 
* libtool.m4 (LT_AC_PROG_SED): Refactor, removing temporary directory
and consistent use of the shell variable namespace "lt_ac_".

23 years ago* ltmain.in: Finish the tag matching logic started yesterday and
Robert Boehne [Tue, 2 Apr 2002 16:46:56 +0000 (16:46 +0000)] 
* ltmain.in: Finish the tag matching logic started yesterday and
refactor it a bit.

23 years ago* ltmain.in: Handle the case when no tag is explicitly set, and
Robert Boehne [Mon, 1 Apr 2002 22:49:08 +0000 (22:49 +0000)] 
* ltmain.in: Handle the case when no tag is explicitly set, and
$base_compile has a space in front of $CC, and revert the setting
of tagname checked in on 2002-3-14.

23 years ago* tagdemo/foo.cpp: Use C++ IO to catch problems linking to C++
Robert Boehne [Mon, 1 Apr 2002 21:59:09 +0000 (21:59 +0000)] 
* tagdemo/foo.cpp: Use C++ IO to catch problems linking to C++
runtime libraries.
* tagdemo/main.cpp: Ditto.

23 years ago* TODO: Removed obsolete comments about RMS' package system.
Gary V. Vaughan [Sat, 16 Mar 2002 18:39:42 +0000 (18:39 +0000)] 
* TODO: Removed obsolete comments about RMS' package system.

23 years agoltmain.in: Touch-up to make testsuite pass, and default tagname
Robert Boehne [Thu, 14 Mar 2002 21:43:50 +0000 (21:43 +0000)] 
ltmain.in: Touch-up to make testsuite pass, and default tagname
to CC when it isn't explicitly set.

23 years ago* libtool.m4 (AC_LIBTOOL_PROG_CC_C_O): Albert Chin's gcj fix.
Anthony Green [Thu, 14 Mar 2002 17:40:20 +0000 (17:40 +0000)] 
* libtool.m4 (AC_LIBTOOL_PROG_CC_C_O): Albert Chin's gcj fix.
(AC_LIBTOOL_PROG_COMPILER_PIC): Per Bothner's change for not
using -DPIC with gcj.

23 years agobring a touch of order to the option processing
Bruce Korb [Tue, 12 Mar 2002 02:30:33 +0000 (02:30 +0000)] 
bring a touch of order to the option processing

23 years ago* NEWS: Updated.
Gary V. Vaughan [Sun, 3 Mar 2002 03:19:55 +0000 (03:19 +0000)] 
* NEWS: Updated.
* THANKS: Added Rob Collins and Chuck Wilson for their cygwin
work.

From Robert Collins  <robert.collins@itdomain.com.au>:
* configure.ac (AC_EXEEXT): Needed for DOSish systems.
* libtool.m4 (shlibpath_overrides_runpath) [cygwin]: Set to yes
when compiling with gcc.
(lt_prog_compiler_pic) [cygwin]: No longer needs the -DDLL_EXPORT
hack, so we just say the pic is the default.
(AC_LIBTOOL_PROG_LD_SHLIBS) [cygwin]: Extract symbols from a
library normally.
[cygwin]: Declare C++ compiler characterisics for g++, taking into
account the new auto-import support in cygwin ld.
* ltmain.in (specialdeplibs) [cygwin]: Be careful about
eliminating duplicate -lgcc's from the link line.
[cygwin]: Be smarter about .exe suffixes.
* demo/configure.ac (AC_EXEEXT, AC_LIBTOOL_WIN32_DLL):  Support
DOSish systems properly.
* depdemo/configure.ac (AC_EXEEXT, AC_LIBTOOL_WIN32_DLL):  Ditto.
* demo/Makefile.am (deplibs-check): Allow for .exe suffix.  Use
hell_static instead of hell.static for multi-`.' inhibited OSes.
* tests/demo-exec.test: Ditto.
* tests/demo-inst.test: Ditto.
* demo/foo.h [cygwin]: Sanitize cygwin dll support.
* demo/foo.c (_LIBFOO_COMPILATION_): No longer required.
* demo/hello.c (_LIBFOO_COMPILATION_): Ditto.
* depdemo/Makefile.am (bin_PROGRAMS): Use depdemo_static instead
of depdemo.static for multi-`.' inhibited OSes.
* tests/depdemo-exec.test: Ditto.
* tests/depdemo-inst.test: Ditto.
* mdemo/Makefile.am (bin_PROGRAMS):  Ditto for mdemo.static.
* tests/dryrun.test: Ditto.
* tests/mdemo-exec.test: Ditto.
* tests/mdemo-inst.test: Ditto.
* tests/build-relink.test:  Be careful about possible .exe
suffixes.
* tests/noinst-link.test: Allow for .exe suffix.

23 years agofile Makefile was initially added on branch binary-branch.
Alexandre Oliva [Sat, 2 Mar 2002 20:15:53 +0000 (20:15 +0000)] 
file Makefile was initially added on branch binary-branch.

23 years agoReverted incorrect patch:
Alexandre Oliva [Thu, 7 Feb 2002 19:54:36 +0000 (19:54 +0000)] 
Reverted incorrect patch:
2001-10-24  H.J. Lu  <hjl@gnu.org>
* ltmain.sh: Allow link against an archive when building a
shared library.
* libtool.m4 (lt_cv_deplibs_check_method): Always use
file_magic for Linux ELF.

23 years ago* libtool.m4 (LT_AC_PROG_SED): Removed a mysterious newline.
Robert Boehne [Wed, 30 Jan 2002 16:39:24 +0000 (16:39 +0000)] 
* libtool.m4 (LT_AC_PROG_SED): Removed a mysterious newline.

23 years ago* libtool.m4 (LT_AC_PROG_SED): New macro tests sed for truncation of
Robert Boehne [Tue, 29 Jan 2002 22:58:35 +0000 (22:58 +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 ago* configure.ac: Bumped version to 1.4e.
Volker Christian [Fri, 11 Jan 2002 01:24:31 +0000 (01:24 +0000)] 
* configure.ac: Bumped version to 1.4e.

23 years ago* libltdl/ltdl.c (find_handle_callback): treat the result of a call
Volker Christian [Fri, 11 Jan 2002 00:25:19 +0000 (00:25 +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 ago* NEWS: Fixed wrong path for texinfo.tex. release-1-4d
Robert Boehne [Mon, 7 Jan 2002 22:09:42 +0000 (22:09 +0000)] 
* NEWS: Fixed wrong path for texinfo.tex.
* configure.ac: Bumped version to 1.4e.

GNU libtool 1.4d was released.

* configure.ac: Bumped version to 1.4d.
* NEWS: updated.
* config.guess, config.sub, texinfo.tex:  Synchronised from
ftp.gnu.org.

23 years ago* ltmain.in: Replace all test "-a"s by "&& test"
Jens Petersen [Thu, 6 Dec 2001 19:34:36 +0000 (19:34 +0000)] 
* ltmain.in: Replace all test "-a"s by "&& test"
for portability.

23 years ago* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Change the
Robert Boehne [Wed, 28 Nov 2001 23:20:53 +0000 (23:20 +0000)] 
* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Change the
factor of saftey as 3/4 of the result was not low enough.

23 years ago* libtoolize.in: The test for whether AC_PROG_LIBTOOL is defined
Gary V. Vaughan [Wed, 28 Nov 2001 00:23:58 +0000 (00:23 +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:10:22 +0000 (23:10 +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 agoWith help from Michael Matz <matz@kde.org>:
Robert Boehne [Tue, 27 Nov 2001 19:31:22 +0000 (19:31 +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* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Send "test"
Kevin Ryde [Tue, 27 Nov 2001 18:49:47 +0000 (18:49 +0000)] 
* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Send "test"
warnings to /dev/null, helps FreeBSD and maybe others.

23 years ago* libtool.m4: quote LTCC because autoconf AC_PROG_CC_STDC
Albert Chin-A-Young [Thu, 15 Nov 2001 01:15:25 +0000 (01:15 +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 01:01:13 +0000 (01:01 +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:59:07 +0000 (00:59 +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* configure.ac (pkgdatadir): Move the invocation of AC_INIT_AUTOMAKE
Raja R Harinath [Tue, 30 Oct 2001 23:35:59 +0000 (23:35 +0000)] 
* configure.ac (pkgdatadir): Move the invocation of AC_INIT_AUTOMAKE
before the use of $PACKAGE in $pkgdatadir.
Reported by Bob Friesenhahn <bfreisen@simple.dallas.tx.us>

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

23 years ago* ltdl.c: change some types to size_t from int because
Albert Chin-A-Young [Sun, 28 Oct 2001 02:35:22 +0000 (02:35 +0000)] 
* ltdl.c: change some types to size_t from int because
strlen() returns size_t. argz_len changed to size_t in
foreach_dirinpath() 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* libtool.m4 (_LT_AC_TAGCONFIG): Cray sed does not allow character
Gary V. Vaughan [Sun, 28 Oct 2001 00:10:01 +0000 (00:10 +0000)] 
* libtool.m4 (_LT_AC_TAGCONFIG): Cray sed does not allow character
sets to contain the separator character.
Reported by Kevin Ryde <user42@zip.com.au>

23 years ago* ltdl.m4 (AC_WITH_LTDL): New macro to add `--with-included-ltdl'
Gary V. Vaughan [Sun, 28 Oct 2001 00:00:00 +0000 (00:00 +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.

24 years ago*libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Remove a stray ' quote.
Kevin Ryde [Wed, 24 Oct 2001 14:36:57 +0000 (14:36 +0000)] 
*libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Remove a stray ' quote.

24 years ago* ltmain.sh: Allow link against an archive when building a
H.J. Lu [Wed, 24 Oct 2001 14:30:22 +0000 (14:30 +0000)] 
* ltmain.sh: Allow link against an archive when building a
shared library.
* libtool.m4 (lt_cv_deplibs_check_method): Always use
file_magic for Linux ELF.

24 years ago* ltdl.m4: Changed "underscode to underscore".
Guido Draheim [Fri, 12 Oct 2001 23:32:13 +0000 (23:32 +0000)] 
* ltdl.m4: Changed "underscode to underscore".

24 years ago* configure.ac: General modernisation and cleanup.
Gary V. Vaughan [Sat, 6 Oct 2001 15:35:17 +0000 (15:35 +0000)] 
* configure.ac: General modernisation and cleanup.
* cdemo/configure.ac: Ditto.
* demo/configure.ac: Ditto.
* depdemo/configrue.ac: Ditto.
* ltdl/configure.ac: Ditto.
* ltdldemo/configure.ac: Ditto.
* mdemo/configure.ac: Ditto.
* pdemo/configure.ac: Ditto.
* tagdemo/configure.ac: Ditto.

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

24 years ago* libtool.m4 (AC_LIBLTDL_CONVENIENCE): s/INCLTDL/LTDLINCL/ for
Gary V. Vaughan [Sun, 30 Sep 2001 10:20:29 +0000 (10:20 +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.

24 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:43:43 +0000 (16:43 +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.

24 years ago* libtool.m4 (_LT_AC_FILE_LTDLL_C): Be carefule that the start
Gary V. Vaughan [Sat, 22 Sep 2001 14:35:03 +0000 (14:35 +0000)] 
* libtool.m4 (_LT_AC_FILE_LTDLL_C): Be carefule that the start
marker searched for by sed must start in column 0.
(_LT_AC_FILE_IMPGEN_C): Ditto.
Reported by Tor Lillqvist <tml@iki.fi>

24 years ago* libtool.m4 [mingw* cygwin*]: Small improvement for mingw-hosted
Tor Lillqvist [Sat, 22 Sep 2001 14:20:17 +0000 (14:20 +0000)] 
* libtool.m4 [mingw* cygwin*]: Small improvement for mingw-hosted
tool support (while still running libtool on cygwin). In that case
PATH_SEPARATOR is ':', but gcc -print-search-dirs still prints its
search path with ';' as separator.
(AC_LIBTOOL_RC, AC_LIBTOOL_LANG_RC_CONFIG): Add support for .rc
files (Windows resource files), compiled by the resource compiler
(windres in mingw) to .o files.
(AC_PROG_NM): Minor bug fix for $PATH elements with spaces in
them.
* configure.ac: Use LT_AC_PROG_RC.
* ltmain.in: Check for .rc files.
* NEWS: Updated.

24 years ago...forgot the other `case $base_compile' case in the submitted patch
Tor Lillqvist [Sat, 22 Sep 2001 13:39:21 +0000 (13:39 +0000)] 
...forgot the other `case $base_compile' case in the submitted patch

24 years ago* ltmain.in: Add a space to $base_compile in the case statement,
Tor Lillqvist [Sat, 22 Sep 2001 13:36:32 +0000 (13:36 +0000)] 
* ltmain.in: Add a space to $base_compile in the case statement,
as the case labels checks for trailing spaces, but there aren't
necessarily in $base_compile.

24 years ago* libtool.m4: When setting archive_cmds for CC, don't
Albert Chin-A-Young [Sat, 22 Sep 2001 13:24:21 +0000 (13:24 +0000)] 
* libtool.m4: When setting archive_cmds for CC, don't
test for $GXX but for $GCC on HP-UX. Indentation fixes.

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

24 years ago* libtool.m4 (archive_cmds) [darwin1.[0-2]]: Darwin uses zsh-3.1.6
Gary V. Vaughan [Fri, 21 Sep 2001 18:22:08 +0000 (18:22 +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>

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

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

24 years ago* libtool.m4: Don't include main() when testing for command to
Albert Chin [Fri, 21 Sep 2001 03:06:40 +0000 (03:06 +0000)] 
* libtool.m4: Don't include main() when testing for command to
parse $NM output because some C++ compilers don't allow you to
take the address of main (e.g. HP-UX aCC).

24 years ago* libtool.m4: Some uses of $GXX were unquoted, but GXX is either
Albert Chin [Fri, 21 Sep 2001 02:40:47 +0000 (02:40 +0000)] 
* libtool.m4: Some uses of $GXX were unquoted, but GXX is either
NULL or yes.  Use "$GXX".

24 years agotypo
Assar Westerlund [Sun, 16 Sep 2001 15:48:23 +0000 (15:48 +0000)] 
typo

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

24 years ago* ltdl.m4 (AC_CHECK_HEADERS): Check for assert.h.
Gary V. Vaughan [Thu, 13 Sep 2001 19:43:58 +0000 (19:43 +0000)] 
* ltdl.m4 (AC_CHECK_HEADERS): Check for assert.h.
* libltdl/ltdl.c:  If not, disable assertions manually.

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

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

24 years ago* libtool.m4: No need to undefine([symbols]), proper quotation is
Gary V. Vaughan [Tue, 11 Sep 2001 00:22:48 +0000 (00:22 +0000)] 
* libtool.m4: No need to undefine([symbols]), proper quotation is
enough.

24 years ago* libtool.m4: CVS Autoconf guarantees a decent default IFS, so
Gary V. Vaughan [Mon, 10 Sep 2001 23:33:26 +0000 (23:33 +0000)] 
* libtool.m4: CVS Autoconf guarantees a decent default IFS, so
there is no need for us to preset it anymore.
Be careful not to set IFS="${IFS}$PATH_SEPARATOR" for PATH
splitting, otherwise spaces in directory names will be lost.
Use $PATH_SEPARATOR... don't rely on $ac_path_separator, which was
an autoconf internal until just now, when it disappeared!
* ltmain.in: Default IFS once, at the start.
Reported by Akim Demaille <akim@epita.fr>

24 years ago* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Missed an instance of
Brad [Mon, 10 Sep 2001 22:41:02 +0000 (22:41 +0000)] 
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Missed an instance of
Autoconf square bracket quoting style normalisation.

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

24 years agoFrom Brad <brad@comstyle.com>:
Gary V. Vaughan [Mon, 10 Sep 2001 22:27:23 +0000 (22:27 +0000)] 
From Brad <brad@comstyle.com>:
* doc/libtool.texi: Remove obsolete references to ltconfig.
* tests/quote.test: s/ltconfig/$0/

24 years ago* libtool.m4: Use Autoconf square bracket quoting style
Gary V. Vaughan [Sun, 9 Sep 2001 17:11:24 +0000 (17:11 +0000)] 
* libtool.m4: Use Autoconf square bracket quoting style
consistently throughout.

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

24 years ago* libtool.m4 (archive_cmds, archive_expsym_cmds) [solaris*]: Revert
Gary V. Vaughan [Sat, 8 Sep 2001 03:01:36 +0000 (03:01 +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.

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

24 years ago* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [solaris*]: Typo. s/GXX/GCC/.
Gary V. Vaughan [Thu, 6 Sep 2001 21:58:14 +0000 (21:58 +0000)] 
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [solaris*]: Typo. s/GXX/GCC/.

24 years ago* libtool.m4 (archive_cmds, archive_expsym_cmds) [solaris*]: Changing
Gary V. Vaughan [Thu, 6 Sep 2001 21:54:16 +0000 (21:54 +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!

24 years agoFrom Michael Pruett <mpruett@engr.sgi.com>:
Gary V. Vaughan [Thu, 6 Sep 2001 21:23:59 +0000 (21:23 +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.

24 years agoFrom Daniel Johnson <danielj7@mac.com>:
Gary V. Vaughan [Thu, 6 Sep 2001 21:17:28 +0000 (21:17 +0000)] 
From Daniel Johnson <danielj7@mac.com>:
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [darwin*]: Move from GNU
ld section to non-GNU ld section.

24 years ago* pdemo/Makefile.am (helldl): Automake 1.4 can't find the target
Robert Boehne [Wed, 5 Sep 2001 19:52:17 +0000 (19:52 +0000)] 
* pdemo/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!

24 years ago* demo/Makefile.am (helldl): Automake 1.4 can't find the target
Gary V. Vaughan [Mon, 3 Sep 2001 22:11:02 +0000 (22:11 +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!

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

24 years agoFrom Marius Vollmer <mvo@zagadka.ping.de>:
Gary V. Vaughan [Mon, 3 Sep 2001 00:22:13 +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.

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

24 years agoFrom Albert Chin <china@thewrittenword.com>:
Gary V. Vaughan [Sun, 2 Sep 2001 23:00:44 +0000 (23:00 +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.

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

24 years agoBased on a patch from Marius Vollmer <mvo@zagadka.ping.de>:
Gary V. Vaughan [Sun, 2 Sep 2001 17:38:55 +0000 (17:38 +0000)] 
Based on a patch from Marius Vollmer <mvo@zagadka.ping.de>:
* NEWS: updated.
* ltdl.m4 (AC_LIB_LTDL): Check for unistd.h.
* 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.

24 years ago* demo/Makefile.am (helldl$(EXEEXT)): Automake-1.5 made me change
Gary V. Vaughan [Sun, 2 Sep 2001 16:58:42 +0000 (16:58 +0000)] 
* demo/Makefile.am (helldl$(EXEEXT)): Automake-1.5 made me change
this from just `helldl'.

24 years ago* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) Fixed a problem
Robert Boehne [Fri, 31 Aug 2001 16:59:56 +0000 (16:59 +0000)] 
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) Fixed a problem
with export_symbols_cmds not being set for CXX tags, and
not being properly set for any tag under AIX/Power.

24 years ago* libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG): Corrected and improved
Ossama Othman [Sun, 19 Aug 2001 20:20:25 +0000 (20:20 +0000)] 
* libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG): Corrected and improved
  error message that is displayed when there was a problem
  compiling the C++ test program.  It still mentioned the now
  non-existent `ltcf-cxx.sh' file.

* doc/libtool.texi (LTDL_SET_PRELOADED_SYMBOLS): Removed
  parentheses at end of starting "defmac" line, as pointed out by
  makeinfo.

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

24 years ago* libltdl/ltdl.c (argz_create_sep): Don't forget to include the
Gary V. Vaughan [Thu, 16 Aug 2001 00:48:52 +0000 (00:48 +0000)] 
* 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.

24 years ago* libltdl/ltdl.c (lt_dlhandle_next): Now we can loop through all
Gary V. Vaughan [Wed, 15 Aug 2001 00:23:22 +0000 (00:23 +0000)] 
* libltdl/ltdl.c (lt_dlhandle_next): Now we can loop through all
loaded module handles as originally intended.

24 years ago* libltdl/ltdl.c (lt_dlseterror): Oops. This never worked
Gary V. Vaughan [Wed, 15 Aug 2001 00:01:46 +0000 (00:01 +0000)] 
* libltdl/ltdl.c (lt_dlseterror): Oops.  This never worked
either, due to a pair of typos.  Now fixed.

24 years ago* libltdl/ltdl.c (N_ELEMENTS): Deleted. How come nobody noticed
Gary V. Vaughan [Tue, 14 Aug 2001 23:28:40 +0000 (23:28 +0000)] 
* 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.

24 years ago* libltdl/ltdl.c (lt_dlcaller_register): Caller ids are allocated
Gary V. Vaughan [Tue, 14 Aug 2001 22:45:21 +0000 (22:45 +0000)] 
* 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.

24 years ago* ltmain.in (exec_cmd): Fix quoting in execute mode so that the
Gary V. Vaughan [Mon, 13 Aug 2001 23:11:48 +0000 (23:11 +0000)] 
* ltmain.in (exec_cmd): Fix quoting in execute mode so that the
double quotes added by libtool (to prevent lossage with embedded
spaces in filenames etc.) are not interpreted as literals by the
shell.

24 years ago* libltdl/ltdl.c (find_file_callback): Fix a multiple free()
Gary V. Vaughan [Mon, 13 Aug 2001 22:53:39 +0000 (22:53 +0000)] 
* libltdl/ltdl.c (find_file_callback): Fix a multiple free()
bug.
(tryall_dlopen_module): Remove some unused variables.

24 years ago* libltdl/ltdl.c (lt_dlinsertsearchdir): Calculate the address
Gary V. Vaughan [Mon, 13 Aug 2001 19:51:34 +0000 (19:51 +0000)] 
* libltdl/ltdl.c (lt_dlinsertsearchdir): Calculate the address
of the end of user_search_path correctly.

24 years ago* libltdl/ltdl.c (rpl_argz_stringify): New fallback implementation.
Gary V. Vaughan [Mon, 13 Aug 2001 17:25:49 +0000 (17:25 +0000)] 
* 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.
* NEWS: Updated,

24 years agoltmain.in [irix*]: $with_gcc is either "yes" or "" (empty string)
Gary V. Vaughan [Tue, 7 Aug 2001 20:20:14 +0000 (20:20 +0000)] 
ltmain.in [irix*]: $with_gcc is either "yes" or "" (empty string)
with current autoconf, so we need to be robust to that when testing
it,

24 years agoFrom Brad <brad@comstyle.com>:
Gary V. Vaughan [Mon, 6 Aug 2001 17:52:37 +0000 (17:52 +0000)] 
From Brad <brad@comstyle.com>:
libtool.m4 (deplibs_check_method) [aix*]: Removed redundant setting
of this variable.

24 years ago* libltdl/ltdl.c (load_deplibs): Insert missing 1st argument to
Gary V. Vaughan [Sun, 5 Aug 2001 16:01:56 +0000 (16:01 +0000)] 
* libltdl/ltdl.c (load_deplibs): Insert missing 1st argument to
LT_EMALLOC.

24 years ago* ltdl.m4: Canonicalize descriptive text used with
Tim Van Holder [Sun, 5 Aug 2001 12:29:40 +0000 (12:29 +0000)] 
* ltdl.m4: Canonicalize descriptive text used with
AC_DEFINE.

24 years ago* libtool.m4 (_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR): Remove.
Tim Van Holder [Sun, 5 Aug 2001 12:20:45 +0000 (12:20 +0000)] 
* libtool.m4 (_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR): Remove.
(_LT_AC_PROG_ECHO_BACKSLASH): Use $ac_path_separator
instead of $PATH_SEPARATOR.
(AC_LIBTOOL_SYS_DYNAMIC_LINKER): Ditto.
(_LT_AC_TAGCONFIG): Ditto.
(AC_ENABLE_SHARED): Ditto.
(AC_ENABLE_STATIC): Ditto.
(AC_ENABLE_FAST_INSTALL): Ditto.
(AC_PATH_TOOL_PREFIX): Ditto.
(AC_PATH_MAGIC): Ditto.
(AC_PROG_LD): Ditto.
(AC_PROG_NM): Ditto.
* ltdl.m4 (AC_LTDL_SYSSEARCHPATH): Ditto.