Peter O'Gorman [Sat, 5 Feb 2005 13:59:49 +0000 (13:59 +0000)]
* ltmain.in (func_extract_archives) [darwin]: This didn't actually
work on a real fat archive, should do now.
* tests/func_extract_archives.test: remove darwin fat tests which
did not actually work.
Charles Wilson [Thu, 3 Feb 2005 15:01:21 +0000 (15:01 +0000)]
Backported from branch-2-0:
* ltmain.in (func_generate_dlsyms): addresses
in _preloaded_symbols[] cannot go into .rdata section
if symbols are DATA imported from DLL, on windows,
because runtime relocations must happen.
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS):
build exports for symbols in .rdata sections
Reid Spencer [Thu, 3 Feb 2005 12:58:07 +0000 (12:58 +0000)]
* ltmain.in (link mode) [cygwin]: Fix broken subdir path
computation, exposed by using `-dlopen self'. Fix broken sed
script exposed by additionally using `-export-symbols FILE'.
Peter O'Gorman [Thu, 3 Feb 2005 03:53:07 +0000 (03:53 +0000)]
* ltmain.in [darwin]: Don't add installed libs to temp_rpath when
building executables on darwin, or other systems which use
hardcode_automatic. It may break our wrapper scripts.
Ralf Wildenhues [Mon, 31 Jan 2005 17:32:18 +0000 (17:32 +0000)]
* libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): Unicos 9 sed rejects
empty parentheses as in 's/x()/1/'.
(AC_LIBTOOL_PROG_COMPILER_PIC) [unicos*]: wl=-Wl,.
Ralf Wildenhues [Wed, 26 Jan 2005 17:53:51 +0000 (17:53 +0000)]
* tests/Makefile.am: also re-export CPP, F77, FFLAGS, CXX,
CXXFLAGS, CXXCPP, and the value of SHELL as CONFIG_SHELL.
Reported by Heinz Salzmann <heinz.salzmann@micronas.com>.
Ralf Wildenhues [Mon, 24 Jan 2005 07:43:51 +0000 (07:43 +0000)]
* libtool.m4 (AC_LIBTOOL_CONFIG) [mingw, cygwin, pw32, os2]:
Add _LT_DECLs for host_os, build_alias, build and build_os.
host_os and build were used in a few occasions in ltmain.in
and affect above-mentioned systems, the others are added for
symmetry.
Peter O'Gorman [Sun, 16 Jan 2005 14:07:07 +0000 (14:07 +0000)]
* ltmain.in: Don't pass through compiler-like thread flags when
using $LD to do the linking. Use compiler_flags instead.
Reported by Mark_Andrews@isc.org.
Peter O'Gorman [Sun, 16 Jan 2005 12:26:54 +0000 (12:26 +0000)]
* libtool.m4 (LT_CMD_MAX_LEN) [osf]: On Tru64 there could
be a kernel panic when testing the maximum command line length
if exec_disable_arg_limit=1. Don't do the tests to figure it
out on *-osf*.
Reported by Dr. Hans Ekkehard Plesser
<hans.ekkehard.plesser@umb.no>
Ralf Wildenhues [Thu, 13 Jan 2005 17:23:39 +0000 (17:23 +0000)]
* libtoolize.in: Back out copying `install-sh' by libtoolize.
* doc/libtool.texi (Distributing): Mention that we distribute
`install-sh', but that non-Automake users will have to copy
it by themselves.
Gary V. Vaughan [Sun, 9 Jan 2005 15:27:19 +0000 (15:27 +0000)]
* m4/libtool.m4, m4/ltdl.m4: RMS says, 'I think the [license of
autoconf macro files] should be:
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is
# preserved.'.
Ralf Wildenhues [Tue, 28 Dec 2004 12:53:35 +0000 (12:53 +0000)]
* ltmain.in (func_extract_archives): Not all shells grok
`read -r' (unnecessary in this case).
Reported by Ralf Menzel <menzel@ls6.cs.uni-dortmund.de>.
Ralf Wildenhues [Tue, 28 Dec 2004 12:39:15 +0000 (12:39 +0000)]
* ltmain.in: New variable quote_scanset to work around SunOS ksh
`case' backslash-escaping bug: protect character class by variable
expansion. Reported by Alexander Kurz <alexander.kurz@qsc.de>.
Ralf Wildenhues [Mon, 20 Dec 2004 13:10:25 +0000 (13:10 +0000)]
* libtoolize.in: Install `install-sh' as well, needed for configure ..
* Makefile.am: .. install, update it.
* NEWS, doc/libtool.texi (Distributing): .. document it.
Reported by Ross Boylan <ross@biostat.ucsf.edu>.
Ralf Wildenhues [Mon, 20 Dec 2004 08:45:46 +0000 (08:45 +0000)]
* libtool.m4 [solaris] (AC_LIBTOOL_PROG_LD_SHLIBS): Use ${wl} for
whole_archive_flag_spec. Missing backport reported by Ralf Menzel
<menzel@ls6.cs.uni-dortmund.de>.
Ralf Wildenhues [Sat, 18 Dec 2004 21:45:59 +0000 (21:45 +0000)]
* libtool.m4 [linux] (AC_LIBTOOL_PROG_COMPILER_PIC): match
$cc_basename, not $CC against icc. Also, for symmetry match
icpc* and ecpc* (ia64 version of icpc).
* libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG,
AC_LIBTOOL_PROG_LD_SHLIBS): Append -G to link command-line on AIX
to honor -brtl on command-line (runtime linking). Already done
for IBM C/C++ compilers.
Peter O'Gorman [Sat, 11 Dec 2004 14:40:25 +0000 (14:40 +0000)]
* ltmain.in (func_extract_archives,func_extract_an_archive): On
darwin, uniq can not take teh flags -cd together, thanks to Ralf
for the fix, also ar does not accept N, so we use the fact that
ar x libfoo.a foo.o will always extract the first foo.o in the
archive and we then delete foo.o from the archive, which will also
delete only the first foo.o, then rinse and repeat.
* tests/func_extract_archives.test: Test this feature.
* tests/Makefile.am: Add the test.
* ltmain.in: Preserve -model [arg] option, used
with the Tru64 UNIX C++ compiler. This option selects the
layout of C++ classes, name mangling, and exception handling.
Jeff Squyres [Wed, 24 Nov 2004 17:22:03 +0000 (17:22 +0000)]
* libtool.m4 [linux] (AC_LIBTOOL_LANG_CXX_CONFIG,
AC_LIBTOOL_PROG_COMPILER_PIC, AC_LIBTOOL_PROG_LD_SHLIBS),
NEWS, THANKS: Support for Portland Group (aka "pgi") compilers.
* config/ltmain.in (func_mode_link): When linking an installed
libtool library on the command line using -lfoo we need to find
the library in the search paths and add it's dependency_libs to
the link in the conv pass so that any libtool libs listed are
correctly expanded in the link pass.
* libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): The linker
distinguishes data and code symbols on linux-gnu/ia64. Fixes
multiple testsuite failures. Backport from 1.9c.
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* demo/Makefile.am, pdemo/Makefile.am: Use per-target CFLAGS
only for the Libtool-built objects, so that automake won't
complain about missing AM_PROG_CC_C_O but still compile Libtool-
and non-Libtool objects into different names.
Peter O'Gorman [Thu, 12 Aug 2004 12:29:19 +0000 (12:29 +0000)]
* configure.ac, libtool.m4: Ensure that a c++ compiler exists before
checking for the c++ preprocessor. Apparently reported by multiple
people, multiple times.
Peter O'Gorman [Wed, 4 Aug 2004 14:12:05 +0000 (14:12 +0000)]
* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Since CONFIG_SHELL may
not actually be set, we should use SHELL here, also make darn sure
that SHELL is set to something. Bug from Willem Jan Palenstijn
<wpalenst@math.leidenuniv.nl>.
Peter O'Gorman [Fri, 30 Jul 2004 13:16:56 +0000 (13:16 +0000)]
* libtool.m4 [darwin]: $GREP is not defined here, use $EGREP.
* ltmain.in (func_extract_archives): Backport func_extract_archives
from cvs HEAD to reduce code size and enable the darwin fat archive
extraction.
Peter O'Gorman [Wed, 5 May 2004 13:18:42 +0000 (13:18 +0000)]
* libtool.m4 (AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH): Insert space
around = for a test and a comma between runpath_var and $1. Bug
reported by Max Bowsher.
Gary V. Vaughan [Mon, 19 Apr 2004 12:53:36 +0000 (12:53 +0000)]
* m4/libtool.m4 (_LT_LANG_CXX_CONFIG): Intel C++ compiler 8.0 and
newer adds predep_objects and postdep_objects itself, so don't
duplicate them in $archive_cmds and $archive_expsym_cmds.
* NEWS: Updated.
Reported by Roberto Bagnare <bagnara@cs.unipr.it>