[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: 26-gary-split-changelogs-by-year.patch
From: |
Gary V. Vaughan |
Subject: |
FYI: 26-gary-split-changelogs-by-year.patch |
Date: |
Tue, 21 Oct 2003 14:40:48 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20030925 Thunderbird/0.3 |
Applied to HEAD.
--
())_. Gary V. Vaughan gary@(lilith.warpmail.net|gnu.org)
( '/ Research Scientist http://www.oranda.demon.co.uk ,_())____
/ )= GNU Hacker http://www.gnu.org/software/libtool \' `&
`(_~)_ Tech' Author http://sources.redhat.com/autobook =`---d__/
Index: ChangeLog
from Gary V. Vaughan <address@hidden>
* ChangeLog, ChangeLog.0, ChangeLog.1: Refactored...
* ChangeLog, ChangeLog.2002, ChangeLog.2001, ChangeLog.2000,
ChangeLog.1999, ChangeLog.1998, ChangeLog.1997, ChangeLog.1996:
...into entries by year for easier copyright confirmation.
Continued in ChangeLog.2002
Index: ChangeLog.1996
from Gordon Matzigkeit <address@hidden>
* ltmain.sh.in (link): Don't allow *._o and *.l_o to be valid
object type suffixes, in spite of Automake's current ansi2knr
implementation. Not all compilers allow non-`.o' suffixes.
1996-12-16 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in (link): Delete the `libtool' version type.
1996-12-12 Gordon Matzigkeit <address@hidden>
* ltconfig.in: Use the full autoconf syntax when checking for GNU
C. Delete library stripping program, until we have a correct
test.
1996-12-11 Gordon Matzigkeit <address@hidden>
* ltconfig.in: On AIX 3, use /usr/ucb/nm, not /ucb/nm. From Mark
Kettenis.
1996-12-09 Gordon Matzigkeit <address@hidden>
Reported by Charles Kerr:
* doc/libtool.texi (Creating Object Files): Doc fix independant ->
independent.
* ltconfig.in (ld_shlibs): SunOS 4 doesn't support shared library
dependencies.
1996-12-08 Gordon Matzigkeit <address@hidden>
* Release 0.7.
* Makefile.am (EXTRA_DIST): Add README-automake to the
distribution.
* ltmain.sh.in (link): When linking libtool libraries, use
standard objects if they are PIC. This prevents spurious warnings
about invalid suffixes on AIX.
* demo/Makefile.am: Rename libhell to libhello, so that we're not
quite as offensive.
* ltconfig.in: Remove unnecessary host validity checking.
* ltmain.sh.in: Don't force people to use libNAME.la: SOMETHING.la
is good enough (for consistency with *.a handling).
* tests/demo.test: Break up into demo-conf.test, demo-make.test,
demo-exec.test, demo-inst.test, and demo-unst.test, so that passes
and failures are reported more quickly.
* tests/link-2.test: Test to make sure that .lo files don't get built
directly into programs.
1996-12-07 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in (link): Accept files ending in .a as standard
object files. Reported by Ulrich Drepper.
Remove support for creating profiled libraries (for now).
Transform all library objects into standard objects when linking a
program.
* ltconfig.in (thisdir): How embarrassing! An error in the regexp
for finding the directory component of the script path.
* tests/tlibtool: A typically-configured libtool script, that uses
../ltmain.sh.in for its backend.
* tests/link.test: Make sure that it is legal to link against .a files.
1996-12-05 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in (compile): Support `.S' (preprocessed assembler)
files. Reported by Anthony Green.
* libtoolize.in: Give clearer instrutions for how to update
aclocal.m4.
* ltconfig.in, ltmain.sh.in (link): Add support for creating
reloadable objects.
1996-12-04 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in (install): Fix passing -n flag to `libtool
--finish'.
(compile): Compile `.lo' and `.o' objects at the same time so that
non-PIC objects (if they are available) can be used for linking
into programs and creating static archives. Suggested by Ulrich
Drepper.
1996-12-03 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in (link): Give the full path to the libtool library
when sourcing it.
* ltconfig.in (old_striplib): Do a configuration test to determine
if old-style libraries actually can be stripped or not.
1996-12-02 Gordon Matzigkeit <address@hidden>
* tests/demo.test: Try compiling the ../demo subdirectory, with no
special options.
* test-e.test: Check that we haven't used `test -e' anywhere in
our portable shell scripts.
1996-12-02 Gordon Matzigkeit <address@hidden>
* ltconfig.in: Delete reference to ABOUT-LIBS.
* tests: Added new subdirectory.
* doc/libtool.texi: Doc fixes, and finished up the Configuring
chapter.
* ltmain.sh.in (link): Allow *._o and *.l_o to be valid object
file suffixes, for Automake's ansi2knr implementation.
New option -version-info replaces -version-file.
[help]: Give a pointer to mode-specific help when appropriate.
* ltconfig.in: Changed messages to correspond to AM_PROG_CC_STDC.
* demo: Also test Automake's ansi2knr support.
1996-11-19 Gordon Matzigkeit <address@hidden>
* ltconfig.in: Bug fixes for AIX 4, and for static platforms.
* ltmain.sh.in (install): Fix for loops over arguments.
Need to quote ${IFS= } -> "${IFS= }".
(link): Fix soname_spec bug. Create objdir whether or not we have
shared libraries.
* ltconfig.in: Check for library stripping program.
Use test -f instead of test -e.
1996-11-18 Gordon Matzigkeit <address@hidden>
* ltconfig.in: Don't run the RANLIB test unless RANLIB wasn't
set.
Be verbose about the environment variables we were configured
with.
* ltmain.sh.in (objdir): change to .libs.
1996-11-16 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in (install): Just plunge ahead with the
installation... don't try to enforce dependencies.
1996-11-15 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in: Fix up $libdir to be $dest in install mode.
1996-11-10 Gordon Matzigkeit <address@hidden>
* ltmain.sh: Finished rewrite of compile, link, and install
modes.
* New ChangeLog file for libtool-0.7, since I've totally rewritten
libtool.
1996-03-15 Gordon Matzigkeit <address@hidden>
* For historical reasons: this is when I started writing libtool.
Index: ChangeLog.1997
from Gordon Matzigkeit <address@hidden>
* ltmain.in: Don't forget to quote the CDPATH substitution. From
Tor Lillqvist.
1997-12-18 Gordon Matzigkeit <address@hidden>
* ltconfig.in, ltmain.in (CDPATH): Unset this environment variable
so that HP-UX shells, at least, don't print out the directory name
after a `cd' command. From Tor Lillqvist.
1997-12-10 Gordon Matzigkeit <address@hidden>
* demo/Makefile.am (hardcode): Change a bunch of references to
`$(LIBS)' to `-lm', since we no longer put -lm in LIBS.
* demo/configure.in: Delete the test for libm, since it is
standard on every system.
* demo/Makefile.am (libhello_la_LDFLAGS): Change to include -lm,
in accordance with new inter-library dependency code.
* ltmain.in (dependency_libs): Added to help people link programs
without having to explicitly specify inter-library dependencies.
* ltconfig.in (COLLECT_NAMES): Oops... I forgot to apply the AIX 3
restriction to the generated libtool script. Reported by Stefan
Westerfeld.
1997-12-05 Gordon Matzigkeit <address@hidden>
* ltconfig.in (thisdir): Quote $echo in the generated libtool
script for HP-UX. From Markus F.X.J. Oberhumer.
* ltmain.in (link): Recognize the `.s' suffix. From Markus
F.X.J. Oberhumer.
* ltconfig.in (link_static_flag): Don't quote ${wl} on HP-UX
because link_static_flag is never evaled. From Eric Backus.
* tests/suffix.test (extensions): Recognize `.s'. From Markus
F.X.J. Oberhumer.
1997-12-01 Gordon Matzigkeit <address@hidden>
* demo/Makefile.am (helldl_DEPENDENCIES): Add `libhello.la' to our
dependencies so that parallel builds work correctly. From Jim
Meyering.
* Makefile.am ($(srcdir)/ltconfig, $(srcdir)/ltmain.sh): Rewrite
these rules so that they are parallelizable. Reported by Jim
Meyering.
* ltconfig.in (ltecho): We need special handling to quote the
`echo' variable itself. From Alexandre Oliva.
1997-11-29 Gordon Matzigkeit <address@hidden>
* ltconfig.in (COLLECT_NAMES): Enable this workaround for a broken
collect2 only on AIX 3. This avoids problems on other AIX
versions. Reported by Stefan Westerfeld.
* ltmain.in, ltconfig.in (finish_eval): Variable like finish_cmds,
except it is a single command which is evaled, and not shown.
* ltconfig.in: Port to AmigaOS. From Joop van de Wege.
* ltmain.in (echo): Delete preamble to check for a working echo,
since we just use the one included in the generated libtool.
* ltconfig.in (echo): Include this definition in the generated
libtool script.
1997-11-28 Gordon Matzigkeit <address@hidden>
* ltconfig.in, libtool.m4 (NM): Add /usr/ccs/bin to the PATH
before checking. From Kaveh R. Ghazi.
(NM): Delete an extraneous egrep from ltconfig.
* ltconfig.in (finish_cmds): Change back to using `ldconfig -n'.
This makes Linux behave like other systems, which is more in line
with what libtool needs.
1997-11-27 Gordon Matzigkeit <address@hidden>
* ltmain.in: Change a whole bunch of `progname' variables to
`modename'. This is for clarity, and to fix a tiny typo in finish
mode.
* libtool.spec (Name, Version): Ditto.
* configure.in (AM_INIT_AUTOMAKE): Use PRCS to automatically generate
the proper package name and version number.
* ltconfig.in (gnu_ld_acts_native): Treat GNU ld like the native
linker on SunOS 4.x. Suggested by Alexandre Oliva.
(deplibs): Change the defaults all over, since most systems cannot
handle inter-library dependencies.
* libtool.m4, ltconfig.in (NM): Only look at the first line of the
output from NM when determining whether it supports a command line
option. This prevents false positives on OSes which ignore
invalid flags, like HP-UX, which prints `nm: unknown option "B"
ignored'. Reported by Kaveh R. Ghazi.
* ltconfig.in (finish_cmds): On Linux, update ld.so.cache by
removing the `-n' flag from ldconfig. Suggested by Kenneth
Albanowski.
* Makefile.am (maintainer-checkin, maintainer-release): New
commands to reap the full benefit of using PRCS to maintain
libtool version numbers.
* ltconfig.in, ltmain.in (global_symbol_pipe): Explicitly cast all
addresses to __ptr_t. This fixes a bug due to a strict IRIX
compiler. Suggested by Kaveh R. Ghazi.
1997-11-23 Gordon Matzigkeit <address@hidden>
* ltmain.in (echo): For aesthetics, avoid using `$echo' when
`echo' will do *exactly* the same thing. This prevents ugly
`printf %s\n timestamp > some.lo' commands from appearing in the
libtool output.
(link): Delete the `-allow-undefined' flag because it is now the
default. Make `-no-undefined' in order for people to declare that
a library is entirely self-contained. This prevents maintainers
from accidentally creating shared libraries that won't work on
AIX. Reported by Stefan Westerfeld and Danny Backx.
* ltconfig.in (echo): Use an echo variable, just as in ltmain.in,
because we need it for quoting substitutions. For most of the
script, though, use the default echo, just like Autoconf does.
Without this patch, character \001 ends up in global_symbol_pipe.
Reported by Lars Hecking and Jürgen Fluk.
* ltmain.in (echo): Set default to `echo=echo'. Ooops. That's
what you get for testing obscure code paths and forgetting to
revert to the original version. Reported by Danny Backx.
1997-11-14 Gordon Matzigkeit <address@hidden>
* ltconfig.in (hardcode_libdir_flag_spec): Set to `-R' for FreeBSD
2.2. From Sean Kelly.
(postuninstall_cmds, old_postuninstall_cmds): Commands to run
after uninstall mode deletes the libraries. Suggested by Joop van
de Wege.
(export_dynamic_flag_spec): On HP-UX, add the `${wl}-E'
export_dynamic_flag_spec. Reported by Matthias Hoelzer.
1997-11-11 Gordon Matzigkeit <address@hidden>
* ltconfig.in, ltmain.in (sed_quote_subst): Oops. We forgot to
quote backticks. Reported by Joop van de Wege.
* tests/quote.test: Add backticks to the backslashify test.
1997-11-09 Gordon Matzigkeit <address@hidden>
* ltconfig.in (symcode): On IRIX, don't extract undefined
symbols. When a function is inlined by G++, references to it are
still marked as undefined in the object file. This means that our
symbol file causes undefined references, because there are
actually no matching global symbols. Reported by Paul Kendall.
1997-11-08 Gordon Matzigkeit <address@hidden>
* ltconfig.in: Don't forget to redirect the COLLECT_NAMES libtool
script fragment to the generated libtool, rather than to stdout.
1997-11-07 Gordon Matzigkeit <address@hidden>
* libtool.m4 (LD): Add a more sophisticated test to determine the
ABI flag on IRIX 6. Suggested by Lars Hecking and Ian Lance
Taylor.
* ltconfig.in, ltmain.in (COLLECT_NAMES): Only export this
variable if we are running under AIX. Otherwise, we tickle a g++
bug under IRIX. From Paul Kendall.
* Change bug reporting address to <address@hidden>.
* ltconfig.in (allow_undefined_flag): OSF/1 3.x also requires a
wildcard argument to `-expect_unresolved'. From Stephan Kulow.
1997-11-06 Gordon Matzigkeit <address@hidden>
* ltmain.in (link): Use libname_spec.
* ltconfig.in (pic_flag): Somehow, the HP-UX pic_flag (`+Z') was
dropped between libtool-1.0 and now. Add it back in. Reported by
Akim Demaille.
Integrated more patches for OS/2. From Jeff Freedman.
(libname_spec): New variable for OSes that don't require their
libraries to look like `libNAME.a'.
* ltmain.in (link): Only use global_symbol_pipe if it has been
defined. From Stephan Kulow.
* ltconfig.in (global_symbol_pipe): Protect C fragment under C++
compilers. From Stephan Kulow.
* Makefile.am ($(srcdir)/acinclude.m4,
$(srcdir)/demo/acinclude.m4): Change rules to use LN_S so that
they can be run on any system.
* ltconfig.in (archive_cmds): For NetBSD, don't include deplibs.
From Dieter Baron.
* ltmain.in (mkdir): Check that the directory doesn't exist before
we exit with error, so that we don't get races during parallel
builds. From H.J. Lu.
(fbsd_hideous_sh_bug): Apparently, some FreeBSD /bin/sh's have a
bug that will empty base_compile unless we do this dummy
assignment. From Marc van Kempen.
1997-10-22 Gordon Matzigkeit <address@hidden>
* libtool.m4 (libtool_shared, libtool_static): Fixed logic error
to reenable override of libtool's defaults by setting
enable_shared or enable_static in configure.in. Reported by Tom
Tromey and Stephan Kulow.
* ltmain.in (link): Add explicit support for compiler options that
begin with `+'. Reported by Aubert Pierre.
1997-10-20 Gordon Matzigkeit <address@hidden>
* ltmain.in: Silly me. Change a bunch of occurances of "* $dir *"
into *" $dir "*.
* ltconfig.in (pic_flag): PIC is the default for AIX. From Mark
Kettenis. It is also the default for OSF/1.
* demo/Makefile.am (objdir): Quote double-quotes. From Mark
Kettenis.
* ltconfig.in (global_symbol_pipe): This variable is not
double-evaled, so it should not be double quoted. From Mark
Kettenis.
1997-10-19 Gordon Matzigkeit <address@hidden>
* ltconfig.in (LD): Same as below.
* libtool.m4 (LD): Set LD if we discover an absolute path to GNU
ld. This prevents breakage when `$CC -print-prog-name=ld' returns
an absolute directory name. Reported by Ulrich Drepper.
* ltconfig.in: Port to OS/2 using EMX. From Jeff Freedman.
* ltmain.in (link): Use old_archive_from_new_cmds.
* ltconfig.in (old_archive_from_new_cmds): New variable to
support DLL libraries.
* ltmain.in (link): Only `eval' export_dynamic_flag_spec if it is
not empty. Reported by Stephan Kulow.
1997-10-18 Gordon Matzigkeit <address@hidden>
* ltconfig.in (objdir): Use the .libs directory on all systems for
which that name is valid, and _libs on the others (like MS-DOS).
Suggested by Juergen Erhard.
1997-10-14 Gordon Matzigkeit <address@hidden>
* ltmain.in (link): Added a bit more inter-language support to the
symbol file generation process.
Instead of complaining about unrecognized argument suffices, pass
them to the linker. This prevents libtool from barfing on
mandatory arguments to linker flags. Reported by Michael
Tiemann.
1997-10-09 Gordon Matzigkeit <address@hidden>
* ltmain.in (link): Change the wrapper script to follow symlinks
in order to find thisdir. This should put the final nail in the
coffin for problems with wrapper scripts. From Ian Lance Taylor.
1997-10-07 Gordon Matzigkeit <address@hidden>
* ltmain.in: Change a few `$echo' commands into `$show' to make
--silent mode behave as advertised.
* ltconfig.in (allow_undefined_flag): On OSF/1 4.x, use
`-expect_unresolved \*'. From Christian Mondrup.
* ltmain.in (install): Change install mode to allow a specified
/bin/sh argument at the beginning of the install_prog. Also,
specify the shell to run when invoking libtool recursively for
finish mode. From Chris Provenzano.
* libtool.m4 (LIBTOOL): Change definition to include $(SHELL).
From Chris Provenzano.
* ltconfig.in: Port to UTS 4.x. From Alistair Crooks.
* demo/Makefile.am (hc-libflag): Add rules to make this binary for
hardcode.test.
* tests/hardcode.test (hardcode_libdir_flag_spec): Check the hardcoding
properties of the flag_spec, too.
1997-09-24 Gordon Matzigkeit <address@hidden>
* ltconfig.in (LD): As with libtool.m4, don't override LD.
Do a whole bunch of ac_t quoting.
1997-09-24 Ian Lance Taylor <address@hidden>
* libtool.m4 (AM_PROG_LD): Don't override LD in the environment.
1997-09-21 Gordon Matzigkeit <address@hidden>
* libtool.m4, ltconfig.in (NM): Arguments to the for loop must be
whitespace separated. This fixes a bug under FreeBSD's /bin/sh.
From George Scott.
* tests/defs, tests/Makefile.am (clean-local): Change =inst to
_inst to fix portability on MS-DOS. From Robert Hoehne.
1997-09-20 Gordon Matzigkeit <address@hidden>
* ltmain.in (deplibs): When building shared libraries, always add
-lc to deplibs. Reported by Andreas Jellinghaus.
1997-09-15 Gordon Matzigkeit <address@hidden>
* ltconfig.in, ltmain.in (COLLECT_NAMES): If the COLLECT_NAMES
environment variable has not been set, set it to empty. This
apparently fixes the AIX bug with GCC's collect2. Reported by
Mark Kettenis.
* demo/Makefile.am, ltmain.in, tests/hardcode.test (objdir):
Changed objdir variable .libs to _libs. This is another MS-DOS
portability fix. Suggested by Robert Hoehne.
* tests/hardcode.test (objdir): New variable to simplify change from
.libs to _libs (MS-DOS portability fix).
1997-09-13 Gordon Matzigkeit <address@hidden>
* ltconfig.in, ltmain.in (hardcode_minusL): Fix typo by renaming
hardcode_minusL to hardcode_minus_L. Also add FreeBSD
hardcode_libdir_flag_spec. From Paul Traina.
* ltmain.in (link): Honour multiple `-rpath' flags when linking
programs. Suggested by Bengt Martensson.
Quote appearances of $echo in the wrapper script. From Alexandre
Oliva.
* Makefile.am, configure.in, tests/tlibtool: Use ltmain.in instead
of ltmain.sh.in.
* ltmain.in: Rename ltmain.sh.in to ltmain.in. This fixes a
portability problem (on MS-DOS, of all places!). From Robert
Hoehne.
1997-09-11 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in (link): Do not transform libtool objects to regular
objects if we did not build old libs. Reported by Tomas Hiller.
1997-09-05 Gordon Matzigkeit <address@hidden>
* demo/Makefile.am (hell_debug_LDFLAGS): Change hell.static to
hell.debug in order to reflect the new static linking semantics.
* ltmain.sh.in (link): Add new `-all-static' flag to prevent all
dynamic linking. The old `-static' flag just prevents dynamic
linking against libtool libraries. Suggested by Bengt
Martensson.
* ltconfig.in (with_gnu_ld): Add a test to make sure that we are
actually using GNU ld. This fixes an inconsistency when running
ltconfig without using libtool.m4. Reported by Ulrich Drepper.
(global_symbol_pipe): Delete symbols that are not valid C
identifiers. Reported by Johan Danielsson and Bengt Martensson.
* tests/demo-exec.test, tests/demo-inst.test: Change references from
hell.static to hell.debug.
* tests/quote.test (echo): Add the same Digital Unix echo test fixes as
the ones to ltmain.sh.in from Todd Kover.
* tests/if.test, tests/test-e.test (scripts): Add ../lineno to
the scripts we check.
* tests/if.test: Check for accidental use of test X$something rather
than test "X$something".
1997-09-04 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in (echo): Quote all the uses of `echo' in all eval
statements. Reported by Bengt Martensson and Alexandre Oliva.
(echo): Need to surround test args with double quotes, or the echo
test fails on Digital Unix 4.0. From Todd Kover.
1997-08-28 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in (echo): Change test to one that uses printf.
This works on AIX, which has the same problems that Solaris does,
but no working echo program.
* tests/quote.test (echo): Change test to version that uses printf.
Be less strict about return results.
1997-08-27 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in (link): Make sure that compile_command and
finalize_command are always evaled. Quote any unknown linker
flags we need to pass through.
(compile): Use quoting for flags we pass.
(echo): I hate Sun! The /usr/bin/echo on Solaris handles
backslash sequences, which makes it impossible to do backslash
quoting using echo and sed. So, we search for an echo that obeys
the `echo '\t'` = '\t' equality. Then we use `$echo' everywhere
in ltmain.sh.
Put tabs back into the ${IFS= } sequences. Emacs untabify is
libtool bane.
* ltconfig.in: Quote all variable values that may contain
metacharacters creating the libtool script. This provides
complete protection, so that even single-quotes may appear inside
a libtool variable value.
* ltmain.sh.in (link): Quote finalize_command before putting it in
the wrapper script.
* tests/quote.test (echo): Add the test for a non-backslash-mangling
echo.
1997-08-26 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in (sed_quote_subst): Change the quoting procedure
again. I think that the new one is robust for *all* characters,
including whitespace and metacharacters.
* tests/quote.test: New torture test for libtool metacharacter quoting.
1997-08-25 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in: Change quoting procedure because some shells
cannot handle `]' in scan sets. From Ian Dall.
1997-08-22 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in (execute): Added -dlopen flag handling. Suggested
by Alexandre Oliva.
1997-08-21 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in (link): Change executable wrapper to fix up value
of thisdir, as well as progdir, if the $0 path doesn't work. This
guarantees that shlibpath_var is set correctly. Add support for
execute mode.
* ltmain.sh.in (execute): New mode to automatically set
shlibpath_var, which allows easy debugging of uninstalled
executables and libraries. Suggested by Kenneth Albanowski.
1997-08-20 Gordon Matzigkeit <address@hidden>
* Makefile.am ($(srcdir)/ltconfig): Use lineno.
* configure.in: Add AM_PROG_AWK for lineno.
* lineno: New program to automatically put line numbers in
ltconfig.
* libtool.m4, ltconfig.in (AM_PROG_LD): Yet Another Rewrite, which
incorporates the results of `gcc -print-program-name=ld'.
Suggested by Alexandre Oliva.
1997-08-14 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in: Accept `--quiet' and `--silent' flags to turn off
command echoing. From Juergen A. Erhard.
(compile): Recognize the Objective C `.m' extension. From Juergen
A. Erhard.
(compile): Suppress error output from the second compilation (if
any) so that we don't get those frustrating duplicate error
messages.
* tests/suffix.test (extensions): Added Objective C extension, `.m'.
1997-08-12 Gordon Matzigkeit <address@hidden>
* ltconfig.in: Added messages to config.log to describe what sort
of test we are running.
(pic_flag): Added a sanity check for pic_flag. This should fix
bugs reported using the cc bundled with HP-UX 10. Suggested by
Bruno Haible and Akim Demaille.
1997-08-01 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in (link): Add -dlopen and -dlpreopen support for
libtool objects. This means that dlopened modules no longer need
to be shared libraries.
* ltconfig.in (pic_flag): GCC on IRIX 6 always builds PIC.
Reported by Ian Lance Taylor.
* libtool.m4 (LD): Always add `-n32' to the linker if we are using
GCC on IRIX 6. Reported by Ian Lance Taylor.
1997-07-30 Gordon Matzigkeit <address@hidden>
* libtool.m4 (AM_PROG_LIBTOOL): Explicitly check enable_shared and
enable_static rather than just enableval. This allows
configure.in scripts to set their own defaults. Suggested by
Tommy Reilly.
1997-07-29 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in: Add NLS environment variable handling copied from
ltconfig.in. Reported by Akim Demaille.
(link): If allow_undefined_flag is not supported, then turn on old
libraries. Reported by Akim Demaille.
* demo/dlmain.c (main): Use dld_preloaded_symbol_count to display
a message about the sortedness of the symbol table.
* ltconfig.in (nlist): Use an nlist convenience variable, so that
code can be shared directly with ltmain.sh.in.
* ltconfig.in, ltmain.sh.in (dld_preloaded_symbol_count): Count up
the number of symbols in the dld_preloaded_symbols. Set to `-1'
if the list wasn't both sorted and counted. This allows
applications to do a quick binary search, if they are so inclined.
1997-07-25 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in (link): Remove code for `-version-file', since it
has been long-deprecated.
Disable static linking if hardcode_direct is unsupported and there
is no working link_static_flag. This provides correct behaviour
for all cases on AIX 3, regardless of whether collect2 is broken
or not. Reported by Mark Kettenis.
* ltconfig.in: Fix typo in test polarity. From Mark Kettenis.
1997-07-24 Gordon Matzigkeit <address@hidden>
* ltconfig.in (hardcode_direct): Set to `unsupported' if aix3 uses
a broken collect2. Adapted out of test results from Mark
Kettenis.
(link_static_flag): Make sure the link_static_flag actually works
with a trivial binary.
* ltmain.sh.in, ltconfig.in (export_dynamic_flag_spec): Renamed
from export_dynamic_flag because we eval it in ltmain.sh.
* ltmain.sh.in (link_static): Don't eval link_static_flag.
* demo/dlmain.c (main): Change function prototype to be KNR
compatible. From Kaveh R. Ghazi.
* ltmain.sh.in (link): Use no_builtin_flag. This works around
conflicting definitions of builtin functions with at least GCC.
Reported by Kazuhiro Sasayama.
* ltconfig.in (no_builtin_flag): New flag to turn off builtin
functions when compiling an object file.
(pipe_works): Use it.
* tests/demo-exec.test (status): Use status variables so that we try to
execute all the programs.
1997-07-23 Gordon Matzigkeit <address@hidden>
* ltconfig.in (pic_flag): According to the libg++ 2.7.2 configure
script, DEC alpha CPUs are PIC-only, as well. Reported by Kevin
Jacobs.
1997-07-21 Gordon Matzigkeit <address@hidden>
* ltconfig.in, ltmain.sh.in: Replace all occurances of "sed 'X;
Y'" with "sed -e 'X' -e 'Y'".
* ltmain.sh.in (link): Finish full integration for `-dlopen' and
`-dlpreopen'.
Fix two silly typos where I used a compile_command in place of a
finalize_command, and vice versa.
Change the wrapper script to check a hardcoded path only if the
argv[0] method fails. This is a compromise for the previous two
patches, and should solve the majority of problems with wrapper
scripts. From Kenneth Albanowski.
(link): Change a reference to hardcode_libdir_colon_separated to
use the new hardcode_libdir_separator variable.
* demo/Makefile.am (helldl_LDFLAGS): Add `-export-dynamic' and
`-dlpreopen' for building helldl.
* demo/dlmain.c (main): Succeed, even if none of the libhello
symbols have been preloaded.
1997-07-20 Gordon Matzigkeit <address@hidden>
* ltconfig.in (global_symbol_pipe): Add `U' to the accepted global
symbol types. This means that we will get duplicate symbols, but
we'll also be sure to get all global symbols used by the program.
* ltconfig.in (pipe_works), ltmain.sh.in (link): Sort and make
symbol output unique.
1997-07-19 Gordon Matzigkeit <address@hidden>
* ltconfig.in (pipe_works): Check to make sure our guessed
global_symbol_pipe actually works.
* ltmain.sh.in (link): Revert change from Kenneth Albanowski. The
wrapper scripts are more reliable when they just use the argv[0]
value. Generally, when the argv[0] method doesn't work, the user
is trying to do something weird with an uninstalled binary, and
should try a different approach.
* ltconfig.in, ltmain.sh.in (CC): Always use `$CC' instead of
`$cc'. This fixes a FreeBSD bug. Reported by Chuck Robey, and
others.
1997-07-14 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in (link): In wrapper scripts, hardcode the current
directory to prevent phony argv[0] values from screwing up our
program. From Kenneth Albanowski.
1997-07-13 Gordon Matzigkeit <address@hidden>
* Makefile.am (demo_distfiles): Add demo/dlmain.c to the
distribution.
1997-07-12 Gordon Matzigkeit <address@hidden>
* demo/Makefile.am: Add helldl, made from dlmain.c, to demostrate
`-dlopen' usage.
* demo/dlmain.c: New file to demonstrate preloaded modules.
* ltmain.sh.in (link): Add `-dlopen' flag to preload dynamic
modules, even on static platforms. Use `$NM' and
`$global_symbol_cmd' to extract symbols from required files.
(dlname): Delete dlname mode entirely. It is rendered obsolete
because the `.la' file format is now a public interface.
* ltconfig.in (NM): New variable for BSD-compatible nm program.
(global_symbol_cmd): Pipeline to extract global symbols from the
nm output.
* ltmain.sh.in: The .la file header should depend on `ltmain.sh',
not `$PROGRAM'.
(link): Make sure $export_dynamic_flag is eval'ed before it is
used.
* tests/demo-exec.test, tests/demo-inst.test: Check the new
helldl program, too.
1997-07-11 Gordon Matzigkeit <address@hidden>
* libtool.spec: New Red Hat Package Manager specification file in
order to help people prepare distributions of libtool for Linux.
* ltmain.sh.in: Eliminate two accidental uses of the NONE magic
value. These were breaking libtool's behaviour when no mode is
specified.
* tests/nomode.test: New test to make sure there is correct behaviour
when we don't specify a mode.
1997-07-08 Gordon Matzigkeit <address@hidden>
* Release 1.0.
* ltconfig.in: On SunOS, append /usr/etc to the PATH before
running ldconfig; on *BSD, append /sbin. This was done in line
with the Linux change suggested by Kenneth Albanowski.
* demo/Makefile.am (hardcode_tests): Aesthetic change to
alphabetize order of compiling the hardcode tests.
* Makefile.am (EXTRA_DIST): Delete README-automake.
* README-automake: Remove from distribution.
1997-07-02 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in (link): In the executable wrapper, strip trailing
colons from the shlibpath_var because some ld.so's, notably
OpenBSD 2.0's (!), don't parse colon-terminated values correctly.
From Tim Pierce.
1997-07-01 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in, ltconfig.in: Eliminate uses of the NONE magic
variable value. Use an empty variable instead.
* ltconfig.in (with_gcc, with_gnu_ld): Do the tests for the C
compiler and linker if the variables are unset, or if they are not
GNU C and ld.
(RANLIB): Eliminate redundant `if' statement.
* configure.in: Use AM_PROG_LD.
* libtool.m4 (AM_PROG_LD_GNU): New macro to determine if LD is GNU
ld.
(AM_PROG_LD): Rename AM_PATH_PROG_LD to AM_PROG_LD. Parameterize
so that the user can specify `--with-gnu-ld' or `--without-gnu-ld'
to indicate his preference.
(AM_PROG_LIBTOOL): Use it.
1997-06-30 Gordon Matzigkeit <address@hidden>
* ltconfig.in: Append /sbin to the path before running ldconfig on
Linux. This helps superusers who haven't set their PATH
correctly. Suggested by Kenneth Albanowski.
* tests/if.test: New test to make sure that we haven't forgotten to
follow an `if' statement with a `test' command. This should avoid
the majority of hard-to-track bugs.
1997-06-29 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in: Change all the `eval "$run ..."' sequences to
`$run "eval ..."'.
Change all `$ln_s ...' sequences to use `(cd /dir && $LN_S ...)'.
This is the sequence recommended by the Autoconf manual, and
should avoid any problems on older machines. Eliminate all uses
of `cp -p'. Reported by Akim Demaille.
(install): Use `test $# -gt 0' instead of `test -n "$1"'.
* ltconfig.in (LN_S): Add test to see if `ln -s' works.
* libtool.m4: Increment serial number, and require AC_PROG_LN_S.
1997-06-26 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in (link): Add missing `test' statement. Reported by
Akim Demaille.
1997-06-24 Gordon Matzigkeit <address@hidden>
* libtool.m4 (LD): Consistently use ac_cv_path_ld instead of
am_cv_path_ld. From Tim Pierce.
1997-06-20 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in: Redo two robustness fixes. Alexandre had the
correct approach, but I botched them.
* ltconfig.in (dynamic_linker): Disable shared libraries on
MkLinux unless GNU libc is in use. Reported by Akim Demaille.
1997-06-19 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in (install): Add a missing `test' command. Reported
by Joel Weber.
Miscellaneous fixes to improve robustness. From Alexandre Oliva.
* tests/demo-conf.test (CONFIG_SITE): Set to /dev/null, so that the
config.site file doesn't mess up our prefix. Reported by Joel
Weber.
* tests/demo-inst.test: Always run both hell.static and hell.
* tests/demo-conf.test: Always remove the local config.cache, but run
`make distclean' only if the Makefile exists. Otherwise, the demo
directory is not cleaned up if a user uses their own config.cache.
Reported by Joel Weber.
1997-06-14 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in (link): Create invalid libtool objects when partial
linking if we don't have PIC. From Jeff Dairiki.
(install): Fix bug if libtool object is installed to a file name
without directory components. From Jeff Dairiki.
1997-06-13 Gordon Matzigkeit <address@hidden>
* Makefile.am (demo/configure): Fix up rules to run autoconf.
(aclocal.m4): Now we depend on our own libtool.m4.
* configure.in (AM_PATH_PROG_LD): Use it.
* libtool.m4 (AM_PATH_PROG_LD): New macro to find the linker used
by the C compiler.
(AM_PROG_LIBTOOL): Use it.
* ltmain.sh.in (install, uninstall): Support installing and
uninstalling `.lo' files. From Jeff Dairiki.
1997-06-11 Gordon Matzigkeit <address@hidden>
* Makefile.am (ltconfig, ltmain.sh): Only move if $(srcdir) is not
the current directory. Don't regenerate every time the package is
reconfigured. Reported by Tom Tromey.
(MAINTAINERCLEANFILES): Added ltconfig, ltmain.sh, so that
$(srcdir) is not messed with during a regular clean.
1997-06-10 Gordon Matzigkeit <address@hidden>
* Makefile.am (ltconfig, ltmain.sh): Be sure to move these files
into $(srcdir) once they are created.
* ltmain.sh.in (link): Disable building static libraries.
People should use their favourite AR and RANLIB commands.
Disable building old-style objects if `--disable-static' is
given. Suggested by Tom Lees and Stephan Kulow.
1997-06-08 Gordon Matzigkeit <address@hidden>
* ltconfig.in (host_cpu, host_vendor, host_os): Patch up
definitions, to allow for the fact that the host_os may contain
hyphens (as in linux-gnu). From Scott Goehring.
* ltmain.sh.in (link): Move the `dlname' setting closer to the top
of the file. Suggested by David Mosberger-Tang.
Symlink the libtool archive into the `.libs' directory so that it
can be found by programs that want to find a library's dlname by
searching LD_LIBRARY_PATH. Reported by David Mosberger-Tang.
1997-06-06 Gordon Matzigkeit <address@hidden>
* Tell people to report bugs to the new libtool mailing list,
<address@hidden>.
1997-06-05 Gordon Matzigkeit <address@hidden>
* ltconfig.in (allow_undefined_flag): New variable that implements
`-allow-undefined'.
(archive_cmds): Enable C++ constructors for FreeBSD 2.2. From
David Nugent.
* ltmain.sh.in (link): Accept new `-allow-undefined' flag when
building libtool libraries. This tells libtool to allow
unresolved symbols to exist in shared libraries. Basically, this
turns off shared libraries on AIX. Suggested by Ian Lance Taylor.
1997-05-26 Gordon Matzigkeit <address@hidden>
* libtool.m4 (LD): On at least IRIX, many different flags need to
be propagated to the linker if they are part of the compiler
command line. Reported by Anthony Green.
1997-05-10 Gordon Matzigkeit <address@hidden>
* ltconfig.in: Trivial port to FreeBSD 3. From David Nugent.
1997-04-25 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in (link): Remove all traces of `-whole-archive',
`-no-whole-archive', and libtool convenience libraries. They were
more trouble than they're worth. If these are ever reimplemented,
they need more careful attention to make portable.
* libtool.m4, ltconfig.in: Added a `--disable-static' flag to turn
off static library creation. From Tom Lees (who finally convinced
me that it was the Right Thing to do).
1997-04-22 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in (hardcode_runpath_var, runpath_var): Use them, if
the linker has no -rpath flag.
Quote the values we use to set runpath_var and shlibpath_var.
(link): Use libobjlibs for libtool convenience libraries.
* ltconfig.in (hardcode_runpath_var, runpath_var): Add new
variables to describe linkers that honour `LD_RUN_PATH'.
(host_cpu, host_os): Use these more specific variables, rather
than the full canonical host system name.
* ltmain.sh.in (dlname): Distinguish between missing
`-export-dynamic' and when the library is only statically linked.
1997-04-21 Gordon Matzigkeit <address@hidden>
* ltconfig.in: Trivial port to OpenBSD by making it an alias for
NetBSD. From Tim Pierce.
1997-04-16 Gordon Matzigkeit <address@hidden>
* ltconfig.in: Temporary measures to check for a broken collect2
program. Right now, we just see if we're using GCC on AIX 3.
* tests/hardcode.test: AIX also has arbitrary limits on the line length
of input to fgrep(1), so we need to translate NUL characters to
newlines in order to properly detect embedded `.libs'. From Bruno
Haible.
Also redirect stderr to /dev/null, so that AIX users don't get
worried by `fgrep: Maximum line length of 2048 exceeded.'.
1997-04-13 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in (mode): Use `egrep -e' when inferring the operation
mode.
1997-04-12 Gordon Matzigkeit <address@hidden>
* ltconfig.in (linker): Some GNU ld's don't accept `--version',
but do accept `-v'. From Jukka Honkela.
(ld_shlibs): AIX lossage may be settling down. AIX 3.2.5 ld does
*not* hardcode direct libraries, but AIX 4.1.[45] ld does.
1997-04-07 Gordon Matzigkeit <address@hidden>
* ltconfig.in (hardcode_action): Fix silly logic error. From
Bruno Haible.
1997-04-05 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in (install): Relink if hardcode_action is `relink',
rather than using complex conditionals based on the other
hardcode variables.
* ltconfig.in (hardcode_action): Set to `relink', not `immediate',
if we can only hardcode existing directories. Rearrange
conditionals to make the intent clearer, otherwise this can be one
hellish piece of code for the already-dizzy libtool maintainer.
1997-04-02 Gordon Matzigkeit <address@hidden>
* replfunc.m4: Delete from the distribution. Documentation now
describes how to set LTALLOCA and LTLIBOBJS in your own
configure.in.
* ltmain.sh.in (link): Make sure a libtool library only counts as
a shared library if its library_names are non-null.
Use timestamps for .lo's when PIC is turned off, rather than
symlinking to the real object. This helps invalid mixtures of PIC
and non-PIC to fail.
1997-04-01 Gordon Matzigkeit <address@hidden>
* Makefile.am (EXTRA_DIST): Distribute libtool.prj.
* Shameless plug: Changed source code management system from CVS
to PRCS.
* libtool.scm: Initial Guile implementation of libtool.
* ltmain.sh.in: An unexpected inconsistency in my whole approach
to shared libraries has proven that libtool needs to be completely
rewritten if I'm going to give full shared library support for
platforms that don't use the GNU C library version 2 (which to my
knowledge currently only works on GNU Hurd and Linux/GNU systems).
Porting the GNU C library should not be difficult, though.
Platforms that don't have the dlopen(3) family of functions will
need to install GNU DLD version 4 in order to build any kind of
libraries at all. Unfortunately, DLD 4 won't be released for a
while, because I maintain it, and I'm too busy working on libtool.
I'll keep the old ltconfig/ltmain.sh implementation around for as
long as I can, and continue applying bug fixes, so that I'll have
a reasonable starting point for this new libtool implementation.
It looks like this implementation will be even more complex than
the original (pre-0.7) libtool. Initial estimates show that it
may be up to 3 times slower, and 5 times larger than libtool-0.9.
I'll probably have to rewrite it in Guile to get reasonable
performance, which will severely limit its portability for a
while.
That will also introduce a bootstrapping issue, since the next
release of Guile will use libtool to build shared libraries. So,
if users want to have shared Guile libraries, they will have to
configure Guile with `--disable-shared', compile it, install it,
then reconfigure Guile with `--enable-shared' and repeat.
I was hoping to get libtool 1.0 out the door by early April, but
now it looks like it will take at least another year before it'll
be usable by the public at large. April fools. libtool.scm
doesn't exist yet, either.
* ltconfig.in (verify_host): Remove redundant `Transform *-*-linux*
to *-*-linux-gnu*'. From Bruno Haible.
* tests/hardcode.test: AIX 3 doesn't have strings(1) so we need to do a
funny tr and pipe the output to fgrep. From Bruno Haible.
1997-03-31 Gordon Matzigkeit <address@hidden>
* Makefile.am: Use the new AUTOMAKE and ACLOCAL variables.
* ltmain.sh.in (link): Only fail if a convenience library doesn't
exist, and the user specified -whole-archive.
Fix shell quoting that was breaking @OUTPUT@ substitution.
1997-03-28 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in (link): Use the hardcode_libdir_separator.
Convenience libraries are libtool objects if we're not building
libtool libs.
* ltconfig.in (hardcode_libdir_separator): Added in case the
linker only honours the last of the -rpath flags (but it can
contain multiple colon-separated directories), such as on OSF/1.
Reported by Carl D. Roth.
* ltmain.sh.in (link): Set the dlname if -export-dynamic is given.
(install, uninstall): Handle the dlname file separately.
* ltconfig.in (export_dynamic_flag): Added to allow programs to
use reflexive dlopens.
* ltmain.sh.in: Include the mode name in any help messages.
(dlname): New mode to give the name to be used with dlopen(3).
* ltconfig.in (AR): Allow AR to be set by the user, and export it
to ltmain.sh.
* ltmain.sh.in: Remove broken profiled library support.
Added `-whole-archive' and `-no-whole-archive' to manipulate
convenience libraries.
1997-03-27 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in (link): Allow the creation of static convenience
libraries made of libtool objects. Suggested by David
Mosberger-Tang.
1997-03-25 Gordon Matzigkeit <address@hidden>
* ltconfig.in: On AIX, libtool also needs to look for `B' symbols
in nm output. These are global variable definitions.
* ltmain.sh.in: Linking with -static should link against the
linklib if old_library is empty (like it is on AIX).
* ltconfig.in: Change the order of OS detection, so that
linux-gnu* is detected before gnu*.
* Makefile.am (libtool): Use the correct CC, RANLIB, LD, when
generating libtool. From Carl D. Roth.
* configure.in: Find out the user-supplied CC, LD, RANLIB. From
Carl D. Roth.
1997-03-24 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in: Linking with -static should link against the old
library, not linklib.
* README-automake: Updated to point to Automake 1.1m.
1997-03-15 Gordon Matzigkeit <address@hidden>
* demo/main.c: Use it.
* demo/foo.h: Declare it.
* demo/foo.c: Added definition of `nothing' so that we have an
global variable definition, as well as functions.
1997-03-12 Gordon Matzigkeit <address@hidden>
* ltconfig.in: Make sure either enable_shared or enable_static is
configured. Reported by Tom Tromey.
* ltmain.sh.in: Bomb out if no library types are configured.
1997-02-22 Gordon Matzigkeit <address@hidden>
* ltconfig.in, ltmain.sh.in (hardcode_libdir_flag_spec): Renamed
from `hardcode_libdir_flag'.
(library_names_spec): Renamed from `lib_names'.
* ltconfig.in, ltmain.sh.in (hardcode_action): Change value from
`rpath' to `immediate'.
* replfunc.m4: Add AM_FUNC_ALLOCA, AM_FUNC_MEMCMP, and
AM_STRUCT_ST_BLOCKS.
1997-02-18 Gordon Matzigkeit <address@hidden>
* ltconfig.in: Transform *-*-linux* to *-*-linux-gnu* to support
old-style config.guess scripts.
1997-02-17 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in: Create objdir *before* linking a program into it.
1997-02-12 Gordon Matzigkeit <address@hidden>
* ltconfig.in: Any ld --version that returns GNU is probably a GNU
ld. From Marcus Daniels.
* libtool.m4: Added AM_REPLACE_FUNCS.
1997-02-11 Gordon Matzigkeit <address@hidden>
* ltconfig.in: Trivial port to *-*-osf4. From Bruno Haible.
1997-02-10 Gordon Matzigkeit <address@hidden>
* ltconfig.in: AIX 3 and 4 ld only hardcodes LIBPATH if -L is not
specified. This behaviour is the same with both xlc and gcc.
1997-02-07 Gordon Matzigkeit <address@hidden>
* doc/platforms.texi: Yaay! We found a workaround for HP-UX
/bin/sh buffer overflows. From Eric Backus.
1997-02-03 Gordon Matzigkeit <address@hidden>
* Release 0.9.
* PLATFORMS, doc/platforms.texi, Makefile.am, doc/Makefile.am:
Move PLATFORMS to doc/platforms.texi.
* ltmain.sh.in (link): Use hardcode_libdir_flag to get a library
directory into the resulting binary.
Use hardcode_action, and make many simplifying changes to have
compilation and finalization be consistent with each other.
* ltconfig.in: Not so amazing! It's AIX cc that hardcodes direct
libraries... gcc doesn't, though.
(link_rpath_flag): Change link_rpath_flag to be
hardcode_libdir_flag.
(hardcode_action): New variable to simplify ltmain.sh.
* tests/Makefile.am (TESTS): Do the full make sequence with
--disable-shared, then without.
* tests/demo-sttc.test: Configure the demo directory with
--disable-shared.
1997-01-29 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in: Change to take advantage of linkers that don't
hardcode direct libraries.
* ltconfig.in: Amazing! AIX 3 linker doesn't hardcode direct
libraries, which makes it less buggy than AIX 4. Reported by Mark
Kettenis.
* demo/configure.in: Check for the math library.
* demo/foo.c (foo): Change to use the `cos' function, so that we
need to link against another library.
* tests/hardcode.test: Rewrite to use fgrep on output from ``strings
-a'' if using fgrep directly on the binary files fails. From Mark
Kettenis.
1997-01-28 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in (link): Export the PATH variable in order to find
the program, rather than giving a full path. This helps give the
program a less confusing value for argv[0].
* tests/hardcode.test: Make sure that ../demo/libhello.la really is a
shared library before running hardcoding tests.
1997-01-26 Gordon Matzigkeit <address@hidden>
* Release 0.8.
1997-01-24 Gordon Matzigkeit <address@hidden>
* Makefile.am (demo_distfiles): Add demo/acinclude.m4 to the
distribution.
1997-01-22 Gordon Matzigkeit <address@hidden>
* libtool.m4: For IRIX 6, ld needs -n32 if cc uses it. Reported
by Bruno Haible.
* ltconfig.in: IRIX ld does not hardcode direct libraries.
Reported by Bruno Haible.
1997-01-18 Gordon Matzigkeit <address@hidden>
* ltconfig.in, ltmain.sh.in (hardcode_shlibpath_var): Allow new
value, `unsupported', since most linkers do not allow you to use
shlibpath_var for initial linking.
* ltconfig.in: Lots of bug fixes from Bruno Haible. Set wl on
OSF/1, fix definitions of hardcode_* variables.
(archive_cmds): Fix not to use +h on HP-UX 9.x. Reported by Bruno
Haible.
* tests/demo-conf.test: Use the CONFIG_SHELL environment variable when
running configure in the demo directory. From Bruno Haible.
* tests/Makefile.am (clean-local): Make distclean in the demo directory,
so that ``make clean; env CC=cc make check'' works as one would
expect.
* tests/demo-make.test: Fix typo (use $make instead of make). Reported
by Akim Demaille.
1997-01-17 Gordon Matzigkeit <address@hidden>
* libtoolize.in: Handle explicit AC_CONFIG_AUX_DIR settings.
Suggested by Akim Demaille.
* libtool.m4: Change ltconfig line to use $CONFIG_SHELL when it is
specified. Reported by Bruno Haible.
1997-01-16 Gordon Matzigkeit <address@hidden>
* demo/Makefile.am (hc-direct): Do better searching for the proper
name to do a direct link.
(hc-libpath): Make allowances if shlibpath_var cannot be used
to find libraries at link time, such as on AIX.
* Makefile.am (demo_distfiles): Remove ansi2knr.1 and ansi2knr.c.
* demo/foo.c, demo/hello.c, demo/main.c: Change ANSI prototypes to
KNR form, for better portability, and less ansi2knr hair.
* demo/configure.in: Remove AM_FUNC_PROTOTYPES.
* demo/Makefile.am: Remove ansi2knr from the AUTOMAKE_OPTIONS.
* demo/ansi2knr.1, demo/ansi2knr.c: Removed these files.
* ltmain.sh.in: Use 1>&2 consistently to direct errors and
warnings to stderr.
(compile): Fix missing single quote.
* ltconfig.in (hardcode_direct): On Solaris at least, using
DIR/libNAME.so does not hardcode DIR, so introduce a new hardcode
variable to reflect that.
* ltmain.sh.in (link): If linking with $link_static_flag fails,
then retry without it, but still use the .a versions of
uninstalled libtool archives.
* tests/tlibtool: Rewrote to grab all the settings from the generated
libtool script.
* tests/hardcode.test: Make allowances if shlibpath_var cannot be used
to find libraries at link time, such as on AIX.
1997-01-15 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in (link): Eval $link_static_flag. Reported by Bruno
Haible.
* PLATFORMS: Add to distribution. Suggested by Bruno Haible.
1997-01-14 Gordon Matzigkeit <address@hidden>
* tests/demo-conf.test, tests/demo-inst.test, tests/demo-unst.test,
tests/hardcode.test:
Use $make instead of make.
* tests/defs (make): Add definition of $make that uses the $MAKE
environment variable, if set. Suggested by Bruno Haible.
* tests/demo-unst.test (leftovers): Change the find command to ignore
files beginning with a dot, as egrep -v doesn't seem to do the
trick. Reported by Bruno Haible.
1997-01-13 Gordon Matzigkeit <address@hidden>
* ltconfig.in: Add support for SCO OpenServer 5.x. From
Christopher Olsen.
(can_build_shared): Initialize at the top of the file, so that
shared libraries aren't built on platforms that don't support
them.
* tests/hardcode.test: Added a test to make sure that libtool's idea of
hardcoding system linkers is correct.
1997-01-11 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in, ltconfig.in, libtoolize.in, doc/libtool.texi:
Update the copyright completion years.
1997-01-08 Gordon Matzigkeit <address@hidden>
* ltconfig.in: Port to IRIX 5.3, 6.2.
1997-01-06 Gordon Matzigkeit <address@hidden>
* ltconfig.in: HP-UX 9 support is the same as HP-UX 10, so the
port is trivial.
* libtoolize.in: Add --dry-run option, -n for short.
1997-01-03 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in (link): On at least SunOS, /bin/sh doesn't
understand "export something=val". From Bruno Haible.
* tests/Makefile.am (distclean-local): Remove all files that the tests
may have created. Reported by Bruno Haible.
* For all tests, discover srcdir when running from the command
line.
* tests/demo-unst.test: Don't fail if make uninstall doesn't delete
files beginning with a dot, since spurious .nfsXXX files may be
present when running NFS. Reported by Bruno Haible.
1997-01-02 Gordon Matzigkeit <address@hidden>
* ltmain.sh.in (compile): Recognize valid source file suffixes for
Fortran and C++.
* tests/suffix.test: New test to guarantee that libtool compile
recognizes valid source file suffices.
Continued in ChangeLog.1996
Index: ChangeLog.1998
from Joseph Beckenbach III <address@hidden>
* ltconfig.in: added support for BeOS
* ltmain.in (shlibpath_var): added a workaround for
an odd bug in the BeOS R4 sed
1998-12-31 Thomas Tanner <address@hidden>
* verified all copyright notices
and updated them to 1999
* TODO: added some things that need to documented
* doc/libtool.texi: -export-symbols is not
supported on all platforms
* doc/PLATFORMS: added a few new platforms
1998-12-30 Thomas Tanner <address@hidden>
* NEWS: updated
* THANKS: added Todd Vierling <address@hidden>
1998-12-30 Todd Vierling <address@hidden>
* ltconfig.in: improved shared object handling on both
a.out and ELF platforms for NetBSD
1998-12-29 Thomas Tanner <address@hidden>
* ltconfig.in: do not rely on a leading space when concatenating
variables as suggested by Erez Zadok
* ltmain.in: likewise
* doc/PLATFORMS: updated and reformatted
(thanks to Erez Zadok for the testing)
1998-12-27 Thomas Tanner <address@hidden>
* THANKS: added Erez Zadok <address@hidden>
1998-12-26 Erez Zadok <address@hidden>
* ltconfig.in: support i486-ncr-sysv4.3.03
shared libraries.
* ltmain.in: before every ln -s, remove the link name
1998-12-25 Thomas Tanner <address@hidden>
* depdemo/configure.in: removed last relics of demo
* depdemo/sysdep.h: ditto
* mdemo/Makefile.am: ditto
* libltdl/Makefile.am: fixed the version number, build libltdls if
-enable-install and -enable-dlpreopen are enabled
* libltdl/configure.in: libltdl is version 0.1, not 1.0,
renamed -enable-ltdl-install to -enable-install,
conditionals for libltdls, check for strchr and index,
replaced NULL with 0
* libltdl/ltdl.c: replaced NULL with 0, dlpreopen only if
USE_DLPREOPEN was defined, integrated shl_load code from GModule
(still untested)
1998-12-24 Gary V. Vaughan <address@hidden>
* libltdl/configure.in: fixup spacing in --enable-ltdl-install
help string so that it lines up nicely for configure --help.
* ltmain.in (dllsearchpath): keep track of what the dll search path
will need to be in the wrapper scripts as deplibs are calculated.
Make sure the wrapper script doesn't end in `.exr', which makes
win32 try to execute it as a binary!
Add the contents of dllsearchpath to $PATH in the wrapper script.
Use the relative path to the wrapped program so that the dll
search path is calculated properly by win32 OSes.
* TODO: removed the item for making wrapper scripts work on win32.
* TODO: removed the reference to making libltdl and demo work on
win32. They *do* work now that wrapper scripts are functioning.
* ltmain.in (file_magic_command): It turns out that if the
file_magic_command generates huge output (e.g. running `objdump
-f' over a large import lib [say libX11.a]) the expr to check it
against the file_magic_regex blows up. There is now an optimistic
heuristic, to save only the first 10 lines of running
file_magic_command which (at risk of sounding like Bill) should be
enough for anyone =)O|.
* ltmain.in: Set the compile_dependencylibs and dllsearchpath for
non-libtool libs, or else libdeps only works between ltlibs for
cygwin32.
1998-12-23 Alexandre Oliva <address@hidden>
* ltmain.in (SP2NL, NL2SP): use `tr' magic to avoid passing very
long lines to sed
* doc/libtool.texi (sed): very long lines are no longer a problem
* libltdl/Makefile.am: install libltdl conditionally...
* libltdl/configure.in: ... if --enable-ltdl-install is issued
* libltdl/ltdl.c: removed #ifdef DEBUG
* mdemo/Makefile.am (mdemo_debug_LDADD, mdemo_debug_DEPENDENCIES):
use libltdl.la
1998-12-23 Gary V. Vaughan <address@hidden>
* doc/PLATFORMS: added my cygwin32 box (i686-pc-cygwin32).
* TODO: remind myself of the win32 tasks remaining.
* ltconfig.in (archive_cmds, archive_sym_cmds,
old_archive_from_new_cmds): Fixed a bug which left an a.exe in the
build directory. Fixed a bug where $soname-def was never deleted.
* ltconfig.in (file_magic_command): new variable holds the command
(including any args) to run to generate the string to match
against the regex in $file_magic. Use the variable where
necessary. Added to libtool header output.
(deplibs_check_method): use file_magic for win32, but compare the
output of `objdump -f' with the regex (see below).
(archive_cmds, archive_sym_cmds): use compile_dependencylibs for
each $CC invokation (see below).
* ltmain.in: Set allow_undefined to `no' for win32 variants by
default, otherwise it is impossible to link a dll without forcing
the makefile maintainer to figure out whether to pass
--no-undefined at every libtool invokation.
(compile_dependencylibs): save the list of dependency library
flags needed for a deplib build on win32.
(link_against_libtool_libs): commented out the check for this; if
it is left in, then ltlibs (i.e. *.la files) cannot be deplibs for
subsequent links.
Don't add -lc to the deplibs line for win32 platforms (which don't
have a libc as such).
(file_magic_command): use this to get some output to compare with
the file_magic regex (instead of hardcoding `file' which doesn't
exist on win32.
* doc/libtool.texi (Porting inter-library dependencies): Updated
to document the changes above.
* ltconfig.in (deplibs_check_method): Changed the file_magic regex
to match more linux variants. This is less lenient than Thomas
Tanner's commit to fix the same problem below.
Reported by Joel Klecker <address@hidden>
* THANKS: added Joel Klecker <address@hidden>
1998-12-23 Thomas Tanner <address@hidden>
* ltconfig.in: fixed file-magic for Linux shared libraries
* ltmain.in: removed the unused -force-static flag
* libltdl/ltdl.c: added strchr, search modules in LTDL_LIBRARY_PATH,
check whether actual module was already dlopened,
read in preload_libs rather than dependency_libs
1998-12-23 Thomas Tanner <address@hidden>
* libltdl/Makefile.am: build two versions of libltdl:
libltdl (support native dlopen if available, otherwise dlpreopen),
libltdls (like libltdl, but always support for dlpreopen)
* libltdl/ltdl.c: ditto
* libltdl/configure.in: warn if dlopen is not supported
* mdemo/Makefile.am (mdemo.debug): use libltdls
1998-12-22 Gary V. Vaughan <address@hidden>
* ltconfig.in: revert Thomas Tanners change to create all
libraries without the `lib' prefix on win32, otherwise `gcc foo.c
-lbar' can't find libbar.a.
1998-12-22 Alexandre Oliva <address@hidden>
* Makefile.am (SUBDIRS): prepend `.' to avoid am-recursive
dependency hack
1998-12-21 Thomas Tanner <address@hidden>
* ltconfig.in: indentation is now 8 character wide tabs
* ltmain.in: ditto
* ChangeLog: ditto
* ltmain.in: renamed check_shared_deplibs_method to
deplibs_check_method (we_dont_want_too_long_variable_names :)
* doc/libtool.texi (Porting inter-library dependencies): ditto
* depdemo/.cvsignore: renamed hell* to depdemo*, added *.lo,*.la
* mdemo/.cvsignore: ditto
1998-12-21 Gary V. Vaughan <address@hidden>
* libtool.m4 (AM_SYS_NM_PARSE): apparently __ptr_t is predefined
on some systems - use lt_ptr_t instead.
* ltconfig.in: ditto.
* ltmain.in: ditto.
* libtool.m4 (AM_SYS_SYMBOL_UNDERSCORE): use an AC_SUBST to pass
the result of this into the compile rather than AC_DEFINE which
breaks when building with older versions of autoconf.
* ltconfig.in (symxfrm): Don't put the leading underscore back
with the global_symbol_pipe.
* demo/dlmain.c (main): No need to specialcase underscores in
dld_preloaded_symbols - it is fixed by symxfrm above!
* libltdl/configure.in: use AM_SYS_SYMBOL_UNDERSCORE from
libtool.m4 rather than reinvent the wheel here =)O|
* ltmain.in: Fix deplibs methods to not rely on a.out (cygwin
uses a.exe!).
* libltdl/configure.in: Cleanups - fix header comment and emacs
local-vars.
* demo/dlmain.c (win32_force_data_import_address): a nasty hack
to force the address of imported data symbols into
dld_preloaded_symbols on win32, which does data imports
differently to function imports (sheesh!). This functionality
needs to be moved into the dld_preloaded_symbols generation code.
demo/helldl with static linking is broken on win32 by this change,
probably until after libtool-1.3 =(O|
* demo/foo.h: make sure __CYGWIN32__ is always defined on cygwin32
systems. Use the correct __declspec macro for lib exports/imports
on cygwin32.
* demo/foo.c, demo/hello.c: Make sure we tell foo.h that these
sources are inside libfoo, and want to export symbols.
1998-12-20 Thomas Tanner <address@hidden>
* autogen: configure demo, depdemo, libltdl and mdemo
* tests/mdemo-exec.test: renamed hell* to mdemo*
* tests/mdemo-inst.test: ditto
1998-12-19 Thomas Tanner <address@hidden>
* libltdl/Makefile.am: build a normal libtool library
* libltdl/ltdl.c: get LTDL_LIBRARY_PATH but don't make use of it yet,
some reformatting
* ltmain.in: fixed a bug which listed symbols in
dld_preloaded_symbols twice
* TODO: removed symbol export lists and deplibs
1998-12-18 Thomas Tanner <address@hidden>
* ltconfig.in: added need_lib_prefix and need_version,
which determine whether we must prefix modules with 'lib'
and whether versioning is required for libraries.
* ltmain.in: allow modules names without 'lib' prefix,
new -avoid-versioning option
* doc/libtool.texi (link flags): updated documentation for -module,
added -avoid-versioning
* doc/libtool.texi (libtool script contents):
documented the two new flags and archive_sym_cmds
* doc/libtool.texi (tests):
added (partially very short) documentation for assign.test,
nomode.test, quote.test, sh.test
* libltdl/ltdl.c: canonicalize module names,
some cleanups and bugfixes, __ptr_t is predefined on
some systems - use lt_ptr_t instead
* mdemo/: renamed hell* to mdemo* (hell is already used in
demo), updated the documentation, import sin and cos in main
program rather than linking libfoo1 statically
1998-12-17 Gary V. Vaughan <address@hidden>
* libtool.m4 (AM_PROG_LIBTOOL): Added AC_PREREQ(2.12) to prevent
people using libtool with old autoconfs that don't provide the
features we need.
1998-12-16 Alexandre Oliva <address@hidden>
* NEWS, configure.in, libtool.spec: Bumped to 1.2e for CVS
* NEWS, configure.in, libtool.spec: Bumped to 1.2d for release
* Makefile.am (cvs-dist): our release tags are in lower case
(cvs-diff): ditto
(EXTRA_DIST): added README-alpha
* README-alpha: minor adaptations
* demo/Makefile.am, mdemo/Makefile.am, depdemo/Makefile.am:
removed comment about special needs for distribution
* depdemo/Makefile.am: don't generate dependencies
* depdemo/configure.in: modified version number
* ltmain.in (-force-static, force_static): removed
* libltdl/Makefile.am (CFLAGS): ditto
* libltdl/configure.in: check for memory.h, rindex() and
dlpreopening. Fixed NEED_USCORE caching policy.
* libltdl/ltdl.h (lt_dlsym): make the name argument const
* libltdl/ltdl.c (types): new variable: head of list of available
dlopening mechanisms
(lt_dltype_t): interface of a dlopening mechanism, with pointers
to functions for init, exit, open, close and sym
(lt_dlhandle_t): added pointer to interface type
(strdup): don't name it strdup; it can be troublesome
(strrchr): ditto; use rindex if available
(LIBTOOL_STATIC): check HAVE_DLPREOPEN instead, and move to the
end of the file, so that it becomes the header of the list
(all): renamed all interface-implementation functions, to avoid
name clashes, and created lt_dltype_t nodes for all of them
(lt_dlinit): initialize all available interfaces; remove those
that fail from the list. Return failure only if no interfaces
could be initialized.
(lt_dlexit): return number of failures
(tryall_dlopen): try to open the library with all available
interfaces
(lt_dlopen): use tryall_dlopen; increased size of fixed buffers.
We should probably make these bound-checked or dynamically
allocated for the final release! Fix bug when filename did not
contain slashes; should we check for `\\' too? Try old_library if
everything else fails.
(lt_dlclose): use the interface type for closing
(lt_dlsym): make `symbol' const, use interface type for looking up
* mdemo/Makefile.am: moved mdemo/modules/* back into mdemo
(SUBDIRS): removed
(libfoo2_la_LDFLAGS): added -static; nice test. However, since it
causes -lm to linked into hell*, it causes tests that should fail
to pass
(noinst_HEADERS): no need to install foo.h
* mdemo/configure.in: remove modules/Makefile
tests/mdemo-exec.test: updated accordingly
* NEWS: Added Thomas Tanner and Gary V. Vaughan to the list of new
maintainers. Detailed expected failures of libtldl+mdemo. Listed
recent ports. Added full URL for the home page. Note that
libtool C program is unusable.
1998-12-16 Bruno Haible <address@hidden>
* doc/libtool.texi (Tested platforms): broken `sed' programs
1998-12-16 Alexandre Oliva <address@hidden>
* THANKS: added Stephan Kulow; removed Gary V. Vaughan and Thomas
Tanner, now that they're AUTHORS
1998-12-16 Stephan Kulow <address@hidden>
* ltmain.in (freebsd-aout, freebsd-elf): added missing dot to
versuffix
1998-12-16 Alexandre Oliva <address@hidden>
* libltdl/Makefile.am (EXTRA_DIST): removed, nothing needed
(libtool): automatically update
* libltdl/configure.in (stdlib.h, unistd.h, stdio.h): check
* libltdl/ltdl.c: include them
* demo/configure.in (BINARY_HELLDL): test whether dlopen is
supported at configure time
* demo/Makefile.am (helldl): use automake conditionals to build
helldl as a script or as a binary program
* tests/Makefile.am (EXTRA_DIST): remove ltdl-*.test
(clean-local): don't clean libltdl any more
* tests/ltdl-conf.test: removed
* tests/ltdl-inst.test: ditto
* tests/ltdl-make.test: ditto
* tests/ltdl-unst.test: ditto
* tests/mdemo-make.test: updated accordingly
* tests/mdemo-inst.test: ditto
* tests/mdemo-unst.test: ditto
* doc/libtool.texi: ditto
* ltmain.in (-DSTATIC): changed to -DLIBTOOL_STATIC, and defined
only for -force-static; it should be removed soon, before people
start to use it
* configure.in (AC_CONFIG_SUBDIRS): added libltdl
* Makefile.am (SUBDIRS): build libltdl by default
(DIST_SUBDIRS): simplify distribution of demo and mdemo
(libtool, clibtool, libtoolize, ltconfig, ltmain.sh): add
srcdir where appropriate
(ACINCLUDE_M4_LIST): new rule for maintaining links from
acinclude.m4 to libtool.m4
(*demo/Makefile.in): don't update autoconf/automake files any
more; make check is needed
1998-12-14 Gary V. Vaughan <address@hidden>
* ltconfig.in (archive_cmds): tweaked for cygwin b18->b20.1
compatibility and fixed a bug with generating the export
definitions file. This is only tested on b20.1, but should
work back to b18 at least.
1998-12-11 Thomas Tanner <address@hidden>
* ltmain.in: -module implies now -export-dynamic,
dlpreopen files if we're linking statically
* doc/libtool.texi (link flags): added documentation for -module
and the tests for mdemo and libltdl
* mdemo/Makefile.am: replaced -dlpreopen with -dlopen
1998-12-09 Alexandre Oliva <address@hidden>
* PORTING: removed the text Akim Demaille converted to .texi
1998-12-09 Akim Demaille <address@hidden>
* doc/libtool.texi: converted inter-library dependencies
instructions from PORTING
1998-12-09 Alexandre Oliva <address@hidden>
* ltmain.in (convenience, deplibs): propagate dependencies
* libltdl/Makefile.am (noinst_HEADERS): don't install ltdl.h yet
(noinst_LTLIBRARIES): ditto for libltdl.la
1998-12-08 Gary V. Vaughan <address@hidden>
* README-alpha: adapted the release procedure from
automake/HACKING.
* Makefile.am: adapted the cvs-dist and cvs-diff rules from
automake/Makefile.am. I guess this is probably safe to use
already, but I didn't test it as it tags the CVS tree. If
it needs tweaking, we'll find out come 1.2d.
1998-12-08 Thomas Tanner <address@hidden>
* ltconfig.in: fixed some typos in archive_sym_cmds
* ltmain.in: replaced basename with a sed expression
1998-12-07 Alexandre Oliva <address@hidden>
* configure.in: we no longer use PRCS
* doc/libtool.texi (author): listed all the AUTHORS
(Dlopen issues): added reference to libltdl, still undocumented
(C++ libraries): it's not *that* simple, after all :-(
(Inter-library dependencies): they're back!
1998-12-04 Alexandre Oliva <address@hidden>
* libtool.m4 (ac_cv_sys_symbol_underscore): `test a == b' doesn't
work, use `test a = b' instead
* Makefile.am (mdemo_distfiles): libfoo[12].sym no longer exist
* ltconfig.in (solaris): do not use $CC for linking if GNU ld is
not available
1998-12-04 Manfred Weichel <address@hidden>
* ltconfig.in: Port to SCO UnixWare 7.x.
1998-12-03 Thomas Tanner <address@hidden>
* ChangeLog: converted CR/LF back to CR format
* ltconfig.in: new variable sys_lib_search_path for searching
of installed libraries, export archive_sym_cmds and
sys_lib_search_path
* ltmain.in: use sys_lib_search_path, removed extradeplibs
(they're not portable)
1998-12-02 Gary V. Vaughan <address@hidden>
* libltdl/configure.in: look for string.h or else strings.h, and
also check for ANSI strrchr() function. Fix `undescore before
symbols' macro to not rely on a.out (cygwin uses a.exe!). Fix
`underscore for dlsym' to set cache variable properly, not just in
environment of AC_DEFINE(NEED_USCORE).
* libltdl/ltdl.h (__ptr_t): for K&R compatibility using char*.
* libltdl/ltdl.c (strrchr): fallback function incase none is
defined in libc.
(trim, ltdlopen): replace rindex with ANSI strrchr.
Add static function declarations so that we get type checking with
ANSI compilers. Use __ptr_t instead of void*.
1998-12-01 Thomas Tanner <address@hidden>
* ltconfig.in: added -export-symbols support for GNU ld and
Solaris (untested), archive_sym_cmds for -export-symbols
* doc/libtool.texi, ltmain.in: -export-symbols is now
independent from -export-dynamic and does not work for modules
anymore
* ltmain.in: added some checks for -export-symbols
* mdemo/modules/Makefile.am: replaced -export-symbols with
-export-dynamic since it doesn't work for modules
1998-12-01 Gary V. Vaughan <address@hidden>
* README: Updated homepage pointer to gnu libtool page.
* ltconfig.in (ltdll.c): update the ltdll.c file for cygwinb20.
Based on code from Mumit Khan <address@hidden>.
(archive_cmds): correct typo libtool.c->ltdll.c. Update shell
commands for cygwin32.
* libtool.m4 (AM_SYS_SYMBOL_UNDERSCORE): New macro; find out
whether compiled symbols have an extra leading underscore.
(AM_SYS_NM_PARSE): New macro (converted to m4 from ltconfig.in);
find a sed expression to parse global symbols from the output of
$NM.
(AM_PROG_LIBTOOL): require AM_SYS_NM_PARSE and
AM_SYS_SYMBOL_UNDERSCORE.
* demo/dlmain.c (main): Remove a single leading underscore from
compiled symbol names if necessary.
1998-12-01 Alexandre Oliva <address@hidden>
* config.guess, config.sub: imported from autoconf pre-2.13
1998-11-27 Gary V. Vaughan <address@hidden>
* libtool (AM_PROG_LD): Oops... we need to know the host_os for
the changes below. I'm not sure whether mingw32 and os2 support
UNC paths, if they did we wouldn't need the check, we could use
UNC paths on all three; or if the bug with $LD not being
shell-meta escaped was fixed, we could use '\\' separators on all
three. AC_REQUIRE'ed AC_CANONICAL_HOST.
* libtool.m4 (AM_PROG_LD): Cannonicalize the absolute path for the
ld program; The order is funny to provide canonicalization to
paths with '\\' separators as well as '/'.
* ltconfig.in: ditto.
* AUTHORS: Added myself as a co-maintainer.
* ltconfig.in (archive_cmds): The `;\' in a compound statement is
expanded wrongly for cygwin32, mingw32, aix3 and aix4. Changed to
`;'.
1998-11-25 Alexandre Oliva <address@hidden>
* libtool.spec (URL): point to www.gnu.org
(Source): point to ftp.gnu.org
* Makefile.am (EXTRA_DIST): removed libtool.prj
Reported by Akim Demaille <address@hidden>
1998-11-24 Alexandre Oliva <address@hidden>
* ltconfig.in (echo): avoid shell error messages when we're
testing for large command line support
Reported by Axel Thimm <address@hidden>
* doc/PLATFORMS: updated last-tested release for platforms I've
got access to
* THANKS: added Chris P. Ross
1998-11-24 Chris P. Ross <address@hidden>
* ltconfig.in: added recognition of the dynamic linker on BSD/OS 4.x
* README: added BSD/OS 4.x to the list of supported platforms
* doc/PLATFORMS: added BSD/OS 4.x support for various host id's
1998-11-24 David Heine <address@hidden>
* ltmain.in (pass_all): actively pass the flags
1998-11-24 Thomas Tanner <address@hidden>
* depdemo: added inter-library dependencies demo (doesn't work yet!)
* AUTHORS: added myself to the list of maintainers
1998-11-22 Thomas Tanner <address@hidden>
* libltdl: added support for .la files, LGPL license,
K&R compatibility, some API changes and bugfixes
* ltmain.in: renamed -module flag (for compiling) to -force-static,
define -DSTATIC when compiling static .o files,
do not include directories in dld_preloaded_symbols
* mdemo: modified mdemo to work with the new libltdl
* tests/mdemo-exec.test, tests/mdemo-inst.test: use .la files
1998-11-21 Alexandre Oliva <address@hidden>
* libltdl/ltdl.c: replace NULL with 0, so that we don't depend on
header files defining it.
* ltconfig.in (archive_cmds, osf3, osf4, solaris, sunos4): create
libraries with gcc -shared if using gcc without GNU ld.
* ltconfig.in: replaced occurrences of solaris2 with solaris, to
prepare for Solaris 7
1998-11-19 Alexandre Oliva <address@hidden>
* mdemo/Makefile.am (hell_debug_LDFLAGS): -dlpreopen -> -dlopen
(hell_LDFLAGS): added -export-dynamic and -dlopen
(SUBDIRS, INCLUDES): added modules directory
(foo1.c, foo2.c, foo.h, libfoo1.sym, libfoo2.sym): moved to modules
* Makefile.am: ditto
* tests/mdemo-exec.test, tests/mdemo-inst.test: libraries moved
* mdemo/modules/Makefile.am: new file
* */Makefile.am (AUTOMAKE_OPTIONS): added no-dependencies
* ltmain.in: missing `test' between `&&' and `"$module"'
* ltconfig.in (echo_test_string): the whole ltconfig script was
too much for DU4.0's ksh, but the first 50 lines will be enough.
* ltmain.in (installed): new variable defined within a .la file,
so that libtool can now link already-installed libraries into a
program.
* NEWS: ditto
* doc/libtool.texi (Linking executables): document it
* ltmain.in (output_objdir): compute it from $output, not $arg
* tests/mdemo-inst.test (libltdl): install it
* tests/mdemo-unst.test (libltdl): uninstall it
* tests/Makefile.am (TESTS): list ltdl-unst.test before mdemo-conf.test
1998-11-18 Alexandre Oliva <address@hidden>
* NEWS: -module and libtldl
* mdemo/Makefile.am: ../libltdl is within $(srcdir)
1998-11-18 Thomas Tanner <address@hidden>
* libltdl, Makefile.am: added libltdl (a system independent
dlopen wrapper library extracted from mdemo)
* ltmain.in: added -module flag for compiling and linking of
modules. If enabled it compiles always both .o (with -DLT_RENAME)
and .lo files
* mdemo: modified mdemo to work with libltdl
* tests/ltdl*: added tests for libltdl
1998-11-16 Steve Price <address@hidden>
* ltconfig.in: when $host_os is freebsd[23]* determine whether
the current linker format is a.out or ELF
* ltmain.in: add two new $version_type's, freebsd-aout and
freebsd-elf, to support above change
1998-11-16 Stephan Kulow <address@hidden>
* ltconfig.in: extent no_builtin_flag to contain -fno-rtti and
-fno-exceptions in case we compile with a gcc, that supports
this options (egcs and gcc >= 2.8)
1998-11-16 Alexandre Oliva <address@hidden>
* ltmain.in (C_compiler): copy $CC before it is overwritten with
command-line compiler, so that we can use it to compile C sources
generated during the build. This fixes the problem that showed up
with -export-dynamic of C++ programs in egcs 1.1.
* NEWS: ditto
1998-11-12 Alexandre Oliva <address@hidden>
* PORTING: Porting instructions are in the libtool manual already
* NEWS: Mention -export-symbols and new dlpreopen
1998-11-11 Alexandre Oliva <address@hidden>
* ltmain.in (IFS): revert Gary's patch when parsing version
information; we still use `:' here :-)
* NEWS: updated
* PORTING: new file, with general instructions and inter-library
dependencies tips
1998-11-11 Gary V. Vaughan <address@hidden>
* ltconfig.in: make use of '~' field separator in reload_cmds,
old_archive_from_new_cmds, old_archive_cmds, archive_cmds,
old_postinstall_cmds, postinstall_cmds, old_postuninstall_cmds,
postuninstall_cmds and finish_cmds, so that the semi-colons inside
if/then/else/fi and for/do/done etc. do not break the eval loop in
ltmain.in (below).
* ltmain.in: changed all of the eval loops to use an IFS of `~',
to allow differentiation between the end-of-statement-;
(now `~' is used) and end-of-substatement-; (still `;'). This
fixes AIX and win32 at least.
1998-11-11 Alexandre Oliva <address@hidden>
* ltconfig.in (sunos*, sympat, symxfrm): remove underscore
prepended by the compiler
1998-11-10 Toshio Kuratomi <address@hidden>
* ltconfig.in: re-enable deplibs
* ltmain.in: support deplibs, at least for GNU/Linux/x86
Updated to current libtool by Thomas Tanner <address@hidden>
1998-11-10 Gordon Matzigkeit <address@hidden>
* ltmain.in (link): Make the relink warning less harsh.
1998-11-07 William M. Perry <address@hidden>
* ltconfig.in (aix3, aix4): uniquify symbol names in archive_cmds
1998-11-07 Alexandre Oliva <address@hidden>
* ltconfig.in: add --falback-echo, to be used if everything else
fails. The tests now check the behavior of $echo for very large
strings, because some echo commands would just core dump (e.g.,
Solaris' printf). If too large strings fail, smaller ones are
tested.
(ltecho): arrange that, if the --fallback-echo method is selected,
echo will be defined in the libtool script so as to re-run itself,
not ltconfig
* ltmain.in: add --fallback-echo
(qecho) ensure that, if --falback-echo is being used, qecho is
defined with the full pathname of the libtool script
* tests/sh.test (test X): ensure that the double-quote supposed to be
reported is really reported
1998-11-07 Thomas Tanner <address@hidden>
* mdemo/main.c: removed hardcoded library names; link against -lm
* tests/mdemo-exec, tests/mdemo-inst: pass the library names
to the program
1998-11-07 Marc J. Fraioli <address@hidden>
* README: Added DG/UX
* doc/PLATFORMS: ditto
1998-11-04 Michael Tiemann <address@hidden>
* ltconfig.in (irix6): it's a little bit different from irix5
1998-11-04 Alexandre Oliva <address@hidden>
* THANKS: Added Thomas Tanner and Gary V. Vaughan
* ltconfig.in, ltmain.in: updated and fixed the patches below
1998-11-04 Thomas Tanner <address@hidden>
* mdemo/*: added new demo to demonstrate building of dlopenend
modules
* tests/Makefile.am, tests/mdemo*: added some tests for mdemo
1998-11-04 Gary V. Vaughan <address@hidden>
* demo/configure.in: added AC_EXEEXT macro so that the tests can
work on cywin32/mingw32 hosts. This requires the current CVS
autoconf
1998-11-04 Thomas Tanner <address@hidden>
* ltmain.in: New flag -export-symbols; new dlpreopen system
* demo/dlmain.c: removed dld_preloaded_symbol_count
1998-11-04 Ian Lance Taylor <address@hidden>
* ltmain.in: On installation, don't get confused if the same name
appears more than once in the list of library names.
1998-11-04 Ian Lance Taylor <address@hidden>
* ltconfig.in: Add objext and libext variables. Check for object
suffix. Check for mingw32* as well as cygwin32*. Use objext when
testing compiler. Add support for Visual C++ on cygwin32 when not
using gcc. Add objext, libext, and fix_srcfile_path to generated
libtool script.
* ltmain.in: Use .${objext} rather than .o. Use fix_srcfile_path
if it is set. Check for .obj as well as for .o, and for .lib as
well as for .a. Use .${libext} rather than .a when creating old
libraries.
* libtoolize.in: Change initial /bin/sh to @address@hidden
* libtool.m4 (AM_PROG_LIBTOOL): Add AC_REQUIRE for
AC_CANONICAL_BUILD, so that autoconf doesn't get mixed up by the
AC_REQUIRE in AC_CHECK_TOOL.
1998-11-04 Ian Lance Taylor <address@hidden>
* ltconfig.in: Look in the right directory for libtool.c in
archive_cmds for cygwin32.
1998-11-04 Ian Lance Taylor <address@hidden>
* ltconfig.in: Fix cygwin32 support to avoid using a double
extension, to delete the def file, to set version_type to windows,
and to include versuffix in the DLL name.
* ltmain.in: Add support for a version_type of windows.
1998-11-04 Ian Lance Taylor <address@hidden>
* ltconfig.in: Add cygwin32 support.
* libtool.m4 (AM_PROG_LIBTOOL): Call AM_SYS_LIBTOOL_CYGWIN32 on a
cygwin32 host. Pass DLLTOOL and AS to ltconfig.
(AM_SYS_LIBTOOL_CYGWIN32): New macro.
1998-11-04 Alexandre Oliva <address@hidden>
* libtool.m4 (sco): fix typo
1998-11-04 Ian Lance Taylor <address@hidden>
* ltconfig.in: On AIX, don't treat GNU ld specially.
1998-11-04 Alexandre Oliva <address@hidden>
* ltconfig.in (hardcode_minus_L): Revert Ian's patch for
ltconfig.in. Although -L hardcoding is not used with GNU ld, it
does happen, so hardcode_minus_L must be set to yes.
* ltconfig.in (compiler_o_lo): check whether we can write directly
to a .lo
* ltmain.in (compiler_o_lo): if not, write to .o and rename it
1998-11-04 Ian Lance Taylor <address@hidden>
* ltconfig.in: For sunos4 using GNU ld, set hardcode_minus_L to
no.
* ltmain.in: Add some hacks to make SunOS --enable-shared work
when using GNU ld.
1998-11-04 Alexandre Oliva <address@hidden>
* THANKS: Added Marc J. Fraioli
1998-11-04 Marc J. Fraioli <address@hidden>
* ltconfig.in (dgux): new supported platforms
1998-11-04 Alexandre Oliva <address@hidden>
* ltconfig.in (need_locks): if neither `-c -o' nor hard links are
available, fallback to not so safe mechanism, by setting
need_locks to warn
* ltmain.in (need_locks): when need_locks is set to warn, use the
lockfile to try to fail in case of incorrect concurrent builds
* THANKS: Added Eric Estievenart
1998-11-04 Eric Estievenart <address@hidden>
* doc/libtool.texi (Compile mode): Document that -o is fully
supported.
* libtool.m4 (libtool-lock): new ARG_ENABLE; sets (need_locks)
* ltconfig.in (disable-lock): control need_locks
(hard_links): check whether hard-links can be used for locking
* ltmain.in (need_locks): use $output_obj.lock for locking
1998-11-03 Alexandre Oliva <address@hidden>
* ltmain.in: correctly create libraries and programs with
directory components in their names
1998-11-03 Eric Estievenart <address@hidden>
* ltmain.in (output_obj): typo
1998-11-02 Ian Lance Taylor <address@hidden>
* ltconfig.in: For sunos4, add ${libname}.so$versuffix to
library_names_spec.
* ltmain.in: For version_type of sunos, set versuffix even if
-version-info was not used.
1998-11-02 Alexandre Oliva <address@hidden>
* ltmain.in (libobj): default value must not contain directory
components
1998-11-02 Eric Estievenart <address@hidden>
* ltconfig.in (compiler): detect if the compiler supports
-c and -o flags, create a variable compiler_c_o. Also issue
a big warning if it is not supported
* ltmain.in (compile): enable the -o option as input for libtool.
The objects are not moved if the compiler supports -o with -c.
Sources and objects can contain relative directories.
(link): enable the linking of executables into relative directories
1998-11-02 Alexandre Oliva <address@hidden>
* AUTHORS: added myself as a co-maintainer
* THANKS: and removed my name from here
* autogen: new script; run it to bootstrap libtool after checking
it out from CVS
* libtool.m4 (CFLAGS): check whether -belf is needed on SCO, as
suggested by Robert Lipe <address@hidden>
1998-10-31 Gordon Matzigkeit <address@hidden>
* demo/Makefile.am (hc-libpath): Use parameters from the libtool
in the top build directory, since the one in the demo directory is
not guaranteed to exist.
1998-10-27 Alexandre Oliva <address@hidden>
* demo/Makefile.am (objdir): there are no longer quotes around
objdir in the libtool script
1998-10-27 Gordon Matzigkeit <address@hidden>
* ltconfig.in (dynamic_linker): Echo the result to fd 6, so that
--silent works correctly. From William M. Perry.
1998-09-24 Gordon Matzigkeit <address@hidden>
* ltmain.in (link): Fix problems when building only static
libraries. From Owen Taylor.
1998-08-20 Gordon Matzigkeit <address@hidden>
* ltmain.in (install): When library_names_spec has redundancies,
avoid deleting the main library when installing symlinks. From
Jeff Dairiki.
(link): Get rid of backticks in a here doc comment.
This causes segfaults on Solaris 2. From Aleksandar Bakic.
(finish): Don't display messages
* ltconfig.in (archive_cmds): On HP-UX 9, make sure we don't try
to move a file to itself. From Jeff Dairiki.
1998-08-19 Gordon Matzigkeit <address@hidden>
* ltconfig.in: Make changes to accomodate ltmain.c.
* Makefile.am (clibtool): New target for the C version of libtool.
* ltmain.c: Experimental C version of libtool.
1998-07-10 Ian Lance Taylor <address@hidden>
* ltmain.in (install): Test against both $SHELL and /bin/sh.
1998-06-30 Gordon Matzigkeit <address@hidden>
* ltmain.in: Convenience archive support. From Ulrich Drepper.
* ltconfig.in (postinstall_commands): Change libraries to be
executable on Solaris in order to prevent ldd from moaning. From
Julian Gosnell.
(whole_archive_flag_spec): New variable to shortcut convenience
archive expansion. From Ulrich Drepper.
1998-06-11 Gordon Matzigkeit <address@hidden>
* ltconfig.in, ltmain.in: Change globs to accept forward slashes
in absolute directory names used on DOS-like systems. From Robert
S. Maier.
Thu May 28 18:59:08 1998 Ian Lance Taylor <address@hidden>
* ltconfig.in: Use $SHELL when invoking shell scripts.
1998-05-21 Gordon Matzigkeit <address@hidden>
* ltmain.in (compile): Don't have `-static' turn off libtool
libraries, so that people can use it just to guarantee that `.o'
files exist. Suggested by David Mosberger-Tang.
1998-05-18 Gordon Matzigkeit <address@hidden>
* ltmain.in (link): Possibly reexec the shell from within the
wrapper script.
Allow `-version-info' and `-release' to coexist again. If people
want to shoot themselves in the foot, I'd better let them do so,
so that people who are smart enough not to can squeeze out another
ounce of functionality. From Tim Janik.
(version_vars): Delete dead variable.
* ltconfig.in (hardcode_minus_L): FreeBSD 3.0 doesn't hardcode, at
last. Reported by Jason Nordwick.
* libtoolize.in, ltconfig.in, ltmain.in: Change a bunch of `if
test ...; then : ; else ...' constructs to `if test ! ...; then
...', for clarity.
1998-05-17 Gordon Matzigkeit <address@hidden>
* ltmain.in (LC_ALL, LANG): Save these values and restore them
during execute mode. From Pavel Kankovsky.
(mode): Accept strace and truss as programs that throw us into
execute mode. From Pavel Kankovsky.
1998-05-07 Ian Lance Taylor <address@hidden>
* ltconfig.in: Don't use .$versuffix or .$major. Instead, assume
the variable will include any required prefix.
* ltmain.in: If no -version-info option was used, produce empty
version strings rather than 0.0.0. When making library symlinks,
avoid making a symlink if the name would be the same.
1998-04-27 Gordon Matzigkeit <address@hidden>
* ltmain.in (link): Support `unsupported' as a hardcode_action.
Reported by Lars Hecking.
(lib_linked): Do some sanity checking to make sure that we
actually do link libtool libraries into the program to prevent the
above problem from happening again.
1998-04-20 Gordon Matzigkeit <address@hidden>
* ltmain.in: Maybe reexec under $SHELL, if $echo doesn't work.
Reported by Lars Hecking.
1998-04-19 Gordon Matzigkeit <address@hidden>
* Makefile.am (maintainer-rekey): New rule to force us to change
Project-Version after we make a release. This keeps all version
numbers in sync, rather than branching just before the release.
(maintainer-release, maintainer-checkin): Use maintainer-rekey.
* ltmain.in (finish): Notice when a finish command fails, so that
we can add it to the list of recommendations.
1998-04-17 Gordon Matzigkeit <address@hidden>
* libtool.m4 (AM_PROG_LIBTOOL): Append file descriptor 5 to
config.log, so that configure doesn't clobber the messages that
ltconfig put there. From David Taylor.
1998-04-15 Gordon Matzigkeit <address@hidden>
* ltconfig.in (archive_cmds): Try using `$CC -shared' when
configuring for GCC under irix5 and irix6. From Wolfram Gloger.
(ofile): Add `--output' flag to change the name of the generated
libtool. Suggested by Wolfram Gloger.
1998-04-14 Gordon Matzigkeit <address@hidden>
* ltmain.in: Remove all hardcoded references to ltmain.in in
favour of $PACKAGE and $PROGRAM.
(install): Compute the installation name for programs, in case we
install a relinked file which has a different name. Reported by
Pieter Schoenmakers.
* ltconfig.in (echo): Try using the ksh(1) `print -r' builtin
command, before reverting to printf(1).
* Makefile.am (libtool): Use $(SHELL) when invoking ltconfig.
* ltconfig.in (echo): Rewrite the test for a working echo so that
we win on Solaris by avoiding printf(1), if possible.
* tests/quote.test (echo): Update the echo test from ../ltconfig.in.
1998-04-13 Ian Lance Taylor <address@hidden>
* libtool.m4 (AM_PROG_NM): Don't override NM in the environment.
1998-04-13 Gordon Matzigkeit <address@hidden>
* ltmain.in: New `--config' flag to print out all configured
variables.
* libtool.m4: Pass ltconfig the undocumented --no-reexec flag,
since we call it explicitly using CONFIG_SHELL.
* ltconfig.in: Restart the script under a different shell if
CONFIG_SHELL is not /bin/sh. This way, people can use Bash if
they don't have a working echo program.
* ltmain.in, ltconfig.in: Use $SHELL instead of /bin/sh when
generating executable scripts.
* libtoolize.in, ltconfig.in, ltmain.in: Implement the `--debug'
flag to begin shell tracing.
* ltconfig.in (archive_cmds): Don't use `gcc -shared', even if we
have GNU ld. Reported by Robert S. Maier.
1998-04-06 Gordon Matzigkeit <address@hidden>
* ltconfig.in (pic_flag): Create more than just a null C file, so
that the SunPRO 4.2 cc doesn't complain. From Bob Friesenhahn.
(gnu_ld_acts_native): Delete this variable. There is just too
much version skew to try to pretend GNU ld is the same as the
system ld. Reported by Ian Lance Taylor.
(hardcode_action): Don't bother relinking or aborting on systems
that are too dynamic to have a consistent hardcode method.
Reported by Doug Winterburn.
1998-03-24 Gordon Matzigkeit <address@hidden>
* doc/libtool.texi: A little proofreading. From Albert
Chin-A-Young.
1998-03-23 Gordon Matzigkeit <address@hidden>
* ltconfig.in: Treat HP-UX 11 just like HP-UX 10. From Jeff Law.
1998-03-21 Gordon Matzigkeit <address@hidden>
* ltconfig.in (reload_flag): Correct a tiny bug where `--silent'
would still print out the reload flag. From Stephan Kulow.
1998-03-20 Ian Lance Taylor <address@hidden>
* libtool.m4: Use changequote to avoid problems with square
bracket patterns.
1998-03-20 Gordon Matzigkeit <address@hidden>
* Release 1.2.
1998-03-18 Gordon Matzigkeit <address@hidden>
* ltmain.in: Rearrange some of the echos to make them more
consistent.
1998-03-14 Gordon Matzigkeit <address@hidden>
* ltmain.in: Break up an echo command that causes Solaris printf
to dump core. Apparently the Solaris people hardcoded a 2110-byte
buffer into their printf(1). Feh. From John Judge.
1998-03-11 Gordon Matzigkeit <address@hidden>
* ltconfig.in: Change the test for the PIC compiler flag so that
we assume it doesn't work if there are any warning messages. This
fixes a bug using old GCC's on HP-UX. Reported by Akim Demaille.
1998-03-10 Andreas Schwab <address@hidden>
* Makefile.am ($(srcdir)/ltconfig): Remove bogus command to create
a file ltconfig in the build directory.
1998-03-09 Andreas Schwab <address@hidden>
* ltmain.in: Avoid unnecessary use of command substitution,
replacing foo=`eval \\$echo \"$mumble\"` by eval foo=\"$mumble\".
(link): Use ${1+"$@"} in wrapper scripts in order to pass
arguments safely to a program.
* ltconfig.in: Use -fpic instead of -fPIC if $host_cpu matches
m68*.
1998-03-08 Gordon Matzigkeit <address@hidden>
* Release 1.1.
* ltmain.in: <sigh> I like `here documents' a lot, but apparently
they are so badly handled by old and buggy /bin/sh's, that
replacing `cat <<EOF ... EOF' by `$echo "..."' improves libtool's
speed by a factor of 5. So, I've eliminated here docs from the
all-important ltmain.in. From Tom Lane.
* tests/tlibtool: Eliminate from distribution.
* tests/defs (libtool): Don't use tlibtool anymore, since we can now use
the generated libtool directly.
1998-03-07 Gordon Matzigkeit <address@hidden>
* ltconfig.in: Copy the contents of ltmain.sh into the generated
libtool. This should more than halve the execution times on old
or buggy /bin/sh systems, such as HP-UX 9 and SunOS 4.1.4. From
Tom Lane.
1998-03-05 Gordon Matzigkeit <address@hidden>
* libtool.m4 (AM_ENABLE_SHARED, AM_ENABLE_STATIC): Add support for
the `default' package, so that people can control unnamed
packages.
(LD): Only add an ABI flag under IRIX 6.x, since IRIX 5.x doesn't
support them. From Alexandre Oliva.
1998-03-01 Gordon Matzigkeit <address@hidden>
* ltconfig.in: Port to UnixWare 2.x. From Christopher Olsen.
1998-02-25 Gordon Matzigkeit <address@hidden>
* ltmain.in (compile): For consistency, honour the `-static' flag
during compilation.
1998-02-23 Brendan Kehoe <address@hidden>
* libtool.m4 (AM_ENABLE_SHARED, AM_ENABLE_STATIC): For
--enable-shared, heed the value of $PACKAGE from AM_INIT_AUTOMAKE
if given as the argument for the library to be built shared.
1998-02-20 Gordon Matzigkeit <address@hidden>
* libtool.m4, ltconfig.in (NM): Fix up a typo confusion between
$ac_dir and $dir. Reported by Akim Demaille.
* ltmain.in (link): Don't allow both `-version-info' and
`-release'. Reported by Danny Backx.
1998-02-18 Gordon Matzigkeit <address@hidden>
* Makefile.am (noinst_SCRIPTS): Remove lineno from distribution.
* lineno: Remove from distribution, as it is no longer needed.
* Makefile.am ($(srcdir)/ltconfig.in, $(srcdir)/ltmain.sh):
Rewrite these rules not to use config.status or lineno. This
makes things simpler, and reduces dependencies, so that the
scripts are rebuilt and installed in srcdir only when necessary.
Reported by Stephan Kulow.
* tests/sh.test (scripts): Remove the lineno script, since it is no
longer distributed.
* tests/assign.test, if.test, test-e.test: Even though 15 tests looks
impressive, these are now redundant. Remove them from the
distribution.
* tests/sh.test: Do what assign.test, if.test, and test-e.test used to
do.
1998-02-16 Gordon Matzigkeit <address@hidden>
* libtool.m4, ltmain.in, ltconfig.in: Correctly identify absolute
directory names on MS-DOS. Suggested by Bob Friesenhahn.
* ltconfig.in, ltmain.in, libtool.m4: Change a bunch of `sed N!d'
commands to `sed Nq', for efficiency.
* ltmain.in: Only egrep the first few lines of files in order to
determine if they were libtool-generated. This prevents egrep(1)
from taking forever to look at a 10MB binary on Solaris. From
Stephan Kulow.
* tests/defs: Correctly identify absolute directory names on MS-DOS.
Suggested by Bob Friesenhahn.
1998-02-11 Gordon Matzigkeit <address@hidden>
* ltconfig.in (no_undefined_flag): Add a flag to declare under
Solaris that the library should not have any undefined
references. Suggested by Bob Friesenhahn.
* ltmain.in (mkdir): Fix one more mkdir race. From H.J. Lu.
1998-02-08 Gordon Matzigkeit <address@hidden>
* ltconfig.in, ltmain.in (striplib, old_striplib): Ditto.
* ltconfig.in (profile_flag_pattern): Get rid of dead code.
1998-02-07 Gordon Matzigkeit <address@hidden>
* libtool.m4 (AM_ENABLE_SHARED, AM_ENABLE_STATIC): New macros to
modify the `--enable-shared' and `--enable-static' defaults in the
configure script. This works a lot better than the old
`enable_shared' and `enable_static' variables did. Reported by
Bob Friesenhahn.
* tests/suffix.test (extensions): Added GNAT (GNU Ada Translator)
suffices, `.ada', `.ads', `.adb'. From Samuel Tardieu.
1998-02-07 Samuel Tardieu <address@hidden>
* ltmain.in: Recognize .ada, .ads and .adb as known suffixes (they
are used by GNAT, the GNU Ada compiler).
1998-02-06 Gordon Matzigkeit <address@hidden>
* ltconfig.in: Turn on IRIX shared libraries again!
* libtool.m4 (LD): Use file(1) to discover which ABI we're using
on IRIX, and propagate the correct linker flag. From Jim Wilson.
* ltconfig.in, ltmain.in (Xsed): `arg=-n; echo "$arg" | sed ...'
gives problems, because the `-n' is interpreted as an option to
echo(1). So, use `echo "X$arg" | sed -e 's/^X//' ...' everywhere,
via the $Xsed convenience variable. Suggested by H.J. Lu.
1998-02-02 Gordon Matzigkeit <address@hidden>
* ltconfig.in: Turn off IRIX shared library support until 32-bit
and 64-bit ABI differences can be resolved.
1998-01-28 Gordon Matzigkeit <address@hidden>
* libtool.m4 (LD): Reverse yesterday's change because `-old_ld'
isn't accepted by GCC.
1998-01-27 Gordon Matzigkeit <address@hidden>
* ltconfig.in (soname_spec): Add in user-specified release numbers
for every host system that supports an soname that differs from
the linkname.
* libtool.m4 (LD): Add `-old_ld' to the list of flags that need to
be passed through on SGI. Reported by Chris Lee.
* ltmain.in (release): Prepend a hyphen to the release number, and
fix a typo because `-version-info' takes only 3 args. From
H.J. Lu.
1998-01-25 Gordon Matzigkeit <address@hidden>
* ltconfig.in (library_names_spec): On Linux, use the
user-specified release.
* ltmain.in (link): Allow the user to specify a release number for
the library using the `-release' flag. Suggested by H.J. Lu and
Ian Lance Taylor.
1998-01-23 Gordon Matzigkeit <address@hidden>
* tests/Makefile.am (TESTS_ENVIRONMENT): Export some important
environment variables. Reported by Ian Haggard.
1998-01-19 Gordon Matzigkeit <address@hidden>
* ltconfig.in (old_postuninstall_cmds): Reorder so that chmod
happens after ranlib. From Markus F.X.J. Oberhumer.
* ltmain.in (mode): Added `gcc*' and `*-gcc*' to the patterns that
recognize compilers. From Pieter Schoenmakers.
(link): Recognize `.a' files again. Suggested by Pieter
Schoenmakers.
1998-01-18 Gordon Matzigkeit <address@hidden>
* ltmain.in (compile): Recognize `.asm' extension, for use with
the nasm assembler. From Markus F.X.J. Oberhumer.
* tests/suffix.test (extensions): Recognize `.asm'. From Markus
F.X.J. Oberhumer.
1998-01-12 Gordon Matzigkeit <address@hidden>
* ltconfig.in (runpath_var): Use instead of
`hardcode_runpath_var'.
1998-01-11 Gordon Matzigkeit <address@hidden>
* ltmain.in (finish): Add a better --finish message. Suggested by
Kenneth Albanowski.
* ltconfig.in, ltmain.in: Fix a few typos.
1998-01-03 Gordon Matzigkeit <address@hidden>
* ltmain.in (link): Quote the definition of $echo in the wrapper
script.
* ltconfig.in (export_dynamic_flag_spec): Use `--export-dynamic'
instead of `-export-dynamic', which is not accepted by all GNU
ld's. From Eiichi Takamori.
* ltmain.in (install): Don't print silly `library stripping'
warnings. Reported by François Pinard.
Continued in ChangeLog.1997
Index: ChangeLog.1999
from Alexandre Oliva <address@hidden>
* ltmain.in: Oops, `largarg' -> `lastarg'.
* ltmain.in (-Wc, -Xcompiler): Implemented in compile mode.
* ltmain.in (-Xcompiler, -Xlinker): Add to compile_command and
finalize_command.
(-Wc, -Wl): Likewise.
* tests/quote.test: Adjust quoting style of -Wl.
* ltmain.in: Oops, `echo' -> `$echo'.
* ltmain.in (-Wl, -Wc): Make commas argument separators, just like
in gcc.
* ltmain.in (libtool_args): Get all arguments properly enclosed in
quotes and backslash-protected when needed.
1999-12-16 Alexandre Oliva <address@hidden>
* ltdl.m4: Renamed from...
* libltdl/ltdl.m4: that no longer exists.
* configure.in (ACINCLUDE_M4_LIST): Removed libltdl/acinclude.m4.
* Makefile.am (aclocal_macros): Added ltdl.m4.
(libltdl/acinclude.m4): Concatenate libtool.m4 and ltdl.m4.
* bootstrap: Likewise.
* libltdl/Makefile.am (ACLOCAL): Remove the definition. Relying
upon -I may lead to duplicates.
* doc/libtool.texi: Suggest appending ltdl.m4 to acinclude.m4.
* libtoolize.in: Check AC_LIB_LTDL version number in aclocal.m4.
* libltdl/configure.in (with_auxdir): Do not use it as the
argument of AC_CONFIG_AUX_DIR, automake requires a literal here.
Use AC_CONFIG_AUX_DIRS/DIR_DEFAULT instead.
* libltdl/Makefile.am (ACLOCAL): Define with `-I .', as in
bootstrap.
1999-12-15 Thomas Tanner <address@hidden>
* libltdl/configure.in: path to auxiliary files can be specified
using --with-auxdir (idea by Howard Chu <address@hidden>)
* ltmain.in: don't remove multiple occurences from dependency_libs
of a library, otherwise many dependencies would get lost
* bootstrap: use "aclocal -I ." instead of adding the contents
of ltdl.m4 to acinclude.m4
1999-12-13 Gary V. Vaughan <address@hidden>
* NEWS: updated.
* libltdl/Makefile.am: Use -no-undefined for dll compliance.
* libltdl/configure.in: Use AC_LIBTOOL_WIN32_DLL for dll
compliance.
* libltdl/ltdl.c: Define and use LTDL_GLOBAL_DATA to correctly
export global data symbols from libtldl.dll.
* libltdl/ltdl.h: Define and use LTDL_SCOPE to declare data
symbols as dllexport, dllimport or plain ornary extern depending
in the context in which it is used.
* doc/libtool.texi (Distributing libltdl): document use of
ltdl.m4.
* libltdl/configure.in: Removed header checks, as they are
automatically performed by AC_LIB_LTDL.
* libltdl/ltdl.m4: Added header checks from configure.in, so that
AC_LIB_LTDL is sufficient to compile ltdl.c.
Reported by Stephan Kulow <address@hidden>.
* ltconfig.in (ltdll_obj): fixed typo: objdir -> $objdir
1999-12-12 Gary V. Vaughan <address@hidden>
* 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 <address@hidden>.
1999-12-10 Gary V. Vaughan <address@hidden>
From Stephan Kulow <address@hidden>
* libltdl/ltdl.m4: Add arg 3 to AC_DEFINE's to save the user
from having to hack acconfig.h.
1999-12-06 Gary V. Vaughan <address@hidden>
* NEWS: Updated.
* TODO: Note some cleanups that are now needed.
* libltdl/configure.in: Use the new macroised tests.
* libltdl/ltdl.m4: New file, macroised tests formerly in
libltdl/configure.in.
Reported by Stephan Kulow <address@hidden>.
From Tim Mooney <address@hidden>
* 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.
1999-12-03 Alexandre Oliva <address@hidden>
* 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 <address@hidden>
* 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.
1999-11-20 Michael Forster <address@hidden>
* ltconfig.in (linux-gnu*): Set hardcode_into_libs=yes.
1999-11-29 Gary V. Vaughan <address@hidden>
* ltconfig.in: Be friendlier to C++ compilers when testing
for dlopen support.
Reported by Stephan Kulow <address@hidden>
1999-11-26 Gary V. Vaughan <address@hidden>
* libtool.m4: better use of $target instead of $host to support
cross compilation.
Reported by Sam Latinga <address@hidden>
1999-11-16 Thomas Tanner <address@hidden>
* configure.in: generate ltconfig and ltmain.sh before configuring
libltdl
1999-11-04 Alexandre Oliva <address@hidden>
* tests/sh.test: New test to detect uses of quotes within
backticks within quotes.
* ltconfig.in, ltmain.in: Fix detected errors. Mark false
positives with a comment that disables the detector.
Reported by Akim Demaille <address@hidden>
* configure.in: Move ltconfig and ltmain.sh generation back...
* Makefile.am: here.
1999-11-02 Thomas Tanner <address@hidden>
* NEWS: updated
* THANKS: added Olly Betts and Pavel Roskin
* doc/libtool.texi: fix typo
* fix major bugs which rendered libtool virtually
unusable (i.e. not portable):
* ltconfig.in: don't hardcode system dependent variables in ltconfig!!
but set sane defaults
* Makefile.am: pass variables from AC_LIBTOOL_SETUP to ltconfig
* libtool.m4: ditto, fix typo in AC_PROG_LD_RELOAD_FLAG
* ltconfig.in: use old_deplibs for archives, too
remove second occurence of sysv5
* ltmain.in: fix typo, fix the second occurence of -DPIC, too
* 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
1999-11-02 Wolfgang Rapp <address@hidden>
* ltconfig.in: add support for Unixware (sysv4.2uw2*)
1999-10-29 Gary V. Vaughan <address@hidden>
* ltmain.in: Damnit! Cygwin cvs committed all the
dos line endings.
1999-10-28 Stephane Conversy <address@hidden>
* ltmain.in (-DPIC): changed the order of pic flags a little to
prevent upsetting the sgi c++ compiler.
1999-10-28 Olly Betts <address@hidden>
* ltconfig.in (opt_cr): Handle crlf sequences output by the
mingw toolchain.
* libtool.m4: Third time lucky, with Tor's patch.
1999-10-19 Tor Lillqvist <address@hidden>
* libtool.m4: these was a missing `*' in the -mno-cygwin
match.
* ltconfig.in (cygwin, ltdll_obj): fixed a quoting error.
(export_symbols_cmds): added missing cosmetic newline.
1999-10-18 Tor Lillqvist <address@hidden>
* libtool.m4: test command used == which should be =.
Support -mno-cygwin flag for building mingw32 dlls.
* ltconfig.in (file_magic_cmd): add missing quotes.
(deplibs_check_method): and here.
1999-10-16 Alexandre Oliva <address@hidden>
* libltdl/ltdl.c (lt_dlopen): Do not search paths when the
specified library is not just a basename.
1999-10-10 Gary V. Vaughan <address@hidden>
* libtool.m4 (AC_PATH_FILE): new macro replaces
AC_PATH_TOOL_GREP_OUTPUT.
(AC_PATH_TOOL_PREFIX): new macro replaces
AC_PATH_PROG_GREP_OUTPUT.
(AC_LD_RELOAD_FLAG): migrated from ltconfig.in.
(AC_DEPLIBS_CHECK_METHOD): ditto.
* ltconfig.in (reload_flag): moved to libtool.m4.
(deplbs_check_method): ditto.
1999-10-07 Gary V. Vaughan <address@hidden>
* libtool.m4 (AC_PATH_PROG_VERSION_GREP): removed in favour of the
more general AC_PATH_PROG_GREP_OUTPUT.
(AC_PATH_TOOL_VERSION_GREP): removed in favour of the more general
AC_PATH_TOOL_GREP_OUTPUT.
(AC_PROG_LIBTOOL): Search for a working find program in the
user's PATH using the new macros.
1999-10-06 Gary V. Vaughan <address@hidden>
* NEWS: updtaed.
* ltconfig.in: Accept osf5.
Reported by Sascha Schumann <address@hidden>
1999-10-04 Gary V. Vaughan <address@hidden>
* ltmain.in (-no-install): This doesn't work on win32 since
the search path for libraries is not encoded in the binary,
and dlls not in $PATH won't be found. Fall back to -no-fast-install
instead.
* ltmain.in (-no-fast-install): Wrapper script used to add the
exeext on again when naming the wrapped executable.
1999-10-03 Gary V. Vaughan <address@hidden>
* ltconfig.in: Set $FILE to @FILE@ for substitution with
the value found in libtool.m4 at configure time.
* libtool.m4 (AC_PATH_TOOL_GREP_VERSION): New macro, combines
AC_PATH_PROG and AC_CHECK_TOOL with a test which greps the
output of $ac_dir/${ac_prefix}<tool> --version for a
given regex.
(AC_PATH_PROG_GREP_VERSION): New macro used by the above.
(AC_LIBTOOL_SETUP): Use the new macros to search the PATH
[starting at /usr/bin] for a file program which accepts
--version and has "file" in its --version output.
1999-10-03 Thomas Tanner <address@hidden>
* NEWS: new -no-install flag
* configure.in: fix typo
* doc/libtool.texi(Link mode): document -no-install flag,
correct -no-fast-install docs
* libtool.m4: check for "file" command
* ltconfig.in: don't hardcode /usr/bin/file, remove second
definition of sysv5, replace linkopts -> linker_flags
* ltmain.in: add new -no-install flag, print help for -no-install
and -no-fast-install flags
1999-10-03 Olly Betts <address@hidden>
* ltmain.in: always create output_objdir
1999-10-03 Pavel Roskin <address@hidden>
* libltdl/Makefile.am: don't preserve file attributes when
installing the libltdl sources
1999-10-01 Gary V. Vaughan <address@hidden>
* configure.in (AC_OUTPUT_COMMANDS): generate ltmain.sh
* Makefile.am (ltmain.sh ltconfig): removed. Automake inserts the
rules to automatically call config.status.
* libtool.m4: be sure to AC_SUBST values no longer tested in
ltconfig.in.
* ltconfig.in: replaced several of the simple feature tests with
substitutions from config.status.
* Makefile.am (ltconfig): generate ltconfig with config.status.
* configure.in (AC_OUTPUT): generate ltconfig with config.status.
1999-09-30 Donald Anderson <address@hidden>
* ltconfig.in (sco3.2v5): use pass_all deplibs_check_method
for SCO3.2.
1999-09-29 Gary V. Vaughan <address@hidden>
* 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!
1999-09-29 Vadim <address@hidden>
* ltconfig.in (sysv): More UW7 support.
1999-09-28 Albert Cheng <address@hidden>
* ltmain.in (shlibpath_var): ensure the variable is non-empty before
exporting it.
1999-09-27 Manfred Weichel <address@hidden>
* ltconfig.in (sysv5): Added support required for shared
library linking on SCO UW7.
1999-09-22 Gary V. Vaughan <address@hidden>
* ltconfig.in (whole-archive-flag-spec): test whether the
version of GNU ld being used understands --whole-archive
before using it.
1999-09-19 Thomas Tanner <address@hidden>
* ltmain.in: don't ignore convenience libraries for objects/archives
(temporary hack)
1999-09-14 Alexandre Oliva <address@hidden>
* ltconfig.in (CDPATH): Set to `:' instead of empty.
* ltmain.in (CDPATH): Likewise.
Reported by Greg McGary <address@hidden>
1999-08-24 Gary V. Vaughan <address@hidden>
* ltconfig.in (ltdll.c, impgen.c): Prevent the shell from
expanding variables & backslash escapes when writing these
files to the libtool script.
1999-08-24 Thomas Tanner <address@hidden>
* NEWS: mention fixes
* doc/PLATFORMS: GNU/Hurd update
* depdemo: make use of variables
* ltconfig.in: use CC -E when checking for ELF support
on NetBSD (reported by Todd Vierling <address@hidden>),
replace all occurences of 'linkopts' with 'linker_flags'
* ltmain.in: move ltdll.c and impgen.c to ltconfig.in and
only add them to the libtool script if it's necessary
1999-08-24 Boyd Gerber <address@hidden>
* ltconfig.in: add support for UnixWare 7.X.X
* doc/PLATFORMS: add new platforms
1999-08-24 Pavel Roskin <address@hidden>
* doc/libtool.texi: document use of noinst_LTLIBRARIES for
convenience libraries
* ltconfig.in: check for freebsdelf3, not just freebsd3.
Set hardcode_into_libs=yes for FreeBSD 3.0 and 3.1
* ltmain.in: enable workaround for freebsdelf3.0
1999-08-24 Bert Driehuis <address@hidden>
* ltconfig.in: export_dynamic_flag_spec is -rdynamic on BSD/OS
1999-08-07 Alexandre Oliva <address@hidden>
* libltdl/COPYING.LIB: Update to version 2.1.
* libltdl/ltdl.h, libltdl/ltdl.c: Update FSF address.
1999-08-03 Gary V. Vaughan <address@hidden>
* libtool.m4 (mingw*, AC_PROG_LD): use tr for carriage return
stripping.
* ltconfig.in: ditto.
From Olly Betts <address@hidden>
1999-08-02 Olly Betts <address@hidden>
* 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.
* libtool.m4 (AC_PROG_LD): strip carriage returns from the
output of gcc -print-prog-name=ld.
* ltconfig.in: ditto.
1999-07-30 Pavel Roskin <address@hidden>
* ltmain.in: Ensure that gcc on HPsUX uses -fPIC, or else
initialised structures are sometimes emitted in the code section.
1999-07-30 Mumit Khan <address@hidden>
* ltconfig.in: Read line at a time to avoid tokenisation by
shell.
1999-07-29 Alexandre Oliva <address@hidden>
* ltmain.in: Fix creation of relative links to object files in
sub-dirs.
1999-07-29 Olly Betts <address@hidden>
* ltconfig.in(cygwin mingw32, archive_expsym_cmds): Only compile
and link ltdll.c if the libtool.m4 macros discovered that it is
required.
1999-07-26 Olly Betts <address@hidden>
* libtool.m4(cygwin mingw32, AC_LIBTOOL_SETUP): Oops. Fix some
typos made by Evil Gary while (mis)applying my patch :-).
* libtool.m4(cygwin mingw32, AC_LIBTOOL_SETUP): On second
thoughts, only probe for -mdll vs -dll on mingw, and revert to
the old `-Wl,--dll -nostartfiles' on cygwin.
1999-07-24 Erez Zadok <address@hidden>
* doc/PLATFORMS (i*86-*openbsd2.5): New platform.
Slight reordering of other bsd entries.
1999-07-24 Olly Betts <address@hidden>
* NEWS: Note new user visible changes.
* libtool.m4 (mingw32, AC_LIBTOOL_SETUP): probe for -mdll vs -dll
under cygwin/mingw.
probe whether the cygwin/mingw library supplies a stub DllMain
(but this information isn't yet used).
* ltconfig.in (mingw32, extract_expsyms_cmds): if HOST_CC is set,
use that to build impgen so we can use it when cross-compiling.
use correct entry points for mingw so static C++ constructors get
called for code in the DLL.
* ltmain.in (impgen.c): define O_BINARY to 0 if it is not in the
system headers.
1999-07-24 Bert Driehuis <address@hidden>
* ltconfig.in: Updated bsdi4 soname specs to be more like
linux as discussed on the bsdi mailing list.
1999-07-20 Gary V. Vaughan <address@hidden>
* configure.in (AC_PROG_RANLIB): No longer required as we now use
AC_CHECK_TOOL in AC_LIBTOOL_SETUP.
* libtool.m4 (AC_PROG_LIBTOOL): Pass the $build variable to
ltconfig.
(AC_PROG_RANLIB): replaced with AC_CHECK_TOOL.
* ltconfig.in (build): new variable to hold the build triplet
which is now checked for unless --no-verify is specified.
(--build): new argument to set the build triplet.
(ranlib): Prefer ${host_alias}-ranlib[.exe] if $build is different
to $host.
* doc/libtool.texi (Invoking ltconfig): Document --build option.
* NEWS: Note --build option.
1999-07-19 Erez Zadok <address@hidden>
* doc/PLATFORMS: Updated mostly *bsd platforms.
1999-07-19 Alexandre Oliva <address@hidden>
* doc/libtool.texi (Porting inter-library dependencies): Typos
Reported by Petter Reinholdtsen <address@hidden>
1999-07-17 Thomas Tanner <address@hidden>
* NEWS, TODO: updated (pic flags)
* libtool.m4 (AC_PROG_LIBTOOL): added --with-pic flag
* ltconfig.in: new pic_mode variable and --prefer[-non]-pic flags,
fixed the strip check (reported by Keith Bostic <address@hidden>)
* ltmain.in (compile mode): build only PIC/non-PIC code depending
on pic_mode
* libltdl/README: document the supported dlopen interfaces
* doc/libtool.texi (tests): documented new tests
* tests/Makefile.am: added new tests
* tests/demo-pic.test: new test to test --with-pic
* tests/demo-nopic.test: new test to test --without-pic
* tests/build-relink2.test: variant of build-relink.test that
uses depdemo
1999-07-09 Olly Betts <address@hidden>
* doc/libtool.texi (C++ Libraries): fixed a typo.
1999-07-06 Gary V. Vaughan <address@hidden>
* README-alpha: improved the release instructions to mention
actual list addresses for announcements, and urls for upload
locations.
1999-07-03 Thomas Tanner <address@hidden>
* doc/PLATFORMS: 1.3b passes all tests on cygwin
1999-07-03 Pavel Roskin <address@hidden>
* ltconfig.in: finish_cmds for FreeBSD removed
* depdemo/l3/Makefile.am: install libl3.la into an extra directory
1999-07-02 Gary V. Vaughan <address@hidden>
* configure.in: bumped version to 1.3c.
GNU libtool 1.3b was released.
* NEWS: inserted todays date.
1999-07-02 Alexandre Oliva <address@hidden>
* doc/PLATFORMS: Tested on as many platforms as possible for me.
1999-07-01 Thomas Tanner <address@hidden>
* NEWS: updated
* doc/PLATFORMS: updated
* changed my email address
1999-06-30 Thomas Tanner <address@hidden>
* demo/foo.h: use LT_PARAMS instead of LTDL_PARAMS (this is not libltdl)
* tests/build-relink.test: also check for hardcode_into_libs = yes,
if set, we need to relink at install-time
1999-06-29 Thomas Tanner <address@hidden>
* NEWS: mention -no-fast-install, rename dummy to force
* doc/PLATFORMS: 1.3b passes all tests on GNU/Linux,
FreeBSD (2.2.6 and 3.1)
* doc/libtool.texi: it's possible to link libtool libraries
using -L and -l, better documentation of uninstall and clean mode,
rename dummy to force, documented -no-fast-install,
AC_LIBLTDL_* must be called before AC_PROG_LIBTOOL,
documented hardcode_into_libs and striplib/old_striplib,
* ltconfig.in: search for strip program, added hardcode_into_libs
and striplib/old_striplib variables, set strip commands for GNU strip,
on FreeBSD >= 3.2 set hardcode_into_libs to yes,
fast-install mode doesn't work if hardcode_into_libs = yes
* ltmain.in: reimplemented hardcoding into libraries:
new relink mode, preserve all libtool args, relink libraries
when installing if necessary
added -no-fast-install flag, removed unnecessary `dlname'
initialization, use striplib/old_striplib for stripping libraries,
dlname is always soname or in library_names so we don't need
to handle different file names
1999-06-29 Alexandre Oliva <address@hidden>
* 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 <address@hidden>
1999-06-29 Pavel Roskin <address@hidden>, Alexandre Oliva <address@hidden>
* ltconfig.in (freebsd*, shlibpath_overrides_runpath): Set to
yes; tested on 3.1-ELF by Pavel and on 2.2.6 by Alexandre.
1999-06-25 Alexandre Oliva <address@hidden>
* ltconfig.in (linux-gnu*, deplibs_check_method): Use pass_all on
alpha, x86 and sparc architectures by now, reverting to file_magic
at least on ARM, where it breaks.
1999-06-23 Thomas Tanner <address@hidden>
* NEWS: updated
* README: added GNU Hurd to the supported platforms
* doc/libtool.texi: document `-dlpreopen dummy'
instead of `-dlopen dummy'
* libltdl/ltdl.c (strchr): fixed typo (missing star)
1999-06-23 Stephan Kulow <address@hidden>
* libltdl/ltdl.c (strrchr): fixed typo (missing star)
* libltdl/ltdl.c (trim): use `const' to silence -Wwrite-strings
1999-06-23 Olly Betts <address@hidden>
* ltmain.in (ltdll.c): Support for crosscompiling from linux to
mingw32.
1999-06-23 Gary V. Vaughan <address@hidden>
* 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.
1999-06-20 Gary V. Vaughan <address@hidden>
* ltconfig.in: moved the test for NM after the test for
no_builtin_flag.
1999-06-20 Alexandre Oliva <address@hidden>
* ltconfig.in: Use sed '$q' instead of sed "" for copying ltmain,
just in case some sed does not support an empty command.
* ltconfig.in (link_static_flag, ac_cv_prog_cc_static): Use the
latter in the test.
1999-06-18 Thomas Tanner <address@hidden>
* ltconfig.in (bsdi4, deplibs_check_method): use a less restrictive
regex (reported by Chris P. Ross <address@hidden>)
* ltmain.in: support `-dlopen dummy', define lt_preloaded_symbols
if dlself != no
* doc/libtool.texi (Compile and Link mode): document it,
documented the -Wc, -Wl flags, libtool does also support non C
source code
1999-06-18 Teun Burgers <address@hidden>
* ltconfig.in: CR/LF fix for broken DJGPP bash
* ltmain.in: CR/LF fix for DJGPP
1999-06-18 Gary V. Vaughan <address@hidden>
* ltmain.in (outputname): When generating the executable wrapper
script, $outputname already has the $exeext suffix, so we needn't
add it again.
1999-06-16 Gary V. Vaughan <address@hidden>
* libltdl/configure.in (ac_cv_lib_dl_dlopen): missing "x" in test
comparison corrected.
* 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.
1999-06-15 Gary V. Vaughan <address@hidden>
* 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.
1999-06-14 Thomas Tanner <address@hidden>
* ltconfig.in: use eval when setting have_dlfcn_h, reformatting
1999-06-12 Thomas Tanner <address@hidden>
* ltmain.in: store old archives in deplibs and old_deplibs,
retain the order of dependency libraries (even old archives),
determining the absolute directory name didn't work due to a typo,
add the library search paths of all dependency libraries when
linking a library (fixes IRIX 5.2 bug)
1999-06-10 Alexandre Oliva <address@hidden>
* 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 <address@hidden>
1999-06-09 Gary V. Vaughan <address@hidden>
* 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.
(objext): for consistency, do the same as above.
Reported by Pavel Roskin <address@hidden>
1999-06-09 Pavel Roskin <address@hidden>
* ltconfig.in (exeext): Use quotes in the test, to prevent a
failure in sh.test.
1999-06-09 Gary V. Vaughan <address@hidden>
* ltconfig.in: Reordered tests to be more like configure.in's
recommended order (programs first, then libraries, etc.).
Performed a manual ``constant folding pass'' (eg: s/eval "test
\"echo '$''{'lt_cv_dlopen'+set}'`\" != set/test
"${lt_cv_dlopen+set}" != set/).
s/test "${foo+set}" = "set"/test "X${foo+set}" = Xset/g
* ltconfig.in (link_static_flag): Accept, in order of decreasing
preference: the cached value; the default value for the current
host. Also test that the compiler accepts the flag, and cache
that result too.
* ltconfig.in (pic_flag): Accept, in order of decreasing
preference: the cached value; the default value for the current
host. Also test that the compiler accepts the flag, and cache
that result too.
1999-06-08 Gary V. Vaughan <address@hidden>
* ltconfig.in (LN_S): Accept, in order of decreasing preference:
the cached value; an environment setting; ``ln -s'' if it works;
``ln'' if ``ln -s'' doesn't appear to work.
* ltconfig.in (objext): Accept, in order of decreasing preference:
the cached value; the result of a test object compilation.
* ltconfig.in (RANLIB): Accept, in order of decreasing preference:
the cached value; an environment setting; the first file called
``ranlib'' in the user's path.
* 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.
* ltconfig.in (cygwin, pic_flag): Force separate compilation of
objects for dlls vs. objects for static archives. Using a cpp
macro also allows us to decide whether or not we need to use
dllexport/import declarations.
* ltconfig.in (cygwin, need_version): Set to no, otherwise module
dll's end up with mighty long names!
1999-06-06 Alexandre Oliva <address@hidden>
* ltconfig.in: Support new GNU ld --help output format.
* NEWS: Likewise.
Reported by Gaël Quéri <address@hidden> and
H.J. Lu <address@hidden>.
1999-06-05 Mark Kettenis <address@hidden>
* 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.
1999-06-02 Nick Rasmussen <address@hidden>
* ltmain.in (link): use "$nonopt" as the compiler for
compile/finalize_command
1999-05-27 Alexandre Oliva <address@hidden>
* 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.
1999-05-27 Pavel Roskin <address@hidden>
* ltconfig.in (GNU Hurd, deplibs_check_method): Use pass_all.
1999-05-27 Alexandre Oliva <address@hidden>, Olly Betts <address@hidden>
* ltmain.in: Expand convenience libraries when creating reloadable
objects.
* NEWS: Ditto.
1999-05-27 Alexandre Oliva <address@hidden>
* NEWS: Mention the two bugfixes below.
* 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.
* 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 <address@hidden>
1999-05-27 David Jones <address@hidden>
* libltdl/ltdl.c (LTDL_BIND_FLAGS): Remove BIND_VERBOSE, to avoid
printing error messages.
1999-05-26 Alexandre Oliva <address@hidden>
GNU libtool 1.3.2 was released.
1999-05-25 Alexandre Oliva <address@hidden>
* NEWS: List fixed problems.
* doc/PLATFORMS: Tested for 1.3.2.
* config.guess: Synch with GNU common.
* ltmain.in: Revert to stripping .exe on all platforms.
* TODO: Note about this problem. Demo is fixed on win32. Support
`empty' convenience libraries.
* 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 <address@hidden> and Ronald Pijnacker
<address@hidden>
1999-05-25 Frank Ch. Eigler <address@hidden>
* ltmain.in: file_magic check would not avoid cyclic links.
1999-05-25 Alexandre Oliva <address@hidden>
* depdemo/main.c, depdemo/l1/l1.c, depdemo/l2/l2.c: K&R-ize.
* depdemo/l3/l3.c, depdemo/l4/l4.c: Likewise.
* ltmain.in: Remove object files before writing to them, to avoid
circular links.
Reported by Ron O'Hara <address@hidden>
1999-05-24 Thomas Tanner <address@hidden>
* NEWS: support for installing stripped libraries using GNU strip
* ltconfig.in: set deplibs_check_method=pass_all on FreeBSD,
Linux and Solaris since no one can reproduce the famous deplibs
bug
* ltmain.in: preserve $CC (reported by Tom Tromey),
strip libraries using GNU strip if it's available and the
-s flag was passed to "install"
1999-05-23 Alexandre Oliva <address@hidden>
* doc/PLATFORMS: Release 1.3.1 passes on GNU Hurd/x86.
Reported by Pavel Roskin <address@hidden>
1999-05-23 Thomas Tanner <address@hidden>
* ltmain.in: strip off the .exe suffix only on *Win
(Reported by Matthew D. Langston <address@hidden>)
1999-05-22 Thomas Tanner <address@hidden>
* NEWS: updated
* TODO: -Wc, -Wl, implemented
* AUTHORS: changed my email address
* doc/libtool.texi: fix "wierd" typo :)
* ltmain.in: linking against convenience libraries was broken,
implemented the "-Wc," "-Wl," "-Xcompiler" "-Xlinker" flag for
compiler and linker-specific flags,
add -lc before we do the deplibs check
* ltconfig.in: linkopts -> compiler_flags for $CC and linker_flags
for $LD, link_all_deplibs=yes on IRIX
1999-05-22 Gary V. Vaughan <address@hidden>
* 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.
1999-05-22 Doug Evans <address@hidden>
* libltdl/configure.in (dlerror): Fix typo in dlopen found in -ldl
test.
1999-05-21 Pavel Roskin <address@hidden>
* Makefile.am (EXTRA_DIST): Don't distribute instutils.
(install-data-hook): use libltdl/Makefile.am's local-install files
rule.
* libltdl/Makefile.am (local-install-files): New rule to install
libltdl without creating links or mode 777 directories.
* instutil/*: deleted.
1999-05-21 Alexandre Oliva <address@hidden>
* doc/PLATFORMS: Updated to 1.3.1 for all platforms I've got.
Added sparc-unknown-linux-gnu.
1999-05-21 Gary V. Vaughan <address@hidden>
* demo/foo.h: s/PARAMS/LTDL_PARAMS/g
* libltdl/ltdl.h: ditto.
* libltdl/ltdl.c: ditto.
* demo/foo.h: s/__P/PARAMS/g
* libltdl/ltdl.h: ditto.
* libltdl/ltdl.c: ditto.
Reported by Akim Demaille <address@hidden>
1999-05-20 Alexandre Oliva <address@hidden>
* 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.
1999-05-20 Thomas Tanner <address@hidden>
* 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
1999-05-19 Gary V. Vaughan <address@hidden>
* NEWS: Added 1.3.1 news items.
* doc/PLATFORMS: updated the boxes I have access to, to 1.3.1
in preparation for the next release.
1999-05-18 Gary V. Vaughan <address@hidden>
* 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.
1999-05-17 Gary V. Vaughan <address@hidden>
* 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 <address@hidden>
1999-05-17 Jiro Takabatake <address@hidden>
* ltconfig.in: port to NEC UX/4800.
* NEWS: updated.
1999-05-17 Gary V. Vaughan <address@hidden>
* ltconfig.in (beos*, deplibs_check_method): set to pass_all. BeOS
is PIC by default.
Reported by "Shawn T . Amundson" <address@hidden>
* libltdl/configure.in: Fix test failures on AIX 4.3.2 by checking
for dlopen *with* -ldl first.
Reported by Greg Wooledge <address@hidden>
* demo/foo.h: Don't set any declspecs until we have full dll
support.
1999-05-16 Alexandre Oliva <address@hidden>
* ltconfig.in (solaris2.6, whole_archive_flag_spec): Do not use
-Wl for allextract.
1999-05-14 Alexandre Oliva <address@hidden>
* 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.
1999-05-09 Gary V. Vaughan <address@hidden>
* TODO: updated.
1999-05-06 Gary V. Vaughan <address@hidden>
* Makefile.am (install-data-hook): make sure the install directory
is not left world writable.
Reported by Andreas Schwab <address@hidden>
1999-04-30 Alexandre Oliva <address@hidden>
* libtool.m4: Use ifelse instead of if.
Reported by David Mazieres <address@hidden>
1999-04-29 Alexandre Oliva <address@hidden>
GNU Libtool 1.3 was released.
* NEWS: Summarize news from 1.2 to 1.3.
* ltmain.in: Save exit status of link_command before removing
symbol table object file.
1999-04-29 Gary V. Vaughan <address@hidden>
* doc/PLATFORMS: updated my hpux-10.20 and cygwin box entries.
1999-04-29 Alexandre Oliva <address@hidden>
* NEWS: Improved support for DU and IRIX too.
* config.sub, config.guess: Updated from GNU common.
* mdemo/configure.in: Move AC_LIBLTDL_CONVENIENCE before
AM_PROG_LIBTOOL, as suggested by autoconf.
* 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.
* doc/libtool.texi: Clear up overfull hbox.
* libltdl/Makefile.am (ltdl.lo): Add dependencies.
* libltdl/configure.in: Clean up some duplicate defines. Enable
support for multiple dlopening mechanisms.
* libltdl/acconfig.h: New file. Add #undefs for defines that
would be duplicated.
1999-04-29 Gary V. Vaughan <address@hidden>
* 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.
1999-04-29 Alexandre Oliva <address@hidden>
* ltmain.in (nlist, SYMFILE): Use outputname instead of output for
names within output_objdir.
1999-04-28 Alexandre Oliva <address@hidden>
* 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.
1999-04-28 Gary V. Vaughan <address@hidden>
* libtool.m4 (ltconfig_enable_win32_dll): pass --enable-win32-dll to
ltconfig if this is set.
(AC_LIBTOOL_WIN32_DLL): New macro required for libtool to attempt
a dll build on win32 hosts.
* ltconfig.in (--enable-win32-dll): new flag for the cli.
(cygwin*|mingw*|os2*, ltconfig_enable_win32_dll): if this is not set
to yes, then do not attempt to build shared libraries.
* doc/libtool.texi: document AC_LIBTOOL_WIN32_DLL.
* NEWS: noted new macro.
1999-04-27 Alexandre Oliva <address@hidden>
* libtool.m4 (AC_LIBTOOL_DLOPEN, AC_ENABLE_SHARED,
AC_ENABLE_STATIC, AC_ENABLE_FAST_INSTALL, AC_LIBLTDL_CONVENIENCE,
AC_LIBLTDL_INSTALLABLE): Warn if they appear after
AC_PROG_LIBTOOL. AC_LIBTOOL_SETUP, actually.
(AC_LIBTOOL_SETUP): Check whether DLOPEN support is to be enabled
at autoconf time, not configure time. Simplify code and
improve (?) help message about --disable-libtool-lock.
1999-04-27 Thomas Tanner <address@hidden>
* NEWS: new clean mode
* THANKS: added Ossama Othman
* doc/libtool.texi: documented the new `clean' mode
* ltconfig.in: set need_version=no on OSF (reported by
Marcus Sundberg <address@hidden>)
* ltmain.in: allow absolute non-existant -L paths,
always use output_objdir instead of objdir for temporary files,
delete generated temporary symbol lists,
don't add .la twice in the pseudo-library header,
implemented and documented clean mode (deletes libraries,
programs and object files and the files associated with them),
if build_libtool_libs=no and no static library is available,
try to link the program against the shared library,
don't add a statically linked library to the dependency_libs
* ltmain.in (help uninstall): added a missing backslash
after echo (reported by Ossama Othman)
1999-04-27 Alexandre Oliva <address@hidden>
* ltmain.in (old_archive_cmds): Iterate on oldobjs to find out
which links to object files we must create. Do not test for empty
pic_flag to create such links. Use objext when searching for
object files extracted from convenience library.
* ltconfig.in (compiler_c_o): Make sure the compiler does not
create temporaries in the current directory when output should go
elsewhere. We must perform locking if it does.
1999-04-27 Gary V. Vaughan <address@hidden>
* ltmain.in (old_archive_cmds): Ensure that there are always .o
objects available before running old_archive_cmds.
1999-04-26 Erez Zadok <address@hidden>
* doc/PLATFORMS: Updates for netbsd 1.3.3 and 1.4.
1999-04-26 Alexandre Oliva <address@hidden>
* ltconfig.in (aix4.[01], always_export_symbols): The case pattern
would never match; fixed.
Reported by Stephan Kulow <address@hidden>
1999-04-25 Alexandre Oliva <address@hidden>
* libtool.m4 (OBJDUMP): Pass it to ltconfig.
* configure.in: AC_SUBST DLLTOOL, OBJDUMP and AS.
* Makefile.am (libtool, clibtool): Pass them to ltconfig.
1999-04-25 Frank Ch. Eigler <address@hidden>
* libtool.m4 (cygwin*): Look for target objdump tool.
* ltconfig.in (cygwin*, file_magic_cmd): Use autoconf-located target
objdump tool. Track OBJDUMP like DLLTOOL and AS.
* ltconfig.in (cygwin*, deplibs_check_method): Accept
"architecture: i386" as optional suffix, for it is printed on a
separate line sometimes.
* ltmain.in (cygwin*, ltdll.c): Wrap DllMain declaration in extern "C".
* ltmain.in (deplibs_check_method=file_magic): Redirect stderr to
/dev/null, to suppress error messages from target objdump.
1999-04-25 Alexandre Oliva <address@hidden>
* ltconfig.in (irix*, soname_spec, library_names_spec): Missing
dots before $versuffix and $major.
* ltconfig.in (solaris*, whole_archive_flag_spec): Use -z
allextract/defaultextract from Solaris 2.6 on.
Reported by Brian Ford <address@hidden>
* ltconfig.in (beos*, allow_undefined_flag): Do not build shared
libraries with undefined symbols.
* ltconfig.in (aix4*, allow_undefined_flag): Set to -berok.
(aix4*, shared_flag): Set to -shared or ${wl}-bM:SRE.
(aix4*, archive_cmds): Use -bexpall.
(aix4*, archive_cmds, archive_expsym_cmds): Use shared_flag and
allow_undefined_flag.
(aix4*, always_export_symbols): Set to yes up to AIX 4.1.*,
because -bexpall is supported from 4.2 on.
Reported by Greg Wooledge
<address@hidden>
* ltconfig.in (hpux*, hardcode_minus_L): Set to yes.
(hpux*, hardcode_libdir_flag_spec): Do not use +s by default.
(hpux*, shlibpath_overrides_runpath): Set to no.
* ltconfig.in (irix*, osf*, archive_cmds): Write so_locations
within objdir.
* ltconfig.in (irix*, soname_spec): Append $major.
(irix*, library_names_spec): Add new soname.
Reported by David Kaelbling <address@hidden>
* ltconfig.in (irix*, sys_lib_dlsearch_path_spec): /usr/local/lib
is not searched by default. /usr/lib is searched before /lib.
* ltconfig.in (irix*, sys_lib_search_path_spec): /usr/lib is
searched before /lib.
* ltconfig.in (irix5*, need_lib_prefix, need_version): Set to no,
by unifying with irix6*.
* ltconfig.in (irix*, osf*, deplibs_check_method): Use pass_all.
* ltconfig.in (old_LDFLAGS, old_LIBS): Save and write to comments
in output file.
* ltmain.in (prefer_static_libs): New variable, set to no by
default, but set to yes by -static and -all-static. Used instead
of build_libtool_libs to decide whether to use a shared or static
version of a library, when both versions are available.
1999-04-25 Boyd Lynn Gerber <address@hidden>
* ltconfig.in (sco3.2v5*): Use LD_RUN_PATH for hard-coding.
1999-04-25 Pavel Roskin <address@hidden>
* Makefile.am (uninstall-local): Remove installed libltdl tree.
1999-04-25 Alexandre Oliva <address@hidden>
* demo/Makefile.am (hc-direct, hc-libflag, hc-libpath, hc-minusl):
Added CFLAGS to link commands; SCO OSR needs it for -belf.
* TODO: -Wl and -Wc options.
1999-04-12 Alexandre Oliva <address@hidden>
* libltdl/ltdl.c: Remove trivial warnings.
1999-04-22 Frank Ch. Eigler <address@hidden>
* ltconfig.in: Correct sed expression that extracts symbols
from cygwin def files. Ignore demangled C++ names, if any.
1999-04-12 John David Anglin <address@hidden>
* libltdl/ltdl.c (shl_close): shl_t was correct here...
(shl_sym): ... but we have to pass the handle by reference here.
1999-04-12 Alexandre Oliva <address@hidden>
* doc/libtool.texi (Invoking ltconfig): Document environment
variables used.
* doc/libtool.texi (Invoking ltconfig): Document --cache-file.
* doc/libtool.texi (Invoking ltconfig): Document
--disable-fast-install, --enable-dlopen, --with-gnu-ld and
--disable-lock.
1999-04-11 Thomas Tanner <address@hidden>
* libltdl/configure.in: check for shl_load in libdld
* libltdl/ltdl.c (shl_close, shl_sym): use (shl_t *) instead of shl_t
* ltconfig.in (check for gcc): removed a bogus line,
check for shl_load in libdld
* ltmain.in: added a warning to the header of the .la file
to warn users against deleting the file,
link shared against static libraries if
deplibs_check_method == pass_all
1999-04-10 Alexandre Oliva <address@hidden>
* libtool.m4 (AC_PROG_LD, AC_PROG_NM): When looking for programs,
try $ac_exeext too, so that they're found on DJGPP/MS-DOS.
* ltconfig.in: Likewise.
Reported by Robert S. Maier <address@hidden>
* ltconfig.in (Usage): Removed --enable-dlopen-self.
Reported by Pavel Roskin <address@hidden>
* ltconfig.in: Moved sysv4 before sysv4.*.
(symcode): Brian's overrider is specific to sysv4, not sysv4*.
1999-04-09 Thomas Tanner <address@hidden>
* NEWS, README: Motorola System V 4 support
* doc/PLATFORMS: added mk88-motorola-sysv4
* ltconfig.in: installed patch from Brian Ford <address@hidden>
to support mk88-motorola-sysv4
* doc/libtool.texi: some cleanups in the libltdl documentation
1999-04-07 Alexandre Oliva <address@hidden>
* ltconfig.in (--fallback-echo): Do not put an inline document and
an exec in the same if construct; otherwise the inline document
may not be removed.
* ltmain.in (--fallback-echo): Likewise.
Reported by John David Anglin <address@hidden>
* dryrun.test: It would still fail at random times, because `cp'
and `mv' are not guaranteed to preserve the timestamps of the
installed files. Instead of preserving them, just remove them
before the dry uninstall test. Redirect dry-run output to stderr,
so that it can be easily separated from the regular output.
1999-04-07 Thomas Tanner <address@hidden>
* NEWS: support for moved libraries
* libtool.m4: another DJGPP fix
1999-04-07 Alexandre Oliva <address@hidden>
* doc/PLATFORMS: Updated to 1.3 for all platforms I've got. I'll
make sure 1.3 won't be released unless it passes all tests on
those platforms.
* doc/libtool.texi (Compile mode): Document potential problem and
work-around for `-c -o dir/foo.lo'.
* tests/dryrun.test: The constant modifications of libtool would
cause main.o to be updated at the wrong time; the new approach is
to modify the libtool script so that it enables dry run depending
on whether an environment variable is set or not. I've also moved
`after' and `before' to a directory deep within $objdir, instead
of creating it in ../tests.
* tests/Makefile.am (CLEANFILES): Removed.
1999-04-06 Alexandre Oliva <address@hidden>
* tests/dryrun.test: We cannot rely on setting LIBTOOL, because
automake may use sub-makes, and the setting will not be propagated
to them on some makes. Instead, create a dry version of libtool
and switch between it and the original one before and after dry
runs.
* tests/Makefile.am (CLEANFILES): Added libtool-*, created by
dryrun.test.
* tests/dryrun.test: Use cmp instead of diff.
(before, after): Create them within ../tests.
(libtool): Set to `/bin/sh ./libtool' by default, but use LIBTOOL,
SHELL and top_builddir from the environment if available. For dry
runs, use "$libtool -n".
* tests/Makefile.am (CLEANFILES): Added before and after.
* ltmain.in: Do not create links to object files in dry runs.
1999-04-06 Thomas Tanner <address@hidden>
* ltmain.in: added a missing line of the ILD patch
* NEWS: improved DJGPP support
* doc/libtool.texi: removed hardcode_into_libs documentation
* libtool.m4: some DJGPP fixes
* ltconfig.in: ditto, reverted one of my previous patches: we need
to check for NM, removed the hardcode_into_libs support since
no platform seems to support it
* ltmain.in: some DJGPP fixes, removed the hardcode_into_libs support
1999-04-05 Alexandre Oliva <address@hidden>
* ltconfig.in (netbsd*, GNU ld): Support a.out shared libraries
* Makefile.am (CVS): allow command-line overriding of cvs
* ltconfig.in (exclude_expsyms): Exclude _GLOBAL_OFFSET_TABLE_ by
default, as most a.out platforms use it, and end up in trouble if
we preload it, so it's safer to rule it out by default, and
special case its removal from exclude_expsyms if someone ever
complains.
1999-04-05 Thomas Tanner <address@hidden>
* doc/libtool.texi: reorder tests to reflect execution order,
documented dryrun.test and depdemo*
* ltmain.in (lt_preloaded_symbols): dry-run mode bugfix
* tests/dryrun.test: new test to check whether the dry-run
mode works properly
* demo/run.test: removed the unnecessary test
* demo/Makefile.am: ditto
* ltmain.in: set the DLL search path on cygwin,mingw and os2
1999-04-04 Alexandre Oliva <address@hidden>
* ltconfig.in (sunos4*, GNU ld): -Bstatic is not enough for
deplibs.test to work with GNU ld; -Bshareable is needed here.
* ltconfig.in (ld_shlibs, amigaos*): Disable shared libs with
native ld too.
* ltconfig.in (sunos4*, GNU ld): Reordered.
* ltconfig.in (archive_cmds, sunos4*): Revert to -Bstatic; the
native linker doesn't even support -Bshareable, only GNU ld does.
Do not use `gcc -shared' in archive_cmds, it breaks deplibs.test.
* ltconfig.in: if ld_shlibs=no, set can_build_shared=no too,
otherwise it will just be disregarded. This would cause
netbsd/m68k with GNU ld a.out, and certainly many other platforms,
to incorrectly believe that shared libraries were supported, while
archive_cmds was empty, causing shared libraries not to be created
1999-04-03 Alexandre Oliva <address@hidden>
* NEWS: improved support for AIX and HP/UX
1999-04-03 Thomas Tanner <address@hidden>
* NEWS: updated
* libtool.m4: check for main in libm instead of cos
* ltmain.in: cosmetic fixes, don't try to link libraries only once
(although it's not necessary on many platforms and looks ugly...),
1999-04-02 Alexandre Oliva <address@hidden>
* ltmain.in (convenience): fixed race condition when more than one
library was linked with the same convenience library by
uniquifying the extract directory. It is now named after the new
library *and* the old one, and lives in the objdir of the new one.
* ltmain.in (-L*): do not abort just because a directory specified
with -L does not exist; just warn and discard it
* depdemo/l1/Makefile.am (AUTOMAKE_OPTIONS): no-dependencies
* depdemo/l2/Makefile.am (AUTOMAKE_OPTIONS): ditto
* depdemo/l3/Makefile.am (AUTOMAKE_OPTIONS): ditto
* depdemo/l4/Makefile.am (AUTOMAKE_OPTIONS): ditto
* ltconfig.in (archive_cmds, sunos4*): where we used -Bstatic, we
should have been using -Bshareable
* demo/Makefile.am (CLEANFILES): clean EXTRA_* from deplibs-check
* libtool.m4 (LDFLAGS, LIBS): pass them to ltconfig, for the tests
that involve linking
* Makefile.am (LDFLAGS, LIBS, libtool, clibtool): ditto
* tests/Makefile.am (CFLAGS, CPPFLAGS, LDFLAGS, LIBS): set
(LDFLAGS, LIBS, TESTS_ENVIRONMENT): pass them down
1999-04-02 Erez Zadok <address@hidden>
* doc/PLATFORMS: 1.2f ok on various versions of hpux cc
1999-04-02 Alexandre Oliva <address@hidden>
* ltconfig.in (link_all_deplibs): set to unknown by default
* ltmain.in: test != no, not = yes
* doc/libtool.texi: document unknown
1999-04-01 Thomas Tanner <address@hidden>
* doc/libtool.texi: documented deplibs.test
* demo/Makefile.am: moved testsuite specific declarations to the end,
the deplibs check is now optional
* libltdl/configure.in: read libtool --config only once,
merged AC_SYS_SYMBOL_UNDERSCORE+AC_SYS_NM_PARSE from libtool.m4
* libtool.m4: AC_SYS_SYMBOL_UNDERSCORE+AC_SYS_NM_PARSE were not
used, lt_dlopen and silent may be empty, AC_SYS_LIBTOOL_CYGWIN
no longer necessary
* ltconfig.in: NM is already checked in libtool.m4,
* ltmain.in: always link all static dependency_libs
* tests/Makefile.am: added deplibs.test
* tests/demo-exec.test, demo-inst.test: removed hell0
* tests/deplibs.test: new test to test the deplibs_check_method
1999-03-31 Thomas Tanner <address@hidden>
* ltmain.in: always link a library before its dependency libs
* mdemo/Makefile.am: test -export-symbols-regex
1999-03-30 Thomas Tanner <address@hidden>
* doc/libtool.texi: fixed a typo
* libtoolize.in: add the libtool scripts to libltdl.tar.gz
* libtool.m4: don't AC_SUBST(USE_SYMBOL_UNDERSCORE),
AC_CHECK_LIBM sets LIBM, AC_LIBLTDL_INSTALLABLE doesn't work
when libltdl is already installed
* *demo/Makefile.am: use LIBM
* *demo/configure.in: AC_SUBST LIBM
* libltdl/configure.in: use ac_cv_sys_symbol_underscore instead of
USE_SYMBOL_UNDERSCORE
* ltconfig.in: added link_all_deplibs variable
* doc/libtool.texi: document it
* ltmain.in: always search for libname.la - don't eval libname_spec,
when linking libraries against static ones just print a warning
and add them to dependency_libs, add -lc before deplibs,
always link all dependencies of a static library or if
link_all_deplibs is yes, hardcode library paths if
hardcode_into_libs is no, don't link against dependency_libs
that already are deplibs
1999-03-30 Alexandre Oliva <address@hidden>
* ltconfig.in (aix4*, collect2name): make sure collect2 exists
before running string on it, to avoid errors on old gccs
Reported by Erez Zadok <address@hidden>
* ltconfig.in (aix4*, hardcode_libdir_flag_spec): unless we're
using gcc with old collect2, use -b libpath to hardcode the
library search path
* ltmain.in, ltconfig.in: reverted most of the quoting changes
from 1999-03-25; Gary's delay_variable_subst patch from 1999-02-19
obviates it. Keep only quoting of $PATH, for uniformity with
other systems that already did it
1999-03-29 Gary V. Vaughan <address@hidden>
* libltdl/ltdl.c (lt_dladdsearchdir): Forgot to mallocate the
extra byte of memory for the teminating NUL, and forgot to
strcpy the original path in to the new memory before appending
the new path compononent.
1999-03-27 Thomas Tanner <address@hidden>
* NEWS: updated
* README: updated (BeOS support, no longer shared libraries
support for AmigaOS), cleanups, we have now two mailing lists
* REAMDE-alpha: autogen -> bootstrap, we have now two mailing lists
* THANKS: added Xavier Pianet
* doc/PLATFORMS: BeOS works
* doc/libtool.texi: we have now to two mailing lists,
updated -dlopen self documentation, documented libltdl's license,
put each author in a separate line,
inter-library dependencies on uninstalled libtool libraries are
now supported, cleanups and minor corrections
* libltdl/COPYING.LIB: new file
* libltdl/ltdl.[ch]: added special exception to the LGPL license
* libtool.spec: removed, it was outdated
* Makefile.am: removed libtool.spec
* ltmain.in: use TMPDIR when possible, create a subdirectory
in the temporary directory, added -export-symbols-regex to the help,
1999-03-25 Alexandre Oliva <address@hidden>
* demo/Makefile.am: create a static library, link two libtool
archives with it, then link the program hell0 with both
* demo/hell1.c, demo/hell2.c: dummy files used to create the
libtool archives without introducing symbol conflicts
* tests/demo-exec.test, tests/demo-inst.test: run the new program
* ltconfig.in (irix5*, irix6*, deplibs_check_method): pass_all
* ltmain.in ($PATH): instead of modifying the PATH, better prevent
its expansion the first time *_cmds variables are eval'ed. Modify
$show within loops that eval them so as to expand variables
* ltconfig.in (*_cmds): quote $ so that they're not expanded by
the first eval
1999-03-25 Gary V. Vaughan <address@hidden>
* ltmain.in ($PATH): Expand any tildes in the users path to the
contents of $HOME to avoid problems with *_cmds splitting and
evaluation.
1999-03-24 Thomas Tanner <address@hidden>
* TODO: support -dlopen for libraries
* doc/PLATFORMS: Erez Zadok reported that libtool works on bsdi 4.0.1
* doc/libtool.texi (libltdl): libltdl supports BeOS
* libltdl/ltdl.c: shlib_ext was declared even if LTDL_SHLIB_EXT
didn't exist, partially reverted my previous patch: BeOS will
automatically search in ADDON_PATH
* ltmain.in: don't allow relative run-paths, fixed a typo in a warning,
ignore -dlopen self for libraries and objects,
only accept -L paths that exist, minor cleanups,
bugfix: add -lc for normal libraries, not convenicence libraries
removed offensive warnings/comments
1999-03-24 Alexandre Oliva <address@hidden>
* ltconfig.in (ld_shlibs, amigaos*): disable shared libraries
1999-03-23 Gary V. Vaughan <address@hidden>
* libltdl/configure.in: the sed expression for finding the shared
library extension used to think the . in [.] for the cygwin
shared_library_names_spec was the start of the extension!! We now
remove anything in square brackets (assuming that the square
brackets delimit a sed or expr expression which is not part of the
extension) before looking for the extension.
* TODO (cygwin): food for thought re: mutually dependant dlls.
1999-03-21 Alexandre Oliva <address@hidden>
* tests/build-relink.test: if we relink and have hardcode_direct,
removing an uninstalled library breaks an uninstalled program
* doc/libtool.texi: documented convenience libraries
* TODO: removed entry about it
* tests/*-unst.test: if directory is not configured, skip it
* tests/demo.test, tests/mdemo.test: unused, removed
* tests/depdemo.test: ditto
1999-03-20 Thomas Tanner <address@hidden>
* doc/libtool.texi (link mode): documentation for -module updated
* ltconfig.in: fast-install mode doesn't work for
hardcode_into_libs=yes
* ltmain.in: bugfix: "-dlopen self [-all]-static" wouldn't use
dlopen_self_static, automatically enable -export-dynamic when
using "-dlopen self", always make run-paths absolute,
ignore -lc only on platforms that don't have such a library,
cleanups in the ILD code, find even installed libtool libraries
that were moved, before generating the DLL-import library we need
to set libname, improved hardcoding of shlibpath for libraries,
don't generate an installable pseudo-library for convenience
libraries, bugfix: export_symbols would be removed immediately
before it is used
1999-03-19 Thomas Tanner <address@hidden>
* use the same header in all configure.in's and Makefile.am's
* NEWS: improved support for BeOS and Cygwin
* TODO: ILD branch was merged, all internal variables and macros
are now documented
* demo/Makefile.am: use $(LIBS) instead of -lm
* doc/libtool.texi: documented new variable hardcode_into_libs
and thread_safe_flag_spec, renamed all AM_ENABLE/DISABLE_* macros
to AC_*, documented AC_DISABLE_FAST_INSTALL and AC_LIBTOOL_DLOPEN
* libltdl/ltdl.c: added two new error messages (cannot_open_error,
cannot_close_error), use them where approriate,
BeOS support (thanks to Xavier Pianet), on BeOS search modules
additionally in ADDON_PATH
* libtool.m4: rewrote AC_CHECK_LIBM: BeOS and Cygwin don't have
libm and *-ncr-sysv4.3* requires libmw
* ltconfig.in: don't check for LoadLibrary, hardcode dlopen
configuration for BeOS and Cygwin
* ltmain.in: fix sourcing of .la files on Solaris
(patch by Raja R Harinath)
1999-03-19 Alexandre Oliva <address@hidden>
* ltconfig.in (sunos4*, with_gnu_ld, hardcode_minus_L): remove, we
have -rpath
(aix4*, without_gnu_ld, hardcode_shlibpath_var): unsupported is
default
(hpux9*, hpux10*, hpux11*, archive_cmds): drop +s, unneeded here
(hpux9*, hpux10*, hpux11*, hardcode_libdir_flag_spec): add +s
before +b
(hpux9*, hpux10*, hpux11*, shlibpath_overrides_runpath): since +s
appears before +b, set it to yes
(hardcode_shlibpath_var, hardcode_action): do not use
shlibpath_var to specify the compile-time search path; it loses,
and we may end up linking with pre-installed older versions of
libraries instead of yet-to-be-installed ones
(*, hardcode_direct, hardcode_minus_L): remove entries that set
them to no, that is default
* demo/Makefile.am (hc-direct, hc-libpath, hc-minusL): link with
$$hardcode_libdir_flag_spec, if available, with libdir=$(libdir),
to make sure the hardcode_* variables will produce the expected
results even in the presence of a hardcoding flag; depend on
libhello.la having been installed already
(hc-libflag): link with the installed library, but try to
hard-code the uninstalled one
* doc/libtool.texi: document the changes
* tests/*.test: when a test fails, skip tests that depend on it.
If a certain configuration is not supported, skip all its tests.
* doc/libtool.texi: reorder tests to reflect execution order
* tests/noinst-link.test: new test
* tests/Makefile.am (TESTS): added noinst-link.test
* doc/libtool.texi: document it
1999-03-19 Gary V. Vaughan <address@hidden>
* ltmain.in (dependency_libs): There is no reason to infer that
the pseudo library is invalid if dependency_libs='' at
install-time, or else libltdl/libltdl.la is invalid!!
1999-03-18 Thomas Tanner <address@hidden>
* merged my inter-library dependencies code from the ILD branch:
* NEWS: inter-library dependencies are now supported
* configure.in: add the depdemo subdirectory
* depdemo/*: new demo to demonstrate inter-library dependencies
* tests/depdemo*: new tests for depdemo
* ltconfig.in: added hardcode_into_libs (whether library paths
should be hardcoded into the libraries),
it currently defaults to 'no'
* ltmain.in: new internal 'relink' mode to relink libraries
on platforms with hardcode_into_libs=yes, save command line
arguments in libtool_args, accept relative -L directories,
ignore -lm on BeOS and Cygwin, always ignore -lc,
handle -l, -L and .la arguments later, always make the library
installation directory (-rpath) absolute, in relink mode don't
delete the not-relinked library and exit immediately after relinking,
try to find already-installed libtool libraries that were specified
using -l, support hardcoding of library paths into libraries too,
export shlibpath before linking libraries, and a lot of other
big changes that I don't want to describe here... please read
the source.
* merged Gary's Win32 code from the ILD branch:
* NEWS: Win32 DLLs are now supported
* TODO: removed .a library namespace clash for win32. It is
now resolved.
* ltconfig.in (cygwin, library_names_spec): removed $libname.a.
Creating a dll with libtool no longer creates an import library.
* ltconfig.in (extract_expsyms_cmds): Create $objdir if it does
not exist -- i.e. we need to generate import an import library
in a directory which has no libs of its own.
* doc/libtool.texi (old_archive_from_expsyms_cmds,
extract_expsyms_cmds): documented these new variables.
* ltconfig.in (extract_expsyms_cmds): New variable. Commands to
extract the exported symbol list from a dll.
(old_archive_from_expsyms_cmds): New variable. Commands to build
an old archive from the extracted expsyms list.
* ltmain.in: run the cmds in extract_expsyms_cmds and
old_archive_from_expsyms_cmds as necessary.
* ltconfig.in (cygwin, old_archive_from_new_cmds): no longer
required.
* ltconfig.in (cygwin, shlibpath_overrides_runpath): I'm not even
sure whether win32 honours the runpath at all when searching for
a dll to load! Anyway, when set to yes this prevents a gratuitous
warning.
* ltmain.in (deplib): The cygwin environment doesn't actually have
-lm, and although the linker fakes having one, specifiying it to
libtool will break ILD, so we ignore it when generating
dependencies.
1999-03-17 Gary V. Vaughan <address@hidden>
* doc/PLATFORMS: Thanks to Alexandres changes below, both my
hp boxes pass the entire test suite.
1999-03-17 Alexandre Oliva <address@hidden>
* ltconfig.in (hpux*, hardcode_minus_L): should be no, we have +b
(hpux*, hardcode_libdir_separator): set to colon
1999-03-17 Alexandre Oliva <address@hidden>
* doc/PLATFORMS: egcs is gcc; updates from Erez Zadok
1999-03-16 Alexandre Oliva <address@hidden>
* ltmain.in (deplibs, beos*): don't append -lc
Reported by Xavier Pianet <address@hidden>
* tests/build-relink.test (hardcode_action): when set to relink,
skip the test with lt-hell
* Makefile.am (EXTRA_DIST): add mkstamp
Reported by Xavier Pianet <address@hidden>
* Makefile.am (EXTRA_DIST): add ChangeLog.0
1999-03-16 Thomas Tanner <address@hidden>
* doc/libtool.texi: some minor corrections to the "-dlopen self"
documentation
* tests/Makefile.am: sorted by name, added assign.test
* ChangeLog: started new file
* ltconfig.in: some cosmetical changes
* ltmain.in: ditto
1999-03-15 Alexandre Oliva <address@hidden>
* configure.in, libtool.spec, NEWS: bump to 1.3a
* Branched for release 1.3 (branch-1-3)
* configure.in, libtool.spec, NEWS: bump to 1.2g
* configure.in, libtool.spec: bump to 1.2f
* doc/PLATFORMS: ditto
* NEWS: libtool 1.2f released
* ltmain.in: silence ``unbug'' :-) detected by sh.test
1999-03-14 Alexandre Oliva <address@hidden>
* TODO: we now use full pathnames for `file'
1999-03-14 Thomas Tanner <address@hidden>
* TODO: libltdl is now documented
* doc/libltdl.texi (linking with installed libtool libraries):
fixed typo
* doc/libltdl.texi (libltdl): added documentation for building
libtool modules and examples how to embed libltdl
* ltmain.in: don't ignore user-specified run-paths (fixed it
at the right place)
1999-03-14 Alexandre Oliva <address@hidden>
* ltmain.in (deplibs_check_method=none): discard -L and -R
switches when testing whether deplibs contains some library
1999-03-14 Erez Zadok <address@hidden>
* config.sub: recognize hppa2.0w, yet to be installed at GNU
* config.guess: minor update for FreeBSD-elf, yet to be installed
at GNU
1999-03-14 Alexandre Oliva <address@hidden>
* ltconfig.in (bsdi4*, sys_lib_search_path_spec,
sys_lib_dlsearch_path_spec): fix thinko in variable names; add
standard directories
* ltmain.in (exclude_expsyms): exclude symbols before sorting,
otherwise only the sorted list will have them excluded
* ltconfig.in (file_magic_cmd, file_magic_test_file, freebsd-elf*,
bsdi4*): use full pathnames when possible
* Makefile.am (all-recursive): depend on ACINCLUDE_M4_LIST
(all-local, check-local): remove, unused
* doc/PLATFORMS: updated platforms tested on 1.2f-pre; clean up;
reorder; untabify
* config.guess, config.sub: updated from GNU common
* doc/libtool.texi: notes on thread-safety problems of
libltdl/dlopen on GNU/Linux and FreeBSD
* ltconfig.in (aix3*, aix4*): GNU ld on AIX is very broken: it
cannot create working shared libraries. Print a warning
suggesting the user not to use it and disable shared libraries.
1999-03-13 Alexandre Oliva <address@hidden>
* ltconfig.in (global_symbol_to_cdecl): was reset before trying
`symprfx=_', rendering the test with `_' useless
* doc/libtool.texi (AM_PROG_LIBTOOL): eliminate overfull boxes
* doc/libtool.texi: complete dlopening/libltdl documentation
* ltconfig.in (osf3*, osf4*, deplibs_check_method): pass_all does
not really work; use file_magic instead.
(osf3*, osf4*): customize sys_lib_[dl]search_path_spec
* ltconfig.in (file_magic_test_file): new variable; if set, it
will be used as an argument for $file_magic_cmd to test whether
the regex in deplibs_check_method matches its output
(file_magic_cmd): use full pathnames whenever possible
* ltconfig.in (sys_lib_dlsearch_path_spec): new variable, that
lists the system *run-time* search path. Listed directories are
not implicitly hard-coded into executables.
* ltmain.in: use it, but *never* discard -R flags
* doc/libtool.texi: document it
* NEWS: ditto
Reported by Bob Friesenhahn <address@hidden>
* tests/sh.test: look for `$Xsed' without `$echo "X...'
* ltconfig.in, ltmain.in: fixed a few such occurrences
* ltmain.in (-static, -all-static): revert March 11's patch, I was
barking up the wrong tree
1999-03-12 Thomas Tanner <address@hidden>
* libltdl/ltdl.c: removed FILENAME_MAX since LTDL_FILENAME_MAX
is sufficient and doesn't break HP/UX
1999-03-11 Alexandre Oliva <address@hidden>
* ltconfig.in: (global_symbol_pipe) extract symbol tag from the
output of NM too
(global_symbol_to_cdecl): new variable; convert the output of
global_symbol_pipe to valid C declarations; on HP/UX, convert
text symbols to function declarations
* libtool.m4: similar modifications
* doc/libtool.texi: document new variable
* ltmain.in: use global_symbol_to_cdecl to generate lt_dlpreopened
symbols; avoid extracting symbol lists from dlpreopened files
twice; do not filter symbols from dlpreopened libraries
* TODO: fixed HP/UX dlpreopening problem
* ltmain.in (-static, -all-static): set dlopen_self to
$dlopen_self_static regardless of link_static_flag or pic_flag
* ltmain.in: FreeBSD bug that needs symbol table compiled with
-fPIC is fixed in release 3.1; use it only for 2.* and 3.0
1999-03-11 Thomas Tanner <address@hidden>
* ltmain.in: when building a library it doesn't make
sense to remove a relinked program ("lt-" prefix)
1999-03-11 Alexandre Oliva <address@hidden>
* mdemo/main.c (main, test_dl, test_dlself): propagate error
conditions better, to avoid false positives
* */configure.in: AC_SUBST(LIBTOOL_DEPS)
* */Makefile.am $(OBJECTS): depend on libtool
(libtool): rebuild automatically
* ltconfig.in: set dlopen_* variables to unknown when appropriate
* ltmain.in: only emit warning about lack of AC_LIBTOOL_DLOPEN if
*all* dlopen_* variables are set to unknown
1999-03-11 Thomas Tanner <address@hidden>
* ltmain.in: delete the old output files (incl. the relinked binary)
before linking.
* ltconfig.in: replaced `configure' with $progname and all
line numbers with @LINENO@
1999-03-11 Alexandre Oliva <address@hidden>
* libltdl/ltdl.c (strdup): cannot return str when it's NULL
because of const correctness
1999-03-10 Alexandre Oliva <address@hidden>
* libltdl/ltdl.c (strdup): always use our own, because the
standard strdup won't use lt_dlmalloc
* ltconfig.in (dlfcn.h): function definition may cause warnings;
define variable instead
* ltmain.in: properly create an export file for a program,
avoiding error messages about not finding it
* TODO: need to document AC_LIBLTDL_*; static self dlopening
problem fixed
* libtool.m4 (AC_LIBTOOL_DLOPEN): just set lt_dlopen=yes
(AC_LIBTOOL_SETUP): if lt_dlopen=yes, add --enable-dlopen to
libtool_flags; drop --enable-dlopen-self
* ltconfig.in: perform all the dirty work of testing for dlopening
support, because we need platform-dependent equivalents for
-export-dynamic, for self dlopening, and -static, for static self
dlopening
(dlopen_self_static): new configuration variable that is set to
yes only if static programs can dlopen themselves
* ltmain.in (-static, -all-static): dlopen_self=dlopen_self_static
* libltdl/configure.in (libltdl_cv_need_uscore): do not assume
dlfcn.h and LTDL_LAZY exist; use LTDL_GLOBAL and LTDL_LAZY_OR_NOW.
This test is likely to fail if self-dlopening does not work,
especially because we do not link the program with
-export-dynamic. Let's just hope that platforms whose symbol
names start with underscores will also accept underscores for
dlopen. We should probably use libtool to compile and link this
test, so that we can use -export-dynamic.
* mdemo/Makefile.am (@LIBLTDL@): depend on ../libltdl/config.h
* configure.in: fix AC_OUTPUT_COMMANDS for ltconfig and ltmain.sh
so that they work if srcdir is relative too
* libtool.m4 (AC_LIBLTDL_INSTALLABLE, AC_LIBLTDL_CONVENIENCE):
avoid introducing multiple --enable options when re-running
config.status
* libltdl/configure.in: if enable_ltdl_* is not set, assume no
* configure.in: if enable_ltdl_install is not set, enable it
* libltdl/configure.in: only assume implicit installation if
libltdl was libtoolized. If not, print a warning message
suggesting the use of --enable-ltdl-install or of one of the
AC_LIBLTDL_* macros.
* libtool.m4 (AC_LIBTOOL_SETUP): new macro, that does all the
configure-work that AC_PROG_LIBTOOL used to do; add
--cache-file=$cache_file to libtool_flags
(AC_PROG_LIBTOOL): call AC_LIBTOOL_SETUP, save the cache, run
ltconfig and reload the cache
* configure.in: run AC_LIBTOOL_SETUP, then set LIBTOOL_FLAGS to
libtool_flags
* ltconfig.in: support --cache-file switch. If it is used, load
the cache in the beginning and save it just before terminating
* tests/Makefile.am (TESTS): run demo-nofast before demo-shared
* configure.in: create ltconfig and ltmain.sh at the end of
config.status, if they do not exist. This fixes the bootstrap
problem reported by Erez Zadok <address@hidden>
1999-03-10 Thomas Tanner <address@hidden>
* NEWS: sorted by importance
* Makefile.am: set LIBTOOL_FLAGS when generating libtool
* configure.in: check for dlopen support and set LIBTOOL_FLAGS
accordingly
* configure.in: fix spacing for --disable-ltdl-install,
always configure libltdl, add libltdl/acinclude.m4 to
ACINCLUDE_M4_LIST, disable installation of libltdl if necessary
* libltdl/Makefile.am: set version info for libltdl.la
* libltdl/configure.in: don't check whether
enable_ltdl_convenience/install was set so that libltdl
can be used as independent package (libltdl.tar.gz) without
the need to use --enable-ltdl*
* libltdl/ltdl.c: minor cleanups, allocate the line cache
dynamically (lt_dlopen)
1999-03-10 Alexandre Oliva <address@hidden>
* libltdl/ltdl.c (lt_dlopen): some preprocessors choke if the `#'
of `#define' is not in column 1; let's go back to fortran! :-)
Add #undefs too, to avoid potential warnings or errors.
1999-03-09 Alexandre Oliva <address@hidden>
* libtool.m4 (AC_LIBLTDL_INSTALLABLE, AC_LIBLTDL_CONVENIENCE):
renamed convenience libltdl, dropped toinst hack for installable
* libltdl/Makefile.am: ditto
* libltdl/configure.in: ditto; abort if none of the macros is used
* ltmain.in: $output_objdir/$objdir/ -> $output_objdir/lt-
1999-03-09 Thomas Tanner <address@hidden>
* libltdl/ltdl.c (lt_dlopen): don't hardcode the length of the
constant strings
1999-03-09 Alexandre Oliva <address@hidden>
* Makefile.am (install-data-hook): install libltdl as a directory,
not as a tar-file, so that we do not modify the build tree at make
install time
* libtoolize.in (ltdl, ltdl_tar): update
* configure.in, Makefile.am, NEWS: install libltdl by default
* libtool.m4 (AC_LIBLTDL_INSTALLABLE, AC_LIBLTDL_CONVENIENCE):
new macros
* NEWS: ditto
* libltdl/configure.in: if none of the new macros or configure
arguments are used, warn and build convenience library only
* libltdl/Makefile.am: conditionally build convenience libltdl.la
* mdemo/configure.in: use AC_LIBLTDL_CONVENIENCE
* mdemo/Makefile.am: refer to @LIBLTDL@
1999-03-09 Gary V. Vaughan <address@hidden>
* NEWS: updated.
1999-03-08 Alexandre Oliva <address@hidden>
* ltmain.in: extract symbols from program objects to nlist first,
then translate them to the export_symbols format. Now it works,
but it appears to be needlessly extracting the symbol list from
dlpreopened libraries twice
* ltmain.in: temporarily disable dlopen_self when linking with
-static or -all-static, until we figure out how to test whether it
works at configure time
* TODO: remember to fix this later
* tests/build-relink.test: when hell is expected to fail, run it
within a subshell and redirect stderr to stdout, so that dynamic
linker errors are only printed in verbose mode
* ltmain.in (hardcode_libdir_separator, compile_rpath,
finalize_rpath): only substitute hardcode_libdir_flag_spec if
hardcode_libdirs is non-empty
* libtool.m4 (AC_LIBTOOL_DLOPEN): do not depend on the existence
of dlfcn.h nor on the definition of RTLD_LAZY
* tests/build-relink.test: hellT was renamed to lt-hell
* libltdl/Makefile.am (@TOINST@/libltdl.la): do not hide the
command that creates the TOINST directory; remove `-o $@' from the
LINK command, $(LINK) already contains it.
1999-03-08 Thomas Tanner <address@hidden>
* doc/libtool.texi (tests): documented demo-nofast.test and
renamed cdemo* to demo*
1999-03-08 Alexandre Oliva <address@hidden>
* libltdl/Makefile.am, libltdl/configure.in, mdemo/Makefile.am:
libltdl must not be renamed; if there's a problem with the install
option, let's fix it, not just work around it by breaking code of
users of the convenience library
* tests/build-relink.test: link broken libhello.la with at least
one libtool object
1999-03-08 Thomas Tanner <address@hidden>
* TODO: updated (libltdl build problem fixed)
* doc/libtool.texi (libltdl interface): removed the line which
promised that lt_dlopen will return NULL if it can't resolve all
symbols
* libltdl/Makefile.am, libltdl/configure.in: fixed build problem:
renamed the convenience library to libltdlc.la and the
installed version to libltdl.la
* ltmain.in (wrapper script): replaced the "T" suffix of the program
file name with a "lt-" prefix
* mdemo/Makefile.am: use libltdlc.la
* tests/Makefile.am, tests/demo-nofast.test: added demo to
test --enable-fast-install=no
1999-03-07 Alexandre Oliva <address@hidden>
* tests/Makefile.am (TESTS): run hardcode before build-relink
trashes libhello.la
* tests/hardcode.test (need_prefix): set to yes so that _inst is
not removed
* ltmain.in (compile_command): append finalize search path to
compile search path
* tests/build-relink.test: new; check shlibpath_overrides_runpath
* tests/Makefile.am (TESTS): add build-relink.test; remove
hardcode.test duplicates
* doc/libtool.texi: document it
* ltmain.in (relink_command): do not prepend cd `pwd` to it, the
scripts already enters the correct directory, and expanding the
pathname would prevent the build tree from moving
* ltconfig.in (enable_fast_install): force it to no only if we
need relink; in the other cases, set it to needless
* ltmain.in (fast_install): if needless, set relink_command empty
* doc/libtool.texi (fast_install, shlibpath_overrides_runpath):
document the new behavior
* ltconfig.in (enable_fast_install): test whether it can be forced
off after shlibpath_overrides_runpath and enable_shared are set
1999-03-07 Thomas Tanner <address@hidden>
* TODO: updated
* NEWS: updated
* TODO: scheduled some items for next release/future
* demo/configure.in: use AC_LIBTOOL_DLOPEN
* libtool.m4: added AC_ENABLE/DISABLE_FAST_INSTALL macro
* ltconfig.in: added --disable-fast-install flag
* ltmain.in: partially reverted Alexandre's patch and implemented
on-demand linking in such a way that the old developer-friendly
linking style is optional,
don't hardcode library paths that are in the system search path,
fixed a typo in lib_search_path,
implemented -export-symbols-regex for programs
1999-03-06 Alexandre Oliva <address@hidden>
* libltdl/ltdl.c (LTDL_LAZY_OR_NOW): renamed from LTDL_NOW; prefer
LAZY loading because it's much faster and NOW is apparently
partially broken on FreeBSD
Reported by Archie Cobbs <address@hidden>
* ltconfig.in (archive_expsym_cmds, solaris, without_gnu_ld):
$lib.exp already starts with $objdir/
Reported by Godmar Back <address@hidden>
* ltmain.in (freebsd): compile symbol table file with pic_flag
only on FreeBSD and when not static linking; it's been causing
trouble on platforms such as OpenBSD.
1999-02-26 Gary V. Vaughan <address@hidden>
* libtool.m4 (cygwin): s/\\(mingw\\|cygwin\\)32/\\1/g. Must've
missed this file when I changed to cygnus' new sanction name.
* ltconfig.in (sub_uncdrive): removed. This won't work with
the next version of cygwin.
(sub_uncdir): removed. We use <drive>:/path/to/executable now.
* libtool.m4 (AC_PROG_LD): removed sub_uncdrive and sub_uncdir.
1999-02-25 Thomas Tanner <address@hidden>
* TODO: added items for next alpha release, ILD etc.
* libltdl/ltdl.c: removed unnecessary check from presym_sym,
fixed bug in lt_dlclose, allow lt_dlopenext(NULL),
set deplibs for lt_dlopen(NULL)
1999-02-24 Alexandre Oliva <address@hidden>
* ltmain.in (file_magic_regex): sed `10q' is faster than `11,$d'
1999-02-22 Thomas Tanner <address@hidden>
* ltconfig.in (dlopen, dlopen_self): default is unknown
* ltmain.in: fixed -dlopen self, print a warning
if -dlopen is used without AC_LIBTOOL_DLOPEN
* mdemo/Makefile.am: use -dlopen self
1999-02-22 Alexandre Oliva <address@hidden>
* ltmain.in: added missing mkdir $progdir for on-demand executable
* ltmain.in: create on-demand executable as $progdir/$$-$program,
and rename it to $progdir/$program only when it's finished, to
avoid race conditions. We can still get the program linked
multiple times, if multiple instances are started simultaneously
and the program does not exist, but they are very unlikely to
interfere with each other. There's still a possibility that one
process removes the $program another has just created, and doesn't
replace it before the other tries to run it, in a system whose
`mv' is not atomic, so it will $rm then $mv, but so what? :-)
Locking files have been avoided to prevent dead-locks in case they
are left over after a reboot or crash.
* TODO: removed ILD, soon to be merged, and added convenience
libraries docs
* ltconfig.in (irix5*, irix6*, shlibpath_overides_runpath): yes
* ltmain.in: remove on-demand executable in the proper place, and
just warn if it can't be removed; add wrapper code to test whether
the install-executable is newer than the build-executable, to
relink it when it appears to be out-of-date
* libltdl/configure.in: check for dld.h
* libltdl/ltdl.c: include dld.h
(dld_open) it's spelled memory_error, not no_memory_error
Reported by Stefan Burstroem <address@hidden>
* ltmain.in: fix typos in my last change (s/ocmpile/compile/)
1999-02-21 Thomas Tanner <address@hidden>
* libltdl/ltdl.c (lt_dlopen): use newhandle instead of handle
when dlopening the executable
* libtool.m4 (AC_LIBTOOL_DLOPEN): removed the redundant "yes: "
prefix for lt_cv_dlopen, renamed lt_cv_dlopen_LIBS
to lt_cv_dlopen_libs (more consistent)
* ltmain.in: implemented -dl[pre]open self, necessary for
lt_dlopen(NULL), generation of exported symbols was broken
1999-02-20 Alexandre Oliva <address@hidden>
* ltmain.in: avoid duplication of -L switches, it sometimes breaks
IRIX 5.2's linker
* ltconfig.in (freebsd*, finish_cmds): expand objformat here
Reported by Vladimir Kushnir <address@hidden>
1999-02-20 Vladimir Kushnir <address@hidden>
* ltconfig.in (freebsd-elf*, need_version, need_lib_prefix): no
(freebsd-elf*, library_names_spec): add $libname.so instead of
$libname.so$versuffix; add $libname$release.so
1999-02-20 Alexandre Oliva <address@hidden>
* doc/libtool.texi: remove ticks from menu items; it breaks TeX
Reported by Erez Zadok <address@hidden>
* ltmain.in: fixes for export-symbols dry-run
* ltconfig.in (shlibpath_overrides_runpath): new variable;
determines whether LD_LIBRARY_PATH or equivalent can be used to
override a hard-coded library search path; default to unknown
(linux-gnu*): set it to no
(solaris*, sunos4*): set it to yes
* ltmain.in (build_libdirs_flags, build_libdirs, build_rpath): if
shlibpath_overrides_runpath is not yes, arrange that wrapper
scripts create, on demand, programs that use uninstalled libraries
* doc/libtool.texi: document it
* libtool.m4 (AC_LIBTOOL_DLOPEN): check for dlopen in libc before
trying in dl. Add the actual dlopening type to lt_cv_dlopen, and
add any needed libraries to lt_cv_dlopen_LIBS. Add test for
MS-Windows' LoadLibrary. Check whether a program can dlopen
itself only if we really have dlopen(), not some equivalent
function, but leave room for testing with other mechanisms.
(AC_PROG_LIBTOOL): assume some form of dlopen, but not
dlopen(NULL), is available if AC_LIBTOOL_DLOPEN is not used, for
backward compatibility.
1999-02-20 Archie Cobbs <address@hidden>
* libltdl/ltdl.c (lt_dlopen): use newhandle instead of handle
where appropriate, when dlopening a non-libtool library
1999-02-19 Gary V. Vaughan <address@hidden>
* ltconfig.in (export_symbols_cmds): renamed from
export_symbols_cmd.
(cygwin, mingw): Be sure to compile the ltdll.c object before
extracting the exported symbol list. Extract only the names
of the exported symbols from the def file [otherwise we might
run into trouble with -export-symbols-regex].
(archive_expsym_cmds): Regenerate the def file from the symbol
export list.
(delay_variable_subst): New sed expression to allow us to delay
evaluation of $foo in a double_quote_subst evaluated variable by
using \$.
* ltmain.in (export_symbols_cmds): evaluate each ~ delimitted cmd
separately.
* doc/libtool.texi (libtool script contents): new paragraph to
explain the difference between _cmd and _cmds suffixes for
variable names.
(export_symbols_cmds): renamed from export_symbols_cmd.
1999-02-18 Alexandre Oliva <address@hidden>
* ltconfig.in (ld_shlibs): move -soname and similar flags to the
end of archive_cmds and archive_expsym_cmds, so as to prevent
gcc's collect2 from inserting an object file between -soname and
the library name
* ltconfig.in (openbsd*, netbsd*, library_names_spec): append
alternate name without ${release}, otherwise build fails when
-release is used
1999-02-18 Gary V. Vaughan <address@hidden>
* ltconfig.in (archive{,_sym}_commands): Be careful not to
re-export the dll entry points address@hidden, address@hidden and
address@hidden to avoid bugs with the wrong entry
function being called with inter-dll dependencies.
Reported by DJ Delorie <address@hidden>
* THANKS: Added DJ Delorie, since his code inspired the impgen.c
program and because he has patiently answered all of the
irritating dll and win32 questions I have fired at him.
* ltmain.in (version_type): Oops. Irix versioning implies that
major version numbers are 1 based (not zero based). Fixed.
* ltmain.in (version_type): Implement irix versioning.
* ltconfig.in (irix{5,6}*): Use new irix shared object versioning.
* TODO: remove irix versioning from TODO list.
* ltmain.in (impgen.c): Added a new embedded C file that can be
used under win32 to extract a def file (symbol export list) from a
dll that has none. Code to use it might need to wait for the ILD
merge before it will be useful...
1999-02-18 Thomas Tanner <address@hidden>
* TODO: updated
* autogen: only libltdl needs autoheader
* doc/libtool.texi (link mode): documented -export-symbols-regex
and updated -export-symbols
* doc/libtool.texi (script contents): documented
always_export_symbols, export_symbols_cmd, exclude_expsyms,
include_expsyms, dlopen and dlopen_self
more detailed description of need_lib_prefix
* ltconfig.in: a "'" was missing in the default value
of export_symbols_cmd
* ltmain.in: implemented -export-symbols-regex
1999-02-17 Alexandre Oliva <address@hidden>
* ltconfig.in: (freebsd2*, sunos4*, exclude_expsyms): exclude
_GLOBAL_OFFSET_TABLE_
* ltmain.in: implement exclude_expsyms with egrep
* libltdl/ltdl.c (lt_dlmalloc, lt_dlfree): SunOS' cc can't cope
with argument lists, we __P even in the definition
1999-02-15 Thomas Tanner <address@hidden>
* cdemo/Makefile.am: renamed *foo1 to *foo, removed $(MATH_LIB)
* cdemo/foo1.c: renamed to foo.c
* libltdl/ltdl.c: eliminated lt_dltype, in presym_open():
search for @PROGRAM@ if filename == 0, in lt_dlopen():
fixed bug for filename == 0
* libltdl/ltdl.h: use __P macro for lt_dlmalloc/free
* libtool.m4: new macro AC_LIBTOOL_DLOPEN: checks for dlopen
and dlopen(NULL) support
* ltconfig.in: added new variables dlopen and dlopen_self,
--enable-dlopen[-self] flags for AC_LIBTOOL_DLOPEN
* ltmain.in: use dlopen[_self], dlpreopen files if there's no
dlopen support, build lt_preloaded_symbols only if
-dl[pre]open was used, include program symbols if -export-dynamic
was specified and there's no dlopen(NULL) support
* mdemo/configure.in: use AC_LIBTOOL_DLOPEN
* mdemo/main.c: demonstrate lt_dlopen(0)
1999-02-15 Gary V. Vaughan <address@hidden>
* demo/dlmain.c (_WIN32): The lt_symlist structure is now const,
so my original horrible temporary win32 hack no longer worked.
Here is a new horrible temporary hack to prevent helldl from SEGVing
on win32. I will fix this properly when we figure out how to do
data exports from dlls.
1999-02-14 Alexandre Oliva <address@hidden>
* libtool.m4 (AC_CHECK_LIBM): do not set MATHLIB or AC_SUBST it,
this has a negative side-effect of causing automake to add MATHLIB
to every single Makefile. Let's use plain AC_CHECK_LIB, so that
LIBS get set, until we find a better alternative
* *demo/Makefile.am: remove $(MATHLIB)
* libltdl/configure.in: add a DESCRIPTION argument to AC_DEFINEs
where appropriate, so as to get rid of acconfig.h
* libltdl/acconfig.h: removed
1999-02-13 Thomas Tanner <address@hidden>
* *demo/Makefile.am: use $(MATHLIB)
* *demo/configure.in: use AC_CHECK_LIBM
* doc/libtool.texi: renamed file_magic_command to file_magic_cmd,
renamed archive_sym_cmds to archive_expsym_cmds
* ltconfig.in: ditto
* ltmain.in: ditto
* libltdl/ltdl.c: use lt_dlmalloc/free
* libltdl/ltdl.h: define lt_dlmalloc/free
* libtool.m4: added AC_CHECK_LIBM macro
* ltconfig.in: renamed archive_sym_cmds to archive_expsym_cmds,
added always_export_symbols, export_symbols_cmd, exclude_expsyms,
include_expsyms, removed archive_cmds for cygwin/mingw and AIX,
on Solaris store the exported symbols list in objdir
* ltmain.in: allow -export-symbols for modules, use thread_safe flag,
add include_expsyms to the exported symbols
1999-02-12 Gary V. Vaughan <address@hidden>
* libltdl/ltdl.h (_LTDLL_EXTERN): libltdl is no longer linked as a
shared library, so the _declspec's were preventing the linker from
resolving symbols on win32. They have been removed now.
1999-02-12 Alexandre Oliva <address@hidden>
* ltmain.in: don't try to read objdir/libname.la before it is
created!
* ltmain.in: create libname.lai at link time, not at install time,
but still create it at install time if it is missing
Reported by Akim Demaille <address@hidden>
* libltdl/ltdl.c (tryall_dlopen): strcmp filenames was reversed
1999-02-11 Thomas Tanner <address@hidden>
* autogen: libltdl needs autoheader
* demo/Makefile.am: renamed hell.debug to hell.static
(we're demonstrating static linking, not debugging)
* tests/demo*: ditto
* doc/libtool.texi (libltdl): documented new lt_dlopen(NULL)
feature
* libltdl/acconfig.h: required for config.h
* libltdl/configure.in: use config.h
* libltdl/ltdl.c: use config.h, support lt_dlopen(NULL)
(returns a handle for the program itself)
* ltconfig.in: minor reformatting
* ltmain.in: in lt_preloaded_symbols always define
the program's symbols first, for -export-dynamic list all
program symbols together, -export-symbols was broken for
programs, minor reformatting
* mdemo/Makefile.am: renamed mdemo.debug to mdemo.static
* tests/mdemo*: ditto, mdemo.test was completely broken
1999-02-10 Alexandre Oliva <address@hidden>
* ltconfig.in (irix5*, irix6*, osf3*, osf4*): do not use
-set_version in archive_cmds if verstring is empty
(irix6*, shlibpath_var, sys_lib_search_path-spec,
deplibs_check_method): set appropriate values depending on
selected ABI, -32, -n32 or -64, as set in LD by libtool.m4
(uts4*): remove dot between .so and versuffix
1999-02-08 Alexandre Oliva <address@hidden>
* ltconfig.in (irix5*, irix6*, deplibs_check_method): use
file_magic for inter-library dependency tracking
* ltconfig.in (irix5*, hardcode_libdir_separator): set it to a
colon, because on IRIX 5 only the last -rpath switch prevails, and
it can be a list of colon-separated directories. This change will
affect irix6 too, but that's not a problem.
* ltconfig.in (irix5*, library_names_spec): add soname_spec,
otherwise we can't dlopen
1999-02-08 Thomas Tanner <address@hidden>
* ltconfig.in: according to Marcus Sundberg <address@hidden>
HP/UX, IRIX, OpenBSD, Digital Unix and SunOS support
need_version=no and need_lib_prefix=no,
fixed a bug in Solaris' archive_sym_cmds
1999-02-04 Alexandre Oliva <address@hidden>
* libtool.m4 (ac_cv_sys_global_symbol_pipe): accept TAB in
addition to space as separator, and allow more than one space
between the symbol code and the symbol name; HP/UX's nm, for
example, uses two spaces
* ltconfig.in (global_symbol_pipe): ditto
(bsdi4, deplibs_check_method): variable name was misspelled
* libltdl/configure.in (libltdl_cv_preloaded_symbols): rewrite
test, so as not to depend on the way global_symbol_pipe is
initialized; the current test would get false positives, as
global_symbol_pipe was initialized `x=""', not `x='
* libltdl/ltdl.c (find_module): initialize filename if dir is NULL
Reported by Godmar Back <address@hidden>
1999-02-04 Godmar Back <address@hidden>
* libltdl/ltdl.c (lt_dlopenext): missing space for terminator when
allocating memory for shlib_ext
1999-02-03 Alexandre Oliva <address@hidden>
* libltdl/ltdl.c (lt_dlopenext): tmp would be trashed if shlib_ext
was longer than 3 characters
1999-02-02 Gary V. Vaughan <address@hidden>
* ltconfig.in: new config.guess returns *-*-cygwin now instead of
*-*-cygwin32. sed -e 's%\(cygwin\|mingw\)32%\1%g' ltconfig.in
* ltmain.in: sed -e 's%\(cygwin\|mingw\)32%\1%g' ltmain.in
* ltconfig.in (hardcode_libdir_flag_spec, allow_undefined_flag,
archive_cmds, archive_sym_cmds, old_archive_from_new_cmds):
removed duplication of config by assuming that `test $with_gcc =
yes' implies gnu ld, otherwise MSVC++ (which I haven't tested
since I inheritted the code from Ian Lance Taylor btw!) is implied.
1999-01-28 Gary V. Vaughan <address@hidden>
* ltmain.in: Reverted this change of Alexandre's from the
1999-01-25; "don't try to use .o instead of .lo just because
there's no PIC flag. It loses if --disable-static, and there's
not much point if we're referring to the same file anyway...",
because not all linkers will accept .lo object names.
* ltmain.in: In the case where --disable-static is specified (as
noted in Alexandre's log entry), we just link some .o files to
prevent the original error.
Reported by Andrey Slepuhin <address@hidden>
1999-01-27 Alexandre Oliva <address@hidden>
* libtoolize.in: search for A[MC]_PROG_LIBTOOL, not
AM_PROG_LIBTOOL
Reported by Jeff Garzik <address@hidden>
1999-01-27 Gary V. Vaughan <address@hidden>
* THANKS: Now that we have a policy, applied it to the existing
list. This in no way demeans the work of those people removed
from the THANKS file, who are still credited in the ChangeLogs and
without who's work, libtool would not work so well on many
platforms, but serves to highlight the outstanding and continued
contribution the remaining people have made. And I quote, "We
reserve THANKS for people who have made major contributions, and
leave the credit to the others for the ChangeLog only."
* THANKS: added Sam Vilain.
* ltconfig.in ($echo): When using printf to replace echo the shell
expands %s\n to %sn. Changed to use "%s\n" (with quotes).
Reported by Sam Vilain <address@hidden>
1999-01-27 Alexandre Oliva <address@hidden>
* libltdl/ltdl.c (find_file): fix endless loop condition
(find_module): filename allocation was off by 1
* libltdl/Makefile.am (distclean-local): renamed from
distclean-hook, that didn't work
* libltdl/ltdl.c (lt_dlopen, non-.la): find_file now returns 0 on
failure
* Makefile.am (ltconfig, ltmain.sh): some broken makes don't like
macros in targets; replace $(srcdir) with @srcdir@
* configure.in (ACINCLUDE_M4_LIST): same problem; expand $srcdir
* libltdl/Makefile.am (@TOINST@/libltdl.la): if installation is
enabled, create to-be-installed libltdl.la within @TOINST@
directory
(noinst_LTLIBRARIES): even if installation is enabled, build
convenience libltdl.la, otherwise builds of random packages may
fail if the user happens to enable installation
(distclean-hook): wipe out $(TOINST)
* libltdl/configure.in: set TOINST and LIBLIBS as appropriate;
don't set NOINSTLIBS any more
* mdemo/Makefile.am: use libltdl.la
* libltdl/ltdl.c (find_file): oops, filenamesize was miscomputed
* libltdl/ltdl.c (find_file): allocate filename dynamically
* libltdl/configure.in (AC_PROG_LIBTOOL): automake does not
recognize it and fail, better keep using AM_PROG_LIBTOOL until the
next release of automake
* demo/configure.in, cdemo/configure.in: ditto
* depdemo/configure.in, mdemo/configure.in: ditto
* libltdl/ltdl.c: make all global strings char[], not char*; check
that all calls to malloc() are properly cast
(strdup, strchr, strrchr, trim, free_vars): declare as inline
(find_module): allocate filename dynamically; support null dir
(free_vars): free dir and name only if non-null
(lt_dlopen): keep dir as NULL if not given; fix expression that
calculated the size of name; only free and name if non-null
(lt_dlopenext): allocate tmp dynamically
* configure.in (pkgdatadir): expand ${PACKAGE} at configure-time,
just like automake does
* configure.in (pkgdatadir): define pkgdatadir explicitly, and
comment that automake does not need it, but libtoolize does
* Makefile.am (aclocaldir): do not set it explicitly, automake
does already
* configure.in (TIMESTAMP): use mkstamp here too
1999-01-27 Thomas Tanner <address@hidden>
* cdemo/configure.in: renamed AM_PROG_LIBTOOL to AC_PROG_LIBTOOL
* demo/configure.in: likewise
* depdemo/configure.in: likewise
* libltdl/configure.in: likewise
* mdemo/configure.in: likewise
* libltdl/ltdl.c: in find_module() check whether libdir is defined,
tryall_dlopen(): move deallocation of an already opened handle
to lt_dlopen(), allocate the directory in lt_dlopen() dynamically,
minor cleanups, fixed memory leak (name)
* libtool.m4: renamed all AM_ macros to AC_ and added aliases for
compatibilty, updated AC_SYS_NM_PARSE (no undefined symbols,
don't count the symbols)
* ltconfig.in: added thread_safe_flag_spec (not used yet),
added generic variable for linker options "linkopts" in
all archive_cmds
* ltmain.in: added -thread-safe flag (unused)
1999-01-26 Alexandre Oliva <address@hidden>
* ltconfig.in (LTCONFIG_VERSION): damn!, adding TIMESTAMP doesn't
always work, because then different ChangeLog timestamps fail to
pass the version test. Instead of forcing both ltconfig and
ltmain.sh to be updated every time ChangeLog changes, better
revert it
* ltconfig.in (LTCONFIG_VERSION): add TIMESTAMP, remove
explicit quotes and add it to the list of variables to quote
* ltmain.in: reworded `dropped inter-library dependencies'
message, and added a warning about inter-library dependencies even
for non-module builds
1999-01-26 Gary V. Vaughan <address@hidden>
* Makefile.am (install-data-hook): Don't show the if expression
that tests for gzip with a conditional error message; just do it
quietly and show the error if it fails, or the next action if it
succeeds.
* configure.in: It seems Alexandre accidentally removed the
AC_SUBST(pkgdatadir) line recently which breaks libtoolize.
Reverted that small change.
1999-01-25 Alexandre Oliva <address@hidden>
* libltdl/ltdl.c (find_module): test old_name and dlname for NULL,
not len==0
* libltdl/configure.in (libltdl_cv_objdir): yes, appending the "/"
in configure.in was much simpler
* libltdl/ltdl.c (objdir): ditto
* libltdl/ltdl.c (objdir): string collation isn't portable; strcat
"/" explicitly. Or should this be moved to configure.in?
1999-01-25 Thomas Tanner <address@hidden>
* libltdl/ltdl.c: allocate the variables in lt_dlopen() dynamically
1999-01-25 Alexandre Oliva <address@hidden>
* ltmain.in (file_magic): use egrep instead of expr to support
more general regular expressions
(file_regex): remove it; the name is misleading, it's not used
anywhere, and probably will never be
* ltconfig.in, doc/libtool.texi: ditto
* ltconfig.in (linux-gnu*, deplibs_check_method): extend regex to
support `LSB dynamic lib' in the output of `file'
Reported by Scott D. Heavner <address@hidden>
* ltmain.in (dependency_libs, xrpath): add -R switches to
dependency_libs only just before creating the .la file; they
should not be passed to the C compiler or linker at
library-creation time, since we don't know whether it is supported
* ltconfig.in (freebsd2.2*, hardcode_minus_L): for FreeBSD 2.2.6,
this must be `no'
* mkstamp: move the sed script to extract revision and date
information into a separate shell-script, so that we can break
lines between commands; FreeBSD's sed doesn't like `;' after `t'
Reported by Axel Thimm <address@hidden>
* Makefile.am: use mkstamp
* THANKS: added Axel Thimm
* ltmain.in: don't try to use .o instead of .lo just because
there's no PIC flag. It loses if --disable-static, and there's
not much point if we're referring to the same file anyway...
* ltmain.in (pass_all=none, droppeddeps): set only if deplibs was
non-empty
1999-01-24 Thomas Tanner <address@hidden>
* libltdl/ltdl.c: minor bugfixes, append a "/" the search
directory only if necessary
* ltconfig.in: added support for FreeBSD >= 3.0
(patch from Kurt D. Zeilenga)
* THANKS: added Kurt D. Zeilenga
1999-01-24 Thomas Tanner <address@hidden>
* doc/libtool.texi (libltdl): list supported dlopen mechanisms,
added function lt_dlopenext(), removed reference to
LTDL_PRELOADED_SYMBOLS in LTDL_SET_PRELOADED_SYMBOLS
* libltdl/ltdl.c: partially reverted Alexandre's dynamic string
allocation change (it was not necessary and the code was unreadable),
cleanups, removed usr_search_path_size, renamed usr_search_path
to user_search_path, in find_module() also check for moved
modules, merged find_file() and find_library(),
added lt_dlopenext(), in lt_dladdsearchdir() no longer reset
the search path if 'search_dir' == NULL and don't use realloc()
(might not be available on all platforms),
removed __P((void)) in the declaration of lt_dlgetsearchpath()
* libltdl/ltdl.h: added lt_dlopenext()
* ltconfig.in: AIX archive commands were broken,
fixed a MAJOR bug in global_symbol_pipe which caused
"demo-shared.test;demo-make.test" to fail (libtool must not extract
undefined symbols of libraries, i.e. symcode must not contain 'U')
* tests/Makefile.am (clean-local): "make distclean" in cdemo, too
1999-01-22 Alexandre Oliva <address@hidden>
* Makefile.am (ltconfig, ltmain.sh): add ChangeLog Revision to
TIMESTAMP
* configure.in: get values of PACKAGE and VERSION set by
AM_INIT_AUTOMAKE, and extract only TIMESTAMP from the ChangeLog
* libltdl/ltdl.c (lt_dlopen): if we're reusing a previously opened
handle, don't reset its name nor add it to the list, and free the
name we have allocated
Reported by Edouard G. Parmelan <address@hidden>
* Makefile.am (ltconfig, ltmain.sh, TIMESTAMP): let's not assume
anything about the format of the date, just that it does not
contain `$'
1999-01-22 Gary V. Vaughan <address@hidden>
* configure.in (date): echo the version number during
configuration, and show $date for cvs versions.
* Makefile.am ($(srcdir)/ltconfig): Oops. cvs co keyword
expansion ate the sed expression! Changed sed separator to '%'
because there are '/' in the date. Added missing '\(' to search
expression. Inserted a null string to stop cvs from expanding it
next time =)O|
($(srcdir)/ltmain.sh): ditto.
1999-01-22 Alexandre Oliva <address@hidden>
* Makefile.am (TSDEPS_DIST): dist-time dependencies for timestamps
(timestamps, update-timestamps): check whether TSDEPS_DIST are
up-to-date and update ltconfig and ltmain.sh if needed
(ltconfig, ltmain.sh): depend on TSDEPS; replace @TIMESTAMP@ with
the Date tag in the ChangeLog
(TSDEPS): empty unless overridden by update-timestamps
* ltconfig.in, ltmain.in (TIMESTAMP): append timestamp to most
references to VERSION
1999-01-22 Gary V. Vaughan <address@hidden>
* ltmain.in (ild): Revert the change which allowed libtool to
link libraries with dependencies on .la libs.
* NEWS: Removed reference to win32, incase 1.3 ships before
ild is ready.
* doc/PLATFORMS: Removed i686-pc-cygwin32, for the same reason.
* doc/libtool.texi: Removed win32 refs, for the same reason.
1999-01-22 Alexandre Oliva <address@hidden>
* ltmain.in (Xsed): add 1 to Xsed definition that goes into
temporary wrapper scripts
* libtool.m4: we don't have Xsed here, expand it manually
Reported by Pavel Roskin <address@hidden>
1999-01-22 Edouard G. Parmelan <address@hidden>
* ltmain.in (finalize_hardcode_libdirs, finalize_rpath): in
platforms that use -rpath, programs must be finalized at
installation time, otherwise build-tree programs will
prefer installed libraries over build-tree ones
1999-01-22 Alexandre Oliva <address@hidden>
* mdemo/Makefile.am (../libltdl/libtool): if it does not exist,
the sub-make for libltdlc.la will take care of it, but we must at
least provide an empty rule for it, otherwise the sub-make will
never run
* demo/configure.in, demo/Makefile.am (DLPREOPEN): reverted; it
didn't make any difference.
1999-01-21 Gary V. Vaughan <address@hidden>
* THANKS: Added Chris Laas <address@hidden>
From Chris Laas <address@hidden>
* ltmain.in (compile): corrected a typo in compile mode which
caused "gcc: unrecognized option -c-fPIC" errors due to a missing
space.
1999-01-21 Alexandre Oliva <address@hidden>
* libltdl/configure.in: reintroduce code to detect native library
extension
* libltdl/ltdl.c (lt_dlopen): if a .la file name is given, that's
all. Otherwise, lt_dlopen now tries to append .la first. If this
fails, it tries the given filename, and, at last, tries to append
the native library extension to the given filename.
* doc/libtool.texi (lt_dlopen): explain new lookup strategy
* libltdl/ltdl.c: major rewrite to avoid almost all fixed-size
buffers; only `tmp' in lt_dlopen remained. But the code got ugly
:-(
* ltconfig.in (linux-gnu*, finish_cmds): remove erroneous backslash
* demo/configure.in: set DLPREOPEN to -dlopen if we don't have
shared libraries
* demo/Makefile.am (DLPREOPEN): use instead of -dlpreopen
(STATIC): use $(STATIC), not @STATIC@
* mdemo/Makefile.am (STATIC): ditto
* tests/demo-shared.test, tests/demo-static.test: new tests
* tests/mdemo-shared.test, tests/mdemo-static.test: ditto
* tests/Makefile.am: ditto
* doc/libtool.texi: document them
* demo/Makefile.am, mdemo/Makefile.am (STATIC): do not use
-static unconditionally, it can't work with --disable-static
* demo/configure.in, mdemo/configure.in: check whether libtool was
configured to build static libraries and, if not, set STATIC to an
empty string
1999-01-20 Alexandre Oliva <address@hidden>
* ltmain.in (module, droppeddeps): if libtool could not satisfy
all dependencies of a module, it will only build a static version
of it, and display a warning message
1999-01-20 Erez Zadok <address@hidden>
* ltconfig.in (aix4*, with_gcc, archive_cmds): fix typo in Andrey
Slepuhin's last patch
1999-01-20 Alexandre Oliva <address@hidden>
* Makefile.am (@DIST_MAKEFILE_LIST@): work around Ultrix /bin/sh bug
* tests/nomode.test (must specify a MODE): ditto
Reported by Rainer Orth <address@hidden>
* THANKS: Added Rainer Orth
1999-01-20 Rainer Orth <address@hidden>
* ltconfig.in: No known version of Solaris 2 hardcoded -L paths.
1999-01-20 Erez Zadok <address@hidden>
* ltmain.in: s/n\'t/ not/
* doc/PLATFORMS: updates for sunos4/m68k and aix
1999-01-20 Andrey Slepuhin <address@hidden>
* ltconfig.in (aix4*): check for reworked collect2, always pass
-bnoentry option to linker when building a shared library
1999-01-20 Alexandre Oliva <address@hidden>
* ltmain.in (file_magic): follow soft-links before running `file'
on the candidate library; try to avoid entering endless loop
Suggested by Nix <address@hidden>
* ltconfig.in (linux*, solaris*, bsdi4*, sys_lib_search_path):
remove expansion of $LD_LIBRARY_PATH
* ltmain.in (lib_search_path): append the expansion of $shlibpath_var
* doc/libtool.texi: document it
* THANKS: Added Steven Schultz
1999-01-20 Steven M. Schultz <address@hidden>
* ltconfig.in (bsdi4*, check_shared_deplibs_method): file_magic
(bsdi4*, sys_lib_search_path): add /shlib and other dirs
1999-01-20 Alexandre Oliva <address@hidden>
* cdemo/main.c (main): use K&R definition syntax
* mdemo/main.c (test_dl, main): ditto
(test_dl): casts return value of lt_dlsym to appropriate types
* ltmain.in (dlsyms): #define const to nothing if not __STDC__
* ltconfig.in (global_symbol_pipe): #define const to nothing if
not __STDC__
* demo/dlmain.c (main): cast s->address to the appropriate pointer
types, otherwise StunOS4's cc refuses to compile it
* ltconfig.in (sunos4*, without_gnu_ld, with_gcc, archive_cmds):
add -fPIC, because libgcc is multilibbed, and we want the PIC
version of it for shared libraries, otherwise ld complains
* demo/dlmain.c (main): add missing const to declaration of name
* libltdl/ltdl.c (find_module): remove the libdir argument, and
try to open library only as old_name and dir/dlname
(lt_dlopen): use `installed' variable in .la file to decide
whether to use libdir or objdir
* demo/configure.in (AC_C_CONST): added, for portability
* mdemo/configure.in (AC_C_CONST): ditto
* libltdl/configure.in (AC_C_CONST, AC_C_INLINE): ditto
* libltdl/ltdl.c (LTDL_FILENAME_MAX): use FILENAME_MAX if defined
(FILENAME_MAX): replace all explicit uses with LTDL_FILENAME_MAX
(presym_free_symlists, trim): don't return void, for portability
(lt_dlgetsearchpath): replace (void) with __P((void))
* ltmain.in (compile): when compiling both PIC and non-PIC, write
the PIC object to .libs/.lo and only rename it to .lo after
compiling the .o, to avoid fooling make dependencies
* mdemo/main.c (LTDL_PREOPENED_SYMBOLS): remove
1999-01-20 Gary V. Vaughan <address@hidden>
* TODO: Added inter-library deps for ltlibs.
* THANKS: Added Vladimir Kushnir.
1999-01-20 Vladimir Kushnir <address@hidden>
* ltconfig.in (freebsd3*): Define `deplibs_check_method' and
`file_magic_command' for freebsd-elf.
1999-01-20 Alexandre Oliva <address@hidden>
* TODO: should we also build a `static' copy of a convenience
library out of .o files?
* ltconfig.in (bsdi4*, netbsd*, uts4*, library_names_spec,
soname_spec): removed duplicate dot before $major
Reported by Steven M. Schultz <address@hidden> (bsdi4*)
* THANKS: added Manfred Weichel
1999-01-20 Manfred Weichel <address@hidden>
* ltconfig.in (sysv5*): same as sysv4.3*
1999-01-20 Alexandre Oliva <address@hidden>
* libltdl/ltdl.c (lt_dlopen): properly detect error condition when
full pathname of non-libtool library is provided
* libltdl/configure.in (libltdl_cv_preloaded_symbols,
HAVE_PRELOADED_SYMBOLS): test whether we support -dl*open
* libltdl/ltdl.c (!HAVE_PRELOADED_SYMBOLS, lt_preloaded_symbols):
define it to an empty list if libtool won't generate it, so as to
avoid link errors. This will cause silent dlopening failures, but
maybe this is better than failing to link the program...
* libltdl/ltdl.h (LTDL_PRELOADED_SYMBOLS): remove it; better to
declare lt_preloaded_symbols
* doc/libtool.texi (LTDL_PRELOADED_SYMBOLS): ditto
* ltmain.in (dlpredeps): removed, reverting 1999-01-17's change
1999-01-19 Alexandre Oliva <address@hidden>
* libltdl/Makefile.am (Makefile): depend on libtool
* ltmain.in (lt_preloaded_setup): function added to symbol list
source file to work around FreeBSD problem
* Makefile.am (check-local): depend on libltdl/Makefile
* mdemo/Makefile.am (mdemo_LDFLAGS, mdemo_LDADD): moved -dlopen
flags to LDADD
* doc/libtool.texi (Using Automake): how to add -dlopen to LDADD
1999-01-19 Gary V. Vaughan <address@hidden>
From Andrey Slepuhin <address@hidden>
* ltmain.in (hardcode_action) Oops, misapplied the patch!
* ltconfig.in (compile_dependencylbs): removed this
variable and pick up the library dependencies from $deplibs.
* ltmain.in (compile_dependencylibs): removed this
variable, use deplibs to hold these dependencies.
From Andrey Slepuhin <address@hidden>
* ltmain.in (hardcode_action) make sure deplibs is set to include
all the extra libs added to compile_command.
1999-01-18 Alexandre Oliva <address@hidden>
* libtool.m4 (LIBTOOL_DEPS): set it
* libltdl/configure.in (LIBTOOL_DEPS): AC_SUBST it
* libltdl/Makefile.am (libtool): use it
* doc/libtool.texi (AM_PROG_LIBTOOL): document it
* Makefile.am (libltdl.tar.gz): don't create it as part of the
build, since it is likely to become stale if we do
(install-data-hook): create and install libltdl.tar.gz, without
depending on GNU tar
Reported by Manfred Weichel <address@hidden>
1999-01-17 Thomas Tanner <address@hidden>
* Makefile.am: added libltdl.tar.gz to CLEANFILES
* ChangeLog: some reformatting
* TODO: documentation updates
* doc/libtool.texi: added preliminary libltdl documentation,
updated dlopen and -module documentation,
renamed -avoid-versioning to -avoid-version
documented the libtool script variables compiler_c_o,
compiler_o_lo, need_locks, old_postuninstall_cmds,
postuninstall_cmds, sys_lib_search_path_spec,
fix_srcfile_path, objdir, objext, libext,
documented the two new flags (--ltdl[-tar]) of libtoolize
* libltdl/Makefile.am: incremented the version, removed
libtool dependency so that it can be build independently
* libltdl/configure.in: removed LTDL_SHLIB_EXT hack,
set version to 1.0, use AM_MAINTAINER_MODE,
DLPREOPEN is always supported, check for libtool's objdir variable
(LTDL_OBJDIR)
* libltdl/ltdl.c: some cleanups (moved constants to the beginning
of the file and prefixed all of them with LTDL_, minor optimizations
in find_file() and find_module()), renamed lt_dlpreopen* to
lt_dlpreload* for consistency, removed LTDL_SHLIB_EXT hack,
we don't need unistd.h, DLPREOPEN is _always_ supported,
reverted Alexandre's lt_dlpreopen_default_ change,
try to open the not-installed module before the installed one,
replaced lt_dlsearchpath() with lt_dladdsearchdir(),
lt_dlsetsearchpath() and lt_dlgetsearchpath()
* libltdl/ltdl.h: renamed lt_dlpreopen* to lt_dlpreload*
for consistency, removed the declaration of lt_preloaded_symbols
(should be imported by programs),
reverted Alexandre's lt_dlpreopen_default_ change and added
two new macros LTDL_PRELOADED_SYMBOLS and
LTDL_SET_PRELOADED_SYMBOLS(),
added lt_dladdsearchdir(), lt_dlsetsearchpath() and
lt_dlgetsearchpath()
* libtool.m4: some reformatting
* libtoolize.in: implemented --ltdl, bugfix when checking for
the libtool package directory
* ltconfig.in: removed $thread_safe_flags from Andrey Slepuhin's
AIX patch, renamed sys_lib_search_path to sys_lib_search_path_spec,
some reformatting, fixed typo in deplibs_check_method (unkwnon)
* ltmain.in: documented -o for compile mode, some reformatting,
renamed -avoid-versioning to -avoid-version
renamed sys_lib_search_path to sys_lib_search_path_spec
* mdemo/Makefile.am: use -avoid-version
* mdemo/main.c: use LTDL_PRELOADED_SYMBOLS and
LTDL_SET_PRELOADED_SYMBOLS()
1999-01-17 Alexandre Oliva <address@hidden>
* ltconfig.in (wlarc): set to either '${wl}' or an empty string,
depending on whether archive_cmds runs CC or LD
(gnu_ld=yes, whole_archive_flag_spec): "$wlarc" instead of '${wl}'
* mdemo/Makefile.am (../libltdl/libltdlc.la): depend on
../libtool, because ../libltdl/libtool depends on it
(mdemo_debug_*): copy from mdemo_*, adding -static to LDFLAGS
* ltmain.in (dlpredeps): append dependencies from dlopened modules
(but not dlpreopened ones) after all explicitly linked libraries
* ltconfig.in (need_lib_prefix, need_version,
deplibs_check_method): default to unknown, so that we're
remembered that this needs porting; unknown is interpreted as yes,
yes and none, respectively
(freebsd2*, freebsd3*, sunos4*, need_version): set to yes
(freebsd2*, freebsd3*, library_names_spec): libraries without a
version number are not used by `ld'; add $versuffix;
Reported by Ben Jackson <address@hidden>
* ltmain.in (deplibs_check_method): alias unknown to none
(need_version): if vinfo was not provided and release info was,
zero out versuffix only if we don't need_version.
* doc/libtool.texi: document what `unknown' means
* libltdl/ltdl.h (lt_dlpreopen_default): reverted to a macro
without arguments, that calls lt_dlpreopen_default_ with
lt_dlpreloaded_symbols
* libltdl/ltdl.c (lt_dlpreopen_default_): renamed from
lt_dlpreopen_default
(find_module) tryall_dlopen old_name first, so that we don't
override statically linked symbols with dlopened ones
1999-01-15 Gary V. Vaughan <address@hidden>
From Andrey Slepuhin <address@hidden>
* libtoolize.in (cd $pkgdatadir): Make sure we return the the
working directory when this is done.
From Andrey Slepuhin <address@hidden>
* ltconfig.in (aix): Use shared library support correctly on
aix4*, and tweak the config for aix3.
* NEWS: added aix3 and aix4 to list of hosts with improved
support.
* THANKS: added Andrey Slepuhin <address@hidden>.
1999-01-15 Thomas Tanner <address@hidden>
* Makefile.am (@DIST_MAKEFILE_LIST@): added a second '$'
before abs_scrdir, removed ltconfig and ltmain.sh from
EXTRA_DIST (automake distributes them by default)
1999-01-14 Thomas Tanner <address@hidden>
* autogen: moved faking of the libtool scripts before
the call of automake, so that ltconfig and ltmain.sh
are included in the distribution
* ltconfig.in: when checking whether PIC is supported assume
only on HP/UX that warnings during compilation mean that
PIC is not supported (Thanks to Ron O'Hara)
* THANKS: added Ron O'Hara
1999-01-14 Alexandre Oliva <address@hidden>
* Makefile.am: Moved ltconfig and ltmain.sh back into srcdir, and
add them to the distribution. Added work-around if `mv -f' fails.
fix @AINCLUDE_M4_LIST@ and @DIST_MAKEFILE_LIST@ for relative and
absolute specifications of srcdir
1999-01-14 Thomas Tanner <address@hidden>
* libltdl/ltdl.c: added variable symbol prefix, added user-defined
library search path (can be set using lt_dlsearchpath()),
added default_preloaded_symbols which are independent of
lt_dlinit/exit
* libltdl/ltdl.h: added lt_dlsearchpath() and
lt_dlpreopen_default()
* mdemo/Makefile.am: use -export-dynamic until libtool
and libltdl are able to handle module dependencies
1999-01-14 Gary V. Vaughan <address@hidden>
* THANKS: added Mark Elbrecht.
* ltconfig.in (PATH_SEPARATOR): new variable to hold valid $PATH
separator characters for the build host, to support DJGPP
environment.
* ltconfig.in: Use PATH_SEPARATOR instead of hardcoded `:'.
Reported by Mark Elbrecht <address@hidden>
* cdemo/README: typo: mdemo->cdemo
1999-01-14 Thomas Tanner <address@hidden>
* autogen: fake the libtool scripts to help fixing
the bootstrapping problem
* Makefile.am: always configure libltdl, however after building
the libtool scripts,
build the libtool scripts in builddir, not srcdir
(unfortunately this breaks building when srcdir!=objdir,
but it was just plain wrong - needs to be fixed),
build and install libltdl.tar.gz,
copy acinclude.m4 instead of linking them, so that we
can 'make dist' in libltdl,
fixed configuring of subdirectories
* configure.in: removed --enable-ltdl-install - libltdl is supposed
to be installed by packages, not by libtool itself
* libtoolize.in: new flags --ltdl and --ltdl-tar to install libltdl
in packages (--ltdl doesn't work yet),
install only the necessary libtool scripts, not just all
files in pkgdatadir
* mdemo/Makefile.am: removed the rule for libltdl configuration
1999-01-13 Alexandre Oliva <address@hidden>
* mdemo/Makefile.am (../libltdl/libtool): mkdir and configure
../libltdl
1999-01-13 Thomas Tanner <address@hidden>
* demo/dlmain.c, libltdl/ltdl.c, ltconfig.in, ltmain.in,
doc/libtool.texi: renamed dld_preloaded_symbols to
lt_preloaded_symbols, symbol lists are 'const'
* cdemo/configure.in: don't check for string.h
* demo/dlmain.c: renamed dld_symlist to lt_symlist,
preloaded symbols are 'const', use lt_ptr_t instead of void*
* demo/foo.h: define lt_ptr_t
* doc/libtool.texi: document lt_preloaded_symbols correctly
* libltdl/Makefile.am, mdemo/Makefile.am: renamed libtest to libltdlc
* libltdl/ltdl.c: fixed some minor typos, renamed dldpre to presym,
bugfix: search in search_path only if we have no directory
and a search_path, in lt_dlsym() check whether symbol != 0
* libltdl/ltdl.h: removed lt_dlpreopen_default()
* ltconfig.in (dlpreopen): removed dld_preloaded_symbol_count
* ltmain.in: added help for -avoid-versioning, -export-symbols,
-module, add @SYMFILE@ if one of -export-dynamic, -dlopen or
-dlpreopen is used
* mail/deplibs.html: added Gordon Matzigkeit's inter-library
dependencies article
* mdemo/Makefile.am: removed -export-dynamic from LDFLAGS
(no longer necessary, since libtool defines lt_preloaded_symbols
when -dlopen is used), initialize with lt_preloaded_symbols
1999-01-13 Alexandre Oliva <address@hidden>
* doc/libtool.texi (Test descriptions): cdemo-static works, thanks
to Edouard Parmelan!
* THANKS: added Sebastian Wilhelmi
* ltconfig.in (solaris): define `need_version' to no
1999-01-13 Sebastian Wilhelmi <address@hidden>
* ltconfig.in (solaris): Define `deplibs_check_method',
`file_magic_command', `need_lib_prefix' and `sys_lib_search_path'
* ltmain.in (file_magic_regex): Add space before matching pattern,
such that it works on solaris (solaris has a tab between the
library name (including the colon) and the `ELF' and such the
`ELF' will never be matched).
1999-01-13 Edouard G. Parmelan <address@hidden>
* ltconfig.in (NM): PATH search was not updated like in
libtool.m4, in last Alexandre Oliva's change to it
(sysv4*, ncr): pass all library dependencies
* ltmain.in (dependency_libs, -R): use `deplib' instead of `arg' to
iterate, otherwise we'd overwrite `arg'
(convenience, old_libs): if --disable-shared, convenience
libraries are just old archives, as .lo's are of no use
* tests/cdemo-static.test: print --disable-shared here
1999-01-13 Alexandre Oliva <address@hidden>
* libltdl/configure.in (libltdl_cv_shlibext, LTDL_SHLIB_EXT):
system-dependent extension of shared libraries
(libltdl_cv_shlibpath_var, LTDL_SHLIBPATH_VAR): system-dependent
run-time shared library search path
* libltdl/ltdl.c (dldpre_init, dldpre_exit): unrelate init/exit
from add/remove symlists, so one may add dld_preloaded_symbols
from main(), when only a library will call dldpre_init
(lt_dlopen): use LTDL_SHLIBPATH_VAR, if defined, as secondary
search path. Also, if a requested .la file cannot be found, try
with the LTDL_SHLIB_EXTension instead.
* ltmain.in (old_archives, oldobjs): use find to SYMDEF here too
* Makefile.am (@DIST_MAKEFILE_LIST@): `$' must be doubled
* configure.in (AC_CONFIG_DIRS): configure only libltdl, and then,
only if --enable-ltdl-install
(CONF_SUBDIRS): list directories that are configured on demand,
but that must be included in the distribution
(ACINCLUDE_M4_LIST, DIST_MAKEFILE_LIST): generated from CONF_SUBDIRS
* Makefile.am (AUTOMAKE_OPTIONS): added version 1.3e and
readme-alpha, to handle README-alpha automatically
(EXTRA_DIST): removed README-alpha
(BUILD_SUBDIRS): subdirectories that are always built
(SUBDIRS): BUILD_SUBDIRS plus BUILD_LTDL
(DIST_SUBDIRS): BUILD_SUBDIRS plus CONF_SUBDIRS, from configure
(all-local, check-local): depend on $(ACINCLUDE_M4_LIST), from
configure, and libtool, so that it is built before subdirs
(configure-subdirs): new target
(configure-subdirs, distdir): depend on $(DIST_MAKEFILE_LIST),
from configure
(@DIST_MAKEFILE_LIST@): create subdir if needed, then run
configure.
On-demand configuration of subdirs at distribution time was
suggested by Gary V. Vaughan <address@hidden>
* libtool.m4, ltconfig.in (NM): search for NM in PATH before
/usr/ccs/bin, /usr/ucb and /bin. However, if the found one isn't
BSD-compat keep searching. If no BSD-compat is found, use the
first we found.
* THANKS: added Raffaele Sena
1999-01-13 Raffaele Sena <address@hidden>
* libltdl/ltdl.c: replaced RTDL with RTLD
1999-01-13 Manish Singh <address@hidden>
* ltconfig.in (osf3*, osf4*, irix6*): include
${libname}{release}.so for library_names_spec
1999-01-13 Alexandre Oliva <address@hidden>
* configure.in (AC_CONFIG_SUBDIRS): added cdemo
* Makefile.am (DIST_SUBDIRS): ditto
(ACINCLUDE_M4_LIST): ditto
* tests/Makefile.am (TESTS): added cdemo-shared.test
* tests/cdemo-static.test: disable shared libraries here
* tests/cdemo-shared.test: disable static libraries here
* doc/libtool.texi (Test descriptions): added cdemo tests
* THANKS: added Edouard G. Parmelan
1999-01-13 Edouard G. Parmelan <address@hidden>
* ltmain.in: fix convenience libraries when static libraries
are disables.
* cdemo/README, cdemo/Makefile.am, cdemo/configure.in, cdemo/foo.h,
cdemo/foo1.c, cdemo/main.c, cdemo/.cvsignore, test/cdemo-conf.test,
test/cdemo-make.test, test/cdemo-exec.test, test/cdemo-static.test:
new tests for convenience libraries.
* autogen, Makefile.am, test/Makefile.am: ditto.
* ltconfig.in, doc/PLATFORMS: Added support for NCR MP-RAS
(i586-ncr-sysv4.3*) with native compiler.
* README, doc/libtool.texi: Added note for NCR MP-RAS compiler.
1999-01-12 Thomas Tanner <address@hidden>
* ltmain.in: before using LN_S remove the symlink
* libltdl/ltdl.c: support multiple symbol lists, moved library-
and file searching to separate functions, renamed "preload_libs"
to "dl_dependency_libs", set the LT_SYMBOL_OVERHEAD to the correct
value (7), fix to support lt_dlsym() for not-libtool modules again,
check for invalid handles, when using strdup() check whether
it fails
* libltdl/ltdl.h: declare the lt_dlsymlist type for lt_dlpreopen()
* mdemo/README: rewritten
* mdemo/configure.in: check only for math.h (string.h is no longer
necessary)
1999-01-12 Gary V. Vaughan <address@hidden>
* configure.in (ltdl-install): Fixed up the indentation so that
`configure --help' is pretty again.
1999-01-11 Alexandre Oliva <address@hidden>
* ltmain.in, NEWS, doc/libtool.texi: Added support for -R flag
* ltmain.in, doc/libtool.texi: documented that -rpath is the same
as -R for programs
* ltmain.in: softened the instructions for linking with installed
libraries, and noted that libtool can be used to link with them;
documented that -rpath is not required for convenience libraries
* ltconfig.in (symxfrm): don't print $pipe_works twice, once for
each $ac_symprfx
Reported by Godmar Back <address@hidden>
* ltmain.in (convenience, libobjs): get only .o and .lo files from
the files extract from the convenience library. Some systems,
such as FreeBSD2, will add a SYMDEF file, that is not an object
file, and therefore should not be fed to the linker
* libtool.m4 (AM_SYS_NM_PARSE): while we are at it, we may well
cache the value of ac_cv_sys_symbol_underscore
* libtool.m4 (AM_SYS_NM_PARSE): need for underscore prefix is now
auto-detected, by trying first without, then with it.
* ltconfig.in: ditto
1999-01-10 Alexandre Oliva <address@hidden>
* configure.in (AC_CONFIG_SUBDIRS): add libltdl, demo, mdemo and
depdemo commented out, so that `dist' works before `check'
(BUILD_LTDL): will contain libltdl if --enable-ltdl-install
* Makefile.am (DIST_SUBDIRS): expand SUBDIRS and add depdemo,
commented out
(SUBDIRS): add $(BUILT_LTDL)
* libltdl/Makefile.am (EXTRA_LTLIBRARIES): add libtest.la, the
same as libltdl but always a convenience library. Not built by
default. Both libraries now depend on the libtool script, that
depends on ../libtool and is rebuilt when needed
* mdemo/Makefile.am (mdemo, mdemo.debug): depend on and link with
../libltdl/libtest.la, that is rebuilt if needed
(mdemo_LDADD): removed $(LIBADD_M), to avoid silent failures
(foo1.la): renamed from libfoo1.la; test removing the lib prefix
* mdemo/foo1.c: renamed libfoo1_LTX symbols to foo1_LTX
* mdemo/main.c: don't include string.h nor math.h, nor refer to
sin nor cos
* tests/mdemo-exec.test: renamed libfoo1.la to foo1.la
* tests/mdemo-inst.test: ditto
* libltdl/ltdl.c (FILENAME_MAX): use it instead of MAX_FILENAME,
and don't redefine it if already defined; default to 1024, as on
most systems
(LT_SYMBOL_LENGTH): renamed from MAX_SYMBOL_LENGTH
(LT_SYMBOL_OVERHEAD): new macro, that accounts for the size of
the _LTX_ separator and the initial underscore
(lt_dlsym): sym now points to a stack buffer (lsym) if possible,
or is dynamically allocated. If allocation fails, a
buffer_overflow_error is returned.
1999-01-10 Thomas Tanner <address@hidden>
* ltmain.in: define dld_preloaded_symbols if at least one of
-export-dynamic, -dlopen or -dlpreopen was specified,
do not include program objects in the symbol list
if -export-dynamic was not enabled
* libltdl/ltdl.c: limit symbols to max. 256 bytes
* mdemo/Makefile.am: build libltdl in a subdirectory,
do not use -export-dynamic for mdemo and mdemo.debug
* tests/mdemo-conf.test,tests/mdemo-make.test,tests/mdemo-inst.test:
do not check for libltdl
1999-01-09 Alexandre Oliva <address@hidden>
* libltdl/ltdl.c (lt_dlopen): missing strlen in bound test
1999-01-09 Thomas Tanner <address@hidden>
* NEWS: support for BSD/OS 4.x was not documented
* demo/Makefile.am: link against libm only if available
* mdemo/Makefile.am: likewise, use -avoid-versioning flag
instead of -avoid-version (typo)
* demo/configure.in: check for libm, string.h and math.h
* mdemo/configure.in: likewise
* depdemo/configure.in: check for libm and math.h
* libltdl/configure.in: check for dlerror
* libltdl/ltdl.c: check for buffer overflows, implemented
dlerror, fixed a severe bug which occured when opening
non-libtool modules, dlopen with the flags GLOBAL and NOW
* mdemo/main.c: report the error using lt_dlerror()
1999-01-08 Gary V. Vaughan <address@hidden>
* doc/libtool.texi (old_archive_from_new_commands): Documented
this ltcofig variable.
1999-01-07 Gary V. Vaughan <address@hidden>
* ltmain.sh (cygwin, allow_undefined): Unfortunately, there are
problems with this variable when trying to make a dll which has
undefined symbols, in which case not even a static library is
built. For now, we need to specify -no-undefined on the libtool
link line when we can be certain that all symbols are satisfied,
otherwise we get a static library.
1999-01-06 Thomas Tanner <address@hidden>
* ChangeLog: merged in tests/ChangeLog
* tests/ChangeLog: deleted
* libltdl/ltdl.c: assigned copyright to the FSF
* libltdl/ltdl.h, mdemo/foo*,main.c: likewise
1999-01-06 Gary V. Vaughan <address@hidden>
* ltmain.in (dllsearchpath): add absolute directory paths to
dllsearchpath so that the wrapper scripts can be called from any
directory (e.g. tests) on cygwin.
* ltconfig.in (cygwin, library_names_spec): revert Alexandre's
change from yesterday to use `-dll.a' suffix. That change caused
$libname-dll.a to be a symlink to $soname, which isn't even an
`ar' archive. Before the import library suffix can be changed, we
need to figure out how to handle building objects differently for
linking with an import library versus an equivalent static library.
* TODO: Added details of a Linux wrapper script bug.
Reported by Jeff Garzik <address@hidden>.
1999-01-05 Alexandre Oliva <address@hidden>
* ltmain.in (libobjs_save, oldobjs): when building an
old-fashioned archive, use a copy of libobjs saved before
convenience libraries are appended
* libltdl/ltdl.h (_LTDLL_EXPORT, _LTDLL_IMPORT): use cygwin or
unix library import/export primitives; this may be convenient for
people willing to create DLLs
(_LTDLL_EXTERN): select _LTDLL_EXPORT or _LTDLL_IMPORT depending
on _LTDL_COMPILE_
* libltdl/ltdl.h, libltdl/ltdl.c (lt_dlpreopen): new function,
that replaces the current preloaded_symbols list with its
argument, and returns the old value, initially NULL
(dldpre_init): don't refer to dld_preloaded_symbols any more
(dldpre_open, dldpre_sym): search preloaded_symbols
(lt_dlpreopen_default): call lt_dlpreopen with
dld_preloaded_symbols, that is declared as extern; it should be
called from the main program or from some static library without
-no-undefined
(lt_dlerror): new function, that returns the error message for the
last error occurred; the error message is kept in the static
variable last_error
* libltdl/configure.in (enable-ltdl-install): moved back from
enable-install; other packages might use enable-install already,
better have fine grained control over this.
* libltdl/Makefile.am (libltdls.la): discarded
1999-01-05 Thomas Tanner <address@hidden>
* configure.in: do not configure libltdl by default
* Makefile.am: do not build libltdl by default
* libltdl/Makefile.am: ltdls.lo depends on libtool
* tests/Makefile.am: before starting the tests
make sure that libtool was build
* tests/mdemo-conf.test: configure libltdl
* tests/mdemo-make.test: build libltdl
1999-01-05 Alexandre Oliva <address@hidden>
* ltmain.in (SP2NL, NL2SP): Don't delete empty lines, as this
would lose for files with embedded blanks.
* ltconfig.in (cygwin, archive_cmds, archive_sym_cmds): Moved
ltdll.c into ltmain.in, to avoid its duplication, and added a sed
script to extract it. Also, create def and base files in $objdir,
and don't remove them after the compilation.
(cygwin, library_names_spec): Create static part of the dll with
suffix -dll.a, to avoid conflicts with actual static libraries.
* ltmain.in: Added ltdll.c, as commented out text
1999-01-01 Thomas Tanner <address@hidden>
* NEWS: new BeOS support
* THANKS: added Joseph Beckenbach
* libltdl/ltdl.h: use dllimport/export on Win32
Continued in ChangeLog.1998
Index: ChangeLog.2000
from Gary V. Vaughan <address@hidden>
From address@hidden:
* 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-22 Akim Demaille <address@hidden>
* libtool.m4: s/[ \t]*$//
2000-12-22 Aneesh Kumar K.V <address@hidden>
* libtool.m4 (OSF/1): Revert my patch of 2000-12-16.
2000-12-20 Gary V. Vaughan <address@hidden>
* libltdl/ltdl.c (lt_dlexit): Was checking for residency of the
wrong module.
Reported by Robert Boehne <address@hidden>
* 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-16 Aneesh Kumar K.V <address@hidden>
* libtool.m4 (OSF/1): Change the way to pass linker flags through
compiler on a Tru64 machine.
2000-12-16 Gary V. Vaughan <address@hidden>
* libtool.m4 (sys_lib_search_path_spec): Use test instead of
`['.
(archive_cmds): And another one.
* libtool.m4 (darwin*): Fixed a pair of stupid typos I made in the
last patch.
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): moved rogue settings from
sequent, ncr and newos6 back into here from other macros.
2000-12-16 Wilfredo Sanchez <address@hidden>
* libtool.m4: (dyld/darwin*) Much improved port.
* ltmain.in: (dyld/darwin*) Much improved port.
2000-12-16 Sascha Schumann <address@hidden>
* libtool.m4: Accept darwin as an alias for rhapsody.
* ltmain.in: ditto.
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use the HPUX 10.20
methods to check for library dependencies on HPUX 11.
2000-12-16 Nick Hudson <address@hidden>
* libtool.m4 (netbsd*, deplibs_check_method): Enable ILD support
for NetBSD a.out.
2000-12-15 Akim Demaille <address@hidden>
* 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-15 Utz-Uwe Haus <address@hidden>
* libltdl/ltdl.c (lt_dlopen): Changed "dl_dependency_libs" keyword
to "dependency_libs".
2000-12-14 Tod Milam <address@hidden>
* libltdl/ltdl.c (lt_dlexit): Reset the loaders value to zero when
the last module has been unloaded.
2000-12-14 Michael Schmitz <address@hidden>
* 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 Masahiro Nobori <address@hidden>
* README: Updated.
* NEWS: Updated.
* libtool.m4: New port to NEWS-OS Release 6.
2000-12-14 Nick Hudson <address@hidden>
* libtool.m4 (hardcode_libdir_flag_spec): Remove linker
specification for netbsd.
2000-12-14 Akim Demaille <address@hidden>
* libtool.m4: Don't depend on Autoconf internals:
s/ac_cv_prog_gcc/GCC/.
2000-12-14 Gary V. Vaughan <address@hidden>
* libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): Don't empty
out ac_cv_global_symbol_to_cdecl inside the loop, incase we
need to go around again and try with underscore prefix.
(_LT_AC_TRY_DLOPEN_SELF): On some hosts (cygwin for instance)
self dlclosing unloads the main program and causes a SIGSEGV. So
don't do it for now.
2000-12-05 Gary V. Vaughan <address@hidden>
Oh My! Cygwin support has bitrotted while I was looking the other
way. This should fix it some:
* libtool.m4 (extract_expsyms_cmds): There is a quoting problem
with autoconf-2.13 that prevents [$]0 from expanding. Use shell
quotes instead to delay eval of $0.
(impgen.c) The '# ' sequence stripped by sed works again.
2000-12-01 Gary V. Vaughan <address@hidden>
* doc/libtool.texi (Libltdl interface): Add documentation.
* libltdl/ltdl.h (lt_dlmakeresident, lt_dlisresident): Add
prototypes.
(LT_DLERROR_CLOSE_RESIDENT_MODULE): New error status.
* libltdl/ltdl.c (lt_dlmakeresident, lt_dlisresident): Allow
making and testing of resident module status, which prevents a
module from being lt_dlclosed.
(lt_dlopen): If lt_dlopen()ing self, make the module resident.
(lt_dlclose): Return an error if the module is resident.
* libtool.m4 (_LT_AC_LTCONFIG_HACK): Move the tests for dlopen
from here...
(AC_LIBTOOL_DLOPEN_SELF): ...to here.
(_LT_AC_CHECK_DLFCN): Factor out repeated code for dlfcn.h
(_LT_AC_TRY_DLOPEN_SELF): Factor out repeated code for
checking dlopen status.
* ltdl.m4 (AC_LIB_LTDL): Use _LT_AC_CHECK_DLFCN.
dlopen compile time checking. Use _LT_AC_CHECK_DLFCN.
(AC_LTDL_DLSYM_USCORE): Use _LT_AC_TRY_DLOPEN_SELF.
2000-11-29 Gary V. Vaughan <address@hidden>
* libltdl/ltdl.h (lt_dlhandle): Rename the wrapped structure
to prevent nameclash when used from C++.
* libltdl/ltdl.c: Fixed all references.
2000-11-25 Gary V. Vaughan <address@hidden>
* libltdl/ltdl.c (lt_dlopen): Change the default search order
for modules. If the named module has no directory component,
always start the search with the user_search_path directories,
and then fall back on the current directory only if that fails.
2000-11-20 Gary V. Vaughan <address@hidden>
* libltdl/Makefile.am (libltdl_la_LDFLAGS): increment the version
number to reflect the breakage of binary compatibility.
* doc/libtool.texi (Libltdl interface): Document
LT_NON_POSIX_NAMESPACE.
* libltdl/ltdl.h (LT_POSIX_NAMESPACE): Deleted. The default is
now to use this namespace, so the cpp macro is no longer
necessary.
2000-11-20 Morten Eriksen <address@hidden>
* ltdl.m4 (AC_LIB_LTDL, AC_LTDL_SYMBOL_USCORE): Break a circular
dependency between AC_LTDL_SYMBOL_USCORE and AC_LTDL_DLSYM_USCORE.
2000-11-20 Paul Berrevoets <address@hidden>
* ltmain.in: Some versions of expr respond with "0" if a
regexp fails to match.
2000-11-19 Paul Berrevoets <address@hidden>
* libtool.m4 (_LT_AC_LTCONFIG_HACK): Quote the $ in $#, $2 and
$3 in variable 'archive_expsym_cmds' for cygwin.
2000-11-19 Gary V. Vaughan <address@hidden>
* ltdl.c: Relegate non-POSIX-compliant symbols (e.g. those
ending in ``_t'') to deprecated #define compatibility macros.
Also ease up on the namespace pollution, so that only ``lt_''
and ``LT_'' prefixes are taken from the global namespace.
* ltdl.h: ditto.
2000-11-17 Gary V. Vaughan <address@hidden>
* ltdl.c: Reformatted.
* ltdl.h: ditto.
2000-11-11 Gary V. Vaughan <address@hidden>
* ltdl.m4 (AC_LTDL_SYMBOL_USCORE): Use $ac_ext for conftest
sourcefile.
* libtool.m4: Use $ac_ext and $ac_objext respectively for conftest
sources and objects.
Reported by Carlo Wood <address@hidden>
* doc/fdl.texi: New file. The license for distributing the
libtool manual.
* doc/libtool.texi: Reference the new license.
2000-10-31 Morten Eriksen <address@hidden>
* libtool.m4 (_LT_AC_LTCONFIG_HACK): Quote argument to avoid
error output from cygpath when $srcdir is empty.
2000-10-31 Gary V. Vaughan <address@hidden>
* bootstrap: rm Makefiles to prevent infinite loop during
configure when libtool.m4 is newer than Makefile.
2000-10-31 Akim Demaille <address@hidden>
* libtool.m4: Adjust the copyright notice.
Quote all the macro names when defined.
Some minor formatting changes.
(AM_PROG_LIBTOOL, AM_ENABLE_SHARED, AM_ENABLE_STATIC)
(AM_DISABLE_SHARED, AM_DISABLE_STATIC, AM_PROG_LD, AM_PROG_NM):
Don't use indir when useless. Don't add trailing `dnl' either.
2000-10-30 Gary V. Vaughan <address@hidden>
* doc/libtool.texi: Corrected another attack of CRLF line
endings.
2000-10-30 Ossama Othman <address@hidden>
* libtool.m4 (archive_expsym_cmds): Fix typo where line was broken
in the middle of an expression.
2000-10-30 Aneesh Kumar K.V <address@hidden>
* libtool.m4 (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.
2000-10-27 Robert Boehne <address@hidden>
* docs/libtool.texi: Added pointers to documentation
of Hewlett-Packard, Compaq Tru64 and IBM AIX systems.
2000-10-02 Gary V. Vaughan <address@hidden>
From Bruce Korb <address@hidden>
* ltmain.in (execute_dlfiles): Reduce obfuscation.
2000-09-30 Alexandre Oliva <address@hidden>
* libtool.m4 [netbsd*] (deplibs_check_method, file_magic_cmd,
file_magic_test_file): Removed inappropriate duplicate
definitions; these variables are set in AC_DEPLIBS_CHECK_METHOD.
* libtool.m4 (lt_cv_file_magic_cmd): Don't use '${MAGIC_CMD}' or
'${OBJDUMP}'; Solaris' /bin/sh loses with `}' in cache files.
(ac_cv_path_MAGIC_CMD): Renamed to lt_cv_path_MAGIC_CMD.
2000-09-28 Gary V. Vaughan <address@hidden>
* libtool.m4 (MAGIC_CMD): Don't use MAGIC, since BSD versions of
the file command use this environment variable to hold the
location of the magic database.
Reported by Marc Espie <address@hidden>
2000-09-19 Gary V. Vaughan <address@hidden>
* doc/PLATFORMS: Updated.
* demo/configure.in: Revert to the `libtool --features' test.
* Makefile.am (libtool): This needs to rerun configure now that
libtool is generated entirely by AC_PROG_LIBTOOL again.
(ltconfig): Removed.
(ltmain.sh): Is now regenerated when ltmain.in changes.
* libtool.m4 (_LT_AC_LTCONFIG_HACK): Now does all of the work for
generating libtool immediately in configure.in, rather than
deferring part of the creation until config.status runs.
2000-09-17 Gary V. Vaughan <address@hidden>
* bootstrap: Backed out yesterdays patch which is no longer
necessary.
* Makefile.am (libtool): Reworked rule for regeneration of libtool,
now that it is built entirely withing config.status.
(libtoolize): Tidied for orthogonality with the other generation
rules.
(ltconfig): This is now generated by AC_PROG_LIBTOOL, called from
make by running config.status --recheck.
(ltmain.sh): Moved primary generation of this file into here...
* configure.in (AC_OUTPUT): ...instead of here.
* libtool.m4 (AC_OUTPUT_COMMANDS): Write the config to ltconfig
where it can be reused, rather than directly to libtool.
* demo/configure.in: libtool is no longer present immediately
after AC_LIBTOOL_M4 has completed, so the tests now grep through
ltconfig instead -- which *will* be present.
2000-09-16 Gary V. Vaughan <address@hidden>
* TODO: Removed the item describing the change below, and added a
similar item to remind us to change the ltdl.m4 macros again when
_LT_AC_LTCONFIG_HACK is divided into proper macros.
* ltdl.m4 (AC_LTDL_SNARF_CONFIG): Removed. No longet required
now that ltconfig has migrated to libtool.m4.
(AC_LTDL_SHLIBEXT): Require _LT_AC_LTCONFIG_HACK.
(AC_LTDL_SHLIBPATH): ditto.
(AC_LTDL_SYSSEARCHPATH): ditto.
* ltdl.m4 (AC_LTDL_DLPREOPEN): Require the libtool.m4 symbol_pipe
macro.
(AC_LTDL_SYMBOL_USCORE): ditto.
(AC_LTDL_GLOBAL_SYMBOL_PIPE): Removed, since it is a duplicate
of...
* libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): ...this new
macro, extracted from _LT_AC_LTCONFIG_HACK.
* ltdl.m4 (changequote): An audit of changequote and m4
quote usage -- all changequotes have been removed, and some
latent unquoted `[' and `]' bugs have been fixed.
* configure.in (AC_OUTPUT): ltmain.sh must be generated in the
source tree since this is where it would be found in a freshly
unrolled tarball.
* configure.in: Replace `dnl' comments with `#' comments for
more conformity with cvs autoconf.
Removed emacs hack-local-variables, since there is now a
proper Autoconf major mode.
Removed a couple of changequote()s.
* bootstrap (ltconfig): When bootstrapping libtool with a
stock automake (i.e. without the README patch applied),
references to ltconfig are manually removed from the generated
Makefile.in files.
2000-09-15 Gary V. Vaughan <address@hidden>
* doc/libtool.texi: Removes references to ltconfig, and a small
amount of tidying up to compensate.
2000-09-15 Nick Hudson <address@hidden>
* libtool.m4 (netbsd): Improved support.
2000-09-15 Gary V. Vaughan <address@hidden>
* ltmain.in (version_type): Use "-iface" as the windows
versioning scheme, where iface is the number of the oldest
interface supported.
2000-09-14 Gary V. Vaughan <address@hidden>
From Paul Sokolovsky <address@hidden>
* libtool.m4 (pw32): Initial support for pw32, assuming that
libtool's behaviour in this environment is identical to under
cygwin.
* ltmain.in (pw32): ditto.
* NEWS: Updated.
* libtool.m4 (changequote): An audit of changequote and m4
quote usage -- all changequotes (except a few with non-nesting
square brackets) have been removed.
* Makefile.am (EXTRA_DIST): The bootstrap script should be
distributed with libtool.
2000-09-13 Gary V. Vaughan <address@hidden>
libtool.m4 (_LT_AC_LTCONFIG_HACK): Oh man! Third time lucky.
I just discovered that '&' needs to be escaped inside
AC_TRY_EVAL.
2000-09-12 Michael Matz <address@hidden>
* ltmain.in: Be careful about filenames with multiple `.'s in
them when calculating file extensions.
Reported by Joel Reed <address@hidden>
2000-09-12 Gary V. Vaughan <address@hidden>
libtool.m4 (AC_PROG_LIBTOOL): Removed, as it was triggering a
bug in Autoconf-2.13 AC_REQUIRE implementation which inserted
some of the expanded tests too early in the generaated configure.
(_AC_PROG_LIBTOOL): renamed to AC_PROG_LIBTOOL, and defines
itself to an empty expansion to prevent multiple expansions.
configure.in (AC_LIBTOOL_SETUP): Replaced by a call to
AC_PROG_LIBTOOL now that the AC_REQUIRE bug has been worked
around.
2000-09-09 Gary V. Vaughan <address@hidden>
libtool.m4 (_LT_AC_LTCONFIG_HACK): Forgot to escape the
redirections inside AC_TRY_EVAL in the need_lc tests. Doh!
libtool.m4 (_LT_AC_LTCONFIG_HACK): Forgot to redirect the
output of grep to /dev/null in the need_lc tests.
configure.in (AC_PROG_LIBTOOL): Using this in libtools own
configure.in interacts badly with the AC_PROVIDE calls and
results in several tests being inserted into configure too
early. Use AC_LIBTOOL_SETUP instead.
2000-09-08 Gary V. Vaughan <address@hidden>
libtool.m4 (_LT_AC_LTCONFIG_HACK): The ltconfig.in code I
ported from ltconfig.in was incomplete -- this is a backport
of the missing code taken from the multi-language branch.
2000-09-07 Pavel Roskin <address@hidden>
* libtool.m4 (_LT_AC_LTCONFIG_HACK): Fixed incorrect use of
changequote
2000-09-07 Gary V. Vaughan <address@hidden>
* NEWS: Updated.
* TODO: Add a reminder to get rid of ltconfig in mlb.
* README: Until things even out, I have added a note and a
patch to make the installed automake cooperate with the new
ltconfig free libtool.
* libtool.m4 (_LT_AC_LTCONFIG_HACK): with_gcc is only useful in
ltmain.sh as it has not yet been set in libtool.m4. Use
$ac_cv_prog_gcc instead.
* doc/PLATFORMS: Updated.
* configure.in (AC_PROG_AWK): Removed -- no longer required by
the build process.
* lineno: ditto.
* libtoolize.in (files): Don't try to install ltconfig -- it
doesn't exist!!
* bootstrap: Fake an ltconfig incase the installed automake
calls an installed libtoolize (as part of its --add-missing
process) which thinks ltconfig should be there.
* libtool.m4 (_LT_AC_LTCONFIG_HACK): Deleted a vital `;;'
terminator from a case statement by mistake.
* Makefile.am (ltmain.sh): Make this depend on TSDEPS again
so that the Changelog timestamp is used for ltmain.sh at `make
dist' time.
2000-09-06 Gary V. Vaughan <address@hidden>
libtool.m4 now contains a version of the code that used to run
from ltconfig, so that ltmain.sh and then libtool are
generated at configure time.
* Makefile.am: Don't generate ltmain.sh or ltconfig anymore.
* bootstrap: ltconfig is no more!
* configure.in: Call AC_PROG_LIBTOOL directly.
(AC_OUTPUT): Generate tmain.sh.
* libtool.m4: Don't build an argument list for ltconfig.
(_LT_AC_LTCONFIG_HACK): Refactoring of the former contents of
ltconfig.in to take advantage of the m4 macros from autoconf.
* ltmain.in: Don't do a version check against ltconfig.
* tests/assign.test: Remove reference to ltconfig.
* tests/hardcode.test: ditto.
* tests/sh.test: ditto.
2000-09-05 Alexandre Oliva <address@hidden>
* depdemo/main.c: Support -alt.
* tests/build-relink2.test: Try it.
* ltconfig.in: Removed all references to what used to be
hardcode_into_libs=all. 2000-09-03's patch was wrong.
* ltmain.in: Likewise.
* tests/build-relink.test, tests/build-relink2.test: Adjust.
* mdemo/Makefile.am (lib_LTLIBRARIES): Move libsub.la before
libfoo2.la, so that they're installed in the right order.
2000-09-04 Alexandre Oliva <address@hidden>
* tests/dryrun.test: Build libsub.la along with the object files,
since it is needed by libfoo2.la.
* mdemo/Makefile.am: Mark only libfoo2 as -no-undefined.
Explicitly link it with libsub.la.
* ltconfig.in (need_lc): Preserve allow_undefined_flag.
* 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.
* Makefile.am (libtool, clibtool): Pass CONFIG_SHELL along with
ECHO down to ltconfig.
* ltconfig.in (hardcode_libdir_flag_spec, export_dynamic_flag_spec):
Use ${wl}, not ${wlarc}.
* ltmain.in (compile, need_lock): Don't create nor remove lock
files in dry runs.
* libltdl/ltdl.c (load_deplibs): Don't append shlib_ext; use
lt_dlopenext() instead.
* ltmain.in (link -static): Don't add $link_static_flag; only
-all-static should do that.
* mdemo/configure.in: Revert part of the previous delta.
* mdemo/configure.in: Don't use -static on AIX4.1.
* mdemo/Makefile.am: Likewise.
2000-09-03 Alexandre Oliva <address@hidden>
* ltconfig.in: Get rid of hardcode_into_libs=all; use
hardcode_into_libs=yes && shlibpath_overrides_runpath!=yes
instead.
[FreeBSD 3.[01]] (shlibpath_overrides_runpath): Set to no.
* ltmain.in: Likewise.
* tests/build-relink.test, tests/build-relink2.test: Adjust.
* libtool.m4: Fix typo I introduced in yesterday's patch.
* libltdl/ltdl.c (lt_dlopen): Set dlname from library_names if
dlname is empty.
* ltdl.m4 (HAVE_LIBDL): Look for dlopen in -lsvld.
* ltconfig.in: Likewise.
* tests/mdemo-exec.test: Modify failure message.
* ltmain.in (newdlprefiles): Use dlname if it's available and
old_library isn't; use linklib only if dlname is not available.
* ltconfig.in (enable_dlopen): Set to no when lt_cv_dlopen is no.
* libtool.m4: Don't quote CONFIG_SHELL nor ORIGINAL_CONFIG_SHELL.
Quote $@ properly so that the shell expands it, not m4.
* libtool.m4: Don't quote SHELL when `re-exec'ing, so that SHELL
can be `/path/to/shell -x'.
* tests/quote.test: Move the match test out of case statements, to
work around bug in /bin/sh of several OSs.
* ltmain.in (variables_saved_for_relink): Attempt to unset them
instead of setting them to an empty string.
2000-09-02 Alexandre Oliva <address@hidden>
* ltconfig.in [with_gnu_ld] (archive_cmds, archive_expsym_cmds)
<solaris*, sysv5*, beos*>: Use compiler_flags instead of linker
flags.
Reported by Alex Hornby <address@hidden>
2000-09-02 Makoto Ishisone <address@hidden>
* libtool.m4 (lt_cv_deplibs_check_method, freebsd): Fix typo,
add support for compact format library.
2000-09-02 Alexandre Oliva <address@hidden>
* ltdl.m4: Oops, I had forgotten to commit this part of Syd Polk's
patch from 2000-06-17.
2000-09-02 Tom Kacvinsky <address@hidden>, Tim Mooney <address@hidden>
* libtool.m4: Ignore Tru64's nm's complaint.
2000-09-02 Pavel Roskin <address@hidden>
* ltconfig.in: only load $cache_file if it's a regular file
2000-09-02 Assar Westerlund <address@hidden>
* ltconfig.in: Add back ranlib calls for static libraries if there
is a ranlib.
2000-08-31 Gary V. Vaughan <address@hidden>
Move the echo detection code to a macro in libtool.m4. The code
at the top ofltconfig.in is ugly, but will go away when the rest
of ltconfig is migrated.
* Makefile.am (libtool): Pass the value of $ECHO to ltconfig as
an environment variable.
* libtool.m4 (_LT_AC_PROG_ECHO_BACKSLASH): Quote the ECHO value
correctly so that it inserts the correct code into configure.in
suitably quoted for M4 expansion. This code needs to be near
the top of configure.in as it calls itself recursively, so I
am using AC_DIVERSION_NOTICE (or simply NOTICE on CVS
Autoconf). The value of ECHO is also substitued into the
Makefile to be used when Make calls ltconfig to generate
libtool, so another layer of quotation is required for the
Makefile.
(AC_LIBTOOL_SETUP): Use it.
* ltconfig.in: Accept a value for ECHO from the environment, and
carefully substitue for $0 if it is present in the ECHO value.
Because ECHO was quoted for Make, when ltconfig is called by
configure, it is overquoted, and one layer of quotes must be
stripped.
2000-08-27 Gary V. Vaughan <address@hidden>
* ltconfig.in (with_gcc): Make the value of this option
available to the generated libtool script.
* ltmain.in (compile_command, finalize_command): The native C
and C++ compilers on IRIX require the -LANG:std in order to to
compile correctly. The same options should _not_ be passed
through to gcc on IRIX, or at all on other architectures for
backwards compatibility (among others).
Reported by Bob Friesenhahn <address@hidden>
Reported by Albert Chin-A-Young <address@hidden>
2000-08-26 Gary V. Vaughan <address@hidden>
* ltconfig.in (old_reload_flag): typo.
2000-08-01 Alexandre Oliva <address@hidden>
* ltmain.in (shtool): Use echo|grep instead of expr, as in the
original patch.
2000-08-01 Alexandre Oliva <address@hidden>
* ltconfig.in (need_lc): Fix test message.
2000-07-24 Mocha <address@hidden>
* ltconfig.in (NetBSD, deplibs_check_method): Use file_magic.
(NetBSD, file_magic_cmd, file_magic_test_file): Set.
2000-07-24 Alexandre Oliva <address@hidden>, David Kaelbling <address@hidden>
* ltmain.in (irix, major): Prepend a `.'.
* ltconfig.in (irix, soname_spec, library_names_spec): Adjust.
2000-07-24 Alexandre Oliva <address@hidden>, Ralf S. Engelschall
<address@hidden>
* ltmain.in: Support GNU shtool's install.
2000-07-24 Alexandre Oliva <address@hidden>
* ltconfig.in (linkopts): Don't set for test.
2000-07-24 Nick Hudson <address@hidden>
* ltconfig.in (linkopts): Replace with linker_flags.
* ltmain.in (ILD): Fix addition of deplibs in relink case.
2000-07-18 H.J. Lu <address@hidden>
* ltconfig.in: Check if -lc is necessary for building shared
library. Set build_libtool_need_lc to indicate it.
* ltmain.in: Add -lc when building shared library only if
necessary.
2000-07-10 Mo DeJong <address@hidden>
* libtool.m4 (AC_PROG_NM): Fix macro so that it
finds a cross NM on the PATH.
2000-07-10 Ken Block <address@hidden>
* libltdl/ltdl.h: Also check for __cplusplus, __STDC__ is not
by Compaq C++ compiler
2000-07-10 Alexandre Oliva <address@hidden>
* ltconfig.in (wlarc, netbsd, aout): Set to empty.
(hardcode_dynamic_flag_spec, export_dynamic_flag_spec): Use it.
* ltconfig.in (dynamic_linker, linux, powerpc): Do not disable
shared libraries just because of MkLinux.
* libtool.m4 (lt_cv_deplibs_check_method, freebsd): Do not depend
on $version_type; check for ELF support as in other BSDs.
2000-06-17 Syd Polk <address@hidden>
* libtool.m4 (AC_LIBTOOL_SETUP): Do not generate a libtool based
on target; use host instead.
2000-05-30 Gary V. Vaughan <address@hidden>
* ltconfig.in (ORIGINAL_CONFIG_SHELL): Prevent lossage when
the echo probing code falls into this branch without setting
this variable.
* ltconfig.in (netbsd*): archive_cmds and archive_expsym_cmds
were reversed with respect to definition of __ELF__.
From Keisuke Inoue <address@hidden>
2000-05-29 Gary V. Vaughan <address@hidden>
* libtool.m4 (netbsd*): Use -L option to file_magic_cmd as for
freebsd (below).
* libtool.m4 (netbsd ELF): support file_magic.
From Dan Winship <address@hidden>.
2000-05-29 Steven M. Schultz <address@hidden>
* libtool.m4 (bsdi4*): Add -L option to bsdi4's file_magic_cmd
command. Under BSD/OS 4.1 several libraries are now symlinks
rather than regular files. Adding -L tells the file program
to follow the symlink.
2000-05-29 Gary V. Vaughan <address@hidden>
* libtool.m4 (i*86-*-freebsd*): Forgot to changequote(,).
* NEWS: Updated.
* libtool.m4 (i*86-*-freebsd*): Support a.out shared libs.
From <address@hidden>
2000-05-29 Fred Fish <address@hidden>
Support AR=mwld AR_FLAGS='-xml -o' for PPC Beos.
* ltconfig (old_AR_FLAGS): Add.
(old_archive_cmds): Use AR_FLAGS rather than hardcoding "cru".
(archive_cmds): Use AR_FLAGS rather than hardcoding "cru".
(AR_FLAGS): Default to "cru" if not set.
2000-05-29 Gary V. Vaughan <address@hidden>
* ltconfig.in (echo): The following code actually prints the
double quotes -- so I removed them:
echo='printf "%s\n"' /bin/ksh -c '$echo \\t'
From Tuukka Toivonen <address@hidden>
* NEWS: Updated.
2000-05-29 Bernhard Rosenkraenzer <address@hidden>
* libtool.m4: adding ia64 as supported linux platform
2000-05-29 Michael Matz <address@hidden>
* ltmain.in: fix quoting for $var_value.
* ltconfig.in: check for dlfcn.h: include return value
to make -Wall in CFLAGS work.
2000-05-27 Gary V. Vaughan <address@hidden>
* README-alpha: note new location of config.(guess|sub).
2000-05-27 Chad Cunningham <address@hidden>
* ltconfig.in (rhapsody*): New Port.
* ltmain.in (rhapsody*): ditto.
2000-05-27 Chris Lattner <address@hidden>
* ltconfig.in (*-sequent-sysv4): New Port.
2000-05-17 Gary V. Vaughan <address@hidden>
* ltmain.in: cygwin-1.1.0 and higher no longer grok backslash path
separators.
2000-05-14 Alexandre Oliva <address@hidden>
* 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.
* libtool.m4 (_AC_PROG_LIBTOOL): Renamed from...
(AC_PROG_LIBTOOL): Just AC_REQUIRE(_AC_PROG_LIBTOOL), to avoid
effects of multiple runs.
2000-05-11 Thomas Tanner <address@hidden>
* NEWS: update
* doc/libtool.texi (libltdl): rename lt_(find|next|add|remove)_dlloader
to lt_dlloader_*
* libltdl/ltdl.c: ditto
* libltdl/ltdl.h: ditto, add declaration of lt_dlloader_(find|remove)
2000-05-06 Pavel Roskin <address@hidden>
* libltdl/ltdl.c: Typo.
* libtool.m4 (AC_LIBTOOL_SETUP): CVS autoconf no longer sets
target to "NONE", but to an empty string.
2000-05-05 Paul Sokolovsky <address@hidden>
* ltdl.c: support lt_dlopen(0) for win32
2000-05-03 Thomas Tanner <address@hidden>
* doc/libtool.texi (libltdl): fix typos,
INCLTDL starts with top_srcdir, replace NULL with @code{NULL}
* ltmain.in (ILD): search in newlib_search_path, too
* ltmain.in (ILD): fix bugs in conv pass, expand convenience
libs to deplibs and link them later on
* ltmain.in (ILD): don't allow convenience libs to be
-dlopen/preopen'ed
* ltmain.in (ILD): it's not required to link all deplibs
in fast-install mode
* ltmain.in (ILD): if hardcode_into_libs=all, only relink
a library if it is linked against uninstalled libtool libraries,
rename link_against_libtool_libs to uninst_deplibs
* ltmain.in (ILD): tidy up, add some comments
2000-05-03 John Wehle (address@hidden)
* libtool.m4 (hpux10.20*): use file_magic for
inter-library dependency tracking.
2000-05-02 Gary V. Vaughan <address@hidden>
* AUTHORS: Update my email address.
* commit: ditto.
2000-04-11 Thomas Tanner <address@hidden>
* NEWS: update
* libtool.m4: add AC_LIBTOOL_PICMODE
* ltconfig.in: move pic_mode checks to ltmain.in
* ltmain.in: add -prefer-pic and -prefer-non-pic
2000-03-29 Alexandre Oliva <address@hidden>
* ltmain.in (tmpdir): Do not accept an existing directory, and
force its mode to 700, for security reasons.
Reported by Joseph S. Myers <address@hidden>
2000-03-27 Thomas Tanner <address@hidden>
* NEWS: reformatting
* ltmain.in (ILD): add extra convenience library scanning pass
* ltmain.in (ILD): accept -R flags for libraries, too
* ltmain.in (ILD): correclty merge the dlpreopened libraries
with deplibs
* ltmain.in (install mode): remove directories from filenames
before relinking (reported by Elrond <address@hidden>)
* doc/libtool.texi (libltdl): rename Library -> Lesser,
clarify exception clause
* libltdl/ltdl.c, libltdl.h (License): ditto
2000-03-21 Alexandre Oliva <address@hidden>
* 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.
2000-03-14 Christopher A. Knight <address@hidden>
* ltconfig.in: added main() definition in compile
check for header `dlfcn.h' to fix link errors
when built with Sun Workshop Pro CC 4.2 (and perhaps
others).
2000-02-03 Gary V. Vaughan <address@hidden>
* libltdl/ltdl.c (lt_find_dlhandle): Deleted. This was B.S.
far cleaner to use lt_dlforeach and lt_dlgetinfo.
* libltdl/ltdl.h: Prototype deleted.
* doc/libtool.texi: Documentation deleted.
* NEWS: annoncement deleted.
2000-02-23 Thomas Tanner <address@hidden>
* ltmain.in: remove duplicates from deplibs, handle
interdependent libraries (e.g. -la -lb -la),
this requires adding deplibs in reverse order
* ltmain.in: link dlpreopened libraries before other libraries
(reported by Pavel Roskin)
* mdemo/Makefile.am: build and link libsub.la
* mdemo/sub.c: new file used by both dlopened modules
* mdemo/foo*: use sub() defined in libsub
* tests/dryrun.test: build libsub.la
* mdemo/Makefile.am: always link mdemo.static with -static
* mdemo/configure.in: ditto
* ltmain.in: fix dlopen/dlpreopening of objects
* ltmain.in (ILD): fix misplaced `continue' in -R* argument handler
* ltmain.in: merge duplicated code of clean and uninstall mode
* libtool.m4: recognize powerpc*linux* (reported by
Dirk A. Mueller <address@hidden>)
2000-02-23 Gary V. Vaughan <address@hidden>
* ltconfig.in (old_MAGIC, old_STRIP, old_reload_flag,
old_deplibs_check_method, old_file_magic_cmd): New variabes.
Treat these as old_CC etc.
(STRIP, MAGIC): Create and set these variables in the generated
libtool script.
Reported by Pavel Roskin <address@hidden>
* configure.in: Due to a bug in autoconf-2.13 implementation of
AC_SUBST, `AC_SUBST(FILE)' can never work. Use MAGIC as the
holder of the command to run in file_magic_cmd instead.
* ltconfig.in: s/FILE/MAGIC/g.
* libtool.m4 (AC_PROG_LIBTOOL): set MAGIC in the environment when
calling ltconfig.
(AC_PATH_MAGIC): renamed from AC_PATH_FILE.
(AC_PATH_TOOL_PREFIX): s/FILE/MAGIC/g. Also set file_magic_cmd
to '${MAGIC}' so that make can grok it.
* Makefile.am (libtool):
(clibtool): ditto.
2000-02-21 Gary V. Vaughan <address@hidden>
* libltdl/ltdl.c (lt_find_dlhandle): New function.
(tryall_dlopen): Use it.
* libltdl/ltdl.h: Prototype it.
* doc/libtool.texi: Document it.
* NEWS: updated.
* libltdl/ltdl.c (lt_dlinit): removed unused variable, `loader'.
* libltdl/ltdl.c (lt_remove_dlloader): typo, s/=/==/g.
2000-02-03 Gary V. Vaughan <address@hidden>
* libltdl/ltdl.h (lt_dlloader_data_t): New type for loader
instance data.
(lt_user_dlloader): New lt_dlloader_data_t field.
(lt_module_open_t): Add lt_dlloader_data_t parameter.
(lt_module_close_t): Add lt_dlloader_data_t parameter.
(lt_find_sym_t): Add lt_dlloader_data_t parameter.
(lt_dlloader_exit_t): Add lt_dlloader_data_t parameter.
* libltdl/ltdl.c: A sprinkling of /*ARGSUSED*/ markers to
reassure lint that the unused arguments are intentional.
(lt_dlloader_t): New lt_dlloader_data_t field.
(lt_dlloader_data): New function to return the contents of the
dlloader_data field.
(sys_dl_open): Take an additional lt_dlloader_data_t argument.
(sys_dl_close): Ditto.
(sys_dl_sym): Ditto.
(sys_dl): Initialise lt_dlloader_data_t field.
(sys_shl_open, sys_shl_close, sys_shl_sym, sys_shl): As above.
(sys_wll_open, sys_wll_close, sys_wll_sym, sys_wll): As above.
(sys_bedl_open, sys_bedl_close, sys_bedl_sym, sys_bedl): As
above.
(sys_dld_open, sys_dld_close, sys_dld_sym, sys_dld): As above.
(presym_init, presym_exit, presym_open, presym_close, presym_sym,
presym): As above.
(lt_dlinit): Call presym_init with additional argument.
(lt_dlexit): Call dlloader_exit method with additional argument.
(tryall_dlopen): Call module_open method with additional argument.
(lt_dlclose): Call module_close method with additional argument.
(lt_dlsym): Call find_sym method with additional argument.
(lt_add_dlloader): Initialise dlloader_data field.
(lt_remove_dlloader): Call dlloader_exit method with additional
argument.
* libltdl/ltdl.c (find_file): Prevent early release of memory
in filename/*pdir.
From Jon Leichter <address@hidden>
(sys_wll_init): Deleted. No longer required. And this time,
with feeling!
(sys_wll_exit): Ditto.
2000-02-02 Gary V. Vaughan <address@hidden>
* NEWS: updated.
* doc/libtool.texi (Libltdl interface): Moved user defined module
loader documentation from here...
(Module loaders for libltdl) ...to here, and updated the text and
added examples.
* ltdl.m4 (AC_CHECK_FUNCS): check strcmp for lt_find_dlloader.
* libltdl/ltdl.h: Reformatted and commented for readability.
(struct lt_user_dlloader): New data type for passing
initialisation pointers to lt_add_dlloader.
(LTDL_ERROR_INVALID_LOADER): New error message when non loader
handles are passed to the user loader API.
(LTDL_ERROR_INIT_LOADER): New error when loader initialisation
fails.
(LTDL_ERROR_REMOVE_LOADER): New error when loader removal fails.
(lt_module_open_t): renamed from lt_lib_open_t.
(lt_module_close_t): renamed from lt_lib_close_t.
(lt_dlloader_exit_t): renamed from lt_dlloader_exit_t.
* libltdl/ltdl.c: Reordered builtin loaders so that the "dld"
loader no longer occurs before "dlopen" on some platforms and
after it on others.
(lt_dlloader_t): Moved here from ltdl.h, added a field,
"loader_name", for identifying the loader, and renamed from
lt_dltype_t. Renamed type variables to loader IFF of type
lt_dlloader_t.
(lt_module_t): Renamed from lt_syshandle. Renamed handle variables
to module IFF of type lt_module_t.
(LTDL_TYPE_TOP): Deleted. No longer required.
(sys_dl): Initialised as a struct lt_user_dlloader.
(sys_dl_init): Deleted. No longer required.
(sys_dl_exit): Ditto.
(sys_shl): Initialised as a struct lt_user_dlloader.
(sys_shl_init): Deleted. No longer required.
(sys_shl_exit): Ditto.
(sys_wll): Initialised as a struct lt_user_dlloader.
(sys_wll_init): Deleted. No longer required.
(sys_wll_exit): Ditto.
(sys_bedl): Initialised as a struct lt_user_dlloader.
(sys_bedl_init): Deleted. No longer required.
(sys_bedl_exit): Ditto.
(sys_dld): Initialised as a struct lt_user_dlloader.
(sys_dld_init): Deleted. No longer required.
(sys_dld_exit): Ditto.
(sys_presym): Initialised as a struct lt_user_dlloader.
(lt_mod_init_t): Moved to here from ltdl.h.
(lt_dlinit): Add builtin loaders using the user loader API.
(lt_dlexit): Unregister and free all loaders.
(lt_add_dlloader): New function to add a new module loader after the
loader specified in the argument.
(lt_remove_dlloader): New function to remove a module loader.
(lt_next_dlloader): New function for iterating over module loaders.
(lt_dlloader_name): Accessor function for name of dlloader.
(lt_find_dlloader): New function to get a reference to a registered
module loader.
(strcmp): static implementation incase the host has none.
(lt_dlgettypes, lt_dlsettypes): Removed.
2000-02-02 Thomas Tanner <address@hidden>
* libltdl/ltdl.c: replace NULL with 0, remove unused system
and app_private pointers from lt_dlhandle_t
* libltdl/ltdl.c (presym_add_list): new preloaded symbols
don't need to be added to the end
* libltdl/ltdl.c (lt_dlgetdata, lt_dlsetdata): removed
* libltdl/ltdl.h: ditto
* doc/libtool.texi (libltdl interface): ditto
2000-02-01 Thomas Tanner <address@hidden>
* ltmain.in: support -dlopen/dlpreopen for libraries
* NEWS: updated
* TODO: updated
* ltmain.in: rename dlopen to dlopen_support
* ltconfig.in: ditto
* doc/libtool.texi: ditto
* ltmain.in: check whether libraries are moved out of $libdir,
replace .a and .lib with .$libext, .o and .obj with .$objext
2000-01-31 Gary V. Vaughan <address@hidden>
* libltdl/ltdl.h (lt_dlrealloc): removed declaration.
* libltdl/ltdl.c (lt_dlrealloc): removed definition.
(lt_dladderror): Instead of calling lt_dlrealloc, use lt_dlmalloc,
and lt_dlfree.
2000-01-30 Ossama Othman <address@hidden>
* libtool.m4 (lt_cv_cc_needs_belf): Set the test language to C
prior to executing the test that checks if the C compiler needs
"-belf."
Reported by Chris Butler <address@hidden>
2000-01-28 Gary V. Vaughan <address@hidden>
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use changequote to
protect `[' and `]' in deplibs_check_method.
* libltdl/ltdl.h (lt_dlrealloc): Added declaration.
* libltdl/ltdl.c (lt_dlrealloc): Added default definition.
* libltdl/ltdl.c (lt_dlseterror): Catch errorcodes below 0 as
invalid.
* libltdl/ltdl.h (LTDL_ERROR): Added missing '_' in K&R
definition.
* libltdl/ltdl.h (ltdl_error_table): Added missing error code, and
fixed typo in another code.
* doc/libtool.texi (Libltdl interface): Added missing @end
clause.
2000-01-27 Thomas Tanner <address@hidden>
* ltconfig.in: Oops, replace the remaining $objdir's
* ltmain.in: merge library linking code of programs and libraries,
some cleanups
2000-01-27 Gary V. Vaughan <address@hidden>
* NEWS: Updated.
* doc/libtool.texi (Libltdl interface): Document new entry
points.
* libltdl/ltdl.c (lt_dladderror): New function to add a user
defined error message to the tables used by lt_dlerror().
(lt_dlseterror): New function to allow setting of last_error by
user modules.
(ltdl_error_strings): New preprocessor generated table of internal
error diagnostic strings.
(user_error_strings): New internal list of registered user error
diagnostic strings.
(throughout!): Use error messages from ltdl_error_strings.
* libltdl/ltdl.h (ltdl_error_table): New macro to tabulate
internal diagnostic error strings alongside enum keys.
* NEWS: Updated.
* doc/libtool.texi (Libltdl interface): Document new entry
points.
* libltdl/ltdl.c (lt_dltype_t): Use new type definitions for
existing fields.
(lt_dladdtype): New function to add a new ltdl dynamic loader
type to the end of the list of valid types..
(lt_dlgettypes): New function to return the complete list of ltdl
dynamic loader types.
(lt_dlsettypes): New function to replace the list of ltdl dynamic
loader types entirely -- e.g. to prepend a new type to the
existing list.
(sys_dl_open, sys_dl_close, sys_dl_sym): Work with lt_syshandle.
(sys_shl_open, sys_shl_close, sys_shl_sym): ditto.
(sys_dld_open, sys_dld_close, sys_dld_sym): ditto.
(sys_wll_open, sys_wll_close, sys_wll_sym): ditto.
(sys_bedl_open, sys_bedl_close, sys_bedl_sym): ditto.
(presym_open, presym_close, presym_sym): ditto.
(tryall_dlopen): Call lt_lib_open_t functions lt_syshandle
compatibly.
(lt_dlclose): Call lt_lib_close_t functions lt_syshandle
compatibly.
(lt_dlsym): Call lt_find_sym_t functions lt_syshandle compatibly.
(lt_dltype_t): moved type declaration from here...
* libltdl/ltdl.h (lt_dltype_t): ...to here.
(lt_syshandle): new type for low level system handles passed by
loader functions
(lt_mod_init_t): New type for functions implementing the
initialisation for an ltdl dynamic loader.
(lt_mod_exit_t): Type of exit functions for the same.
(lt_lib_open_t): Type of loader functions for the same.
(lt_lib_close_t): Type of unloader functions for the same.
(lt_find_sym_t): Type of symbol resolver functions for the same.
* libltdl/ltdl.c (sys_dl_init, sys_dl_exit, sys_dl_open,
sys_dl_close, sys_dl_sym): Preprocess these away on cygwin to
avoid spurious error messages.
2000-01-24 Thomas Tanner <address@hidden>
fix severe bugs reported by Elrond <address@hidden>
* ltconfig.in: replace $objdir with $output_objdir
* ltmain.in: change to the builddir before relinking programs
* ltmain.in, ltconfig.in, libtool.m4, ltdl.m4:
remove unnessary spaces from line endings
2000-01-19 Thomas Tanner <address@hidden>
* ltmain.in: rewrite of the ILD code, merge linking code for
programs, libraries and objects, allow linking of shared libraries
against static libraries/objects on platforms that support it
but print a warning, fix some typos
* partially revert my previous change and
update only copyright notices of files that were actually modified
* NEWS: update
* libltdl/Makefile.am: version number was wrong
* libltdl/ltdl.c (tryall_dlopen): revert Gary's change
since it breaks dlpreopening
* ltdl.m4: ditto
* libltdl/ltdl.c (sys_search_path): search in the system default
library search path, too
* ltdl.m4 (AC_LTDL_SYSSEARCHPATH): extract the path
* libltdl/ltdl.c (find_module): remove bogus file_not_found_error
* libltdl/ltdl.c (load_deplibs): implement loading of dependency
libraries
* libltdl/ltdl.c (unload_deplibs): implement unloading of dependency
libraries
* libltdl/ltdl.c (lt_dlexit): correctly close all modules and
their dependencies
* libltdl/ltdl.c (lt_dlforeach): new function
* libltdl/ltdl.h: ditto
* doc/libtool.texi (using libltdl): document it
* libtool.m4: reformatting, only add -I$topsrc_dir/libltdl to
INCLTDL
* libtoolize.in: reformatting
* ltconfig.in: reformatting
* ltmain.in: reformatting
* mdemo/configure.in: AC_SUBST INCLTDL
* mdemo/Makefile.am: use INCLTDL
* tests/Makefile.am: reexport OBJEXT and EXEEXT
* tests/dryrun.test: use them for building main.obj and mdemo.exe
2000-01-17 Gary V. Vaughan <address@hidden>
* libltdl/ltdl.c (tryall_dlopen): Abort with
file_not_found_error before trying all lib_open() methods
if the file to be dlopened doesn't exist.
* ltdl.m4 (AC_HAVE_HEADERS): add unistd.h.
2000-01-16 Gary V. Vaughan <address@hidden>
* libltdl/ltdl.c (find_file): memory error fixed.
2000-01-14 Gary V. Vaughan <address@hidden>
* ltconfig.in (Usage): Now it matches the code!
Reported by Jon Leichter <address@hidden>
* README: Some notes about libtool release numbers.
* mdemo/README: Explain the deliberate incompleteness of the
Windows port.
* mdemo/configure.in: Use AC_LIBTOOL_WIN32_DLL.
* mdemo/Makefile.am (LDFLAGS): Add -no-undefined.
* libltdl/ltdl.h (LTDL_STMT_START, LTDL_STMT_END): Macros for
wrapping other macros to make a portable compound statement from
multiple C statements in the expansion.
(LTDL_SET_PRELOADED_SYMBOLS): Use the above macros to add an
extern declaration for lt_preloaded_symbols, to remove
dependency on undefined symbol from libltdl.dll on cygwin (and
other -no-undefined architectures).
* libltdl/ltdl.c (lt_preloaded_symbols): No longer defined here.
* libtool,m4 (AC_LIBTOOL_SETUP): The result of lt_cv_need_dllmain
was set to the opposite of what it should be.
* configure.in (AC_LIBTOOL_WIN32_DLL): Call to this macro is
required for libtool configury to test lt_cv_need_dllmain on
Windows.
* ltconfig.in (opt_cr, mingw*): replace unescaped ? with correctly
escaped and portable \{0,1\} in sed expression.
From Jon Leichter <address@hidden>
2000-01-13 Gary V. Vaughan <address@hidden>
* libtool.m4 (AC_LIBLTDL_CONVENIENCE): Add -I${top_srcdir}/libltdl
to default INCLTDL for VPATH.
(AC_LIBLTDL_INSTALLABLE): ditto.
Reported by Tom Tromey <address@hidden>
2000-01-12 Thomas Tanner <address@hidden>
* update all copyright notices to 2000
* doc/libtool.texi (using libltdl): document new lt_dlinfo struct,
replace NULL with @code{NULL}, document lt_dlsetdata(),
lt_dlgetdata() and lt_dlgetinfo()
* libltdl/Makefile.am: increment interface version number
* libltdl/configure.in: set version number to 1.1
* libltdl/ltdl.c: make some variables public by moving them
to the info struct, add support for application specific data
within module handles, new lt_dlsetdata(), lt_dlgetdata() and
lt_dlgetinfo() functions,
fix memory leaks, minor cleanups
* libltdl/ltdl.h: ditto
* mdemo/main.c: demonstrate use of lt_dlgetinfo,
improved handling of errors
* ltconfig.in: set hardcode_into_libs = yes for GNU/Hurd, Linux
and Solaris, only hardcode *all* run-paths if hardcode_into_libs
is set to 'all', otherwise hardcode only user-specified rpaths
into libraries
* ltmain.in: minor cleanups, we don't need to add user-specified
rpaths to compile_rpath, finalize_rpath is sufficient
* ltconfig.in: transform linux* -> *linux-gnu* _after_ host_os has
been set! (reported by Bruno Haible <address@hidden>)
* configure.in: AC_SUBST reload_flag, deplibs_check_method
and file_magic_cmd
* README: use 'libtool --version' instead of 'ltconfig --version'
(suggested by Francios Pinard <address@hidden>
2000-01-10 Gary V. Vaughan <address@hidden>
* libltdl/ltdl.h (LTDL_DIRSEP_CHAR): Leave undefined when
not compiling for a Windows target.
* libltdl/ltdl.c (canonicalize_path): New function to
ensure internal paths use '/' directory separators.
(find_file): use canonicalize_path. Memory management
changed to cope.
(lt_dlopen): ditto.
(free_vars): Removed `dir' and `name', which are now handled
internally.
* libltdl/ltdl.h (LTDL_DIRSEP_CHAR): Define to '/' or '\\',
as suitable for the target host.
(LTDL_PATHSEP_CHAR): Similarly with ':' or ';'.
* libltdl/ltdl.c: Use LTDL_DIRSEP_CHAR and LTDL_PATHSEP_CHAR
instead of hardcoding throughout.
Reported by Jon Leichter <address@hidden>
Continued in ChangeLog.1999
Index: ChangeLog.2001
from Jens Petersen <address@hidden>
* ltmain.in: Replace all test "-a"s by "&& test"
for portability.
2001-11-28 Robert Boehne <address@hidden>
* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Change the
factor of saftey as 3/4 of the result was not low enough.
2001-11-28 Gary V. Vaughan <address@hidden>
* libtoolize.in: The test for whether AC_PROG_LIBTOOL is defined
in aclocal.m4 had bitrotted slightly.
Reported by Takahiko Kawasaki <address@hidden>
2001-11-27 Donald D. Anderson <address@hidden>
* 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.
2001-11-27 Robert Boehne <address@hidden>
With help from Michael Matz <address@hidden>:
* ltmain.in: Add a new command line argument
--preserve-dup-deps for preserving duplicate
dependent libraries.
* libtool.texi: Document it.
2001-11-27 Kevin Ryde <address@hidden>
* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Send "test"
warnings to /dev/null, helps FreeBSD and maybe others.
2001-11-15 Albert Chin-A-Young <address@hidden>
* libtool.m4: quote LTCC because autoconf AC_PROG_CC_STDC
macro might add to $CC if options needed by compiler to
grok ANSI.
2001-11-15 Gary V. Vaughan <address@hidden>
From Joseph S. Myers <address@hidden>:
* ltmain.in: Typo.
2001-11-15 Mo DeJong <address@hidden>
* 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.
2001-10-31 Raja R Harinath <address@hidden>
* configure.ac (pkgdatadir): Move the invocation of AC_INIT_AUTOMAKE
before the use of $PACKAGE in $pkgdatadir.
Reported by Bob Friesenhahn <address@hidden>
2001-10-28 Gary V. Vaughan <address@hidden>
From Tom Bates <address@hidden>:
* libtool.m4 [mips-compaq-nonstopux]: New port.
* ltmain.in [mips-compaq-nonstopux]: Support
$version_type == nonstopux.
2001-10-28 Albert Chin-A-Young <address@hidden>
* libltdl/ltdl.c (foreach_dirinpath): change some types to size_t
from int because strlen() returns size_t. argz_len changed to
size_t because argzize_path() takes 3rd argument as size_t, not
int.
Based on lint run from Bob Friesenhahn <address@hidden>
2001-10-27 Gary V. Vaughan <address@hidden>
* libtool.m4 (_LT_AC_TAGCONFIG): Cray sed does not allow character
sets to contain the separator character.
Reported by Kevin Ryde <address@hidden>
* 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.
2001-10-24 Kevin Ryde <address@hidden>
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Remove a stray ' quote.
2001-10-24 H.J. Lu <address@hidden>
* 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.
2001-10-12 Guido Draheim <address@hidden>
* ltdl.m4: Changed "underscode to underscore".
2001-10-06 Gary V. Vaughan <address@hidden>
* 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.
2001-10-04 Albert Chin-A-Young <address@hidden>
* libltdl/ltdl.c: Match function return type with prototype
(add static initializer to file_not_found).
2001-09-30 Gary V. Vaughan <address@hidden>
* 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.
2001-09-22 Albert Chin-A-Young <address@hidden>
* 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.
2001-09-22 Gary V. Vaughan <address@hidden>
* 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 <address@hidden>
2001-09-22 Tor Lillqvist <address@hidden>
* 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.
* 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.
2001-09-22 Albert Chin-A-Young <address@hidden>
* libtool.m4: When setting archive_cmds for CC, don't
test for $GXX but for $GCC on HP-UX. Indentation fixes.
2001-09-21 Gary V. Vaughan <address@hidden>
From Tor Lillqvist <address@hidden>:
* ltmain.in [cygwin* mingw*]: Take care of the difference between
wrapper script name and executable name.
* 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 <address@hidden>
2001-09-21 Albert Chin-A-Young <address@hidden>
* libltdl/ltdl.c: Match function return type with prototype
(add static initializer to some functions) to prevent warnings
from HP-UX cc.
2001-09-21 Gary V. Vaughan <address@hidden>
* libltdl/ltdl.c: Added support for dmalloc, and uncovered some
memory bugs as a result.
2001-09-21 Albert Chin <address@hidden>
* 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).
* libtool.m4: Some uses of $GXX were unquoted, but GXX is either
NULL or yes. Use "$GXX".
2001-09-13 Assar Westerlund <address@hidden>
* ltdl.m4 (AC_LTDL_DLLIB): call dlopen with arguments so the test
does not fail due to a prototype in dlfcn.h
2001-09-13 Gary V. Vaughan <address@hidden>
* ltdl.m4 (AC_CHECK_HEADERS): Check for assert.h.
* libltdl/ltdl.c: If not, disable assertions manually.
2001-09-11 Gary V. Vaughan <address@hidden>
* bootstrap: Be robust to having no files that need removing.
* 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.
2001-09-11 Gary V. Vaughan <address@hidden>
* libtool.m4: No need to undefine([symbols]), proper quotation is
enough.
2001-09-10 Gary V. Vaughan <address@hidden>
* 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 <address@hidden>
2001-09-10 Brad <address@hidden>
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Missed an instance of
Autoconf square bracket quoting style normalisation.
* ltmain.in (-lc_r): Style improvement.
* doc/libtool.texi: Remove obsolete references to ltconfig.
* tests/quote.test: s/ltconfig/\$0/
2001-09-09 Gary V. Vaughan <address@hidden>
* libtool.m4: Use Autoconf square bracket quoting style
consistently throughout.
2001-09-08 Gary V. Vaughan <address@hidden>
* bootstrap: Cleanup `autom4te' and `libtool' so that we don't
get caught by something from a previous build.
* 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.
2001-09-07 Gary V. Vaughan <address@hidden>
* libltdl/ltdl.c (foreach_dirinpath): argz_len should be a size_t.
Reported by Albert Chin <address@hidden>
2001-09-06 Gary V. Vaughan <address@hidden>
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [solaris*]: Typo. s/GXX/GCC/.
* 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 <address@hidden>) 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!
From Michael Pruett <address@hidden>:
* libltdl/ltdl.c (find_module): `0' valued arguments to
tryall_dlopen_module() must be explicitly cast to avoid compiler
warnings on some environments.
From Daniel Johnson <address@hidden>:
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [darwin*]: Move from GNU
ld section to non-GNU ld section.
2001-09-05 Robert Boehne <address@hidden>
* 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!
2001-09-03 Gary V. Vaughan <address@hidden>
* 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!
2001-09-03 Brad <address@hidden>
* ltdl.m4 [AC_LTDL_SYS_DLOPEN_DEPLIBS]: Teach ltdl about the
behavior of OpenBSD's dlopen().
2001-09-03 Gary V. Vaughan <address@hidden>
From Marius Vollmer <address@hidden>:
* libltdl/ltdl.c (tryall_dlopen_module): Don't forget to propogate
errors over recurse levels.
2001-09-03 Brad <address@hidden>
* libtool.m4 [openbsd*]: More improvements to the OpenBSD port.
2001-09-02 Gary V. Vaughan <address@hidden>
From Albert Chin <address@hidden>:
* 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.
2001-09-02 Christopher Pfisterer <address@hidden>
* libtool.m4, ltmain.in: Linker flag and version numbering fixes
for darwin.
2001-09-02 Gary V. Vaughan <address@hidden>
Based on a patch from Marius Vollmer <address@hidden>:
* 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.
* demo/Makefile.am (helldl$(EXEEXT)): Automake-1.5 made me change
this from just `helldl'.
2001-07-31 Robert Boehne <address@hidden>
* 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.
2001-08-19 Ossama Othman <address@hidden>
* 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.
2001-08-18 Brad <address@hidden>
* ltmain.in: Do not remove -lm from deplibs for OpenBSD.
2001-08-16 Gary V. Vaughan <address@hidden>
* 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.
2001-08-15 Gary V. Vaughan <address@hidden>
* libltdl/ltdl.c (lt_dlhandle_next): Now we can loop through all
loaded module handles as originally intended.
* libltdl/ltdl.c (lt_dlseterror): Oops. This never worked
either, due to a pair of typos. Now fixed.
* 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.
2001-08-14 Gary V. Vaughan <address@hidden>
* 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.
* 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.
2001-08-13 Gary V. Vaughan <address@hidden>
* libltdl/ltdl.c (find_file_callback): Fix a multiple free()
bug.
(tryall_dlopen_module): Remove some unused variables.
* libltdl/ltdl.c (lt_dlinsertsearchdir): Calculate the address
of the end of user_search_path correctly.
* 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,
2001-08-07 Gary V. Vaughan <address@hidden>
From Albert Chin <address@hidden>:
* 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,
2001-08-06 Gary V. Vaughan <address@hidden>
From Brad <address@hidden>:
* libtool.m4 (deplibs_check_method) [aix*]: Removed redundant setting
of this variable.
2001-08-05 Gary V. Vaughan <address@hidden>
* libltdl/ltdl.c (load_deplibs): Insert missing 1st argument to
LT_EMALLOC.
2001-08-05 Tim Van Holder <address@hidden>
* ltdl.m4: Canonicalize descriptive text used with
AC_DEFINE.
* 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.
2001-08-05 Gary V. Vaughan <address@hidden>
From Brad <address@hidden>:
* 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.
2001-08-05 Tim Mooney <address@hidden>
* libtool.m4 [osf3*, osf4*, osf5*]: Tru64 *can* build modules
without a `lib' prefix to the module name.
2001-08-05 Gary V. Vuaghan <address@hidden>
From Guido Draheim <address@hidden>:
* ltmain.in: Display better and different error messages when
library linkage fails in various ways.
2001-08-05 Albert Chin-A-Young <address@hidden>
* 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.
2001-08-05 Gary V. Vaughan <address@hidden>
From Brad <address@hidden>:
* libtool.m4 (archive_cmds) [darwin, newsos, sysv4]: Replace
1.3 era $linkopts references with $linker_flags.
* libltdl/ltdl.c: Fixed several careless mistakes in the
foreach_dirinpath support functions.
(foreach_dirinpath): Walk path elements with the argz API.
2001-08-04 Gary V. Vaughan <address@hidden>
From Sedi Master Albert Chin <address@hidden>:
* libtool.m4 (_LT_AC_SYS_LIBPATH_AIX): Replace the awk invocation
with an equivalent bit of sed wizardry.
From Edouard G. Parmelan <address@hidden>
* libtool.m4 [darwin, openbsd]: Fix quoting problems with
unquoted [] expressions.
2001-08-03 Gary V. Vaughan <address@hidden>
* bootstrap: s/ltdldemo // -- This demo soesn't work properly,
so I haven't committed it yet.
2001-08-01 Ossama Othman <address@hidden>
* 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.
2001-08-01 Gary V. Vaughan <address@hidden>
* 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.
2001-07-31 Robert Boehne <address@hidden>
* libtool.m4 (mingw*) Revert the previous change as it was
applied by mistake.
2001-07-31 Guido Draheim <address@hidden>
* libtool.m4 (mingw*) sys_lib_search_path_spec:
Sets the proper path separator for cross-compiling.
2001-07-30 Steve Ellcey <address@hidden>
* libtool.m4 (ia64-*-hpux*) Add support for ia64*-*-hpux* platform.
2001-07-30 Robert Boehne <address@hidden>
* libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC) [aix*]: Fixed an
incorrect resetting of lt_prog_compiler_static when using gcc
under AIX Power.
2001-07-31 Gary V. Vaughan <address@hidden>
* bootstrap: Remove generated files (incase they are links) before
rerunning the autotools to regenerate them.
2001-07-30 Gary V. Vaughan <address@hidden>
* 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.
* 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 <address@hidden>
2001-07-29 Gary V. Vaughan <address@hidden>
* 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.
2001-07-29 Andrew C. Feren <address@hidden>
* 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.
2001-07-29 Steve Ellcey <address@hidden>
* 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()".
2001-07-29 Gary V. Vaughan <address@hidden>
From Guido Draheim <address@hidden>:
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [mingw]: Support
cross compilation to mingw by allowing `:' or ';' as a path
separator.
* NEWS: Updated.
2001-07-27 NIIBE Yutaka <address@hidden>
* libtool.m4 (lt_cv_deplibs_check_method): Use pass_all
for sh*-*-linux* (SuperH) too.
2001-07-25 Ossama Othman <address@hidden>
From Thomas Poindessous <address@hidden>
* ltmain.in (pic_mode): Added missing quotes around shell
variable in "if test" conditional.
From Peter Moulder <address@hidden>
* ltmain.in (xform): Add support for pre-processed
(e.g. `*.{i,ii}' sources).
2001-07-25 Gary V. Vaughan <address@hidden>
From Steve Ellcey <address@hidden>:
* libltdl/ltdl.c (foreach_dirinpath): Free unassigned pointer
fix for `canonical'.
2001-07-23 Robert Boehne <address@hidden>
* 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.
2001-07-23 Gary V. Vaughan <address@hidden>
* Makefile.am (EXTRA_DIST): Don't forget to distribute
ChangeLog.1.
From Erik Lindahl <address@hidden>
* 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.
2001-07-23 Andreas Schwab <address@hidden>
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use pass_all for
s390*-*-linux* and m68*-*-linux*.
2001-07-19 Robert Boehne <address@hidden>
* 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.
2001-07-23 Mark Kettenis <address@hidden>
* 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.
2001-07-16 Robert Boehne <address@hidden>, Tim Mooney <address@hidden>
* ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): add cases and comments for
more platforms, including AIX, Digital/Tru64 UNIX and IRIX.
2001-07-16 Gary V. Vaughan <address@hidden>
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Fix ia64 AIX
run-time-linking when not using gcc.
(AC_LIBTOOL_LANG_CXX_CONFIG): Ditto.
Reported by Dan McNichol <address@hidden>
2001-07-12 Gary V. Vaughan <address@hidden>
From address@hidden (Don Anderson):
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [qnx]: New
supported architecture.
(AC_DEPLIBS_CHECK_METHOD) [qnx]: Ditto.
* NEWS: Updated.
From Stefan Ondrejicka <address@hidden>:
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [cygwin*]: Make
sure that /lib/w32api is searched for system libraries to
match recent versions of cygwin.
* NEWS: Updated.
2001-07-12 Dan McNichol <address@hidden>
From albert chin <address@hidden>
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Fix AIX
run-time-linking when using gcc.
(AC_LIBTOOL_LANG_CXX_CONFIG): Ditto.
2001-07-11 Gary V. Vaughan <address@hidden>
* libtool.m4 (_LT_AC_LANG_CXX_CONFIG) [hpux, linux, osf,
solaris]: Doh! the evalled variable shouldn't have been
quoted.
* libtool.m4 (_LT_AC_LANG_CXX_CONFIG) [hpux, linux, osf,
solaris]: output_verbose_link_cmd have unquoted `*' in case
statements for these architectures. Be sure to quote them
with a sed expression before passing to eval.
Reported by Tim Mooney <address@hidden>
2001-07-09 Gary V. Vaughan <address@hidden>
* README-alpha: s/configure.in/configure.ac.
* configure.ac: Bumped version to 1.4c.
GNU libtool 1.4b was released.
* configure.ac: Bumped version to 1.4b.
* NEWS: updated.
* config.guess, config.sub, texinfo.tex: Synchronised from
ftp.gnu.org.
2001-07-09 Robert Boehne <address@hidden>
From Michael Elizabeth Chastain <address@hidden>:
* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Set max_cmd_len
to a maximum of 512Kb, as it seems some HPUX 11.0 systems
have trouble with 1MB.
2001-07-09 Gary V. Vaughan <address@hidden>
* README-alpha: Upgrade distribution instructions to include
canonical location of texinfo.tex.
2001-07-09 Timothy Wall <address@hidden>
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Don't disable shlibs
on AIX5/IA64 with GNU ld. Keep gnu defaults if using gnu tools
on AIX5/IA64.
2001-07-09 Robert Boehne <address@hidden>
* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Set max_cmd_len
to -1 on hurd, it has no command line argument limits.
* ltmain.in Handle max_cmd_len=-1 for systems that don't have
command line argument limits.
2001-07-05 Gary V. Vaughan <address@hidden>
* libtool.m4 (_LT_AC_LANG_C_CONFIG): Revert to 1.3.x
sematics, and always build static libs when the host machine
cannot build shared libs. Even if static libs were explicitly
disabled.
2001-07-02 Gary V. Vaughan <address@hidden>
Cleanup of libltdl:
* ltdl.c (lt_dladderror): Don't use `index' as a variable name,
since it is a function on BSD based boxes.
(lt_dlseterror): Ditto.
(lt_dlexit): Remove unused errormsg declaration.
(foreach_dirinpath): Make sure filename is initialised.
(find_handle): Return NULL for a failed search.
(foreachfile_callback): Don't reuse data2 symbol from prototype
in func declaration to prevent symbol shadowing.
* ltdl.h (lt_dlmutex_seterror): Don't use `error' as a parameter
name, since it is a function on glibc boxes.
* libtoolize.in: Display --version in the same format as
autoconf and automake.
* ltmain.in: Ditto.
2001-06-30 Gary V. Vaughan <address@hidden>
Merge test improvements from multi-language-branch:
* tests/defs: Find and set the value of CC probed by libtool.m4
* tests/link-2.test: Use a .lo wrapper script, and the value of
CC set by defs instead of hardcoding gcc.
* tests/link.test: Use the value of CC set by defs instead of
hardcoding gcc.
* tests/quote.test: Ditto.
* tests/suffix.test: Ditto.
* libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC) [aix*]: Always set
lt_prog_compiler_wl to `-Wl'.
Reported by Albert Chin-A-Young <address@hidden>
* ltdl.m4 (AC_LTDL_DLLIB) [sco3.2*]: When searching for a dlopen
implementation, and adding `-ldl' has failed, try linking a call
to dlopen, #including dlfcn.h, and without -ldl. On sco3.2 the
header files redefines the interface symbols to point at the
implementation symbols in libc.
Reported by "Golubev I. N." <address@hidden>
2001-06-29 Tim Van Holder <address@hidden>
General cleanup of autoconf-2.50 upgrade:
* configure.ac: Mark as needing autoconf-mode in
emacs. Pass arguments to AC_INIT.
* cdemo/configure.ac: Ditto.
* demo/configure.ac: Ditto.
* depdemo/configure.ac: Ditto.
* libtldl/configure.ac: Ditto.
* mdemo/configure.ac: Ditto.
* pdemo/configure.ac: Ditto.
* tagdemo/configure.ac: Ditto.
* ltdl.m4: Mark as needing autoconf-mode in
emacs.
* libtool.m4: Mark as needing autoconf-mode in
emacs. Don't add () to AS_MESSAGE_LOG_FD.
* libltdl/configure.ac: Use config-h.in as
template for config.h.
* tagdemo/configure.ac: Drop the AC_DIAGNOSTIC. Move
AC_LANG([C++]) after the OBJEXT/EXEEXT check.
2001-06-29 Gary V. Vaughan <address@hidden>
From Tim Van Holder <address@hidden>
* tests/suffix.test: Typo in 2nd for loop.
From Tim Van Holder <address@hidden>
* libltdl/Makefile.am (OBJECTS): This was an implicit variable.
instead state the list of object variables explicitly.
From Bruno Haible <address@hidden>
* libtool.m4: undefine the m4 builtin `symbols', so that the
string `symbols' can be used in the rest of the code without
causing errors with autoconf-2.13.
From "Golubev I. N." <address@hidden>
* tests/Makefile.am (CPPLAGS): Typo. s/CPPLAGS/CPPFLAGS.
* mdemo/Makefile,am (foo1_la_LIBADD): Add libsub.la, since foo1
does use symbols from libsub.la -- only platforms that allow
undefined symbols in libraries were able to cope with this
previously.
Reported by Robert Collins <address@hidden>
From "Golubev I. N." <address@hidden>
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [sco3.2v5*]: Needs
-wl,-Bexport to make self dlopen work.
2001-06-28 Gary V. Vaughan <address@hidden>
From Alexander Bluhm <address@hidden>
* libltdl/ltdl.c (lt_dlopen): Fix bad memory initialisation
assumptions.
* libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE) [HPUX]: Define
lt_cv_sys_global_symbol_to_c_name_address to be a sed expression
for mangling the output of the symbol pipe into a brace delimited
C declaration of symbol name and address.
* ltmain.in: Use it to generate the fooS.c symbol name
Reported by Albert Chin-A-Young <address@hidden>
2001-06-28 Tim Van Holder <address@hidden>, Gary V. Vaughan <address@hidden>
* bootstrap: Use cp instead of ln -s, for systems without
symlinks. Reorder the statements to avoid repetition outside
the loop.
2001-06-28 Paolo Bonzini <address@hidden>, Gary V. Vaughan <address@hidden>
Libtool now builds with the help of Autoconf-2.50!
* configure.ac (AC_PREREQ): Require Autoconf-2.50 or newer.
(AC_PROG_CPP, AC_EXEEXT, AC_OBJEXT): Removed. Autoconf-2.50
doesn't have the AC_REQUIRE bug that required these to be called
explicitly from here. Autoconf-2.50 uses this file instead of...
* configure.in: ...this, which is now deleted.
* cdemo/configure.ac, cdemo/configure.in: Ditto.
* demo/configure.ac, demo/configure.in: Ditto.
* depdemo/configure.ac, depdemo/configure.in: Ditto.
* libltdl/configure.ac, libltdl/configure.in: Ditto.
* mdemo/configure.ac, mdemo/configure.in: Ditto.
* pdemo/configure.ac, pdemo/configure.in: Ditto.
* tagdemo/configure.ac, tagdemo/configure.in: Ditto.
* libltdl/acconfig.h: Deleted.
* Makefile.am (libtool): libtool now depends on configure.ac.
* libtool.m4 (_LT_AC_LOCK): Use 2.50's AC_LANG_PUSH/AC_LANG_POP
instead of 2.13's AC_LANG_SAVE/AC_LANG_RESTORE.
(AC_LIBTOOL_LANG_C_CONFIG): Ditto.
(AC_LIBTOOL_LANG_CXX_CONFIG): Ditto.
* libtoolize.in: Use $configure_ac, instead of hardcoding
configure.in.
2001-06-28 Tim Van Holder <address@hidden>
* pdemo/Makefile.am: Use '=' instead of '+=' to shut up
automake.
2001-06-27 Gary V. Vaughan <address@hidden>
From address@hidden:
* NEWS: Updated.
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [openbsd]: Improved
support for various openbsd platforms.
(AC_LIBTOOL_PROG_LD_SHLIBS): Ditto.
* ltmain.in: Ditto,
2001-06-26 Gary V. Vaughan <address@hidden>
* NEWS: Updated.
* libltdl/ltdl,c (LT_DLMUTEX_LOCK): Renamed from MUTEX_LOCK to
avoid potential namespace clash.
(LT_DLMUTEX_UNLOCK, LT_DLMUTEX_SETERROR, LT_DLMUTEX_GETERROR):
Ditto.
(lt_dlmutex_lock_func): Renamed from mutex_lock to avoid a
namespace clash of NCR MP-RAS.
(lt_dlmutex_unlock_func, lt_dlmutex_seterror_func,
lt_dlmutex_geterror_func): Ditto.
Reported by Edouard G. Parmelan <address@hidden>
* libltdl/ltdl.c (LT_DLSTRLEN): Call strlen only if the argument
is non-NULL and non-zero in length. Changed all calls to strlen
appropriately.
* libltdl/ltdl.c: Prototype all static functions.
* ltdl.m4: Bump serial number to 3.
(AC_LIB_LTDL): Require AC_HEADER_DIRENT for ltdl.c.
* libltdl/ltdl.h (lt_dlforeachfile): Prototype for new function.
* libltdl/ltdl.c: Include an appropriate header for the
opendir/dirent api.
(foreach_dirinpath): Visit each file in a list of directories.
(find_file_callback): Factor out the core of find_file() to make
use of foreach_dirinpath().
(find_file): Use it!
(find_handle_callback, find_handle): Ditto.
(lt_dlforeachfile): New function to find files in a searchpath.,,
(foreachfile_callback): ...using this callback.
* doc/libtool.texi (Libltdl interface): Document new
lt_dlforeachfile api call.
2001-06-25 Gary V. Vaughan <address@hidden>
* THANKS: Added Albert Chin-A-Young.
* libtool.m4 (IFS): When IFS is changed to split a string for
examination in a loop, restore it inside the loop as well as
outside incase IFS is needed by commands in that loop.
Reported by Pavel Roskin <address@hidden>
2001-06-25 Albert Chin-A-Young <address@hidden>
* libtool.m4: Prefer shl_load to dlopen on HP-UX because dlopen
won't work properly without a patch.
2001-06-25 Daniel Harvey <address@hidden>
* libtool.m4 (ltdll_cmds): [$]0 doesn't appear to translate through
the script correctly, change to $''0
2001-06-25 Maciej W. Rozycki <address@hidden>
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use pass_all for
mips-*-linux* and mipsel-*-linux*.
2001-06-24 Andreas Schwab <address@hidden>
* libtool.m4 (AC_LIBTOOL_SETUP): Remove failed try to
transform linux to linux-gnu in $host.
(AC_LIBTOOL_SYS_DYNAMIC_LINKER): Match $host_os against
linux*, not linux-gnu*.
(AC_DEPLIBS_CHECK_METHOD): Likewise.
2001-06-24 Gary V. Vaughan <address@hidden>
* libtool.m4 (_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR): Set
PATH_SEPARATOR appropriately if it is not set already,
(_LT_AC_TAGCONFIG): Use it.
(AC_ENABLE_SHARED): Ditto.
(AC_ENABLE_STATIC): Ditto.
(AC_ENABLE_FAST_INSTALL): Ditto.
(AC_PATH_TOOL_PREFIX): Ditto.
(AC_PATH_MAGIC): Ditto.
(AC_PATH_PROG_NM): Ditto.
From Tim Van Holder <address@hidden>:
* libtool.m4: Use the canonical absolute path test
([\\/]* | ?:[\\/]) and $PATH_SEPARATOR wherever
appropriate.
(AC_LIBTOOL_PROG_CC_PIC): Properly recognize DJGPP as a
platform that doesn't support shared libraries.
(AC_LIBTOOL_SYS_MAX_CMD_LEN): Avoid this test on DJGPP; use a
fixed value (12K) instead.
(AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): Don't forget $ac_exeext
when testing for link success.
* configure.in (AM_INIT_AUTOMAKE): Bumped version to 1.4a.
Complete the new configure time tags creation facility based on
the ltcf-*.sh and ltconfig.in files from multi-language-branch:
* libtool.m4: More refactoring and reformatting.
(_LT_AC_LANG_GCJ_CONFIG): Merged ltcf-gcj.sh from
multi-language-branch.
(_LT_AC_LANG_CXX_CONFIG): Merged ltcf-cxx.sh from
multi-language-branch.
* configure.in (AC_PROG_CXX, LT_AC_PROG_GCJ): Compiler checks must
be done before AC_PROG_LIBTOOL which appends tags based on their
results.
2001-06-12 Robert Boehne <address@hidden>
* docs/libtool.texi: Updated the libltdl interface documentation
to bring it up to date.
2001-06-06 Gary V. Vaughan <address@hidden>
* demo/Makefile.am (objdir): Use `libtool --config' for
extracting configuration values, since a given value may
be present in each tag.
(hc-libpath): Ditto.
(hc-minusL): Ditto.
* libtool.m4 (_LT_AC_TAGCONFIG): Add tagged configurations from
the --with-tags option.
(_LT_AC_LTCONFIG_HACK): Factored out into separate configuration
macros -- The interdependencies and running order are still
immutable, and need a lot of work to fix.
(AC_LIBTOOL_CONFIG): Taken from the previous incarnation of
_LT_AC_LTCONFIG_HACK -- this macro is used both to create the
primary (C language) libtool configuration from
_LT_AC_LTCONFIG_HACK and also to append tagged configurations from
_LT_AC_TAGCONFIG.
* NEWS: Merged from multi-language-branch.
2001-06-06 Robert Boehne <address@hidden>
* bootstrap: Added tagdemo and pdemo tests from
multi-language-branch.
* configure.in: Added pdemo and tagdemo to CONF_SUBDIRS
and merged references to CXX and GCJ from multi-language-branch.
* pdemo: Added test directory from multi-language-branch.
* tagdemo: Added test directory from multi-language-branch.
* tests/Makefile.am: Merged additional tests from
multi-language-branch.
* tests/pdemo-*.test: ditto.
* tests/tagdemo-*.test: ditto.
2001-05-30 Gary V. Vaughan <address@hidden>
* libtool.m4: Merged ltconfig.in from multi-language-branch.
2001-05-28 Gary V. Vaughan <address@hidden>
* libtool.m4: Reformatting for consistency, and some refactoring
in preparation for ltcf-*.sh merge.
2001-05-27 Gary V. Vaughan <address@hidden>
* ltmain.in: Merged from multi-language-branch.
* libtool.m4: Merged from multi-language-branch.
* ChangeLog: Started afresh. Old ChangeLog history moved to...
* ChangeLog.1: ...here.
2000-06-04 Mark Mitchell <address@hidden>
* ltcf-c.sh (archive_cmds, archive_expsym_cmds) [solaris,
with_gcc]: Use `gcc -shared' to build a shared library.
2001-06-04 John David Anglin <address@hidden>
* ltcf-c.sh (archive_cmd) [hpux, with_gcc]: Use gcc to link shared
archives.
2001-05-28 Simon Patarin <address@hidden>
* ltcf-cxx.sh (osf3/osf4/osf5): Support creation of C++ shared
libraries when using g++ with native linker.
2001-05-28 Albert Chin <address@hidden>
* ltconfig.in (version_type, soname_spec) [aix4* | aix5*]: Use
linux-style versioning, and remove trailing .o from soname_spec.
2001-05-22 Alexandre Oliva <address@hidden>
* ltcf-cxx.sh (allow_undefined_flag, no_undefined_flag)
[aix4*|aix5*]: Prepend blank.
2001-05-20 Alexandre Oliva <address@hidden>
* configure.in: Reverted to 1.4, to avoid confusion with MLB.
Mainline is the release snapshot, except for the ChangeLog version
number, until the multi-language branch is merged into it.
* ltconfig.in: Fix sh.test regression introduced in previous patch.
* ltconfig.in (lt_cv_sys_max_cmd_len): Improve test to work better
in case of non-built-in echo. Set bounds correctly.
* ltcf-cxx.sh (allow_undefined_flag) [aix4* | aix5*]: Fix quote
error.
* ltmain.in (exec_cmd): New variable. Don't exec programs within
the big `case'; set the variable instead, and exec the cmd
afterwards, so that the shell gets a chance to clean up here-doc
files.
* NEWS: Update.
2001-05-16 Alan Modra <address@hidden>
* libtool.m4 (lt_cv_deplibs_check_method): pass_all for hppa*-linux.
2001-05-03 Andreas Jaeger <address@hidden>, Andreas Schwab <address@hidden>
* ltmain.in (relink_command): Arrange for wrapper script to save
output to a variable and display it only if relinking fails.
2001-04-25 Gary V. Vaughan <address@hidden>
* configure.in: bumped version to 1.4a.
GNU libtool 1.4 was released.
* configure.in: Bumped version to 1.4.
* config.sub, config.guess: Synchronised from ftp.gnu.org.
* NEWS: updated.
2001-04-24 Peter Eisentraut <address@hidden>
* libtool.m4: Support $host_os as /sysv5uw7*/ from newer
config.guess in addition to older /unixware*/. Use compiler
driver, not linker, for linking shared libraries.
2001-04-24 Gary V. Vaughan <address@hidden>
* libtool.m4, ltmain.in, libltdl/configure.in,
tests/quote.test: Remove stale references to ltconfig.
* ltdl.m4 (AC_C_INLINE): No longer required.
* libltdl/ltdl.c (strdup, strcmp, strchr, strrchr, memcpy, trim,
free_vars): Revoke inline keyword from declarations. `static
inline' is not very portable, and in addition Unixware 7.1.1's
compiler says you can't access static variables from inline
functions.
Reported by Peter Eisentraut <address@hidden>
2001-04-24 Albert Chin-A-Young <address@hidden>
* libtool.m4: Handle case where /bin/nm -p outputs multiple
symbol types (like under HP-UX 11.00).
2001-04-24 Thomas Tanner <address@hidden>
* TODO: describe problems with libltdl
* ltmain.in (ILD): tidy up, add comments, remove dead code,
merge duplicate code
* ltmain.in (ILD): don't touch newdependency_libs after scan or
dlopen pass
* ltmain.in (ILD): don't dlpreopen dependency_libs of a dlopened
module (remove absolutely wrong quick hack)
* ltmain.in (ILD): remove wrong comments about duplicate removal
* ltmain.in (ILD): build a static-only module if it has
static libraries in its dependencies (so that libltdl can
safely load dependency_libs)
* ltmain.in (argument parsing): prefix comparsions of -l args with X,
replace -lc with `-framework System' _after_ the ILD passes
* ltmain.in (argument parsing): support dl[pre]open
for both .o and .lo files
* ltmain.in (deplibs_check): use portable test syntax
* ltmain.in (help): document -prefer-[non-]pic flags
* ltmain.in: improve readablity by adding some comments,
rename uninst_* to notinst_* (more adequate name)
2001-04-24 Gary V. Vaughan <address@hidden>
* doc/PLATFORMS: More updates from subscribers to
address@hidden
From Tim Mooney <address@hidden>
* tests/Makefile.am (TESTS_ENVIRONMENT): Make sure the *.test
scripts get the same make that was used in the top level
directory.
2001-04-23 Gary V. Vaughan <address@hidden>
* doc/PLATFORMS: Updated with more platforms successfully
tested by members of address@hidden
2001-04-23 Peter Eisentraut <address@hidden>
* doc/PLATFORMS: With this patch, freebsd4.3 passes the test
suite.
* libltdl/ltdl.c (lt_dlexit): Quit loop if only resident modules
are left.
2001-04-23 Gary V. Vaughan <address@hidden>
* doc/PLATFORMS: With this patch, my Solaris boxes now pass the
test suite, Yay!
From Albert Chin-A-Young <address@hidden>
* ltmain.in: `test -L' is not portable, and infact breaks uninstall
mode on Solaris. Fallback to `test -h' and finally `test -f',
but be careful not to let the failure status cause libtool to
stop.
From Simon Spero <address@hidden>
* ltdl.m4 (AC_LTDL_DLSYM_USCORE): Add $LIBADD_DL while
checking for dlsym _.
From Simon Spero <address@hidden>
* libtool.m4 (lt_cv_deplibs_check_method) [darwin]: Set it!
* TODO: Make a note to undo this later.
From Christoph Pfisterer <address@hidden>
* libtool.m4: Use $() execution substitution quotation to work
around zsh builtin echo \ escape removal.
2001-04-22 Peter Eisentraut <address@hidden>
* bootstrap: Allow overriding the location aclocal, automake,
autoconf, autoheader from the environment.
* demo/Makefile.am: Automake 1.4e does not allow `+=' assignments
if the variable was not set with `=' earlier. `+=' was not useful
here anyway.
2001-04-22 Gary V. Vaughan <address@hidden>
* ltdl.m4 (AC_CHECK_HEADERS): UW7 has sys/dl.h, so we must
check for that here.
* libltdl/ltdl.c (HAVE_SYS_DL_H): Include it if necessary for
the dlopen loader.
Reported by Matthew Schalit <address@hidden>
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use pass_all for
various releases of UnixWare and OpenServer that support it.
Reported by Matthew Schalit <address@hidden>
* doc/PLATFORMS: Updated with various platforms successfully
tested by members of address@hidden
2001-04-21 Gary V. Vaughan <address@hidden>
* TODO: propose pkg-config merge.
2001-04-21 Nick Hudson <address@hidden>
* ltmain.in: Correct an error in yesterday's patch.
2001-04-20 Nick Hudson <address@hidden>
* libtool.m4: Improve NetBSD support.
* ltmain.in: ditto.
2001-04-19 Dan McNichol <address@hidden>
* libtool.m4: Build standard shared libraries on AIX POWER
more like AIX does, with a shared object archived into lib<xxx>.a.
On AIX -bexpall flag does strange things... Don't use it.
Fix quotes around -berok flag. Add support for AIX 5.
Add support for run time linking on AIX POWER. (should work
on AIX 4.2 and up). Turn this feature on by adding -brtl flag
to LD_FLAGS. Add support for AIX on IA64. Note: AIX on IA64
uses a SYSV type linker. Add a comment telling what to do if the
TOC starts getting too large on AIX.
* NEWS: mention aix5 support.
2001-04-18 Alexandre Oliva <address@hidden>
* TODO: Add -L- flag.
2001-04-11 Alexandre Oliva <address@hidden>
* libtool.m4 (no_undefined_flag) [Solaris ld]: Change to -zdefs.
2001-04-11 Ossama Othman <address@hidden>
* AUTHORS: Added myself to the list of maintainers.
2001-04-08 Gary V. Vaughan <address@hidden>
* libtool.m4 (hardcode_libdir_flag_spec, osf4/osf5): Use ${wl}
to pass -rpath when compiling with gcc.
Reported by Tim Mooney <address@hidden>
* libltdl/ltdl.c (sys_shl_open): Cache a handle for the `self'
module, since HPUX adds module symbols into the `self' pool if
it is opened later. Return the cached pointer if the caller
subsequently tries to open `self'.
(sys_shl_sym): Diagnose NULL modules.
From Peter Eisentraut <address@hidden>
* ltmain.in (clean,uninstall): test -e is not portable. Well,
neither is -L, but I'm hoping that redirecting error messages
to /dev/null and relying on non-zero exit status will work okay
on the few hosts that don't support -L.
2001-04-08 Nick Hudson <address@hidden>
* ltmain.in: Improve check for valid -version-info parameter.
2001-04-08 Gary V. Vaughan <address@hidden>
From Nick Hudson <address@hidden>
* doc/Makefile.am (libtool_TEXINFOS): Add fdl.texi so that it
is included in the distribution.
2001-04-07 Peter Eisentraut <address@hidden>
* ltmain.in (clean,uninstall): Do not error if the file doesn't
exist and 'rm -f' was used. Exit with status 1 on error.
2001-04-06 Nick Hudson <address@hidden>
* ltmain.in: Implement a new deplibs_check_method called
match_pattern that does pattern matching on filenames...
* libtool.m4: ...use it with NetBSD
2001-04-05 Gary V. Vaughan <address@hidden>
* doc/libtool.texi (Multiple dependencies): A note about the
problems I've reintroduced by reverting the my patch of 2001-03-31.
From Edward Lee <address@hidden>
* libtool.m4: Typos.
* tests/Makefile.am (TESTS): Delete references to depdemo-dups.test.
* tests/depdemo-dups.test: Removed, as part of the patch
reversion below.
* ltmain.in: Revert my change from 2001-03-31. Although it
was technically correct, it opens a whole can of worms we don't
want to deal with right now.
From Ahmed Masud <address@hidden>
* libltdl/ltdl.c (sys_shl_open): Return a NULL module handle
for self opening.
(sys_shl_close): Be careful not to close a NULL module handle.
(sys_shl_sym): Allow shl_findsym() to open NULL modules, but
discard the modified module address it returns.
* libltdl/ltdl.c (lt_dlopen): When reading the .la file,
reallocate the line buffer size if the line overflows the
original buffer.
Reported by Nick Hudson <address@hidden>
* NEWS (1.3d) Removed bogus ltconfig reference.
2001-04-03 Gary V. Vaughan <address@hidden>
* libtool.m4 (_LT_AC_LTCONFIG_HACK): Remove the spurious
`dnl' from the help text of --with-pic.
Reported by stefan <address@hidden>
2001-04-02 Gary V. Vaughan <address@hidden>
* configure.in: bumped version to 1.3e.
GNU libtool 1.3d was released.
* NEWS: inserted todays date.
2001-04-01 Christoph Pfisterer <address@hidden>
* 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-03-31 Gary V. Vaughan <address@hidden>
* 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-29 Edward M. Lee <address@hidden>
* libtoolize.in: Check configure.ac and prefer configure.ac to
configure.in.
* libtoolize.in: change recommendation from AM_PROG_LIBTOOL to
AC_PROG_LIBTOOL.
* 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.
* libltdl/ltdl.c: Use windows paths while calling LoadLibrary.
2001-03-16 Albert Chin <address@hidden>
* libtool.m4 (save_CPPFLAGS): Fix typo.
2001-03-13 Alexandre Oliva <address@hidden>
* libtool.m4 (lt_cv_compiler_c_o): Cache it.
(lt_cv_compiler_o_lo): Likewise.
2001-03-09 Peter Eisentraut <address@hidden>
* ltmain.in (clean): Automatically remove $objdir (usually '.libs').
2001-03-08 Gary V. Vaughan <address@hidden>
* ltconfig.in (library_names_spec): Undo latin-1 spaces I pasted
in yesterday by mistake.
2001-03-07 Gary V. Vaughan <address@hidden>
From Tor Lillqvist <address@hidden>
* 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.
* libtool.m4 (library_names_spec): Using m4 quotes correctly this
time around!
From Tor Lillqvist <address@hidden>
* libtool.m4 (library_names_spec): Use an appropriate filename
prefix for dlls -- lib for mingw; cyg for cygwin; pw for pw32.
2001-03-06 Alexandre Oliva <address@hidden>
* libtool.m4 (can_build_shared) [AIX 4.[01], GCC]: GCC up to
2.96 can't build shared libraries reliably. Disable them.
* ltmain.in: When dropping dependencies of a -no-undefined
library, give up on building a shared library.
2001-03-05 Akim Demaille <address@hidden>
* ltmain.sh: Don't quote the argument of case/esac and
assignments.
* libtool.m4: Likewise.
2001-03-03 Markus F.X.J. Oberhumer <address@hidden>,
Alexandre Oliva <address@hidden>
* libtool.m4: Added explicit return type to all C functions.
2001-02-22 Gary Vaughan <address@hidden>
* 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-20 Gary Vaughan <address@hidden>
* libltdl/ltdl.c (lt_dlcaller_register): dont set an unsigned
type to a negative number.
Reported by Guenter Millahn <address@hidden>
2001-02-05 Gary V. Vaughan <address@hidden>
From Nick Hudson <address@hidden>
* ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): netbsd* is able to
automatically load module deplibs without assistance from
libltdl.
2001-02-02 Gary V. Vaughan <address@hidden>
* libltdl/ltdl.c (load_deplibs): Make sure the depcount is reset,
even when deplibs are not used because of the patch below.
* 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-01-31 Gary V. Vaughan <address@hidden>
* TODO: Updated.
* 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-30 Robert Boehne <address@hidden>
* AUTHORS: added myself to the list of maintainers.
2001-01-28 Alexandre Oliva <address@hidden>
* libltdl/Makefile.am (CLEANFILES): Clean conditionally-built
libraries.
2001-01-27 Alexandre Oliva <address@hidden>
* libtool.m4 (ld_shlibs) [aix4*]: Disable on unknown CPU types.
2001-01-07 Gary V. Vaughan <address@hidden>
* 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-05 Gary V. Vaughan <address@hidden>
* 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-04 Gary V. Vaughan <address@hidden>
* libltdl/ltdl.h: formatting change.
Continued in ChangeLog.2000
Index: ChangeLog.2002
from Benjamin Reed <address@hidden>
* ltmain.in [darwin]: disable lazy linking, needed
to resolve C++ global constructor issues
2002-12-30 Ralph Schleicher <address@hidden>
Rework by Robert Boehne <address@hidden>
* ltmain.in: New link option -shrext.
* libtool.m4 (AC_LIBTOOL_CONFIG): New libtool variable shrext.
(AC_LIBTOOL_SYS_DYNAMIC_LINKER): Replace all hard coded shared
library file name extensions in library_names_spec and
soname_spec with $shrext.
* doc/libtool.texi (Link mode): Document it.
2002-12-30 Charles Wilson <address@hidden>
* libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG): modify
$archive_expsym_cmds to restore support for using
.def files via the -export-symbols switch.
(AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME]): in both the [CXX]
branch and the default branch, improve $export_symbols_cmds
so that DATA symbols are properly labelled. In the default
branch, duplicate the _CXX_CONFIG correction for
$archive_expsym_cmds.
2002-12-30 Charles Wilson <address@hidden>
* libtool.m4 (AC_LIBTOOL_RC): AC_PROG_RC doesn't exist --
but we do AC_DEFUN something called LT_AC_PROG_RC.
Call that instead.
2002-12-30 Robert Boehne <address@hidden>
* libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG): Copy the section
for Darwin from AC_LIBTOOL_PROG_LD_SHLIBS so that the CXX
tag doesn't use the g++ defaults for the OS X compiler.
2002-12-30 Albert Chin-A-Young <address@hidden>
* libtool.m4: Sync methods used to detect GNU ld.
2002-12-20 Robert Boehne <address@hidden>
* libtool.m4 (AC_LIBTOOL_COMPILER_OPTION,
AC_LIBTOOL_PROG_CC_C_O): Do not escape } or ? in sed argument.
2002-12-19 Robert Boehne <address@hidden>
* ltmain.in: Use the sed program found by LT_AC_PROG_SED
so that relink commands don't get truncated.
2002-12-18 Robert Boehne <address@hidden>
* libtool.m4: Move AC_REQUIRE([LT_AC_PROG_SED]) to AC_PROG_LD
so it is invoked earlier.
2002-12-11 Allan Sandfeld Jensen <address@hidden>
* libtool.m4: Add support for Intel icc compiler for Linux.
2002-12-11 Robert Boehne <address@hidden>
* ltmain.in: Revert the version +1 change for IRIX, it could
cause compatibility problems.
2002-11-22 Christian Cornelssen <address@hidden>
* libtool.m4 (AC_LIBTOOL_COMPILER_OPTION,
AC_LIBTOOL_PROG_CC_C_O): Changed method for compilation with
custom flags to be language-independent. Thereby removed
CFLAGS/GCJFLAGS mixup bug. Imitate Autoconf-style logging.
Log entries no longer discarded by compilation failures.
(_LT_AC_LANG_C_CONFIG, _LT_AC_LANG_CXX_CONFIG,
_LT_AC_LANG_GCJ_CONFIG): Tuned settings of
lt_simple_compile_test_code and lt_simple_link_test_code
to avoid warnings that could break some option detections.
(AC_LIBTOOL_PROG_COMPILER_NO_RTTI): Removed
redundant "-c conftest.$ac_ext" in the argument to
AC_LIBTOOL_COMPILER_OPTION.
(AC_LIBTOOL_PROG_LD_SHLIBS): Replaced C-specific conftest
source code with $lt_simple_compile_test_code, to support
the "-lc" test with other languages.
2002-11-19 Paul Eggert <address@hidden>
Don't assume that egrep and fgrep exist. POSIX 1003.1-2001 no
longer requires them; you're supposed to use grep -E and grep -F
instead. Also, don't assume that "test -a" works, since POSIX
doesn't require it.
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER, _LT_AC_LANG_C_CONFIG,
_LT_AC_LANG_CXX_CONFIG, AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE,
AC_LIBTOOL_PROG_LD_SHLIBS):
egrep -> grep, when that makes no difference.
* libtoolize.in: Likewise.
* ltdl.m4 (AC_LTDL_SYMBOL_USCORE): Likewise.
* ltmain.in: Likewise.
* demo/Makefile.am (hc-direct): Likewise.
* pdemo/Makefile.am (hc-direct): Likewise.
* tests/build-relink.test, tests/build-relink2.test,
tests/cdemo-conf.test, tests/cdemo-shared.test,
tests/cdemo-static.test, tests/demo-conf.test,
tests/demo-nofast.test, tests/demo-shared.test,
tests/demo-static.test, tests/depdemo-conf.test,
tests/depdemo-nofast.test, tests/depdemo-shared.test,
tests/depdemo-static.test, tests/hardcode.test,
tests/mdemo-conf.test, tests/mdemo-shared.test,
tests/mdemo-static.test, tests/pdemo-conf.test,
tests/tagdemo-conf.test, tests/tagdemo-shared.test,
tests/tagdemo-static.test: Likewise.
* libtool.m4 (AC_PROG_EGREP):
New macro, defined if Autoconf doesn't define.
(AC_PATH_TOOL_PREFIX, AC_PROG_LD_GNU): Use it.
(AC_PROG_LD, AC_PROG_NM, AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE):
Use shell pattern matching rather than egrep.
(AC_LIBTOOL_CONFIG): Set lt_EGREP and EGREP.
* demo/Makefile.am (SET_HARDCODE_FLAGS): Use sed instead of egrep.
* pdemo/Makefile.am (SET_HARDCODE_FLAGS): Likewise.
* tests/defs (EGREP, FGREP): New vars.
* ltmain.in: egrep -> $EGREP
* tests/assign.test, tests/demo-exec.test, tests/demo-inst.test,
tests/pdemo-exec.test, tests/pdemo-inst.test, tests/sh.test:
Likewise.
* tests/hardcode.test: fgrep -> $FGREP
* tests/f77demo-exec.test: test -a -> test &&
2002-11-18 Bob Friesenhahn <address@hidden>
* ltmain.in: When using gcc, pass -mfoo to the linker
via $compiler_flags in order to pass architecture information to
the linker (e.g. 32 vs 64-bit). This may also be accomplished via
-Wl,-mfoo but this is not reliable with gcc because gcc may use
-mfoo to select a different linker, different libraries, etc, while
-Wl,-mfoo simply passes -mfoo to the linker. If there is a better
solution, please let me know what it is.
2002-11-18 Bob Friesenhahn <address@hidden>
* tests/Makefile.am: Conditional assignment of FFLAGS = @FFLAGS@
does not appear to be necessary given that Automake makes this
assignment by default. The condition is removed since Automake
1.7.1 complains about it.
2002-11-18 Jakub Jelinek <address@hidden>
* libtool.m4: Support linking of 64-bit libraries on
sparc{,v[789]}-*linux*, s390*-*linux*, ppc*-*linux*
GNU/Linux systems when the platform default is to build
32-bit libraries.
2002-11-18 Andreas Jaeger <address@hidden>, Bo Thorsen <address@hidden>
* libtool.m4: Support linking of 32-bit libraries with ld
on the x86-64, ppc64, s390x and sparc64 GNU/Linux systems.
2002-11-18 Akim Demaille <address@hidden>
* ltmain.in: Do not change the PATH in the wrappers: let them
launch the real binary using its path.
2002-11-18 Kevin Ryde <address@hidden>
* doc/libtool.texi (Library tips): Note array dimensions.
2002-11-18 Bob Friesenhahn <address@hidden>
* tests/*.test: MinGW's MSYS treats files under /dev
specially. This causes 'test -r /dev/null/config/site' to
improperly report success, causing configure to fail. Change the
CONFIG_SITE definition from "/dev/null/config/site" to
"/nonexistent" to avoid this problem.
2002-11-18 Charles Wilson <address@hidden>
* libtool.m4 (_LT_AC_LOCK): remove support for ancient
versions of mingw and cygwin.
(AC_LIBTOOL_POSTDEP_PREDEP): new function.
moved the "find hidden library dependencies" code here
from AC_LIBTOOL_LANG_CXX_CONFIG. Attempted to make it
multi-tag compatible, but currently only CXX calls it.
(AC_LIBTOOL_LANG_CXX_CONFIG): set
enable_shared_with_satic_runtimes to 'no' by default
Set it to 'yes' for cygwin, mingw, pw32. Replace
"find hidden library dependencies" code with a call
to the new function AC_LIBTOOL_POSTDEP_PREDEP.
Consolidate cygwin and mingw/pw32 stanzas.
(AC_LIBTOOL_LANG_F77_CONFIG): set
enable_shared_with_static_runtimes to 'no' by default
(AC_LIBTOOL_CONFIG): add
enable_shared_with_static_runtimes to the list of variables
to write into ltmain.sh; include it in the libtool script
template as allow_libtool_libs_with_static_runtimes.
(AC_LIBTOOL_PROG_LD_SHLIBS): set
enable_shared_with_static_runtimes to 'no' by default
Set it to 'yes' for cygwin, mingw, pw32.
(AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): only put cr in regexp
if the build_os is mingw, not host_os
* ltmain.in (case deplibs_check_method): for all appropriate
cases, if allow_libtool_libs_with_static_runtimes, then remove
predeps and postdeps from the list of dependencies that must
be checked for "dynamicness". For the "none" case, the
presence of compiler-generated postdeps and predeps should
not trigger "inter-library dependencies not supported" error.
(initial setup after arg processing): on cygwin/mingw, allow
compiler-generated dependent libs to be duplicated without
elimination.
(initial search loop for deplibs): if the deplib in question
is a libtool lib, then if
allow_libtool_libs_with_static_runtimes then parse the .la file.
If the .la file only has an "old_library", add the deplib
directly to the deplibs list (-lstdc++) and DON'T use the .la
file; this allows the (case deplibs_check_method) change above
to take effect.
* ltmain.in (for pass in $passes loop): remove predeps,
postdeps, and compiler_lib_search_path from dependency_libs.
2002-11-08 Robert Boehne <address@hidden>
* doc/libtool.texi: Add --mode=* to every example using libtool.
2002-11-03 Ossama Othman <address@hidden>
* ltmain.in: add support for installing into temporary
staging area (e.g. 'make install DESTDIR=...')
2002-11-03 Charles Wilson <address@hidden>
* libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG): restore setting
allow_undefined_flag=unsupported for cygwin and mingw.
(AC_LIBTOOL_PROG_LD_SHLIBS): ditto, for both "normal" gcc/ld
and for the (unmaintained?) MSVC case.
2002-11-03 Charles Wilson <address@hidden>
* doc/libtool.texi (Install mode): document new
-inst-prefix option.
2002-11-02 Robert Boehne <address@hidden>
* ltmain.in: Print a warning if the mode is not specified.
* doc/libtool.texi: Document the change that the mode must be
specified.
2002-10-30 Charles Wilson <address@hidden>
* libtool.m4 (AC_LIBTOOL_PROG_CC_C_O): use printf, not
echo. (AC_DEPLIBS_CHECK_METHOD): use new shell function
win32_libid on w32 platforms
* ltmain.in: add new section for shell functions. Add
win32_libid() shell function.
* f77demo/Makefile.am: add -no-undefined flag
2002-10-30 Rob Browning <address@hidden>
* ltdl.c (realloc): Remove custom realloc. (#define
rpl_realloc realloc) and comment out later code for custom
realloc. You can't define your own malloc unless you know
enough about the malloc in use to be able to tell how big
the src ptr is. The disabled code incorrectly used the
*destination* ptr to decide how much to copy. This
sometimes results in out-of-bound accesses which cause
segfaults. This is a quick hack for now; we may want
something cleaner later.
(tryall_dlopen_module): check to be sure (dirname_len > 0) before
testing first character against '/'.
(try_dlopen): check for feof(file) in read loop -- otherwise
infinite loop?
2002-10-25 Robert Boehne <address@hidden>
* ltmain.in (-XCClinker): New flag passes a linking option
directly to the compiler driver without appending ${wl}.
2002-10-25 Gary V. Vaughan <address@hidden>
* README-alpha: Add some release note templates for inspiration
and consistency at release time.
* Makefile.am (cvs-diff): Compress the generated diff file, ready
for upload to ftp.gnu.org.
2002-10-25 Howard Chu <address@hidden>
* ltmain.in [aix]: Be sure to deal with xlc_r, cc_r and other
compiler variants.
2002-10-25 Gary V. Vaughan <address@hidden>
* libtool.m4 (_LT_AC_FILE_IMPGEN_C): Removed. No longer used.
(_LT_AC_FILE_LTDLL_C): Ditto.
(AC_LIBTOOL_CONFIG) [cygwin, mingw, pw32, os2]: Don't call
_LT_AC_FILE_LTDLL_C or _LT_AC_FILE_IMPGEN_C.
2002-10-25 Albert Chin-A-Young <address@hidden>
* libtool.m4: When LDFLAGS="-Wl,-brtl,[other options]", the
-brtl special-case code for AIX never gets triggered because
were are being too specific about how we search for -brtl.
Use case statement to avoid this. Remove extraneous
semicolon.
* ltmain.in: Recognize the IBM xlc compiler.
2002-10-24 Andrew Suffield <address@hidden>
* libltdl/ltdl.c (lt_dlopenext): Corrected sense of "file not
found" check.
2002-10-24 Ossama Othman <address@hidden>
* ltmain.in: Support compiler names matching g++*
2002-10-23 Bob Friesenhahn <address@hidden>
* libtool.m4: Removed old Windows cruft.
* libtool.m4: Adapted pw32 to be like Cygwin/MinGW.
2002-10-23 Robert Boehne <address@hidden>
ltmain.in: Do not add 1 to the version under IRIX, it is
not necessary.
2002-10-15 Charles Wilson <address@hidden>
* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): avoid long delay on
cygwin/Win9x when computing commandline length.
(AC_LIBTOOL_SYS_DYNAMIC_LINKER): fix postinstall_cmds when
sources are in a subdirectory
* ltdl.m4 (AC_LTDL_SYSSEARCHPATH): use $PATH_SEPARATOR, not
$ac_path_separator
* configure.ac: move depdemo-specific stuff. You must configure
libtool before you can try './libtool --features'.
* mdemo-inst.test: set $PATH to include the directory in which
the modules are installed (on cygwin, DLL search path is the
$PATH)
2002-10-15 Bob Friesenhahn <address@hidden>
* ltmain.in: MinGW works identically to Cygwin.
* libtool.m4: lt_cv_sys_max_cmd_len hard-coded to 8192
* Model MinGW configuration after Cygwin configuration.
Some portions share implementation.
2002-10-15 Elizabeth Barham <address@hidden>
* libtool.m4: Pattern MinGW library naming after that
used by Cygwin except use 'lib' prefix rather than 'cyg'.
* Transfer some configuration from Cygwin with adjustments
for MinGW.
2002-10-15 Albert Chin-A-Young <address@hidden>
* libtool.m4: When a module is built for AIX, the 'lib'
prefix isn't needed, neither is the version. AIX dlopen
will honor the RPATH in a library.
2002-10-11 Christoph Egger <address@hidden>
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS, darwin): Add
-install_name to the link line only when -dynamiclib is
specified for a module. Use -bind_at_load when linking C++
shared libraries.
2002-10-04 Elizabeth Barham <address@hidden>
* libtool.m4 (AC_LIBTOOL_SETUP): GCC now checks -shared to
create a dll for Windows targets.
2002-09-24 Robert Boehne <address@hidden>
* ltmain.in: Fixed a few spelling errors.
2002-09-17 Robert Boehne <address@hidden>
* libltdl/ltdl.c: Commented out access() call that checks for a
library file's existence and permissions, as it appears to fail
in every case.
2002-09-09 Albert Chin-A-Young <address@hidden>
* libtool.m4: Custom $symcode for Tru64 UNIX to catch 'Q',
read-only constants.
2002-09-09 Rainer Orth <address@hidden>
* libtool.m4 (osf[345]): Append $major to soname_spec.
Reflect this in library_names_spec.
* ltmain.in (osf): Prefix $major with '.' for use as extension.
2002-08-28 Bob Friesenhahn <address@hidden>
* ltdl.m4 & libltdl/ltdl.c: Port fully to native Win32 API.
2002-07-31 Robert Boehne <address@hidden>
* f77demo/.cvsignore: New file, forgotten in the last commit.
2002-07-31 Eric Lindahl <address@hidden>
* libtool.m4 (AC_PROG_LIBTOOL): Added support for the new F77
Fortran support tag.
(AC_LIBTOOL_PROG_CC_C_O, _LT_AC_TAGCONFIG): Support F77 tag.
(AC_LIBTOOL_F77, _LT_AC_LANG_F77, AC_LIBTOOL_LANG_F77_CONFIG):
New macros for F77 tag Fortran support.
* configure.ac: Add support for creating the new F77 tag.
* bootstrap: Add f77demo directory to the list to be processed.
* Makefile.am: Add support for FFLAGS and FLIBS.
* tests/Makefile.am: Add new Fortran tests.
* tests/f77demo-*.test: New files.
* f77demo/configure.ac, f77demo/cprogram.c, f77demo/fooc.c
* f77demo/foof.f, f77demo/foo.h, f77demo/fprogram.f
* f77demo/Makefile.am, f77demo/README: New files.
2002-07-16 Gary V. Vaughan <address@hidden>
* libltdl/ltdl.c (tryall_dlopen): We need to catch missing file
errors early so that file_not_found() can detect what happened.
2002-06-26 Bob Friesenhahn <address@hidden>
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [mingw]: Remove
extraneous '=' character which appears in gcc 3.1
-print-search-dirs output.
Handle both upper and lower case drive letters when testing for
Windows vs POSIX style path output from -print-search-dirs
output.
2002-06-24 Robert Boehne <address@hidden>
* ltmain.in (Piecewise linking): Add a clause to skip creating
the export file until the reloadable object file(s) have been
created, then use them as input for $export_symbols_cmds.
2002-06-23 Albert Chin-A-Young <address@hidden>
* ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): Need to quote [ and ] for
Autoconf.
* ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): HP/UX needs
libltdl_cv_sys_dlopen_deplibs set to yes.
2002-06-23 Kevin Ryde <address@hidden>
* libtool.m4 (AC_LIBTOOL_SETUP, _LT_AC_LOCK): Use
AC_PROVIDE_IFELSE to test AC_LIBTOOL_WIN32_DLL and
AC_LIBTOOL_DLOPEN, necessary for autoconf 2.53.
2002-06-23 Gary V. Vaughan <address@hidden>
* libltdl/ltdl.c (argz_insert): Actually, BEFORE can be NULL
when *PARGZ_LEN is non-NULL, so the assertion to the contrary was
bogus.
Reported by Bob Friesenhahn <address@hidden>
and Albert Chin-A-Young <address@hidden>
2002-06-21 Gary V. Vaughan <address@hidden>
* libltdl/ltdl.c (foreach_dirinpath): Ensure that filename is '\0'
terminated by all code paths.
Reported by Lutz Müller <address@hidden>
2002-06-20 Gary V. Vaughan <address@hidden>
From Kevin Ryde <address@hidden>:
* doc/libtool.texi (Platform quirks): s/dependan/dependen/
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Ditto.
* TODO: Ditto.
2002-06-13 Rainer Orth <address@hidden>
* ltmain.in (irix, nonstopux): Set major before use.
2002-06-11 Daniel Kobras <address@hidden>
* libltdl/ltdl.c (try_dlopen): Don't return bogus handle to user
if tryall_dlopen() fails.
2002-06-01 Gary V. Vaughan <address@hidden>
* tests/pdemo-exec.test: Typo. s/hell-static/hell_static/
2002-05-31 Charles Wilson <address@hidden>
* NEWS: Updated.
* libtool.m4: use $NM to create the symbol list on cygwin, not
$ltdll_cmds as on mingw. For all tags, (and host=cygwin) set
allow_undefined_flag="" so that the --auto-import magic
works properly. For all tags (and host=cygiwn) set
always_export_symbols=no -- it is unnecessary thanks to
binutils' auto-export magic.
* libltdl/ltdl.c: Don't force cygwin to use the LoadLibrary
wrapper; use cygwin's builtin implementatino of dl*.
* cdemo/Makefile.am: the downside of unsetting
'allow_undefined_flag' -- we must include -no-undefined
in the _la_LDFLAGS variable.
* depdemo/l1/Makefile.am: ditto.
* depdemo/l2/Makefile.am: ditto.
* depdemo/l3/Makefile.am: ditto.
* depdemo/l4/Makefile.am: ditto.
* mdemo/Makefile.am: ditto.
* tagdemo/Makefile.am: ditto.
* demo/Makefile.am: ditto. But also, we must make special
provision to clean up the hell0 wrapper script.
* pdemo/Makefile.am: ditto -no-undefined. ditto hell0.
And use 'hell_static' instead of 'hell.static'.
* tests/pdemo-inst.test: use 'hell_static' instead
of 'hell.static'.
* tests/pdemo-exec.test: ditto.
2002-05-30 Charles Wilson <address@hidden>
* tests/build-relink2.test: look for installed libl3.la
in $prefix/lib/ as well as $prefix/lib/extra/.
2002-05-30 Gary V. Vaughan <address@hidden>
* tests/hardcode.test: Use libtool --config to collect the
variable values for the test, otherwise the tag values interfere
with a straight grep.
2002-05-30 Gary V. Vaughan <address@hidden>
Finally fix the annoying bug which always adds all tags to the
libtool script built by your project configure. Now we set the
default tags depending on whether AC_PROG_CXX et. al. are actually
called from configure.ac.
* libtool.m4 (_LT_AC_TAGCONFIG): Don't default the tagnames when
no --with-tags argument is given.
(_LT_AC_SHELL_INIT): Factored out from the AC_DIVERT_PUSH code
in...
(_LT_AC_PROG_ECHO_BACKSLASH): ...which now calls the macro
instead.
(AC_LIBTOOL_CXX): Use _LT_AC_SHELL_INIT to add CXX to the
initialisation sequence for tagnames.
(AC_LIBTOOL_GCJ): Similarly for GCJ tag.
(AC_LIBTOOL_RC): Likewise for RC tag.
2002-05-21 Jon Meredith <address@hidden>
* ltmain.in: Fix a problem on SCO OpenServer5 that caused a
failure in three depdemo-make tests. For some reason the linker
tries to find the dependent libraries using the library search
path before it has read the libraries specified with absolute
paths in the full commandline. This patch add -L's for each of
the dependent library directories so that they can be resolved.
2002-05-09 Nick Hudson <address@hidden>
* libtool.m4: Update support for NetBSD
* ltdl.m4: Make sure that libltdl_cv_func_dlopen and
libltdl_cv_lib_dl_dlopen are set and used instead of the
ac_cv_ versions. Also, use lt_cv_sys_global_symbol_pipe
instread of global_symbol_pipe. This fixes the detection of
dlopen on BSD derived plaforms and more importantly fixes
need_uscore detection.
2002-05-06 Paul Eggert <address@hidden>
* 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.
2002-05-06 Paul Eggert <address@hidden>
* 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.
2002-05-06 Loren James Rittle <address@hidden>
* ltmain.in: Detect and handle object name conflicts while
piecewise linking a static library.
2002-05-02 Dave Vasilevsky <address@hidden>
* ltmain.in: Remove convenience libraries from deplibs for Darwin.
2002-05-02 Fritz Elfert <address@hidden>
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Modify archive_expsym_cmds
to catch properly handle dll alias symbols.
2002-04-24 Kevin Ryde <address@hidden>
* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Use $build_os not $host_os.
2002-04-14 Robert Boehne <address@hidden>
* doc/libtool.texi (C++ libraries): Finally updated to reflect
Libtool's support for C++.
2002-04-14 Jean-Frederic Clere <address@hidden>
* libtool.m4: Update support for Fujistu-Siemens Computers (FSC).
* ltmain.in: Add support for EBCDIC based systems.
2002-04-07 Robert Boehne <address@hidden>
* libtool.m4 (LT_AC_PROG_SED): Refactor, removing temporary directory
and consistent use of the shell variable namespace "lt_ac_".
2002-04-02 Robert Boehne <address@hidden>
* ltmain.in: Finish the tag matching logic started yesterday and
refactor it a bit.
2002-04-01 Robert Boehne <address@hidden>
* 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.
2002-04-01 Robert Boehne <address@hidden>
* tagdemo/foo.cpp: Use C++ IO to catch problems linking to C++
runtime libraries.
* tagdemo/main.cpp: Ditto.
2002-03-16 Gary V. Vaughan <address@hidden>
* TODO: Removed obsolete comments about RMS' package system.
2002-03-14 Robert Boehne <address@hidden>
ltmain.in: Touch-up to make testsuite pass, and default tagname
to CC when it isn't explicitly set.
2002-03-14 Anthony Green <address@hidden>
* 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.
2002-03-11 Bruce Korb <address@hidden>
* ltmain.in(compile): bring a touch of order to the option processing
2002-02-09 Gary V. Vaughan <address@hidden>
* NEWS: Updated.
* THANKS: Added Rob Collins and Chuck Wilson for their cygwin
work.
From Robert Collins <address@hidden>:
* 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.
2002-02-07 Alexandre Oliva <address@hidden>
Reverted incorrect patch:
2001-10-24 H.J. Lu <address@hidden>
* 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.
2002-01-30 Robert Boehne <address@hidden>
* libtool.m4 (LT_AC_PROG_SED): Removed a mysterious newline.
2002-01-28 Robert Boehne <address@hidden>
* 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.
2002-01-10 Volker Christian <address@hidden>
* 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.
2002-01-07 Robert Boehne <address@hidden>
* 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.
Continued in ChangeLog.2001
Index: ChangeLog.0
Index: ChangeLog.1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI: 26-gary-split-changelogs-by-year.patch,
Gary V. Vaughan <=