]> git.ipfire.org Git - thirdparty/libtool.git/log
thirdparty/libtool.git
17 years ago* libtoolize (func_fixup_Makefile, func_massage_aclocal_DATA)
Gary V. Vaughan [Sun, 27 Jan 2008 07:13:04 +0000 (07:13 +0000)] 
* libtoolize (func_fixup_Makefile, func_massage_aclocal_DATA)
(func_massage_pkgltdl_files, func_massage_pkgconfig_files):
Add missing $opt_debug.

17 years ago* libtoolize.m4sh (Main): Copy (or link) libltdl sources
Gary V. Vaughan [Sat, 26 Jan 2008 06:23:10 +0000 (06:23 +0000)] 
* libtoolize.m4sh (Main): Copy (or link) libltdl sources
into project tree when LTDL_INIT was seen, whether or not
`--ltdl' is passed.
(func_check_macros): Recommend LTDL_INIT instead of
LT_WITH_LTDL when `--ltdl' is used before configure.ac is
upgraded.
* tests/libtoolize.at: Test that it works.
(_LT_AT_LTDL_SETUP): Factor out some common test setup.
Reported by Eric Blake <ebb9@byu.net>

17 years ago* doc/notes.texi: Fix errors in previous commit.
Peter O'Gorman [Thu, 24 Jan 2008 16:16:27 +0000 (16:16 +0000)] 
* doc/notes.texi: Fix errors in previous commit.

17 years agoadd lt_
Peter O'Gorman [Thu, 24 Jan 2008 07:24:51 +0000 (07:24 +0000)] 
add lt_

17 years ago* libltdl/m4/libtool.m4 (sys_lib_search_path_spec,
Peter O'Gorman [Thu, 24 Jan 2008 06:55:36 +0000 (06:55 +0000)] 
* libltdl/m4/libtool.m4 (sys_lib_search_path_spec,
sys_lib_dlsearch_path_spec): Allow for a cache variable
lt_cv_sys_lib_... to set these at configure time.
* doc/notes.texi: Short note about the above change.

17 years agoAdd proper quoting to doc examples.
Eric Blake [Thu, 24 Jan 2008 04:08:37 +0000 (04:08 +0000)] 
Add proper quoting to doc examples.
* doc/libtool.texi: Use m4 quotes where appropriate.
(Test descriptions): Fix truncated sentence.

17 years ago* Makefile.am (DISTCLEANFILES): Remove libtool.dvi generated
Gary V. Vaughan [Fri, 18 Jan 2008 10:49:40 +0000 (10:49 +0000)] 
* Makefile.am (DISTCLEANFILES): Remove libtool.dvi generated
by 'make dvi'.

17 years ago* libtoolize.m4sh (func_scan_files): Avoid matching our own
Ralf Wildenhues [Thu, 17 Jan 2008 05:36:21 +0000 (05:36 +0000)] 
* libtoolize.m4sh (func_scan_files): Avoid matching our own
macro code when scanning configure.ac and aclocal.m4.
Don't produce spurious output if AC_PROG_RANLIB is found.
* tests/old-m4-iface.at (AM_PROG_LIBTOOL): Add a (weak) check
that we don't match our own macro code when searching for user
code calling us.
* TODO: Updated.

17 years agoNew variable LTDLDEPS for use in output_DEPENDENCIES.
Ralf Wildenhues [Thu, 17 Jan 2008 05:32:42 +0000 (05:32 +0000)] 
New variable LTDLDEPS for use in output_DEPENDENCIES.

* libltdl/m4/ltdl.m4 (_LTDL_CONVENIENCE, _LTDL_INSTALLABLE)
(LTDL_INIT): Set and substitute LTDLDEPS according to chosen
method.
* tests/configure-iface.at (installable libltdl)
(--with-ltdl-include/lib, --with-included-ltdl): Test it.
* doc/libtool.texi (Distributing libltdl): Document LTDLDEPS.
* NEWS: Updated.
Dependency bug exposed by Eric Blake in M4, found by Bob Proulx
build daemon.

17 years ago* doc/libtool.texi (Distributing libltdl): Clarify that
Ralf Wildenhues [Thu, 17 Jan 2008 05:05:59 +0000 (05:05 +0000)] 
* doc/libtool.texi (Distributing libltdl): Clarify that
`${top_build_prefix}' may be used in place of `${top_builddir}/'.

17 years ago* doc/libtool.texi (Distributing libltdl): Clarify that
Ralf Wildenhues [Thu, 17 Jan 2008 04:47:41 +0000 (04:47 +0000)] 
* doc/libtool.texi (Distributing libltdl): Clarify that
LTDL_INIT goes after LT_INIT; also show the latter in the
respective examples.
* tests/subproject.at: Adjust order.

17 years ago* libltdl/m4/ltdl.m4 (_LT_ENABLE_INSTALL): Use AM_CONDITIONAL
Ralf Wildenhues [Wed, 16 Jan 2008 18:35:05 +0000 (18:35 +0000)] 
* libltdl/m4/ltdl.m4 (_LT_ENABLE_INSTALL): Use AM_CONDITIONAL
only if defined.  Allows to use libltdl without aclocal.

17 years ago* libltdl/m4/libtool.m4: Set GCC var for every tag, avoids need
Peter O'Gorman [Wed, 16 Jan 2008 14:49:40 +0000 (14:49 +0000)] 
* libltdl/m4/libtool.m4: Set GCC var for every tag, avoids need
to set withGCC var.

17 years ago* configure.ac: Set libltdl nonrecursive option, to avoid
Ralf Wildenhues [Tue, 15 Jan 2008 06:23:16 +0000 (06:23 +0000)] 
* configure.ac: Set libltdl nonrecursive option, to avoid
configuring libltdl inside the Libtool package.

17 years agoSilence all non-warning output from `libtool --silent'.
Ralf Wildenhues [Mon, 14 Jan 2008 22:06:00 +0000 (22:06 +0000)] 
Silence all non-warning output from `libtool --silent'.
* libltdl/config/ltmain.m4sh (func_generate_dlsyms)
(func_extract_archives, func_mode_link): Use func_verbose
instead of func_echo for all non-warning output.

17 years ago* Makefile.maint (fetch): Update to match upstream git sources.
Ralf Wildenhues [Mon, 14 Jan 2008 22:01:26 +0000 (22:01 +0000)] 
* Makefile.maint (fetch): Update to match upstream git sources.
Pull `INSTALL' from gnulib instead of from Autoconf.

17 years ago* doc/notes.texi: Mention AIX binutils deficiency for C++ code.
Ralf Wildenhues [Mon, 14 Jan 2008 21:34:19 +0000 (21:34 +0000)] 
* doc/notes.texi: Mention AIX binutils deficiency for C++ code.
Report by Rainer Tammer.
Suggest using bash for configure.

17 years ago* libltdl/m4/ltoptions.m4 (AC_ENABLE_SHARED): Fix to use
Ralf Wildenhues [Mon, 14 Jan 2008 21:18:49 +0000 (21:18 +0000)] 
* libltdl/m4/ltoptions.m4 (AC_ENABLE_SHARED): Fix to use
new _LT_SET_OPTION semantics.

17 years ago* libltdl/m4/ltdl.m4 (_LTDL_SETUP): Define
Ralf Wildenhues [Sat, 12 Jan 2008 17:00:51 +0000 (17:00 +0000)] 
* libltdl/m4/ltdl.m4 (_LTDL_SETUP): Define
LTDL_DLOPEN_SELF_WORKS, depending upon lt_cv_dlopen_self.
* libltdl/loaders/dlopen.c (vm_open) [!LTDL_DLOPEN_SELF_WORKS]:
Fail for dlopen(NULL), so that the preopen loader is used.  This
fixes mdemo-exec.test failures on AIX where dlopen(NULL)
succeeds but dlsym resolves no symbol.
* NEWS: Update.
Report by Rainer Tammer.

17 years ago* tests/am-subdir.at: Drop unused variables.
Ralf Wildenhues [Sat, 12 Jan 2008 14:07:02 +0000 (14:07 +0000)] 
* tests/am-subdir.at: Drop unused variables.
* tests/configure-iface.at: Likewise.
* tests/ctor.at: Likewise.
* tests/early-libtool.at: Likewise.
* tests/lt_dladvise.at: Likewise.
* tests/old-m4-iface.at: Likewise.
* tests/lt_dlexit.at: Likewise.  Also drop unused functions.

17 years ago* tests/old-m4-iface.at (AM_PROG_LIBTOOL): Also copy needed
Ralf Wildenhues [Sat, 12 Jan 2008 14:00:57 +0000 (14:00 +0000)] 
* tests/old-m4-iface.at (AM_PROG_LIBTOOL): Also copy needed
lt~obsolete.m4.

17 years ago* libltdl/config/ltmain.m4sh (func_mode_link): Fix warning
Ralf Wildenhues [Sat, 12 Jan 2008 13:58:14 +0000 (13:58 +0000)] 
* libltdl/config/ltmain.m4sh (func_mode_link): Fix warning
about -l and -L for archives and objects as output, to not
trigger for *.la files.  Non-convenience archives are diagnosed

17 years agoFix ChangeLog entry
Ralf Wildenhues [Sat, 12 Jan 2008 11:26:07 +0000 (11:26 +0000)] 
Fix ChangeLog entry

17 years ago* tests/configure-iface.at: Ensure LTDLINCL is expanded
Ralf Wildenhues [Sat, 12 Jan 2008 11:25:03 +0000 (11:25 +0000)] 
* tests/configure-iface.at: Ensure LTDLINCL is expanded
before CPPFLAGS, so that even CPPFLAGS=-I/usr/local/include
won't make the tests prefer an installed ltdl.h over the
in-package one.
Report by Bob Friesenhahn.

17 years ago* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) <exclude_expsyms>:
Ralf Wildenhues [Fri, 11 Jan 2008 19:15:08 +0000 (19:15 +0000)] 
* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) <exclude_expsyms>:
Also exclude `_GLOBAL__F[ID]_.*'.  Also set for the C++ tag.
Fixes esp. demo/helldl build failure with GCC on AIX.
Report by Rainer Tammer.

17 years ago* libltdl/m4/libtool.m4 [darwin]: Reorganize darwin support, use
Peter O'Gorman [Fri, 11 Jan 2008 07:08:28 +0000 (07:08 +0000)] 
* libltdl/m4/libtool.m4 [darwin]: Reorganize darwin support, use
dsymutil if it is available so that debugging is possible, check
for nmedit and dsymutil with AC_CHECK_TOOL, use the linker flag
-exported_symbols_list in preference to nmedit if it is available.
Drop support for xlc, it is probably broken.
* tests/template.at [darwin]: Skip this test, I can not find a way
to make it work on darwin9 with Xcode-3.0.
* NEWS: Note the dropping of xlc support.

17 years ago* libltdl/m4/libtool.m4 (LT_INIT): m4_require, not AC_REQUIRE
Ralf Wildenhues [Tue, 8 Jan 2008 19:43:29 +0000 (19:43 +0000)] 
* libltdl/m4/libtool.m4 (LT_INIT): m4_require, not AC_REQUIRE
_LT_CHECK_BUILDDIR, as it's m4_defun'ed, not AC_DEFUN'ed.
Report by Peter O'Gorman.

17 years ago* libltdl/m4/ltdl.m4 (_LTDL_INSTALLABLE): Restore correct
Ralf Wildenhues [Tue, 8 Jan 2008 19:39:19 +0000 (19:39 +0000)] 
* libltdl/m4/ltdl.m4 (_LTDL_INSTALLABLE): Restore correct
_LT_BUILD_PREFIX-using code.

17 years ago* tests/recursive.at: Remove bogus --debug option.
Gary V. Vaughan [Tue, 8 Jan 2008 06:56:03 +0000 (06:56 +0000)] 
* tests/recursive.at: Remove bogus --debug option.
Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

17 years ago* tests/configure-iface.at: Build libltdl in a subdir so that
Gary V. Vaughan [Tue, 8 Jan 2008 06:48:49 +0000 (06:48 +0000)] 
* tests/configure-iface.at: Build libltdl in a subdir so that
it can be easily removed without trying to remove config.log
on windows (which can't delete a file until it is closed).

17 years ago* libltdl/m4/ltdl.m4 (LTDL_INSTALLABLE): Use _LT_BUILD_PREFIX
Gary V. Vaughan [Tue, 8 Jan 2008 05:21:49 +0000 (05:21 +0000)] 
* libltdl/m4/ltdl.m4 (LTDL_INSTALLABLE): Use _LT_BUILD_PREFIX
instead of ${top_builddir} for Autoconf-2.62.
Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

17 years ago* libltdl/m4/ltdl.m4 (_LT_CONFIG_LTDL_DIR): Correct closing
Gary V. Vaughan [Tue, 8 Jan 2008 05:16:08 +0000 (05:16 +0000)] 
* libltdl/m4/ltdl.m4 (_LT_CONFIG_LTDL_DIR): Correct closing
comment.
Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

17 years ago* NEWS: Grammar nit.
Gary V. Vaughan [Tue, 8 Jan 2008 05:11:14 +0000 (05:11 +0000)] 
* NEWS: Grammar nit.

17 years ago* tests/configure-iface.at, tests/nonrecursive.at,
Gary V. Vaughan [Tue, 8 Jan 2008 05:07:41 +0000 (05:07 +0000)] 
* tests/configure-iface.at, tests/nonrecursive.at,
tests/recursive.at, tests/subproject.at (_LTDL_SETUP):
Renamed to _LT_AT_LTDL_SETUP to avoid a nameclash with
libltdl/m4/ltoptions.m4:_LTDL_SETUP from yesterday's patch.
Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

17 years ago* tests/runpath-in-lalib.at (Runpath in libtool library files):
Ralf Wildenhues [Mon, 7 Jan 2008 21:26:55 +0000 (21:26 +0000)] 
* tests/runpath-in-lalib.at (Runpath in libtool library files):
Compile program file without libtool.
Report by Rainer Tammer.

17 years agoSupport AIX 6.1.
Rainer Tammer [Mon, 7 Jan 2008 21:13:23 +0000 (21:13 +0000)] 
Support AIX 6.1.
* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
(_LT_CHECK_MAGIC_METHOD, _LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
(_LT_LANG_C_CONFIG, _LT_LANG_CXX_CONFIG, _LT_LANG_F77_CONFIG)
(_LT_LANG_FC_CONFIG): Adjust case patterns to match AIX 6
through 9 as well.
* libltdl/m4/ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS): Likewise.
* NEWS: Update.
* THANKS: Update.

17 years agoMove libltdl build mode options from LT_CONFIG_LTDL_DIR to
Gary V. Vaughan [Sun, 6 Jan 2008 16:33:31 +0000 (16:33 +0000)] 
Move libltdl build mode options from LT_CONFIG_LTDL_DIR to
LTDL_INIT.  Accept (optional) new 'convenience' and 'installable'
options in lieu of LTDL_CONVENIENCE and LTDL_INSTALL macros. And
also, implement --with-included-ltdl, --with-ltdl-lib and
--with-ltdl-include configure-time options:

* libltdl/m4/ltoptions.m4: Associate existing option settings with
LT_INIT.
(LT_OPTION_DEFINE): Associate options 'nonrecursive', 'recursive',
'subproject', 'installable' and 'convenience' with LTDL_INIT.
(_LT_MANGLE_OPTION, _LT_SET_OPTION, _LT_IF_OPTION)
(_LT_UNLESS_OPTIONS, _LT_SET_OPTIONS): Add MACRO-NAME argument to
support options to named macros instead of hardcoding only LT_INIT
options.
* libltdl/m4/ltdl.m4 (_LTDL_CONVENIENCE): Factor common code from
LTDL_CONVENIENCE and LTDL_INIT([convenience]).
(_LTDL_INSTALLABLE): Factor out common code from LTDL_INSTALLABLE
and LTDL_INIT([installable]).
(_LTDL_SETUP): Renamed from LTDL_INIT.  Support new configure-time
options: --with-included-ltdl, --with-ltdl-lib,
--with-ltdl-include.
(LTDL_CONVENIENCE, LTDL_INSTALLABLE): Adjust.
(LT_WITH_LTDL): Removed.
(LTDL_INIT): Parse caller options.
* libltdl/m4/libtool.m4 (LT_INIT): Declare that this macro must be
expanded before LTDL_INIT, and be sure to parse caller options.
* configure.ac: Call directly into internal _LTDL_SETUP macro.
* libtoolize.m4sh (func_scan_files): Ltdl mode argument moved from
LT_CONFIG_LTDL_DIR to LT_INIT.
* tests/nonrecursive.at, tests/recursive.at: Use new interfaces.
* tests/configure-iface.at: Test it.
* Makefile.am (TESTSUITE_AT): Add configure-iface.at.
* doc/libtool.texi (Distributing libltdl): Document improved.
LTDL_INIT interfaces.
* NEWS: Updated.

17 years ago* libltdl/config/ltmain.m4sh (func_mode_link): When creating
Ralf Wildenhues [Wed, 2 Jan 2008 19:35:56 +0000 (19:35 +0000)] 
* libltdl/config/ltmain.m4sh (func_mode_link): When creating
reloadable object files, avoid issuing plain `rm -f' without
further arguments, even if the line length limit is ridiculously
low as in the `Run tests with low max_cmd_len' test.  This
failure is exposed on NetBSD.
Report by Patrick Welche.

17 years ago* Makefile.am (EXTRA_DIST): Add ChangeLog.2007.
Ralf Wildenhues [Wed, 2 Jan 2008 18:52:08 +0000 (18:52 +0000)] 
* Makefile.am (EXTRA_DIST): Add ChangeLog.2007.
* ChangeLog.2007: New, rotated, from...
* ChangeLog: ...here.
* NEWS, README, README.alpha, Makefile.am, libtoolize.m4sh,
libltdl/config/getopt.m4sh, libltdl/config/ltmain.m4sh,
libltdl/m4/libtool.m4: Bump copyright years.

17 years ago* doc/libtool.texi (Linking executables): Reorder paragraphs.
Stefan Sperling [Fri, 30 Nov 2007 04:18:40 +0000 (04:18 +0000)] 
* doc/libtool.texi (Linking executables): Reorder paragraphs.

17 years ago* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [ linux ]: The IBM
Ralf Wildenhues [Mon, 26 Nov 2007 21:42:51 +0000 (21:42 +0000)] 
* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [ linux ]: The IBM
XL 8.0 C++ compiler may also be called xlc++*, not only xlC*.
Report by Nysal K Jan <jnysal@in.ibm.com>.

17 years ago* libltdl/m4/libtool.m4 (_LT_CHECK_BUILDDIR): New macro.
Ralf Wildenhues [Sat, 24 Nov 2007 08:02:21 +0000 (08:02 +0000)] 
* libltdl/m4/libtool.m4 (_LT_CHECK_BUILDDIR): New macro.
Warn about whitespace in the absolute build tree name.
(LT_INIT): Use it.
* THANKS: Update.
Report by Jim Meyering.

17 years ago* libltdl/config/ltmain.m4sh (func_extract_an_archive)
Ralf Wildenhues [Sat, 24 Nov 2007 08:00:21 +0000 (08:00 +0000)] 
* libltdl/config/ltmain.m4sh (func_extract_an_archive)
(func_extract_archives): Add some quoting.

17 years agoUse `${top_build_prefix}' for better compatibility with non-GNU make.
Ralf Wildenhues [Fri, 16 Nov 2007 07:08:34 +0000 (07:08 +0000)] 
Use `${top_build_prefix}' for better compatibility with non-GNU make.
* libltdl/m4/ltdl.m4 (_LT_BUILD_PREFIX): New macro.
If the Autoconf version used is >= 2.62, then expand to
`${top_build_prefix}', otherwise to `${top_builddir}/'.
(LTDL_CONVENIENCE, LTDL_INSTALLABLE): Use it for defining
LIBLTDL.  Fixes a build failure with AIX make in a package
using convenience libltdl in nonrecursive mode.
* doc/libtool.texi (Distributing libltdl): Document requirements
to define `top_build_prefix' if Automake is not used.
Report by Bob Friesenhahn.

17 years agoAvoid warnings about conftest.dSYM directories on Mac OS X Leopard.
Ralf Wildenhues [Mon, 12 Nov 2007 19:44:05 +0000 (19:44 +0000)] 
Avoid warnings about conftest.dSYM directories on Mac OS X Leopard.
* libltdl/m4/libtool.m4 (_LT_LINKER_BOILERPLATE)
(_LT_LINKER_OPTION, _LT_CMD_GLOBAL_SYMBOLS): Remove
conftest.dSYM directory.
Report and analysis by Jeff Squyres and Peter O'Gorman.

17 years ago* libltdl/configure.ac: Drop the broken and long-disabled code
Ralf Wildenhues [Fri, 9 Nov 2007 06:47:15 +0000 (06:47 +0000)] 
* libltdl/configure.ac: Drop the broken and long-disabled code
to output a banner for the libltdl configure.  Avoids the need
to ship mkstamp with libltdl.

17 years ago* tests/runpath-in-lalib.at: New test.
Ralf Wildenhues [Thu, 8 Nov 2007 21:38:27 +0000 (21:38 +0000)] 
* tests/runpath-in-lalib.at: New test.
* Makefile.am: Update.
Report by Benoit SIGOURE <tsuna@lrde.epita.fr>.

17 years agoSpeed up bootstrap by improving lt_join.
Eric Blake [Tue, 16 Oct 2007 22:45:49 +0000 (22:45 +0000)] 
Speed up bootstrap by improving lt_join.
* libltdl/m4/ltsugar.m4 (lt_join, _lt_join): Rewrite to mirror
Autoconf 2.62's faster implementation.

17 years agoWhitespace cleanup.
Eric Blake [Fri, 12 Oct 2007 20:54:44 +0000 (20:54 +0000)] 
Whitespace cleanup.
* libltdl/m4/ltsugar.m4: Avoid space-tab in indents.
* libltdl/m4/libtool.m4: Avoid trailing space.

17 years agoDeal with Autoconf 2.62's semantic change in m4_append.
Eric Blake [Fri, 12 Oct 2007 20:41:35 +0000 (20:41 +0000)] 
Deal with Autoconf 2.62's semantic change in m4_append.
* libltdl/m4/ltsugar.m4 (lt_append): Replace broken versions of
m4_append.
(lt_if_append_uniq): Don't require separator to be overquoted, and
avoid broken m4_append.
(lt_dict_add): Fix typo.
* libltdl/m4/libtool.m4 (_LT_DECL): Don't overquote separator.

17 years ago* libltdl/config/ltmain.m4sh: Also sanitize `LANGUAGE'.
Ralf Wildenhues [Fri, 12 Oct 2007 16:35:15 +0000 (16:35 +0000)] 
* libltdl/config/ltmain.m4sh: Also sanitize `LANGUAGE'.
(func_mode_execute): Also restore `LANGUAGE', for old glibc.
Report by Paul Eggert against Autoconf.

17 years ago* libltdl/.cvsignore: Ignore argz.h.
Eric Blake [Fri, 12 Oct 2007 02:48:56 +0000 (02:48 +0000)] 
* libltdl/.cvsignore: Ignore argz.h.

17 years ago* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC)
Ralf Wildenhues [Thu, 11 Oct 2007 17:23:33 +0000 (17:23 +0000)] 
* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC)
<lt_cv_prog_compiler_pic_works>: Renamed from
lt_prog_compiler_pic_works.
<lt_cv_prog_compiler_static_works>: Renamed from
lt_prog_compiler_static_works.
* NEWS: Update.

17 years ago* libltdl/config/ltmain.m4sh (func_mode_compile): Accept
Ralf Wildenhues [Tue, 9 Oct 2007 19:32:45 +0000 (19:32 +0000)] 
* libltdl/config/ltmain.m4sh (func_mode_compile): Accept
extension `.sx'.
* tests/suffix.test: Test it.

17 years ago* libltdl/lt_dlloader.c (loader_callback, lt_dlloader_get): Use
Ralf Wildenhues [Fri, 7 Sep 2007 02:44:57 +0000 (02:44 +0000)] 
* libltdl/lt_dlloader.c (loader_callback, lt_dlloader_get): Use
NULL, not 0, for the benefit of too picky compilers like PGI.
* slist.c (slist_tail): Likewise.  Include stddef.h, for NULL.
Report by Jeff Squyres.

17 years ago* libltdl/ltdl.c (lt_dlcaller_get_data): Work even when no caller
Eric Blake [Wed, 5 Sep 2007 14:48:54 +0000 (14:48 +0000)] 
* libltdl/ltdl.c (lt_dlcaller_get_data): Work even when no caller
has set data.

17 years ago* doc/libtool.texi (User defined module data)
Ralf Wildenhues [Tue, 4 Sep 2007 18:01:33 +0000 (18:01 +0000)] 
* doc/libtool.texi (User defined module data)
<lt_dlinterface_register>: Document that a NULL place matches
all modules.
* libltdl/lt_dlloader.c (lt_dlloader_remove): Actually iterate
over all open modules when looking for modules that use it.
If a resident module is found, return but do not set the error
string.
* libltdl/ltdl.c (lt_dlexit): When removing dlloaders, ignore
errors that stem from earlier failed commands.  Exposed by the
lt_dladvise test.
Fixes regression over branch-1-5.
Memleak report as Coverity CID 19 via Jeff Squyres.

17 years ago* NEWS: Update.
Ralf Wildenhues [Sat, 1 Sep 2007 10:55:42 +0000 (10:55 +0000)] 
* NEWS: Update.

17 years ago* libltdl/ltdl.c (trim): Fix possible write beyond array bound.
Ralf Wildenhues [Sat, 1 Sep 2007 10:49:19 +0000 (10:49 +0000)] 
* libltdl/ltdl.c (trim): Fix possible write beyond array bound.

17 years ago* libltdl/ltdl.c (lt_dlopenadvise): Instead of asserting, return
Ralf Wildenhues [Sat, 1 Sep 2007 10:43:28 +0000 (10:43 +0000)] 
* libltdl/ltdl.c (lt_dlopenadvise): Instead of asserting, return
FILE_NOT_FOUND if the filename is "".

17 years ago* libltdl/ltdl.c (try_dlopen): Fix computation of extension,
Ralf Wildenhues [Sat, 1 Sep 2007 10:42:34 +0000 (10:42 +0000)] 
* libltdl/ltdl.c (try_dlopen): Fix computation of extension,
avoids subtracting pointer from NULL pointer.

17 years ago* libltdl/ltdl.c (try_dlopen, lt_dlforeachfile): Do not test
Ralf Wildenhues [Sat, 1 Sep 2007 08:13:20 +0000 (08:13 +0000)] 
* libltdl/ltdl.c (try_dlopen, lt_dlforeachfile): Do not test
array address of sys_dlsearch_path against NULL, rather test for
nonempty contents.
Coverity reports CID 148 and CID 149 via Jeff Squyres.

17 years ago* libltdl/ltdl.c (tryall_dlopen_module): Fix string length
Ralf Wildenhues [Sat, 1 Sep 2007 08:10:02 +0000 (08:10 +0000)] 
* libltdl/ltdl.c (tryall_dlopen_module): Fix string length
computation: do not allocate more than needed.

17 years ago* libltdl/loaders/preopen.c (vm_close): `module' is unused.
Ralf Wildenhues [Thu, 30 Aug 2007 18:39:10 +0000 (18:39 +0000)] 
* libltdl/loaders/preopen.c (vm_close): `module' is unused.
Coverity report CID 158 via Jeff Squyres.

17 years ago* libltdl/ltdl.c (parse_dotla_file): If we run out of memory,
Ralf Wildenhues [Thu, 30 Aug 2007 18:23:24 +0000 (18:23 +0000)] 
* libltdl/ltdl.c (parse_dotla_file): If we run out of memory,
do not close the .la file twice.
Coverity report CID 440 via Jeff Squyres.

17 years ago* libltdl/ltdl.c (has_library_ext): Remove dead code.
Ralf Wildenhues [Thu, 30 Aug 2007 18:18:31 +0000 (18:18 +0000)] 
* libltdl/ltdl.c (has_library_ext): Remove dead code.
Coverity report CID 561 against Open MPI via Jeff Squyres.

17 years ago* libltdl/slist.c (slist_remove): When a matching item is found,
Ralf Wildenhues [Wed, 29 Aug 2007 21:01:20 +0000 (21:01 +0000)] 
* libltdl/slist.c (slist_remove): When a matching item is found,
break out of the loop to return the first match; also fixes
possible NULL dereference.

17 years ago* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
Ralf Wildenhues [Wed, 29 Aug 2007 20:54:53 +0000 (20:54 +0000)] 
* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
(_LT_LANG_CXX_CONFIG) [ linux ]: Add support for IBM XL 8.0
C/C++ (xlc*, xlC*) and IBM XL Fortran 10.1 (xlf*) on GNU/Linux,
tested on ppc, pending a $shlibpath_var related fix.
(_LT_SYS_HIDDEN_LIBDEPS): Double-quote $output_verbose_link_cmd
properly during evaluation, obsoleting $no_glob_subst mangling.
* NEWS: Update.

17 years ago* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux ]
Ralf Wildenhues [Sat, 18 Aug 2007 09:18:44 +0000 (09:18 +0000)] 
* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux ]
[ k*bsd*-gnu ] <shlibpath_overrides_runpath>: Avoid spurious
output in runpath test.

18 years ago* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [ mingw, cygwin ]
Ralf Wildenhues [Thu, 16 Aug 2007 18:22:03 +0000 (18:22 +0000)] 
* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [ mingw, cygwin ]
<GCJ>: Do not use -DDLL_EXPORT.
Report by Ross Ridge <rridge@csclub.uwaterloo.ca>.

18 years ago* Makefile.am (edit): Do not warn against manual editing for the
Ralf Wildenhues [Thu, 16 Aug 2007 18:18:39 +0000 (18:18 +0000)] 
* Makefile.am (edit): Do not warn against manual editing for the
generated files libtool, libtoolize, libltdl/m4/ltversion.m4,
tests/defs, as they are still in a preferred source code form as
required by GPL.
Report by DJ Delorie.

18 years ago* libltdl/ltdl.c (parse_dotla_file): Avoid a strlen. When
Dirk Mueller [Wed, 15 Aug 2007 21:38:31 +0000 (21:38 +0000)] 
* libltdl/ltdl.c (parse_dotla_file): Avoid a strlen.  When
reading .la files, cope with files that are not
newline-terminated.

18 years ago* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LANG_CXX_CONFIG)
Tilman Koschnick [Sun, 5 Aug 2007 11:44:44 +0000 (11:44 +0000)] 
* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LANG_CXX_CONFIG)
[ linux ]: Treat pgcpp as Portland Group C++ compiler as well.

18 years ago* libltdl/ltdl.c (try_dlopen): Use `attempt' rather than
Ralf Wildenhues [Sun, 5 Aug 2007 11:06:14 +0000 (11:06 +0000)] 
* libltdl/ltdl.c (try_dlopen): Use `attempt' rather than
`filename', as the former has the needed extension when called
by lt_dlopenext.
Report by Brian Barrett.

18 years ago* Makefile.am: Pass STRIP through to the testsuite, so that
Peter Rosin [Thu, 26 Jul 2007 22:44:39 +0000 (22:44 +0000)] 
* Makefile.am: Pass STRIP through to the testsuite, so that
tests that run configure will use the same strip program.

18 years ago* tests/mdemo-exec.test: Also try absolute library names.
Ralf Wildenhues [Tue, 24 Jul 2007 05:10:03 +0000 (05:10 +0000)] 
* tests/mdemo-exec.test: Also try absolute library names.
* tests/mdemo/main.c (test_dl, main): Try lt_dlopenext as well.
* THANKS: Update.
Report by Brian Barrett.

18 years ago* ChangeLog: Fix typo.
Ralf Wildenhues [Tue, 24 Jul 2007 03:44:24 +0000 (03:44 +0000)] 
* ChangeLog: Fix typo.

18 years agoUpdate all mention of FDL to 1.2.
Ralf Wildenhues [Mon, 23 Jul 2007 22:35:29 +0000 (22:35 +0000)] 
Update all mention of FDL to 1.2.

18 years ago* doc/fdl.texi: Update to GFDL 1.2.
Ralf Wildenhues [Mon, 23 Jul 2007 22:33:12 +0000 (22:33 +0000)] 
* doc/fdl.texi: Update to GFDL 1.2.
* doc/libtool.texi: Adjust.  Put License in Appendix.

18 years ago* libltdl/config/ltmain.m4sh (func_mode_link): Remove each
Ralf Wildenhues [Mon, 23 Jul 2007 17:46:28 +0000 (17:46 +0000)] 
* libltdl/config/ltmain.m4sh (func_mode_link): Remove each
intermediate relinked object after use, to avoid quadratic space
complexity when linking partially.
Report by Isidor Zeuner <eezyy@gmx.net>.

18 years agoFix ChangeLog entry.
Eric Blake [Mon, 23 Jul 2007 17:44:35 +0000 (17:44 +0000)] 
Fix ChangeLog entry.

18 years ago* libltdl/config/ltmain.m4sh: Whitespace cleanup.
Eric Blake [Mon, 23 Jul 2007 12:23:27 +0000 (12:23 +0000)] 
* libltdl/config/ltmain.m4sh: Whitespace cleanup.

18 years ago* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src:
Eric Blake [Mon, 23 Jul 2007 12:10:31 +0000 (12:10 +0000)] 
* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src:
chase_symlinks): Avoid compiler warning.

18 years ago* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src): Add
Peter Rosin [Sun, 22 Jul 2007 17:57:10 +0000 (17:57 +0000)] 
* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src): Add
support for Microsoft Visual C. Also, older MinGW versions
seem to need stdint.h to find intptr_t.

18 years ago* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [linux]:
Ralf Wildenhues [Sun, 22 Jul 2007 08:55:11 +0000 (08:55 +0000)] 
* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [linux]:
Ignore lines in ld.so.conf starting with 'hwcap '.

18 years ago* tests/cdemo-exec.test: use $EXEEXT where appropriate
Charles Wilson [Mon, 16 Jul 2007 22:53:06 +0000 (22:53 +0000)] 
* tests/cdemo-exec.test: use $EXEEXT where appropriate
to correct mingw cross-compile issues.
* demo-deplibs.test: Ditto.
* demo-exec.test: Ditto.
* demo-inst.test: Ditto.
* demo-relink.test: Ditto.
* depdemo-exec.test: Ditto.
* depdemo-inst.test: Ditto.
* depdemo-relink.test: Ditto.
* f77demo-exec.test: Ditto.
* fcdemo-exec.test: Ditto.
* mdemo-exec.test: Ditto.
* mdemo-inst.test: Ditto.
* mdemo2-exec.test: Ditto.
* pdemo-exec.test: Ditto.
* pdemo-inst.test: Ditto.
* tagdemo-exec.test: Ditto.

18 years ago* AUTHORS, THANKS: Peter Ekberg got married, now Peter Rosin.
Peter Rosin [Sat, 14 Jul 2007 18:46:19 +0000 (18:46 +0000)] 
* AUTHORS, THANKS: Peter Ekberg got married, now Peter Rosin.

18 years ago* libltdl/m4/libtool.m4 (func_dirname_and_basename) <XSI>:
Charles Wilson [Fri, 13 Jul 2007 07:21:39 +0000 (07:21 +0000)] 
* libltdl/m4/libtool.m4 (func_dirname_and_basename) <XSI>:
New function.
(func_dirname_and_basename) <!XSI>: New function.
* libltdl/config/ltmain.m4sh (func_ltwrapper_scriptname):
Call it.  Also, take advantage of missed optimization using
func_dirname's additional arguments.
(func_mode_compile): Call it.
(func_mode_install): Call it.
(func_mode_link): Call it.

18 years ago* libltdl/config/ltmain.m4sh (func_mode_link): Strip the cwrapper
Peter Rosin [Thu, 12 Jul 2007 06:47:06 +0000 (06:47 +0000)] 
* libltdl/config/ltmain.m4sh (func_mode_link): Strip the cwrapper
using $STRIP instead of relying on the tools to support -s, which
MSVC doesn't.

18 years ago* libltdl/config/libtool.m4sh: Don't pass -msg_* through to the
Peter O'Gorman [Sat, 7 Jul 2007 05:09:10 +0000 (05:09 +0000)] 
* libltdl/config/libtool.m4sh: Don't pass -msg_* through to the
linker.
Reported by Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

18 years ago* libltdl/lt__alloc.c, libltdl/loaders/preopen.c,
Bob Friesenhahn [Wed, 4 Jul 2007 23:05:05 +0000 (23:05 +0000)] 
* libltdl/lt__alloc.c, libltdl/loaders/preopen.c,
libltdl/loaders/dyld.c, libltdl/loaders/dlopen.c, libltdl/ltdl.c,
libltdl/lt_error.c, libltdl/lt_dlloader.c, libltdl/lt__dirent.c:
Include lt__private.h prior to any system headers.
* libltdl/lt__alloc.c: Remove redundant inclusion of configuration
header.

18 years ago* libltdl/ltdl.c (advise_dup): Delete function no longer used
Eric Blake [Wed, 4 Jul 2007 21:28:00 +0000 (21:28 +0000)] 
* libltdl/ltdl.c (advise_dup): Delete function no longer used
after memleak fix three days ago.

18 years ago* libltdl/m4/libtool.m4 (_LT_ENABLE_LOCK) [ solaris ]: Cater to
Ralf Wildenhues [Tue, 3 Jul 2007 05:09:40 +0000 (05:09 +0000)] 
* libltdl/m4/libtool.m4 (_LT_ENABLE_LOCK) [ solaris ]: Cater to
old Sparc Solaris 7 ld that does not understand `-64'.
Report by Vincent Lefevre <vincent@vinc17.org>.

18 years ago* libltdl/m4/lt~obsolete.m4 (LTOBSOLETE_VERSION): New macro, to
Ralf Wildenhues [Sun, 1 Jul 2007 20:55:13 +0000 (20:55 +0000)] 
* libltdl/m4/lt~obsolete.m4 (LTOBSOLETE_VERSION): New macro, to
force-pull in this file by aclocal.
* libltdl/m4/libtool.m4 (LT_INIT): Require LTOBSOLETE_VERSION.
* tests/libtoolize.at (upgrading verbatim style aclocal.m4):
Adjust.
Report by H. J. Lu <hjl@lucon.org>.

18 years ago* libltdl/ltdl.c (tryall_dlopen): Rename argument to have typed
Ralf Wildenhues [Sun, 1 Jul 2007 06:12:46 +0000 (06:12 +0000)] 
* libltdl/ltdl.c (tryall_dlopen): Rename argument to have typed
alias of `advise' instead of allocating a copy.  Fixes memleak.

18 years ago* libltdl/m4/libtool.m4 (LT_SYS_DLOPEN_SELF): Correct a typo
Peter Breitenlohner [Sat, 30 Jun 2007 09:31:28 +0000 (09:31 +0000)] 
* libltdl/m4/libtool.m4 (LT_SYS_DLOPEN_SELF): Correct a typo
("-dld" instead of "-ldld").

18 years agoAdd a test to simulate a failure visible on systems which
Gary V. Vaughan [Sun, 24 Jun 2007 20:46:47 +0000 (20:46 +0000)] 
Add a test to simulate a failure visible on systems which
need a library prefix like 'lib', such as BeOS.  Fix a number
of bugs exposed by this test in order for it to pass.
Currently the prefix is hardcoded as 'lib', as I am not aware
of systems that require a different prefix:

* libltdl/loaders/preopen.c (lt_dlpreload_open):  Move error
condition out of test loop to be sure that each originator is
tried, instead of erroring out if the first doesn't match.
Support passing NULL as the originator to load all preloaded
modules originating in the program itself.
* libltdl/lt_dlloader.c (lt_dlloader_dump): New debug function.
* libltdl/libltdl/lt_dlloader.h (lt_dlloader_dump): Declare it
when LT_DEBUG_LOADERS is defined at compile time.
* libltdl/ltdl.c (lt_dlinit): Dump loader list after successful
initialisation.
(tryall_dlopen): Add a new VTABLE parameter to force use of a
specific loader in preference to trying every loader in turn.
Adjust all callers.
(try_dlopen): Always see whether a module was preloaded for
module names with no directory component before searching the
filesystem for a match.
* libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Declare
a new global_symbol_to_c_name_address_lib_prefix variable.
(global_symbol_to_c_name_address_lib_prefix): The sed
expressions to use when a lib prefix is enforced need to be
slightly different to work with preloaded modules.
* libltdl/config/ltmain.m4sh (func_generate_dlsyms): In order
to name preloaded symbols correctly for the lookup algorithm
to work when the loaded module file must be prefixed with lib.
Use global_symbol_to_c_name_address_lib_prefix when
need_lib_prefix is other than no.
* tests/need_lib_prefix.at: New test to check for breakage on
hosts where need_lib_prefix is unknown.
* Makefile.am (TESTSUITE_AT): Add new test.
* tests/TODO: Note missing tests that would have caught some
of the latent bugs fixed by this patch.
* HACKING: Document libltdl keyword.
* NEWS: Updated.

18 years agoReenable compilation of libltdl with C++:
Gary V. Vaughan [Sun, 24 Jun 2007 19:05:46 +0000 (19:05 +0000)] 
Reenable compilation of libltdl with C++:

* libltdl/ltdl.c (tryall_dlopen): Rename the try variable to
attempt, and cast explicitly.
(advise_dup): Add explicit cast.

18 years ago* libltdl/config/ltmain.m4sh (version-number) [irix]: Don't subtract
Peter O'Gorman [Fri, 22 Jun 2007 06:21:03 +0000 (06:21 +0000)] 
* libltdl/config/ltmain.m4sh (version-number) [irix]: Don't subtract
1 from major as it may be less than age.

18 years ago* tests/f77demo/configure.ac [--with-dist]: New option. Skip most
Noah Misch [Thu, 21 Jun 2007 19:02:36 +0000 (19:02 +0000)] 
* tests/f77demo/configure.ac [--with-dist]: New option.  Skip most
Fortran checks when given.
* tests/fcdemo/configure.ac [--with-dist]: Likewise.
* Makefile.am (@DIST_MAKEFILE_LIST@): Pass --with-dist.
Reported by Benoit Sigoure <tsuna@lrde.epita.fr>.