Ralf Wildenhues [Tue, 1 Nov 2005 16:24:58 +0000 (16:24 +0000)]
* libtool.m4 (_LT_AC_LOCK) [ solaris ]: Add `-64' to $LD if
necessary, to permit combining of several convenience libs
without any further objects added.
Reported by Brian Barrett <brbarret@open-mpi.org>.
Kean Johnston [Tue, 1 Nov 2005 16:09:35 +0000 (16:09 +0000)]
* libtool.m4 (AC_LIBTOOL_DLOPEN_SELF): Use
`lt_prog_compile_static', not `link_static_flag'. Expand `$wl'
so expansion of `export_dynamic_flag_spec' works.
(_LT_AC_TRY_DLOPEN_SELF): Show dlerror() in case of failure.
(AC_LIBTOOL_PROG_LD_SHLIBS) [ aix3 ]: Likewise.
(AC_LIBTOOL_PROG_COMPILER_PIC) [ hpux* ]: Use `${wl}'.
Howard Chu [Sat, 29 Oct 2005 14:21:45 +0000 (14:21 +0000)]
* ltmain.in (link mode): With `-static', only link statically
against uninstalled libtool libraries. Fixes 1.5.x regression
to match documented (and actual 1.4.x) behavior.
* NEWS: Updated.
* ltmain.in (link mode): When accepting -64, -mips[0-9], et. al.
compiler flags, don't set compiler_flags only for GCC as the
vendor compiler also requires this flag. Sync with HEAD.
Reported by Donald Anderson <dda@ddanderson.com>.
Peter Ekberg [Wed, 21 Sep 2005 12:47:54 +0000 (12:47 +0000)]
* ltmain.in (clean mode): Clean up $dlname as well when cleaning
an uninstalled libtool library. Fixes -mode=clean on Cygwin and
MinGW to actually remove the dll when cleaning up an uninstalled
library.
Peter Ekberg [Tue, 20 Sep 2005 12:22:31 +0000 (12:22 +0000)]
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS, AC_LIBTOOL_LANG_CXX_CONFIG):
Split up --out-implib option for linker in separate args so that
the MSYS path translation can do its magic on the provided path
to the import library.
* libltdl/ltdl.c (lt_argz_insert): Work around newlib
argz_insert bug.
* libltdl/Makefile.am (libltdl_la_LDFLAGS): Bumped revision.
Reported by Eric Blake <ebb9@byu.net>.
* libtool.m4 (_LT_COMPILER_BOILERPLATE, _LT_LINKER_BOILERPLATE)
(AC_LIBTOOL_COMPILER_OPTION, AC_LIBTOOL_LINKER_OPTION)
(AC_LIBTOOL_PROG_CC_C_O): When comparing expected and actual
compiler/linker output for warnings, weed out both empty lines
as well as lines starting with possibly indented `+', to allow
for shell debugging with `set -x'.
Check the weeded instead of unweeded contents for emptiness.
* ltmain.in (link mode): Actually provide a useful error
message. Fixes long-standing shameful user neglection.
Reported by Martin Paljak <martin.paljak@gmail.com>.
Charles Wilson [Thu, 8 Sep 2005 07:01:13 +0000 (07:01 +0000)]
* libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG)
(AC_LIBTOOL_PROG_LD_SHLIBS) [ cygwin, mingw, pw32 ]: Use
--enable-auto-image-base instead of a fixed image base address.
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD) [ sysv4*uw2*,
sysv4.2uw2* ]: Fix my last checkin to really match the more special
case before the general case.
Reported by Stepan Kasal <kasal@ucw.cz>.
Roger Cornelius [Tue, 6 Sep 2005 08:18:34 +0000 (08:18 +0000)]
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD) [ sysv5OpenUNIX8,
sysv5UnixWare7, sysv5uw[78], unixware7, sysv4*uw2* ]:
Match special cases before general case.
Gary V. Vaughan [Mon, 29 Aug 2005 11:11:41 +0000 (11:11 +0000)]
* libltdl/m4/ltdl.m4 (LTDL_CONVENIENCE): Fix the comment to not
pretend that LIBLTDL and LTDLINCL are not AC_SUBSTed here.
* doc/libtool.texi (Distributing libltdl): Update the
documentation to match the advice given in HEAD. Don't tell
the user they have to AC_SUBST again.
Bruno Haible [Wed, 24 Aug 2005 15:59:04 +0000 (15:59 +0000)]
* ltmain.in (install mode): Try "ln -s -f" and "rm -f && ln -s"
to make a symlink for a shared library: the former is needed for
libraries `ln' depends on, the latter for Solaris /bin/ln.
Reported by Nelson H. F. Beebe <beebe@math.utah.edu>.
Ralf Wildenhues [Fri, 12 Aug 2005 21:07:57 +0000 (21:07 +0000)]
* ltmain.in (install mode) [ cygwin, mingw ]: Do not append a dot
to a file name to source it, it breaks on cygwin managed mounts
and is not necessary anywhere.
Reported by Eric Blake <ebb9@byu.net>.
Ralf Wildenhues [Wed, 10 Aug 2005 14:07:29 +0000 (14:07 +0000)]
* Makefile.am, libltdl/Makefile.am: Install libltdl data files
in correct order, by Automake rules. Really fixes ownership and
timestamp problems.
Reported by Peter Breitenlohner <peb@mppmu.mpg.de> and
Charles Wilson <cygwin@cwilson.fastmail.fm>.
Peter O'Gorman [Sun, 24 Jul 2005 12:21:08 +0000 (12:21 +0000)]
* libtool.m4 (CXX, archive_cmds) [sun]: Add -lCstd, -lCrun
and -lc for c++ builds with Sun C++ and Centerline C++..
Reported by Albert Chin-A-Young <china@hewrittenword.com>
* ltmain.in: When a library is installed, dependent on a
convenience library, and it involves relinking, the object
files extracted from the convenience library are not removed
after the relink. This is a problem if you build as non-root,
install as root, then try to remove the build directory as
non-root; Clean up properly if relink fails; Change
"$realname"U to ${realname}T to be consistent.
Missing backport of 2004-03-24 patch reported against MirLibtool
by Marc Matteo <marcm@lectroid.net>.
* ltmain.in (install mode): Do not assume `-f' needs an argument if
the install program is `cp'. Cleanup install mode somewhat.
Reported by Juergen Leising <juergen.leising@gmx.de>.
Bob Friesenhahn [Thu, 16 Jun 2005 14:29:18 +0000 (14:29 +0000)]
* ltmain.in: Add fully-qualified paths to temp_rpath
rather than unqualified paths in order to avoid possible errors
when computing the fully-qualified path later.
Ralf Wildenhues [Mon, 6 Jun 2005 16:14:04 +0000 (16:14 +0000)]
* libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC, AC_LIBTOOL_PROG_LD_SHLIBS,
AC_LIBTOOL_LANG_CXX_CONFIG): PGI also has pgf95. PGI static flag is
`-Bstatic'. Remove harmless extra comma from whole_archive output.
Ralf Wildenhues [Sun, 5 Jun 2005 17:36:50 +0000 (17:36 +0000)]
* ltmain.in (compile mode): In order to find out
about forbidden characters in output, check with grep after checking
func_quote_for_eval result. Also, warn instead of fail.
(func_infer_tag, compile mode, link mode, install mode):
Revert SunOS sh bug workaround patch from 2004-12-28 as it
triggers bugs in the Tru64 5.1B shell.
Reported by Albert Chin <libtool@mlists.thewrittenword.com> and
Nicolas Joly <njoly@pasteur.fr>.
Peter O'Gorman [Tue, 31 May 2005 03:47:34 +0000 (03:47 +0000)]
* ltmain.in: Do not add installed static litool libraries to
convenience, they are not convenience libraries.
Reported by Chen-Mou Cheng <chenmou.cheng@gmail.com>
Ralf Wildenhues [Mon, 16 May 2005 08:55:29 +0000 (08:55 +0000)]
* doc/libtool.texi (Distributing libltdl): Add note that
`libltdl/Makefile' should not be configured by toplevel `configure.ac'.
Reported by Gideon Go <gideon.go@gmail.com>.
Ralf Wildenhues [Sun, 15 May 2005 14:13:23 +0000 (14:13 +0000)]
* libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG, AC_LIBTOOL_PROG_LD_SHLIBS)
[linux]: PGI: Backport whole_archive changes from HEAD.
Add $pic_flag to archive_cmds and archive_expsyms_cmds.
Bug reported against LAM by Troy Telford <ttelford@lnxi.com>.
* ltdl.m4 (all over): Quote all arguments to AC_DEFINE and
AC_DEFINE_UNQUOTED consistently. Reported by
Michael Koch <konqueror@gmx.de>, Riccardo Mottola <zuse@libero.it>,
and Dalibor Topic <robilad@kaffe.org>.
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [openbsd3.3]: Set
need_version to yes or no depending on the os release.
Missing backport reported by Dalibor Topic <robilad@kaffe.org>.
* libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC, AC_LIBTOOL_PROG_LD_SHLIBS)
[solaris]: Update wl for Sun Studio f77/f90/f95. Fix
whole_archive_flag_spec for cc and f77/f90/f95 to prevent reordering in
case we link with $CC.
Gary V. Vaughan [Fri, 22 Apr 2005 09:05:43 +0000 (09:05 +0000)]
The FSF are moving offices today. Changed their contact address
in all files from `59 Temple Place, Suite 330, MA 02111-1307' to
`51 Franklin Street, Fifth Floor, MA 02110-1301'.
* libtool.m4 (_LT_COMPILER_BOILERPLATE, _LT_LINKER_BOILERPLATE):
New macros: save warnings and boilerplate of simple compile/link tests.
(AC_LIBTOOL_LANG_C_CONFIG, AC_LIBTOOL_LANG_CXX_CONFIG,
AC_LIBTOOL_LANG_F77_CONFIG, AC_LIBTOOL_LANG_GCJ_CONFIG,
AC_LIBTOOL_LANG_RC_CONFIG): Call.
(AC_LIBTOOL_COMPILER_OPTION, AC_LIBTOOL_LINKER_OPTION, AC_LIBTOOL_PROG_CC_C_O):
Fail only if nonempty warnings different from default compile/link.
* NEWS: Update.