]> git.ipfire.org Git - thirdparty/libtool.git/log
thirdparty/libtool.git
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.

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

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

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

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

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

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

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

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

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

23 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

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

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

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

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

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

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

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

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

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

23 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

24 years agoFrom Brad <brad@comstyle.com>:
Gary V. Vaughan [Sun, 5 Aug 2001 12:03:06 +0000 (12:03 +0000)] 
From Brad <brad@comstyle.com>:
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [openbsd]:  OpenBSD
can build modules without a `lib' prefix and version number.
Move the deplibs check code from here...
(AC_DEPLIBS_CHECK_METHOD): ...to here.

24 years ago* libtool.m4 [osf3*, osf4*, osf5*]: Tru64 *can* build modules
Tim Mooney [Sun, 5 Aug 2001 11:33:30 +0000 (11:33 +0000)] 
* libtool.m4 [osf3*, osf4*, osf5*]: Tru64 *can* build modules
without a `lib' prefix to the module name.

24 years agoFrom Guido Draheim <Guido.Draheim@tek.com>:
Gary V. Vaughan [Sun, 5 Aug 2001 11:29:09 +0000 (11:29 +0000)] 
From Guido Draheim <Guido.Draheim@tek.com>:
* ltmain.in: Display better and different error messages when
library linkage fails in various ways.

24 years ago* libtool.m4 (_LT_AC_SYS_LIBPATH_AIX): Add newline after
Albert Chin-A-Young [Sun, 5 Aug 2001 11:13:33 +0000 (11:13 +0000)] 
* libtool.m4 (_LT_AC_SYS_LIBPATH_AIX): Add newline after
terminating '}' grouping character. Change '[0-9][0-9]'
to '0' as we've already matched it.

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

24 years ago* libltdl/ltdl.c: Fixed several careless mistakes in the
Gary V. Vaughan [Sun, 5 Aug 2001 10:57:03 +0000 (10:57 +0000)] 
* libltdl/ltdl.c:  Fixed several careless mistakes in the
foreach_dirinpath support functions.
(foreach_dirinpath): Walk path elements with the argz API.

24 years agoFrom Sedi Master Albert Chin <china@thewrittenword.com>:
Gary V. Vaughan [Sat, 4 Aug 2001 19:57:09 +0000 (19:57 +0000)] 
From Sedi Master Albert Chin <china@thewrittenword.com>:
* libtool.m4 (_LT_AC_SYS_LIBPATH_AIX): Replace the awk invocation
with an equivalent bit of sed wizardry.

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

24 years ago* bootstrap: s/ltdldemo // -- This demo soesn't work properly,
Gary V. Vaughan [Fri, 3 Aug 2001 19:18:28 +0000 (19:18 +0000)] 
* bootstrap:  s/ltdldemo // -- This demo soesn't work properly,
so I haven't committed it yet.

24 years ago* libtool.m4 (AC_LIBTOOL_SETUP): Require Autoconf-2.50 via the
Ossama Othman [Fri, 3 Aug 2001 18:30:09 +0000 (18:30 +0000)] 
* libtool.m4 (AC_LIBTOOL_SETUP): Require Autoconf-2.50 via the
AC_PREREQ autoconf macro since the new libtool macros utilize
macros from that version of Autoconf.

24 years ago* ltdl.m4: Bump serial number.
Gary V. Vaughan [Wed, 1 Aug 2001 06:50:16 +0000 (06:50 +0000)] 
* ltdl.m4: Bump serial number.
General reformat and tify up in line with Autoconf-2.50 support.
(AC_LTDL_FUNC_ARGZ): Test for system implementations of a
handful of argz API calls, the error_t type, and the argz.h
header.
* libltdl/configure.ac (AM_INIT_AUTOMAKE): Bump version number.
* libltdl/ltdl.c (rpl_argz_append, rpl_argz_create_sep.
rpl_argz_insert, rpl_rgz_next):  Fallback implementations of
the similarly named functions for machines that don;t use glibc.
(lt_dlrealloc):  New memory function pointer that can be set by
the client.  Defaults to rpl_realloc, which in turn uses only
lt_dlmalloc and lt_dlfree.
(LT_EMALLOC, LT_EREALLOC): Set internal out-of-memory error
inside the functions called by these new macros.  Simplified all
callers by removing explicit client error reporting.
(memmove):  Fallback implementation of overlap safe memory copy
function.
(tryall_dlopen):  Factorized common code into...
(tryall_dlopen_module): ...this new helper function.
(canonicalize_path):  Changed function signature to return success
or failure.  Updated all callers.
(foreachfile_callback):  Make use of argz API.
(LT_DLSTRLEN): Moved from here...
* libltdl/ltdl.h (LT_STRLEN): ...to here.  Updated all callers.
(lt_dlrealloc):  Declare new memory management handle.

24 years ago* libtool.m4 (mingw*) Revert the previous change as it was
Robert Boehne [Tue, 31 Jul 2001 22:57:34 +0000 (22:57 +0000)] 
* libtool.m4 (mingw*) Revert the previous change as it was
applied by mistake.

24 years ago* libtool.m4 (mingw*) sys_lib_search_path_spec:
Guido Draheim [Tue, 31 Jul 2001 20:35:10 +0000 (20:35 +0000)] 
* libtool.m4 (mingw*) sys_lib_search_path_spec:
Sets the proper path separator for cross-compiling.

24 years ago* libtool.m4 (ia64-*-hpux*) Add support for ia64*-*-hpux* platform.
Steve Ellcey [Tue, 31 Jul 2001 18:49:43 +0000 (18:49 +0000)] 
* libtool.m4 (ia64-*-hpux*) Add support for ia64*-*-hpux* platform.

24 years ago* libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC) [aix*]: Fixed an
Robert Boehne [Tue, 31 Jul 2001 18:48:11 +0000 (18:48 +0000)] 
* libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC) [aix*]: Fixed an
incorrect resetting of lt_prog_compiler_static when using gcc
under AIX Power.

24 years ago* bootstrap: Remove generated files (incase they are links) before
Gary V. Vaughan [Tue, 31 Jul 2001 02:30:31 +0000 (02:30 +0000)] 
* bootstrap: Remove generated files (incase they are links) before
rerunning the autotools to regenerate them.

24 years ago* libtool.m4 (AC_LIBTOOL_SETUP): Use Autoconf-2.50 era
Gary V. Vaughan [Mon, 30 Jul 2001 19:10:36 +0000 (19:10 +0000)] 
* libtool.m4 (AC_LIBTOOL_SETUP): Use Autoconf-2.50 era
quadrigraphs and AC_HELP_STRING to bring AC_ARG_WITH/ENABLE
macros up to date.
(_LT_AC_LOCK): Ditto.
(_LT_AC_TAGCONFIG): Ditto.
(AC_PROG_LD): Ditto.
(AC_ENABLE_SHARED): Ditto.  And eliminate the last remaining
changequote invocations.
(AC_ENABLE_STATIC): Ditto.  And Ditto.
(AC_ENABLE_FAST_INSTALL):  Ditto.  And Ditto.
* ltdl.m4 (AC_LTDL_ENABLE_INSTALL): Use Autoconf-2.50 era
quadrigraphs and AC_HELP_STRING to bring AC_ARG_ENABLE
macro up to date.
* NEWS: Updated.

24 years ago* libtool.m4 [UnixWare7, OpenUNIX8]: Initial support for
Gary V. Vaughan [Mon, 30 Jul 2001 01:39:33 +0000 (01:39 +0000)] 
* libtool.m4 [UnixWare7, OpenUNIX8]: Initial support for
UnixWare7 and OpenUNIX8.  Accept these identifiers from the
latest config.guess/config.sub as pseudonyms for sysv5uw[78].
* NEWS: Updated.
Reported by Boyd Lynn Gerber <gerberb@zenez.com>

24 years ago* tests/sh.test: Add a new test to enforce X as the fill
Gary V. Vaughan [Sun, 29 Jul 2001 16:35:50 +0000 (16:35 +0000)] 
* tests/sh.test: Add a new test to enforce X as the fill
character in `test "X...'.
Beef up the `test' tests to also check `test -.' and `test ! -.'
phrases for compliance.
* ltmain.in: Fix quoting problems uncovered by the new tests.

24 years ago* tests/sh.test: New test to disallow `test $foo', where
Andrew C. Feren [Sun, 29 Jul 2001 16:20:45 +0000 (16:20 +0000)] 
* tests/sh.test:  New test to disallow `test $foo', where
`test "$foo"' is much safer.
* ltmain.in: Fix quoting problems uncovered by the new test.

24 years ago* libtool.m4 (lt_cv_sys_global_symbol_to_cdecl): Change it from
Steve Ellcey [Sun, 29 Jul 2001 14:09:03 +0000 (14:09 +0000)] 
* libtool.m4 (lt_cv_sys_global_symbol_to_cdecl):  Change it from
"extern char" to "extern int" so that GCC 3.0 won't complain and
refuse to compile programs containing "extern char main()".

24 years agoFrom Guido Draheim <Guido.Draheim@tek.com>:
Gary V. Vaughan [Sun, 29 Jul 2001 12:13:48 +0000 (12:13 +0000)] 
From Guido Draheim <Guido.Draheim@tek.com>:
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [mingw]: Support
cross compilation to mingw by allowing `:' or ';' as a path
separator.
* NEWS: Updated.

24 years ago* libtool.m4 (lt_cv_deplibs_check_method): Use pass_all
NIIBE Yutaka [Fri, 27 Jul 2001 16:28:06 +0000 (16:28 +0000)] 
* libtool.m4 (lt_cv_deplibs_check_method): Use pass_all
for sh*-*-linux* (SuperH) too.

24 years agoFrom Thomas Poindessous <poinde_t@epita.fr>
Ossama Othman [Wed, 25 Jul 2001 23:20:15 +0000 (23:20 +0000)] 
From Thomas Poindessous <poinde_t@epita.fr>
* ltmain.in (pic_mode):  Added missing quotes around shell
variable in "if test" conditional.

From Peter Moulder <pmoulder@longford.csse.monash.edu.au>
* ltmain.in (xform): Add support for pre-processed
(e.g. `*.{i,ii}' sources).

* THANKS:  Added Albert Chin-A-Young.

24 years agoFrom Steve Ellcey <sje@cup.hp.com>:
Gary V. Vaughan [Wed, 25 Jul 2001 02:52:36 +0000 (02:52 +0000)] 
From Steve Ellcey <sje@cup.hp.com>:
* libltdl/ltdl.c (foreach_dirinpath): Free unassigned pointer
fix for `canonical'.

24 years ago* libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG, AC_LIBTOOL_PROG_LD_SHLIBS)
Robert Boehne [Mon, 23 Jul 2001 21:22:03 +0000 (21:22 +0000)] 
* libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG, AC_LIBTOOL_PROG_LD_SHLIBS)
[aix4*, aix5*]: Fixed a mispelled binder option under AIX.
The option to throw errors for unresolved external references is
-bernotok, not -bnoerok.

24 years ago* Makefile.am (EXTRA_DIST): Don't forget to distribute
Gary V. Vaughan [Mon, 23 Jul 2001 21:06:02 +0000 (21:06 +0000)] 
* Makefile.am (EXTRA_DIST): Don't forget to distribute
ChangeLog.1.

24 years agoFrom Erik Lindahl <E.Lindahl@chem.rug.nl>
Gary V. Vaughan [Mon, 23 Jul 2001 21:04:29 +0000 (21:04 +0000)] 
From Erik Lindahl <E.Lindahl@chem.rug.nl>
* libtool.m4 (_LT_AC_SYS_LIBPATH_AIX): Used on aix to discover
the compiler's default library search path so that the MPI
compiler suite is not hosed by the previously hardcoded path.
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [aix4*, aix5*]: Use it.

24 years ago* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use pass_all for
Andreas Schwab [Mon, 23 Jul 2001 20:34:21 +0000 (20:34 +0000)] 
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use pass_all for
s390*-*-linux* and m68*-*-linux*.

24 years ago* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Fix tag support
Robert Boehne [Mon, 23 Jul 2001 16:41:49 +0000 (16:41 +0000)] 
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Fix tag support
problems with CXX variables being overwritten by the individual
macros.
(AC_LIBTOOL_PROG_CC_C_O): Ditto.
(AC_LIBTOOL_PROG_COMPILER_PIC): Ditto.
(AC_LIBTOOL_LANG_CXX_CONFIG): Moved call to
AC_LIBTOOL_SYS_HARD_LINK_LOCKS after the call to
AC_LIBTOOL_PROG_CC_C_O as it depends on the result.
(AC_LIBTOOL_LANG_GCJ_CONFIG): Ditto.
(AC_LIBTOOL_LANG_C_CONFIG): Ditto.
(AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH): Used the macro
_LT_AC_TAGVAR to ensure the correct variable is being queried.
(AC_LIBTOOL_SYS_DYNAMIC_LINKER): Changed the naming of shared
objects under IRIX back to what it was in the MLB.

24 years ago* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN) [gnu*]: Remove spurious
Mark Kettenis [Mon, 23 Jul 2001 00:30:00 +0000 (00:30 +0000)] 
* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN) [gnu*]: Remove spurious
"break" and bogus comment
(_LT_AC_LANG_CXX_CONFIG): Add support for the Hurd.
* ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): Add support for the Hurd.

24 years ago* ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): add cases and comments for
Robert Boehne [Tue, 17 Jul 2001 20:17:38 +0000 (20:17 +0000)] 
* ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): add cases and comments for
more platforms, including AIX, Digital/Tru64 UNIX and IRIX.