Commit Graph

1313 Commits

Author SHA1 Message Date
Gary V. Vaughan
6b3f434839 * NEWS: inserted todays date. 2001-04-02 00:46:39 +00:00
Christoph Pfisterer
0f6c252d00 * libtool.m4: Fixed support for Darwin and Rhapsody. Now correctly
hardcodes the library path and adds versioning. Other small
fixes.
* ltmain.in: Fixed special cases for libc and libm on Rhapsody and
Darwin. One of them was misplaced. Added version_type case for
Rhapsody and Darwin, named "darwin".
2001-04-01 13:46:08 +00:00
Gary V. Vaughan
2604e82a6d * ltmain.in: Remove the code for stripping duplicate deplibs
from libtool link lines -- duplicates are somtimes necessary
to satisfy inter-library dependencies, and never cause link to
fail even if they are spurious.
* tests/depdemo-dups.test: New file.  Make sure this bug doesn't
creep back in again!
* tests/Makefile.am (TESTS): Use the new test above.
2001-03-31 23:51:10 +00:00
Edward M. Lee
d35d97b0af * libltdl/ltdl.c: Use windows paths while calling LoadLibrary. 2001-03-31 00:12:41 +00:00
Edward M. Lee
8087272484 * libtool.m4: Generate dll/import libraries for cygwin according
to the following: libFOO.a (static lib), libFOO.dll.a (import
lib), cygFOO-version.dll (dll).  Update postinstall_cmds and
postuninstall_cmds to reflect this.
* ltmain.in: Generate installed .la files with dlnames set to
../bin/cygFOO-version.dll for normal dlls. dlls for modules
remain with the .la file.
2001-03-31 00:08:03 +00:00
Edward M. Lee
ebda76d2bd * libtoolize.in: change recommendation from AM_PROG_LIBTOOL to
AC_PROG_LIBTOOL.
2001-03-30 22:47:23 +00:00
Edward M. Lee
b6d9a7ea10 * libtoolize.in: Check configure.ac and prefer configure.ac to
configure.in.
2001-03-30 22:12:30 +00:00
Albert Chin
ce0a14043d * libtool.m4 (save_CPPFLAGS): Fix typo. 2001-03-16 03:58:51 +00:00
Alexandre Oliva
5057de16ca * libtool.m4 (lt_cv_compiler_c_o): Cache it.
(lt_cv_compiler_o_lo): Likewise.
2001-03-13 15:00:47 +00:00
Peter Eisentraut
759f3a7ed0 * ltmain.in (clean): Automatically remove $objdir (usually '.libs'). 2001-03-10 02:16:45 +00:00
Gary V. Vaughan
3e13da7714 * ltconfig.in (library_names_spec): Undo latin-1 spaces I pasted
in yesterday by mistake.
2001-03-09 04:25:30 +00:00
Gary V. Vaughan
d138744bbe From Tor Lillqvist <tml@iki.fi>
* libtool.m4 (export_symbols): On Windows, if the export_symbols
file (which has been passed to libtool with the -export-symbols
command line switch) already is a .def file, use it as is.
2001-03-07 01:43:27 +00:00
Gary V. Vaughan
1ab7f1b678 * libtool.m4 (library_names_spec): Using m4 quotes correctly this
time around!
2001-03-07 01:16:21 +00:00
Gary V. Vaughan
a358c34655 * libtool.m4 (library_names_spec): Use an appropriate filename
prefix for dlls -- lib for mingw; cyg for cygwin; pw for pw32.
From Tor Lillqvist <tml@iki.fi>
2001-03-07 00:58:09 +00:00
Alexandre Oliva
b4cf6bc182 * libtool.m4 (can_build_shared) [AIX 4.[01], GCC]: GCC up to
2.96 can't build shared libraries reliably.  Disable them.
2001-03-06 11:20:37 +00:00
Alexandre Oliva
e724896b33 * ltmain.in: When dropping dependencies of a -no-undefined
library, give up on building a shared library.
2001-03-06 11:16:05 +00:00
Akim Demaille
cd2b157145 * ltmain.sh: Don't quote the argument of case/esac and
assignments.
* libtool.m4: Likewise.
2001-03-05 20:08:09 +00:00
Markus F.X.J. Oberhumer
55efcca7b6 * libtool.m4: Added explicit return type to all C functions. 2001-03-03 21:41:29 +00:00
Gary V. Vaughan
066ce19719 * NEWS: Updated.
* doc/libtool.texi (Thread Safety in libltdl): New node describing
the  application the new MT API.
* libltdl/ltdl.h: Prototypes.
* libltdl/ltdl.c: Use these functions throughout the rest of
the file to provide thread locking.
(lt_dlmutex_register): New function to set callbacks for
multi-threaded calls into libltdl.
(lt_dl_mutex_lock): Type of a locking callback function.
(lt_dl_mutex_lock): Type of an unlocking callback function.
(lt_dl_mutex_seterror): Type of a callback function to save the
last libltdl error message in thread local storage.
(lt_dl_mutex_geterror): Type of a callback function to retrieve
the last saved error message from thread local storage.
2001-02-23 22:58:20 +00:00
Gary V. Vaughan
b37d4417e5 * libltdl/ltdl.c (lt_dlcaller_register): dont set an unsigned
type to a negative number.
Reported by Guenter Millahn <Guenter.Millahn@Informatik.TU-Cottbus.DE>
2001-02-20 01:51:50 +00:00
Gary V. Vaughan
9c1932087e From Nick Hudson <skrll@netbsd.org>
* ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): netbsd* is able to
automatically load module deplibs without assistance from
libltdl.
2001-02-05 00:24:55 +00:00
Gary V. Vaughan
230d659fcc * libltdl/ltdl.c (load_deplibs): Make sure the depcount is reset,
even when deplibs are not used because of the patch below.
2001-02-02 20:38:53 +00:00
Gary V. Vaughan
482d62add6 * ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): If we know that the host
architecture automatically loads deplibs, then...
* libltdl/ltdl.c (load_deplibs): ...don't manually load each one.
2001-02-02 19:02:38 +00:00
Gary V. Vaughan
279f6bb223 * TODO: Updated. 2001-01-31 16:26:48 +00:00
Gary V. Vaughan
2b9f5eb2b4 * libltdl/ltdl.c (load_deplibs): If loading a deplib fails,
don't sweat -- it may be a lib that is already statically linked
into the loading application.

* libltdl/ltdl.c: Clean up the shadowing of the global handles
variable.
(LT_DLRESIDENT_FLAGS): Add extra parens to satisfy -Wall.
(load_deplibs):  Cast isspace() argument to an int to satisfy
-Wall.
2001-01-31 00:07:32 +00:00
Robert Boehne
67024f8ad5 Added myself to the list of maintainers in AUTHORS. 2001-01-30 15:48:57 +00:00
Alexandre Oliva
679fb05bf2 * libltdl/Makefile.am (CLEANFILES): Clean conditionally-built
libraries.
2001-01-29 02:01:41 +00:00
Alexandre Oliva
970f9a7ca8 * libtool.m4 (ld_shlibs) [aix4*]: Disable on unknown CPU types. 2001-01-27 19:19:05 +00:00
Gary V. Vaughan
61510e8475 * NEWS: Updated.
* doc/libtool.texi (User defined module data): Updated.
* libltdl/ltdl.c (lt_dlhandle_next): New function.
* libltdl/ltdl.h (lt_dlhandle_next): Prototypes.
2001-01-08 01:52:12 +00:00
Gary V. Vaughan
bd96d1928a * NEWS: Updated.
* doc/libtool.texi (User defined module data):  Document it all.
* ltdl.m4:  Check for memcpy, or else bcopy.
* ltdl.c (lt_caller_data): New type.
(lt_dl_handle_struct): Add an lt_caller_data field.
(lt_dlcaller_register, lt_dlcaller_set_data,
lt_dlcaller_get_data): New functions.
(rpl_memcpy): A minimal fallback implementation.
(rpl_realloc): A realloc implemented with lt_dlmalloc and
lt_dlfree.
(LT_DLMALLOC, LT_DLFREE, LT_DLREALLOC, LT_DLMEM_REASSIGN):
New memory handling convenience macros.  Use them
appropriately throughout the rest of this file.
* ltdl.h (lt_dlcaller_register, lt_dlcaller_set_data,
lt_dlcaller_get_data): Prototyped.
2001-01-05 09:33:39 +00:00
Gary V. Vaughan
c821715109 * libltdl/ltdl.h: formatting change. 2001-01-04 22:06:11 +00:00
Gary V. Vaughan
1d8f975749 From vvv@vsu.ru:
* doc/fdl.texi (GNU Free Documentation License): contained @bye
command which prevented part of document to be generated (indices,
etc).
* doc/libtool.texi (Dlpreopening): the @deftypevar did not contain
a space after a type.
2000-12-23 16:30:43 +00:00
Akim Demaille
6b75e6cb5a * libtool.m4: s/[ t]*$//
* libtool.m4 (OSF/1):  Revert my patch of 2000-12-16.
2000-12-22 23:40:11 +00:00
Gary V. Vaughan
22218cc780 * libltdl/ltdl.c (lt_dlexit): Was checking for residency of the
wrong module.
Reported by Robert Boehne  <rboehne@ricardo-us.com>
2000-12-20 23:50:09 +00:00
Gary V. Vaughan
325c26d1a4 * ltmain.in (dlprefiles): Now that `2000-12-15 Utz-Uwe Haus' patch
below can detect preopened library deplibs correctly in libltdl,
we need to ensure that libtool library deplibs are also preloaded
into the binary for that phase to work.
2000-12-20 22:40:59 +00:00
Aneesh Kumar K.V
359bb5c225 * libtool.m4 (OSF/1): Change the way to pass linker flags through
compiler on a Tru64 machine.
2000-12-16 17:37:44 +00:00
Gary V. Vaughan
20c4325d86 * libtool.m4 (sys_lib_search_path_spec): Use test instead of
`['.
(archive_cmds): And another one.
2000-12-16 14:02:50 +00:00
Gary V. Vaughan
099f6d1740 * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): moved rogue settings from
sequent, ncr and newos6 back into here from other macros.
2000-12-16 13:30:36 +00:00
Gary V. Vaughan
e23566af9a * libtool.m4 (darwin*): Fixed a pair of stupid typos I made in the
last patch.
2000-12-16 13:19:40 +00:00
Wilfredo Sanchez
4c5c1ca54f * libtool.m4: (dyld/darwin*) Much improved port.
* ltmain.in: (dyld/darwin*) Much improved port.
2000-12-16 13:08:14 +00:00
Sascha Schumann
e8a4133706 * libtool.m4: Accept darwin as an alias for rhapsody.
* ltmain.in: ditto.
2000-12-16 03:55:59 +00:00
Sascha Schumann
181f4634b7 * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use the HPUX 10.20
methods to check for library dependencies on HPUX 11.
2000-12-16 03:51:00 +00:00
Nick Hudson
f398c65f73 * libtool.m4 (netbsd*, deplibs_check_method): Enable ILD support
for NetBSD a.out.
2000-12-16 03:09:23 +00:00
Akim Demaille
8bd5f6a210 * libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): Rename
`ac_cv_sys_global_symbol_pipe' as `lt_cv_sys_global_symbol_pipe'.
Similarly with `lt_cv_global_symbol_to_cdecl
(_LT_AC_LTCONFIG_HACK): Similarly with `ac_cv_prog_cc_pic',
`ac_cv_prog_cc_shlib', `ac_cv_prog_cc_wl', `ac_cv_prog_cc_static',
`ac_cv_prog_cc_no_builtin', `ac_cv_prog_cc_can_build_shared',
`ac_cv_prog_cc_static_works', `ac_cv_archive_cmds_need_lc'.
(AC_PATH_TOOL_PREFIX): Similarly with `ac_cv_path_MAGIC_CMD'
(AC_PROG_LD) <ac_cv_path_LD>: Likewise.
(AC_PROG_LD_GNU) <ac_cv_prog_gnu_ld>: Likewise.
(AC_PROG_NM) <ac_cv_path_NM>: Likewise.
2000-12-16 02:35:29 +00:00
Utz-Uwe Haus
6da151bd3c * libltdl/ltdl.c (lt_dlopen): Changed "dl_dependency_libs" keyword
to "dependency_libs".
2000-12-16 01:09:44 +00:00
Tod Milam
2c856a4196 * libltdl/ltdl.c (lt_dlexit): Reset the loaders value to zero when
the last module has been unloaded.
2000-12-14 21:08:03 +00:00
Michael Schmitz
51fdd772c6 * libtool.m4: Port to *-sni-sysv4 (Reliant Unix)
* README: added Reliant Unix to hte list of supported platforms
* doc/PLATFORMS: added note on tests on Reliant Unix
2000-12-14 02:53:45 +00:00
Masahiro Nobori
e1e83eade3 * README: Updated.
* NEWS: Updated.
* libtool.m4:  New port to NEWS-OS Release 6.
2000-12-14 01:51:59 +00:00
Nick Hudson
7cadadfe22 * libtool.m4 (hardcode_libdir_flag_spec): Remove linker
specification for netbsd.
2000-12-14 01:02:39 +00:00
Akim Demaille
a5e5325cd7 * libtool.m4: Don't depend on Autoconf internals:
s/ac_cv_prog_gcc/GCC/.
2000-12-14 00:39:55 +00:00