* ltconfig.in (archive_expsym_cmds): Support for -export-symbol
option on Tru64.
(hardcode_libdir_flag_spec): Fixed cxx throwing error while using
libtool. Done by passing -rpath directlty to the compiler.
Michael Matz [Tue, 12 Sep 2000 23:10:46 +0000 (23:10 +0000)]
* ltmain.in: Be careful about filenames with multiple `.'s in
them when calculating file extensions.
Reported by Joel Reed <jreed@support.ddiworld.com>
* tests/*.test (CONFIG_SITE): Ultrix's /bin/sh fails on
`. /dev/null'. Set CONFIG_SITE to /dev/null/config/site, to make
sure we pick a non-existent file.
Merge from development tree:
2000-03-21 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* ltconfig.in (variables_saved_for_relink): Set to `PATH
$shlibpath_var $runpath_var'. If with_gcc, add gcc-related
environment variables. Add it to the configuration section.
* ltmain.in (relink_command): Expand those variables.
* ltconfig.in (netbsd*): archive_cmds and archive_expsym_cmds
were reversed with respect to definition of __ELF__.
From Keisuke Inoue <keisuke@csl.sony.co.jp>
* ltconfig.in (wlarc, netbsd, aout): Set to empty.
(hardcode_dynamic_flag_spec, export_dynamic_flag_spec): Use it.
Alexandre Oliva [Sun, 14 May 2000 08:12:14 +0000 (08:12 +0000)]
* libtool.m4 (AC_LIBLTDL_CONVENIENCE, AC_LIBLTDL_INSTALLABLE):
Pick LIBLTLD from top_builddir and INCLTDL from top_srcdir.
* mdemo/configure.in: Remove comments on
AC_LIBLTLD_CONVENIENCE.
Gary V. Vaughan [Mon, 13 Dec 1999 11:02:30 +0000 (11:02 +0000)]
* ltconfig.in (cygwin*, mingw*, export_symbols_cmds): keep any
DATA tags associated with symbols by recent dlltool.
(cygwin*, mingw*, archive_expsym_cmds): Honor any DATA tags
found in the symbol list.
Reported by Jon Leichter <jon@symas.com>.
Gary V. Vaughan [Tue, 7 Dec 1999 21:43:23 +0000 (21:43 +0000)]
* config.guess: updated from autoconf cvs.
* config.sub: ditto.
* NEWS: inserted todays date.
* configure.in: bumped version to 1.3.4.
* doc/PLATFORMS: tested on all the machines I have access to.
Gary V. Vaughan [Mon, 6 Dec 1999 10:09:59 +0000 (10:09 +0000)]
From Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
* ltconfig.in: split off the osf3 section, so that the osf4 and
osf5 sections can add `-msym' to arguments passed to the linker
for shared libs.
Alexandre Oliva [Fri, 3 Dec 1999 11:03:01 +0000 (11:03 +0000)]
* ltconfig.in (ac_compile): Use $ac_ext instead of .c.
(ac_link): Likewise.
(dlfcn.h, ac_try): Do not add filename, it is already in
ac_compile.
Reported by Stephane Conversy <Stephane.Conversy@lri.fr>
* ltconfig.in (linux-gnu*): Disable hardcode_into_libs until it
works together with fast_install.
* libtool.m4: Use host when --target is not specified.
* configure.in: AC_SUBST variables that are used by ltconfig to
build libtool.
* ltconfig.in (irix6*): Do not override deplibs_check_method
here.
* libtool.m4: Do not AC_SUBST anything other than LIBTOOL.
Thomas Tanner [Tue, 2 Nov 1999 12:36:23 +0000 (12:36 +0000)]
* NEWS: updated
* ltmain.in: preserve $CC (reported by Tom Tromey)
* ltconfig.in: remove second occurence of sysv5
* libltdl/Makefile.am: increment version number, fix typo
* libltdl/ltdl.c (lt_dlsym): don't report an error if the
libltdl-style symbol name wasn't found
* ltconfig.in: add support for Unixware (sysv4.2uw2*)
* ltmain.in (-DPIC): changed the order of pic flags a little to
prevent upsetting the sgi c++ compiler.
* libltdl/Makefile.am: don't preserve file attributes when
installing the libltdl sources
* ltconfig.in (whole-archive-flag-spec): I had been
wondering why my file system was filling up with empty
files named `71'... seems I forgot to hold in the
shift key when redirecting stderr, 2>&1. Doh!
* ltconfig.in (sysv): More UW7 support.
* ltconfig.in (sysv5): Added support required for shared
library linking on SCO UW7.
* ltconfig.in (CDPATH): Set to `:' instead of empty.
* ltmain.in (CDPATH): Likewise.
Reported by Greg McGary <gkm@eng.ascend.com>
* ltconfig.in: use CC -E when checking for ELF support
on NetBSD (reported by Todd Vierling <tv@pobox.com>)
* ltconfig.in: add support for UnixWare 7.X.X
* doc/libtool.texi: document use of noinst_LTLIBRARIES for
convenience libraries
* ltconfig.in: check for freebsdelf3, not just freebsd3
* ltmain.in: enable workaround for freebsdelf3.0
* ltconfig.in: export_dynamic_flag_spec is -rdynamic on BSD/OS
* libltdl/COPYING.LIB: Update to version 2.1.
* libltdl/ltdl.h, libltdl/ltdl.c: Update FSF address.
* doc/libtool.texi (Compile mode): typo correction.
(Link mode): and another.
(Release numbers): and another.
(Distributing libltdl): and another.
(Test descriptions): and another.
(libtool script contents): and one more.
* ltmain.in: Ensure that gcc on HPsUX uses -fPIC, or else
initialised structures are sometimes emitted in the code section.
* ltmain.in: Fix creation of relative links to object files in
sub-dirs.
* ltconfig.in: Updated bsdi4 soname specs to be more like
linux as discussed on the bsdi mailing list.
Thomas Tanner [Tue, 29 Jun 1999 17:38:10 +0000 (17:38 +0000)]
* NEWS: rename dummy to force
* doc/libtool.texi: better documentation of uninstall mode,
rename dummy to force, AC_LIBLTDL_* must be called before
AC_PROG_LIBTOOL
* ltmain.in: dlname is always soname or in library_names so
we don't need to handle different file names
Alexandre Oliva [Tue, 29 Jun 1999 08:56:55 +0000 (08:56 +0000)]
* ltconfig.in (freebsd*, shlibpath_overrides_runpath): Set to yes
up to release 3.1, and to no from 3.2 on.
Reported by Pavel Roskin <pavel_roskin@geocities.com>
Thomas Tanner [Wed, 23 Jun 1999 15:13:16 +0000 (15:13 +0000)]
* NEWS: updated
* README: added GNU Hurd to the supported platforms
* doc/libtool.texi: document `-dlpreopen dummy'
* libltdl/ltdl.c (strchr): fixed typo (missing star)
* libltdl/ltdl.c (strrchr): fixed typo (missing star)
* libltdl/ltdl.c (trim): use `const' to silence -Wwrite-strings
* ltconfig.in (bsdi4, deplibs_check_method): use a less restrictive
regex (reported by Chris P. Ross <cross@eng.us.uu.net>)
* ltmain.in: support `-dlopen dummy', define lt_preloaded_symbols
if dlself != no
* doc/libtool.texi: libtool does also support non C source code
* ltconfig.in: CR/LF fix for broken DJGPP bash
* ltmain.in: CR/LF fix for DJGPP
Gary V. Vaughan [Wed, 23 Jun 1999 13:04:28 +0000 (13:04 +0000)]
* ltconfig.in (cygwin, export_symbols_cmds): If there is already
an extracted and compiled ltdll.c, then don't delete, reextract
and recompile.
(cygwin, archive_expsym_cmds): Make sure the ltdll source has been
extracted and compiled before referencing the object, since there
are paths through the code which run archive_expsym_cmds without
running export_symbols_cmds.
Gary V. Vaughan [Wed, 16 Jun 1999 14:58:45 +0000 (14:58 +0000)]
* libltdl/ltdl.c (sys_wll_open): libltdl expects this function to
fail if it is unable to physically load the library. Sadly,
LoadLibrary will search the loaded libraries for a match and
return one of them if the path search load fails. Simulate a
failure in this case for compatibility with the other APIs.
Also, LoadLibrary takes the liberty of adding `.dll' to library
names passed without an extension, we now add a trailing `.' to
prevent this from happening.
Gary V. Vaughan [Tue, 15 Jun 1999 19:25:07 +0000 (19:25 +0000)]
* libltdl/ltdl.c (sys_wll_close): Strangely enough, Microsoft have
decided that LoadLibrary returns `0' for success, yet FreeLibrary
returns `0' for failure! The FreeLibrary call used to interpret
`0' as success for both functions.
Alexandre Oliva [Thu, 10 Jun 1999 14:42:34 +0000 (14:42 +0000)]
* ltconfig.in: Reverted June 6's patch for new GNU ld output, it
is no longer needed, as ld reverted to the original format.
* NEWS: Likewise.
* ltconfig.in: When testing self-dlopening, test whether dlclose
crashes. On FreeBSD 3.1, it does. :-(
* libltdl/configure.in: Likewise.
* NEWS: Note work-around.
Reported by Pavel Roskin <pavel_roskin@geocities.com>
Gary V. Vaughan [Wed, 9 Jun 1999 12:54:48 +0000 (12:54 +0000)]
* ltconfig.in (exeext): autoconf's AC_EXEEXT uses "no" to indicate
no extension, and we must do the same in order to share the cache
value. Also we must ignore conftest.err which HPsUX (at least)
fills with gratuitous warnings.
Reported by Pavel Roskin <pavel_roskin@geocities.com>
Gary V. Vaughan [Tue, 8 Jun 1999 12:48:35 +0000 (12:48 +0000)]
* ltmain.in (exeext): Use $exeext when working out the names of
programs (but not the wrapper script itself due to a stupidity in
win32 which hardwires the .exe extension to the binary loader!).
* ltconfig.in (exeext): Now that the wrapper script tries to move
executables, we need to know whether they have an extension (ala
AC_EXEEXT). Since we can't rely on AC_EXEEXT having been called
in configure.in, we must be able to check for ourselves, though we
can look for a cached result incase AC_EXEEXT was called.
Alexandre Oliva [Sun, 6 Jun 1999 23:52:35 +0000 (23:52 +0000)]
* ltconfig.in: Support new GNU ld --help output format.
* NEWS: Likewise.
Reported by Gaël Quéri <gael@baoule.dyndns.org> and
H.J. Lu <hjl@varesearch.com>.
Mark Kettenis [Sat, 5 Jun 1999 09:31:39 +0000 (09:31 +0000)]
* ltconfig.in: Update support for the Hurd. Make sure that the
soname includes the major version number and create the right
links. Allow shared objects without the `lib' prefix and without
version information.
Alexandre Oliva [Thu, 27 May 1999 21:29:28 +0000 (21:29 +0000)]
* TODO: Remove the short list of people interested in C++
constructors; it's not meaningful, since there are so many more
people requesting this feature, and we just can't maintain it
accurate.
Alexandre Oliva [Thu, 27 May 1999 10:52:47 +0000 (10:52 +0000)]
* ltmain.in: Only create directory into which to extract
convenience libraries when $convenience is not empty. It would
always be created on systems that did not support
whole_archive_flag_spec.
Alexandre Oliva [Thu, 27 May 1999 10:45:31 +0000 (10:45 +0000)]
* ltconfig.in (export_symbols_cmds): Add $convenience.
(cygwin, export_symbols_cmds): Ditto.
* ltmain.in: Generate export symbol list before expanding
convenience libraries, to avoid passing whole_archive_flag_spec to
$NM.
Reported by Godmar Back <gback@cs.utah.edu>
Alexandre Oliva [Wed, 26 May 1999 00:00:40 +0000 (00:00 +0000)]
* ltmain.in: Revert to stripping .exe on all platforms.
* TODO: Note about this problem. Demo is fixed on win32. -Wl and
-Wc are implemented for release 1.4. Support `empty' convenience
libraries.