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.
Alexandre Oliva [Tue, 25 May 1999 18:33:03 +0000 (18:33 +0000)]
* ltconfig.in (solaris*, ld_shlibs): Do not enable shared
libraries with GNU ld 2.8.*, it's broken. Emit a warning
suggesting an upgrade.
Reported by Brian Ford <ford@vss.fsi.com> and Ronald Pijnacker
<Ronald.Pijnacker@best.ms.philips.com>
Alexandre Oliva [Tue, 25 May 1999 16:07:40 +0000 (16:07 +0000)]
* doc/libtool.texi: fix "wierd" typo :)
* ltmain.in: strip off the .exe suffix only on *Win
(Reported by Matthew D. Langston <langston@SLAC.Stanford.EDU>)
Thomas Tanner [Tue, 25 May 1999 16:07:39 +0000 (16:07 +0000)]
* doc/libtool.texi: fix "wierd" typo :)
* ltmain.in: strip off the .exe suffix only on *Win
(Reported by Matthew D. Langston <langston@SLAC.Stanford.EDU>)
Gary V. Vaughan [Fri, 21 May 1999 14:35:15 +0000 (14:35 +0000)]
GNU Libtool 1.3.1 was released.
* configure.in: bumped to revision 1.3.1.
* NEWS: insert todays date alongside 1.3.1 release.
* Makefile.in: use gnu not gnits rules
* config.guess: synch with gnu common & apply Takabatake-san's
MIPS *000 patch.
* config.sub: synch with gnu common.
Alexandre Oliva [Thu, 20 May 1999 23:55:28 +0000 (23:55 +0000)]
* NEWS: Updated docs.
* TODO: Recommend libtool.m4 to be inserted in acinclude.m4. AIX
4.3.2.0 no longer fails on static dlopening. GNU DLD no longer
has to support .la files, since libltdl already does. Convenience
libraries and reloadable objects should be tested in the
testsuite. We could support some amount of control on the soname
of libraries.
* doc/libtool.texi: Notes about convenience libraries and
automake. Documented INCLTDL.
Thomas Tanner [Thu, 20 May 1999 17:53:22 +0000 (17:53 +0000)]
* bootstrap: fix libltdl/Makefile.in
* cdemo/main.c: "Welcome _to_ ..."
* mdemo/main.c: ditto
* libltdl/configure.in: support multiple dlopening mechanisms
at once
* libltdl/ltdl.c: prefix system dependent functions with "sys_"
to avoid symbol conflicts (libdld didn't work)
* libtool.m4 (AC_LIBLTDL_*): set INCLTDL to the path of ltdl.h
* ltconfig.in: check for dlopen with -ldl first
Gary V. Vaughan [Tue, 18 May 1999 11:22:00 +0000 (11:22 +0000)]
* ltconfig.in (cygwin*, whole_archive_flag_spec): dlltool chokes
on this, so leave it unset in this case so that the ltmain code
knows it has to unpack convenience archives by itself.
Gary V. Vaughan [Mon, 17 May 1999 15:58:02 +0000 (15:58 +0000)]
* ltmain.in: Do not exit when an unknown library name is passed
passed in, simply warn and continue since some compilers require
-LANG:* like options to work.
Reported by Adam C. Powell, IV <adam.powell@nist.gov>
Gary V. Vaughan [Mon, 17 May 1999 14:49:41 +0000 (14:49 +0000)]
* libltdl/configure.in: Fix test failures on AIX 4.3.2 by checking
for dlopen *with* -ldl first.
Reported by Greg Wooledge <ic5035%tss1crs.amgreetings.com@rose.amgreetings.com>
Alexandre Oliva [Fri, 14 May 1999 06:50:31 +0000 (06:50 +0000)]
* instutil/chmod: New script to avoid chmod'ing files while
installing libltdl's sources.
* instutil/ln: New script to avoid hard-linking libltdl's sources
in the install tree.
* Makefile.am (EXTRA_DIST): Dist them.
(instal-data-hook): Add srcdir/instutil to the beginning of the
PATH before installing libltdl's sources.
Gary V. Vaughan [Thu, 6 May 1999 14:36:50 +0000 (14:36 +0000)]
* Makefile.am (install-data-hook): make sure the install directory
is not left world writable.
Reported by Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* doc/libtool.texi (Distributing libltdl): Document that -static
may cause the same problems on libltdl as -all-static.
* TODO: We might want to fix this in the future.
* libltdl/Makefile.am (ltdl.lo): Add dependencies.
* libltdl/configure.in: Clean up some duplicate defines.
* libltdl/acconfig.h: New file. Add #undefs for defines that
would be duplicated.
Revert last Ossama's patch. autoconf does not use extern "C", so we
shouldn't either, otherwise libtool might think we have dlopening while
libltdl might not be able to deliver it.
Gary V. Vaughan [Thu, 29 Apr 1999 07:38:58 +0000 (07:38 +0000)]
* libtool.m4 (cygwin*|mingw*, DLLTOOL, OBJDUMP, AS): Only expand the
code that makes these configure time checks on hosts that need the
tools *and* if the AC_LIBTOOL_WIN32_DLL macro is used.
The previous ChangeLog entry was wrong. It should have been:
* libtool.m4 (AC_ENABLE_SHARED, AC_ENABLE_STATIC,
AC_ENABLE_FAST_INSTALL): Do not call AC_BEFORE here, they're
AC_REQUIREd by AC_LIBTOOL_SETUP.
(AC_DISABLE_SHARED, AC_DISABLE_STATIC, AC_DISABLE_FAST_INSTALL):
Call AC_BEFORE here, and now with two arguments, since these do
change the default.
(AC_LIBLTDL_CONVENIENCE, AC_LIBLTDL_INSTALLABLE): Fix calls to
AC_BEFORE.