]> git.ipfire.org Git - thirdparty/libtool.git/log
thirdparty/libtool.git
17 years agoIt helps to close quotes.
Peter O'Gorman [Fri, 2 May 2008 05:54:49 +0000 (00:54 -0500)] 
It helps to close quotes.

* libltdl/config/ltmain.m4sh (func_mode_link): Add closing '.

17 years agoUse AC_CHECK_TOOL for otool and otool64.
Peter O'Gorman [Thu, 1 May 2008 17:40:24 +0000 (12:40 -0500)] 
Use AC_CHECK_TOOL for otool and otool64.

* libltdl/m4/libtool.m4 (_LT_REQUIRED_DARWIN_CHECKS): Check.
* libltdl/config/ltmain.m4sh (func_mode_link): Use.
Reported by Richard Purdie <rpurdie@rpsys.net>

17 years agoIgnore backup files.
Eric Blake [Wed, 30 Apr 2008 16:51:33 +0000 (10:51 -0600)] 
Ignore backup files.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoSupport cygwin 1.7.0 in loadlibrary loader.
Eric Blake [Wed, 30 Apr 2008 16:49:45 +0000 (10:49 -0600)] 
Support cygwin 1.7.0 in loadlibrary loader.

* libltdl/m4/ltdl.m4 (LT_LIB_DLLOAD) <cygwin>: Check for modern
function.
* libltdl/loaders/loadlibrary.c (vm_open): Avoid deprecated
cygwin_conv_to_full_win32_path.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoNew libtoolize --no-warn option and LIBTOOLIZE_OPTIONS parsing.
Gary V. Vaughan [Tue, 29 Apr 2008 19:11:54 +0000 (15:11 -0400)] 
New libtoolize --no-warn option and LIBTOOLIZE_OPTIONS parsing.

* libltdl/config/general.m4sh (opt_warning): New option.
(func_warning): Only display a warning message if $opt_warning
is true.
* libtoolize.m4sh: Accept options in LIBTOOLIZE_OPTIONS
environment variable.
(--no-warn): Parse new option.
(func_serial_update_check, func_keyword_update): Use func_warning.
(func_check_macros): Bail out before style issues nags when
$opt_warning is false.
* doc/libtool.texi (Invoking Libtoolize): Document it.
* tests/libtoolize.at: Test it.
* NEWS: Updated.

17 years agoFix libtoolize test failure with aclocal-1.10.1.
Gary V. Vaughan [Tue, 29 Apr 2008 18:28:07 +0000 (14:28 -0400)] 
Fix libtoolize test failure with aclocal-1.10.1.

* tests/libtoolize.at
(verbatim aclocal.m4 w/o AC_CONFIG_MACRO_DIR): Force aclocal to
search the source tree for latest libtool macros.

17 years agoFix bug in 2008-04-21 type improvements.
Eric Blake [Thu, 24 Apr 2008 16:05:12 +0000 (10:05 -0600)] 
Fix bug in 2008-04-21 type improvements.

* libltdl/ltdl.c (load_deplibs): Fix casting bug.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoUse /nonexistent as destination for files not to be installed.
Michael Haubenwallner [Wed, 23 Apr 2008 21:48:46 +0000 (23:48 +0200)] 
Use /nonexistent as destination for files not to be installed.

* tests/darwin.at (darwin fat compile): Fix typo.
* tests/inherited_flags.at (inherited_linker_flags): Change
-rpath to /nonexistent.  This helps to avoid accidentally
picking up libraries below /usr/local.
* tests/template.at (simple template test): Likewise.  Fixes
test failure for additional incompatible libstdc++ in
/usr/local.
* tests/testsuite.at (configure_options): Add
--prefix=/nonexistent.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years ago* libtoolize.m4sh (rerun_aclocal): Remove unused variable.
Gary V. Vaughan [Wed, 23 Apr 2008 15:05:16 +0000 (11:05 -0400)] 
* libtoolize.m4sh (rerun_aclocal): Remove unused variable.

Reported by Olly Betts <olly@survex.com>

17 years ago* tests/static.at (ccache -all-static): Ignore link warnings.
Ralf Wildenhues [Wed, 23 Apr 2008 05:48:45 +0000 (07:48 +0200)] 
* tests/static.at (ccache -all-static): Ignore link warnings.

Report by Gary V. Vaughan.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoLibtoolize now advises AC_CONFIG_MACRO_DIR use where appropriate.
Gary V. Vaughan [Wed, 23 Apr 2008 03:18:56 +0000 (23:18 -0400)] 
Libtoolize now advises AC_CONFIG_MACRO_DIR use where appropriate.

* libtoolize.at (func_check_macros): Always advise use of
AC_CONFIG_MACRO_DIR when not able to copy libtool macros into
the project tree.
* tests/libtoolize.at: New test for correct diagnosis of mismatch
between AC_CONFIG_MACRO_DIR and ACLOCAL_AMFLAGS.
Update expected output of other tests.
* NEWS: Updated.

17 years agoOnly complain that files are up-to-date with --force.
Gary V. Vaughan [Tue, 22 Apr 2008 22:55:20 +0000 (18:55 -0400)] 
Only complain that files are up-to-date with --force.

As a side effect, this also means that when `aclocal' copies the
libtool macros into `aclocal.m4' libtoolize complains only about
the macro files that are missing or not up-to-date.
* libtoolize.m4sh (func_echo_once): New function that prints
the contents of a named variable only on the first call.
(func_aclocal_update_check): New function that compares serial
numbers of libtool macros in aclocal.m4 and only diagnoses the
missing files.
(func_copy, func_copy_cb, func_copy_some_files, func_serial_update)
(func_keyword_update, func_ltmain_update, func_config_update)
(func_install_update): Accept a new argument naming a variable
containing a header string to print with func_echo_once iff any
body text is output by this function.
(func_install_pkgmacro_subproject, func_install_pkgmacro_parent)
(func_install_pkgltdl_files, func_install_pkgconfig_subproject)
(func_install_pkgconfig_parent: Set and pass a suitable
header string variable for the above functions.
(func_serial_update_check): Don't advise rerunning `libtoolize
--force' when aclocal.m4 is not m4_including libtoolize installed
macro files.
* tests/testsuite.at (_LIBTOOLIZE_TRANSFORM): Transform generic
/usr/local/share/aclocal paths to point into the uninstalled
libtool macro directory.
* tests/libtoolize.at: Update tests that were checking for old
behaviour of outputing `file is already up to date' even when
--force was not passed.
* tests/libtoolize.at: New tests to prevent regressions of these
smarter messages.
* NEWS: Updated.
Reported by Olly Betts <olly@survex.com>

17 years agoFix regression over 1.5.26 with ccache $CC -all-static.
Ralf Wildenhues [Tue, 22 Apr 2008 19:43:06 +0000 (21:43 +0200)] 
Fix regression over 1.5.26 with ccache $CC -all-static.

* libltdl/config/ltmain.m4sh (func_mode_link): Add
$link_static_flag to compile_command and link_command only
later, instead of right after a possible compiler wrapper.
* tests/static.at (ccache -all-static): New test.
* THANKS: Update.
Report by Richard Purdie.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoFix default argument for AC_LIBLTDL_CONVENIENCE.
Andreas Schwab [Tue, 22 Apr 2008 19:32:32 +0000 (21:32 +0200)] 
Fix default argument for AC_LIBLTDL_CONVENIENCE.

* libltdl/m4/ltdl.m4 (AC_LIBLTDL_CONVENIENCE): Default argument
to libltdl.
(AC_LIBLTDL_INSTALLABLE): Likewise.
* tests/configure-iface.at (convenience libltdl): New test.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoCapture lt~obsolete.m4 serial number correctly in libtoolize.
Gary V. Vaughan [Tue, 22 Apr 2008 01:59:09 +0000 (21:59 -0400)] 
Capture lt~obsolete.m4 serial number correctly in libtoolize.

* libltdl/m4/lt~obsolete.m4: Add the filename to the #serial
marker so that libtoolize's serial number checks can find it
in a non-include using aclocal.m4.
* NEWS: Updated.
Reported by Olly Betts <olly@survex.com>

17 years agoAllow better compile time type checking for lt_dladvise.
Gary V. Vaughan [Tue, 22 Apr 2008 01:56:06 +0000 (21:56 -0400)] 
Allow better compile time type checking for lt_dladvise.

* libltdl/lt__private.h (lt__handle, lt__advise): Typedefs
removed in favour of...
* libltdl/ltdl.h (lt_dlhandle),
libltdl/libltdl/lt_dlloader.h (lt_dladvise): ...changing from
void* to forward declarations.
* libltdl/loaders/dlopen.c, libltdl/loaders/loadlibrary.c,
libltdl/lt_dlloader.c, libltdl/ltdl.c: Remove many redundant
type casts.
* NEWS: Updated.
Suggested by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>

17 years agobasename does not take a list of strings.
Peter O'Gorman [Mon, 21 Apr 2008 20:18:41 +0000 (15:18 -0500)] 
basename does not take a list of strings.
* libltdl/config/ltmain.m4sh(func_extract_archives): Use sed
$basename.
* tests/darwin.at: New. Check that we can built fat program,
shared library and convenience library.
* Makefile.am: Add test.
Reported by LiKai Liu <liulk@cs.bu.edu>

17 years agoUse AC_CHECK_TOOL for lipo too.
Peter O'Gorman [Mon, 21 Apr 2008 15:21:27 +0000 (10:21 -0500)] 
Use AC_CHECK_TOOL for lipo too.

* libltdl/m4/libtool.m4 (_LT_REQUIRED_DARWIN_CHECKS): Check.
* libltdl/config/ltmain.m4sh (func_extract_archives): Use.

17 years agoFix misleading lt_dlopenadvise documentation.
Gary V. Vaughan [Sun, 20 Apr 2008 21:35:46 +0000 (17:35 -0400)] 
Fix misleading lt_dlopenadvise documentation.

* doc/libtool.texi (lt_dlopenadvise): The last parameter is of
type lt_dladvise, not lt_dladvise*.
(my_dlopenext): Correct the example too.
* NEWS: Updated.
Reported by Gary Kumfert <kumfert@llnl.gov>

17 years agoFix testsuite cleanup warnings on AIX with NFS.
Ralf Wildenhues [Sat, 19 Apr 2008 16:35:04 +0000 (18:35 +0200)] 
Fix testsuite cleanup warnings on AIX with NFS.

* tests/testsuite.at [ aix ]: Set file mode creation so that
'others' have no permissions.  Shared libraries are kept in
memory on AIX after use if they are world-readable, which means
on NFS mounts cleanup of test group directories will fail later.
* THANKS: Update.
Report and analysis by Michael Haubenwallner.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoFix nonportable use of expr.
Ralf Wildenhues [Sat, 19 Apr 2008 16:27:41 +0000 (18:27 +0200)] 
Fix nonportable use of expr.

* libltdl/config/ltmain.m4sh (func_mode_link) <Transforming
deplibs into only shared deplibs>: Fix expr portability issues,
noted on FreeBSD.  While at it, simplify and avoid forking.
Report by Bob Friesenhahn.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoExploit shell arithmetic expansion and ${#var}.
Ralf Wildenhues [Sat, 19 Apr 2008 16:24:48 +0000 (18:24 +0200)] 
Exploit shell arithmetic expansion and ${#var}.

* libltdl/m4/libtool.m4 (_LT_CHECK_SHELL_FEATURES): Also check
for arithmetic expansion, and ${#var}.
(_LT_PROG_XSI_SHELLFNS): Define func_arith and func_len
accordingly, falling back on 'expr'.  Note that the argument to
func_len may not start with a hyphen.  In the pre-Posix
fallback, take care not to rely on the exit status of the
variable assignment (not portable), but set the length to
$max_cmd_len instead.
* libltdl/config/ltmain.m4sh (func_mode_link): Use func_arith
and func_len throughout for integer arithmetic, fixing
quadratical amount of counting for reloadable object and
piecewise archive linking.  Change all comparisons with
max_cmd_len to test for smaller, non-equal length.
* THANKS: Update.
Suggested by Roland Mainz.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoAvoid redundant rm in compile mode, fix locking.
Ralf Wildenhues [Fri, 18 Apr 2008 22:01:12 +0000 (00:01 +0200)] 
Avoid redundant rm in compile mode, fix locking.

* libltdl/config/ltmain.m4sh (func_mode_compile): Avoid
redundant removal of old output files before compilation.
Do not remove $obj until we have successfully grabbed the
lockfile (in case the compiler doesn't grok `-c -o'), because
it might be identical to $output_obj.
At the end of the function, before we remove the lockfile,
update $removelist so that if the trap hits after the lockfile
has been removed, we do not accidentally remove $output_obj that
does not belong to us.
(func_write_libtool_object): Use $MV instead of mv.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoProperly emulate AC_ENABLE_SHARED([no]) and others.
Andreas Schwab [Fri, 18 Apr 2008 21:43:19 +0000 (23:43 +0200)] 
Properly emulate AC_ENABLE_SHARED([no]) and others.

* libltdl/m4/ltoptions.m4 (AC_ENABLE_SHARED): Check optional
argument.
(AC_ENABLE_STATIC): Likewise.
(AC_ENABLE_FAST_INSTALL): Likewise.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoMake ChangeLog merges easier.
Eric Blake [Wed, 16 Apr 2008 20:52:35 +0000 (14:52 -0600)] 
Make ChangeLog merges easier.

* .gitattributes: New file.
* HACKING: Mention how it helps.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoAdd .gitignore files.
Ralf Wildenhues [Tue, 15 Apr 2008 20:09:10 +0000 (22:09 +0200)] 
Add .gitignore files.

* .gitignore, doc/.gitignore, libltdl/.gitignore,
libltdl/config/.gitignore, libltdl/m4/.gitignore,
tests/.gitignore, tests/cdemo/.gitignore,
tests/demo/.gitignore, tests/depdemo/.gitignore,
tests/f77demo/.gitignore, tests/fcdemo/.gitignore,
tests/mdemo/.gitignore, tests/mdemo2/.gitignore,
tests/pdemo/.gitignore, tests/tagdemo/.gitignore:
New files.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoAllow bootstrap from git repository.
Peter O'Gorman [Tue, 15 Apr 2008 20:33:06 +0000 (15:33 -0500)] 
Allow bootstrap from git repository.

* Makefile.am: Pass srcdir as an argument to mkstamp and expect only 2 fields in mkstamps output.
* clcommit.m4sh: Ditto.
* configure.ac: Ditto.
* libltdl/config/mkstamp: return a revision and date based on the number of lines which look like dates in all the ChangeLog* files in the directory we got as arg 1.

17 years agoFix usage of setmode without declaration on cygwin.
Eric Blake [Fri, 11 Apr 2008 17:21:55 +0000 (17:21 +0000)] 
Fix usage of setmode without declaration on cygwin.

* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src): Ensure
setmode has prototype for both mingw and cygwin.

17 years ago* libltdl/m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS): Move non-XSI
Ralf Wildenhues [Thu, 10 Apr 2008 21:18:02 +0000 (21:18 +0000)] 
* libltdl/m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS): Move non-XSI
definition of func_dirname_and_basename ...
* libltdl/config/general.m4sh (func_dirname_and_basename):
... here, to use it for the other scripts that use general.m4sh
(and as portable fallback for libtool).  Add marker for early
insertion of generated shell functions (into libtool, not the
other scripts) here.
Use func_dirname_and_basename to compute progname, progpath.
* libltdl/config/ltmain.m4sh (func_mode_help): Remove marker
for insertion of generated shell functions.
* tests/sh.test: Adjust function definition test to not match
function call.

17 years ago* libltdl/m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS) <func_xform>:
Ralf Wildenhues [Thu, 10 Apr 2008 21:01:54 +0000 (21:01 +0000)] 
* libltdl/m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS) <func_xform>:
New function.
* libltdl/config/ltmain.m4sh (func_mode_compile): Use it to
avoid two forks with XSI shells.
* tests/suffix.test: Also test a file with multiple dots.

17 years ago* libltdl/config/ltmain.m4sh (func_win32_libid,
Peter O'Gorman [Thu, 10 Apr 2008 17:43:39 +0000 (17:43 +0000)] 
* libltdl/config/ltmain.m4sh (func_win32_libid,
func_generate_dlsyms, func_extract_an_archive,
func_extract_archives, func_mode_help): move these so they
appear after func_mode_compile.
* tests/nomode.test: Check that --mode=link --help works.
Reported by Josh Triplett <josh@freedesktop.org>

17 years ago* doc/libtool.texi (Libltdl interface): Add missing
Gary V. Vaughan [Tue, 8 Apr 2008 00:48:23 +0000 (00:48 +0000)] 
* doc/libtool.texi (Libltdl interface): Add missing
documentation for lt_dlopenavise.
Reported by Anton Erti <anton@mips.complang.tuwien.ac.at>

Reported by Olly Betts <olly@survex.com>

17 years ago* configure.ac, libltdl/configure.ac (AM_INIT_AUTOMAKE): Use
Gary V. Vaughan [Mon, 7 Apr 2008 14:20:16 +0000 (14:20 +0000)] 
* configure.ac, libltdl/configure.ac (AM_INIT_AUTOMAKE): Use
gnu rather than gnits standards so that version number 2.2.3a
is not rejected!
Repoted by Olly Betts  <olly@survex.com>

17 years ago* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
Gary V. Vaughan [Wed, 2 Apr 2008 01:09:08 +0000 (01:09 +0000)] 
* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
number to 2.2.3a.

17 years agoGNU Libtool 2.2.2 was released. release-2-2-2 v2.2.2
Gary V. Vaughan [Tue, 1 Apr 2008 23:32:02 +0000 (23:32 +0000)] 
GNU Libtool 2.2.2 was released.

* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
number to 2.2.2.
* libltdl/Makefile.in (LTDL_VERSION_INFO): C:R+1:A because the
interfaces are unchanged, even though we improved the code some
more.
* NEWS: Updated.

17 years ago* libltdl/m4/libtool.m4, libltdl/m4/ltdl.m4,
Gary V. Vaughan [Tue, 1 Apr 2008 18:23:20 +0000 (18:23 +0000)] 
* libltdl/m4/libtool.m4, libltdl/m4/ltdl.m4,
libltdl/m4/ltoptions.m4: Bump serial numbers to account for
changes since 2.2 release.

17 years ago* libltdl/m4/libtool.m4 [_LT_REQUIRED_DARWIN_CHECKS]: Fix the
Peter O'Gorman [Thu, 27 Mar 2008 17:53:46 +0000 (17:53 +0000)] 
* libltdl/m4/libtool.m4 [_LT_REQUIRED_DARWIN_CHECKS]: Fix the
test for -single_module and log it to config.log.
Reported by Torok Edwin and Nigel Home.

17 years agoDocument that disable-static plus -all-static is not portable.
Ralf Wildenhues [Mon, 24 Mar 2008 14:28:43 +0000 (14:28 +0000)] 
Document that disable-static plus -all-static is not portable.
* doc/libtool.texi (Link mode): -all-static does not go well
with disable-static on most systems.
* tests/static.at (static linking flags for programs) [!aix]:
With --disable-static but nonempty link_static_flag, skip the
m-all-static link.  Do not skip it on AIX, as there the
enable_static is self-inflicted, and thus expected to work.
* THANKS: Update.
Report by Nix.

17 years ago* libltdl/m4/libtool.m4 (_LT_CHECK_BUILDDIR): No need to escape
Ralf Wildenhues [Mon, 17 Mar 2008 22:39:05 +0000 (22:39 +0000)] 
* libltdl/m4/libtool.m4 (_LT_CHECK_BUILDDIR): No need to escape
backticks in argument to AC_MSG_WARN or AC_MSG_ERROR.
* libltdl/m4/ltdl.m4 (_LTDL_INSTALLABLE, LTDL_INIT): Likewise.

17 years ago* libltdl/config/ltmain.m4sh (NLS nuisances): Fix quoting of
Ralf Wildenhues [Sun, 16 Mar 2008 08:34:25 +0000 (08:34 +0000)] 
* libltdl/config/ltmain.m4sh (NLS nuisances): Fix quoting of
localization variables for shell-active characters.
* tests/localization.at (localized compiler messages): Extend
test.
* THANKS: Update.
Report by Mike Frysinger.

17 years ago* tests/defs.m4sh (func_get_config): Build egrep regex to speed
Ralf Wildenhues [Sat, 15 Mar 2008 22:06:56 +0000 (22:06 +0000)] 
* tests/defs.m4sh (func_get_config): Build egrep regex to speed
up extracting several variables at once.  Use it to extract all
default variables at once.  Also extract build_alias and
host_alias from the libtool script.
(func_configure_nofail): Use build_alias and host_alias for
--build and --host, respectively.  Pass each if nonempty.
* tests/testsuite.at: Pass --build if build_alias is nonemtpy.
* tests/quote.test: Extract ECHO and wl at once.

17 years ago* libltdl/m4/ltoptions.m4 (AC_LIBTOOL_WIN32_DLL): Require
Ralf Wildenhues [Sat, 15 Mar 2008 22:01:31 +0000 (22:01 +0000)] 
* libltdl/m4/ltoptions.m4 (AC_LIBTOOL_WIN32_DLL): Require
AC_CANONICAL_HOST.
* THANKS: Update.
Report by Jakub Bogusz.

17 years ago* NEWS: Update.
Ralf Wildenhues [Fri, 14 Mar 2008 06:18:07 +0000 (06:18 +0000)] 
* NEWS: Update.

17 years ago* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src) [file
Charles Wilson [Thu, 13 Mar 2008 04:46:08 +0000 (04:46 +0000)] 
* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src) [file
scope]: additional #includes and #defines to support...
(func_emit_cwrapperexe_src) [main]: ensure stdout is set to
binary mode for cygwin|mingw builds. Ensure temporary script
file is written in binary mode for cygwin|mingw builds.
(func_mode_link) [cygwin|mingw]: cross-build support - only
use cwrapper to generate shell wrapper if building native;
otherwise use func_emit_wrapper()

17 years ago* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
Henning Nielsen Lund [Wed, 12 Mar 2008 19:48:25 +0000 (19:48 +0000)] 
* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
(_LT_COMPILER_PIC, _LT_LINKER_SHLIBS) [amigaos]: Port to
AmigaOS4 shared libraries on powerpc.
* libltdl/m4/ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS) [amigaos]:
Likewise.
* THANKS, NEWS: Update.

17 years agoFix compiler output to be in the user locale.
Bruno Haible [Sun, 9 Mar 2008 14:12:10 +0000 (14:12 +0000)] 
Fix compiler output to be in the user locale.
* libltdl/config/general.m4sh (func_show_eval_locale): New
function, for running commands in the user locale.
* libltdl/config/ltmain.m4sh (func_mode_compile): Use it for
compiling.
* tests/localization.at (localized compiler messages): New test.
* Makefile.am: Adjust.
Report by Bruno Haible.

17 years agoFix several test failures on Cygwin and MinGW.
Ralf Wildenhues [Sat, 8 Mar 2008 18:02:39 +0000 (18:02 +0000)] 
Fix several test failures on Cygwin and MinGW.
* tests/nonrecursive.at: Use -no-undefined for foo.la.
* tests/recursive.at: Likewise.
* tests/subproject.at: Likewise.
* tests/lt_dladvise.at: For systems where undefined symbols are
not allowed, to not try to load the module libdepend.
[ mingw ]: Add to list of such systems.
* tests/testsuite.at (_LT_AT_TRANSLATE_TEXT_OUTPUT): New macro,
to translate line ending of expout and experr files suitable for
host executables.
(LT_AT_CHECK, LT_AT_NOINST_EXEC_CHECK): Use it.
Report by Bob Friesenhahn.

17 years agoFix installcheck dependencies, fix for --program-transform-name.
Ralf Wildenhues [Sat, 8 Mar 2008 17:41:44 +0000 (17:41 +0000)] 
Fix installcheck dependencies, fix for --program-transform-name.
* Makefile.am (installcheck-local): Depend upon tests/atconfig
and $(srcdir)/$(TESTSUITE).
* tests/testsuite.at (_LIBTOOLIZE_TRANSFORM): New macro.
(LT_AT_CHECK_LIBTOOLIZE): Use it to transform expout and experr
files suitably.
* HACKING: Update.

17 years agoDrop usage of obsolete macros AC_EXEEXT and AC_OBJEXT.
Ralf Wildenhues [Sat, 8 Mar 2008 12:14:15 +0000 (12:14 +0000)] 
Drop usage of obsolete macros AC_EXEEXT and AC_OBJEXT.
* libltdl/m4/libtool.m4 (_LT_ENABLE_LOCK, _LT_COMPILER_OPTION)
(_LT_COMPILER_C_O, LT_PATH_NM, _LT_CMD_GLOBAL_SYMBOLS, _LT_SETUP):
Drop usage of obsolete AC_OBJEXT and AC_EXEEXT.
* tests/am-subdir.at (C++ subdir-objects): Likewise.

17 years ago* tests/convenience.at (Java convenience archives): Skip test if
Peter O'Gorman [Fri, 7 Mar 2008 08:07:50 +0000 (08:07 +0000)] 
* tests/convenience.at (Java convenience archives): Skip test if
gcj cannot compile a working executable from .java files.
Report by Nelson H. F. Beebe.

17 years ago* libltdl/m4/libtool.m4 (_LT_LANG_GCJ_CONFIG): Need to set LD.
Peter O'Gorman [Fri, 7 Mar 2008 06:42:36 +0000 (06:42 +0000)] 
* libltdl/m4/libtool.m4 (_LT_LANG_GCJ_CONFIG): Need to set LD.
Reported by Nelson H. F. Beebe.

17 years ago* libltdl/m4/libtool.m4 (_LT_PROG_FC): Undo commit - bad idea.
Peter O'Gorman [Fri, 7 Mar 2008 06:14:26 +0000 (06:14 +0000)] 
* libltdl/m4/libtool.m4 (_LT_PROG_FC): Undo commit - bad idea.

17 years ago* libltdl/m4/libtool.m4 (_LT_PROG_FC): Report FC=no if the FC
Peter O'Gorman [Fri, 7 Mar 2008 05:38:33 +0000 (05:38 +0000)] 
* libltdl/m4/libtool.m4 (_LT_PROG_FC): Report FC=no if the FC
compiler is not a GNU compiler and the CXX compiler is a GNU
compiler.
Reported by Nelson H. F. Beebe.

17 years ago* Makefile.maint (TSDEPS_DIST): Removed. No longer used.
Gary V. Vaughan [Fri, 7 Mar 2008 03:26:26 +0000 (03:26 +0000)] 
* Makefile.maint (TSDEPS_DIST): Removed.  No longer used.
(TSDEPS): libtool.m4 has long since moved to libltdl.
(cvs-dist): Don't put the suffix dot in twice.

17 years ago* tests/convenience.at (Java convenience archives): Skip test if
Ralf Wildenhues [Thu, 6 Mar 2008 19:59:25 +0000 (19:59 +0000)] 
* tests/convenience.at (Java convenience archives): Skip test if
gcj cannot compile a .java file.
Report by Nelson H. F. Beebe.

17 years ago* libltdl/config/ltmain.m4sh (func_lalib_unsafe_p): redirect
Ralf Wildenhues [Wed, 5 Mar 2008 20:14:43 +0000 (20:14 +0000)] 
* libltdl/config/ltmain.m4sh (func_lalib_unsafe_p): redirect
and restore from stdin, not stdout.
* tests/execute-mode.at (execute mode): Adjust test to catch
this.
Report by Roberto Bagnara.

17 years agoFix libltdl to not skip dlopen on systems with several loaders,
Ralf Wildenhues [Tue, 4 Mar 2008 22:31:33 +0000 (22:31 +0000)] 
Fix libltdl to not skip dlopen on systems with several loaders,
such as HP-UX, Cygwin.
* libltdl/slist.c (slist_concat): When appending to the tail
of a list, do not drop items off the beginning of the list.
* NEWS: Update.

17 years ago* libltdl/config/ltmain.m4sh (func_mode_execute): Replace only
Ralf Wildenhues [Tue, 4 Mar 2008 21:25:48 +0000 (21:25 +0000)] 
* libltdl/config/ltmain.m4sh (func_mode_execute): Replace only
arguments we have identified as shell or C wrappers.
(func_emit_wrapper): Output error message on stderr.
* tests/execute-mode.at: New file, with --mode=execute tests.
* Makefile.am: Adjust.
* NEWS: Update.
Fixes 2.2 regression.  Report by Roberto Bagnara.

17 years ago* libltdl/m4/libtool.m4 (_LT_CONFIG): Drop misleading `GNU'
Ralf Wildenhues [Tue, 4 Mar 2008 21:14:22 +0000 (21:14 +0000)] 
* libltdl/m4/libtool.m4 (_LT_CONFIG): Drop misleading `GNU'
prefix before the host package name in the "Generated by" line
for the libtool script.
* THANKS: Update.
Reports by Peter Rosin and Roberto Bagnara.

17 years ago* doc/libtool.texi (Module loaders for libltdl): Fix typo.
Ralf Wildenhues [Tue, 4 Mar 2008 21:07:36 +0000 (21:07 +0000)] 
* doc/libtool.texi (Module loaders for libltdl): Fix typo.

17 years ago* libltdl/loaders/dld_link.c (vl_exit): New function, zero out ...
Ralf Wildenhues [Tue, 4 Mar 2008 21:00:19 +0000 (21:00 +0000)] 
* libltdl/loaders/dld_link.c (vl_exit): New function, zero out ...
(vtable): ... this new file static variable split out from ...
(get_vtable): ... here.  Initialize vtable, register vl_exit as
dlloader_exit function.
* libltdl/loaders/dlopen.c: Likewise.
* libltdl/loaders/dyld.c: Likewise.
* libltdl/loaders/load_add_on.c: Likewise.
* libltdl/loaders/loadlibrary.c: Likewise.
* libltdl/loaders/shl_load.c: Likewise.
* libltdl/loaders/preopen.c: Likewise; vl_exit existed here
already.
* tests/lt_dlexit.at (lt_dlexit unloading libs): Update test.
* NEWS: Update.
Report by Andreas Schwab.

17 years ago* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
Gary V. Vaughan [Sun, 2 Mar 2008 02:19:19 +0000 (02:19 +0000)] 
* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
number to 2.3a.

17 years agoGNU Libtool 2.2 was released. release-2-2
Gary V. Vaughan [Sun, 2 Mar 2008 00:05:02 +0000 (00:05 +0000)] 
GNU Libtool 2.2 was released.

* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
number to 2.2.
* NEWS: Updated.

17 years ago* tests/lt_dladvise.at, tests/lt_dlexit.at,
Gary V. Vaughan [Sat, 1 Mar 2008 22:43:04 +0000 (22:43 +0000)] 
* tests/lt_dladvise.at, tests/lt_dlexit.at,
tests/need_lib_prefix.at: Skip these tests when called from
`make distcheck DISTCHECK_CONFIGURE_FLAGS=--disable-ltdl-install'.
The tests try to link against the dummy installed libltdl.la
from .../_inst/lib/libltdl.la, which does not exist when
configured with --disable-ltdl-install.

17 years ago* libltdl/m4/argz.m4 (AC_CHECK_FUNCS): Also use our replacement
Gary V. Vaughan [Fri, 29 Feb 2008 21:33:22 +0000 (21:33 +0000)] 
* libltdl/m4/argz.m4 (AC_CHECK_FUNCS): Also use our replacement
argz if the system argz_add or argz_count are missing.
Report by Juan Manuel Guerrero <juan.guerrero@gmx.de>.

17 years ago* libltdl/argz.c (argz_add, argz_count): New functions.
Karl Berry [Tue, 26 Feb 2008 22:18:03 +0000 (22:18 +0000)] 
* libltdl/argz.c (argz_add, argz_count): New functions.
* libltdl/argz_.h: Declare them.
Report by Juan Manuel Guerrero <juan.guerrero@gmx.de>.

17 years ago* libltdl/m4/libtool.m4 (_LT_LANG_GCJ_CONFIG): Do not call the
Peter O'Gorman [Wed, 20 Feb 2008 20:11:39 +0000 (20:11 +0000)] 
* libltdl/m4/libtool.m4 (_LT_LANG_GCJ_CONFIG): Do not call the
_LT_SYS_DYNAMIC_LINKER macro here.
Reported by Mike Frysinger <vapier@gentoo.org>

17 years ago* libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Fix typo.
Peter O'Gorman [Sat, 16 Feb 2008 03:46:06 +0000 (03:46 +0000)] 
* libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Fix typo.

* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): better handling
of predefined values for lt_cv_sys_lib_search_path_spec and

17 years ago* libtool.m4 (_LT_SYS_DYNAMIC_LINKER): better handling of
Peter Breitenlohner [Thu, 14 Feb 2008 23:48:39 +0000 (23:48 +0000)] 
* libtool.m4 (_LT_SYS_DYNAMIC_LINKER): better handling of
predefined values for lt_cv_sys_lib_search_path_spec and
lt_cv_sys_lib_dlsearch_path_spec.

17 years ago* libtoolize.m4sh (func_install_pkgconfig_files): Only call
Ralf Wildenhues [Thu, 14 Feb 2008 04:36:37 +0000 (04:36 +0000)] 
* libtoolize.m4sh (func_install_pkgconfig_files): Only call
func_install_pkgconfig_parent if $seen_autoconf.
* tests/standalone.at (compiling softlinked libltdl)
(compiling copied libltdl, installable libltdl)
(linking libltdl without autotools): Use checked libtoolize
calls to catch warnings.

17 years ago* libltdl/configure.ac: Bump package version.
Ralf Wildenhues [Wed, 13 Feb 2008 22:09:40 +0000 (22:09 +0000)] 
* libltdl/configure.ac: Bump package version.
* HACKING: Reminder to do it next time, too.

17 years ago* tests/mdemo/Makefile.am (@LIBLTDL@): Update outdated
Ralf Wildenhues [Mon, 11 Feb 2008 21:51:43 +0000 (21:51 +0000)] 
* tests/mdemo/Makefile.am (@LIBLTDL@): Update outdated
dependencies.
($(top_distdir)/libltdl/libtool): Remove.
Fixes spurious mdemo-dryrun failure with OpenBSD make.

17 years agoAdd COPYING file to CVS, GPLv2.
Ralf Wildenhues [Sat, 9 Feb 2008 22:04:34 +0000 (22:04 +0000)] 
Add COPYING file to CVS, GPLv2.

17 years ago* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux] <ifort>:
Ralf Wildenhues [Sat, 9 Feb 2008 07:14:35 +0000 (07:14 +0000)] 
* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [linux] <ifort>:
Treat like icc and ecc, for fixed `-Wl,' and `-KPIC' settings.

17 years ago* tests/archive-in-archive.at
Ralf Wildenhues [Fri, 8 Feb 2008 06:55:07 +0000 (06:55 +0000)] 
* tests/archive-in-archive.at
(static library contains static library): Test also the actual
broken link command, and the following install command, as
UnixWare ar rightly refuses to put an archive into an archive.
Report by Tim Rice.

17 years ago* libltdl/m4/ltoptions.m4 (_LT_SET_OPTIONS): Only set default
Peter O'Gorman [Wed, 6 Feb 2008 19:53:01 +0000 (19:53 +0000)] 
* libltdl/m4/ltoptions.m4 (_LT_SET_OPTIONS): Only set default
LT_INIT values for LT_INIT, not LTDL_INIT.
Reported by Jochem Huhmann <joh@revier.com>

17 years ago* tests/testsuite.at (LT_AT_TAG): For the CXX tag, if $CXX is
Ralf Wildenhues [Fri, 1 Feb 2008 19:06:42 +0000 (19:06 +0000)] 
* tests/testsuite.at (LT_AT_TAG): For the CXX tag, if $CXX is
g++, check that `g++ -v' works; AC_PROG_CXX may have set that
as default value even if it found no C++ compiler.
Report by Andreas Schwab.

17 years ago* libltdl/Makefile.inc (EXTRA_DIST): Now that we're not using
Gary V. Vaughan [Fri, 1 Feb 2008 19:03:56 +0000 (19:03 +0000)] 
* libltdl/Makefile.inc (EXTRA_DIST): Now that we're not using
Autoconf's AC_SOURCES macro, Automake can't trace our extra
source files argz, lt__dirent.c and lt__strl.c.  List them
manually here to make sure they are distributed.
* NEWS: Updated.
Reported by Bob Friesenhahn  <bfriesen@simple.dallas.tx.us>

17 years ago* configure.ac (AC_INIT): Bump version number to 2.1c.
Gary V. Vaughan [Thu, 31 Jan 2008 16:24:30 +0000 (16:24 +0000)] 
* configure.ac (AC_INIT): Bump version number to 2.1c.

17 years agoGNU Libtool 2.1b was released. release-2-1b
Gary V. Vaughan [Thu, 31 Jan 2008 16:21:19 +0000 (16:21 +0000)] 
GNU Libtool 2.1b was released.

* configure.ac (AC_INIT): Bump version number to 2.1b.
* libltdl/Makefile.inc (LTDL_VERSION_INFO): Increment to account
for new interfaces since the last libltdl update.
* HACKING (Release Procedure): Note that LTDL_VERSION_INFO is now
kept in libltdl/Makefile.inc.

17 years ago* tests/cdemo, tests/depdemo, tests/fcdemo, tests/pdemo,
Gary V. Vaughan [Thu, 31 Jan 2008 16:19:18 +0000 (16:19 +0000)] 
* tests/cdemo, tests/depdemo, tests/fcdemo, tests/pdemo,
tests/demo, tests/f77demo, tests/mdemo, tests/tagdemo
(distclean-local): Remove compiler file droppings left by
Autoconf tests that prevent make dist from finishing on
several machines including Mac OS 10.5.

17 years agoUnfortunately, the autoconf implementation of AC_LIBOBJ and
Gary V. Vaughan [Thu, 31 Jan 2008 16:17:06 +0000 (16:17 +0000)] 
Unfortunately, the autoconf implementation of AC_LIBOBJ and
friends requires all libobjs to be in the same directory, as
declared by AC_CONFIG_LIBOBJ_DIR.  That might prevent using
either recursive or nonrecursive libltdl if the parent project
has libobjs of its own, except that this patch tracks libltdl's
libobjs in another namespace:

* libltdl/m4/ltdl.m4 (_LT_LIBOBJ, _LT_LIBSOURCES): Versions of
AC_LIBOBJ and AC_LIBSOURCES that save missing sources in a
ltdl_LIBOBJS automake macro, instead of the global LIBOBJS
automake macro.  Content of the macros inspired by code from
gnulib-tool.
(_LTDL_MODE_DISPATCH): Initialise lt_libobj_prefix in
nonrecursive mode.
(LTDL_INIT): Push and pop the new definitions around potential
sites that call AC_LIBOBJ.  Also, using lt_libobj_prefix,
initialise ltdl_LIBOBJS and ltdl_LTLIBOBJS.
* libtoolize.m4sh (func_fixup_Makefile): Substitute ltdl_LIBOBJS
and ltdl_LTLIBOBJS for LIBOBJS and LTLIBOBJS during copying
either Makefile.am or Makefile.inc, depending on ltdl_mode.
Reported by Eric Blake <ebb9@byu.net>

17 years agoThere are 5 distinct batches of files that libtoolize might
Gary V. Vaughan [Thu, 31 Jan 2008 16:14:09 +0000 (16:14 +0000)] 
There are 5 distinct batches of files that libtoolize might
install into a project, depending on whether libltdl is
being installed in subproject mode, and in that case whether
the parent project shares the config and macro directories
with the subproject ltdl.  Make a separate function for each
of those 5 batches (4 new functions below, plus the recently
factored func_install_pkgltdl_files), and make a clearer
distinction between when each of them is needed:

* libtoolize.m4sh (func_install_pkgmacro_subproject):
New function for installing and reporting on m4 files copied
to a subproject ltdl directory.
(func_install_pkgmacro_parent): Similar new function for m4
files copied solely for the use of the parent project,
including serial checking.
(func_install_pkgconfig_subproject): New function for
installing and reporting on config helper files copied to a
subproject ltdl directory.
(func_install_pkgconfig_parent): Similar new function for
config helper files copied solely for the use of the parent
project, including serial checking.
(func_install_pkgmacro_files, func_install_pkgconfig_files):
Rewritten in terms of the above functions.
* tests/libtoolize.at: Adjust test expout's to match newly
regularized libtoolize output.
Move parent project pkgconfig files to build-aux directory
so that progress messages show an obvious difference to
pkgconfig files installed to subproject `config' directory.
(nonrecursive ltdl with AC_CONFIG_MACRO_DIR): New test.
(diagnose missing LT_CONFIG_LTDL_DIR): New test.
(subproject ltdl with non-shared directories): New test.
Reported by Eric Blake <ebb9@byu.net>

17 years ago* libltdl/m4/libtool.m4 [darwin]: Changes to glob pattern matching
Peter O'Gorman [Tue, 29 Jan 2008 22:07:18 +0000 (22:07 +0000)] 
* libltdl/m4/libtool.m4 [darwin]: Changes to glob pattern matching
to be safer.

17 years agoSearch the compiler path too.
Peter O'Gorman [Mon, 28 Jan 2008 15:49:46 +0000 (15:49 +0000)] 
Search the compiler path too.
* libltdl/m4/libtool.m4 (compiler_lib_search_dirs): New variable.
* libltdl/config/ltmain.m4sh: Use it.
Reported by Maynard Johnson

17 years ago* libtoolize.m4sh (func_check_macros): Correct typo with
Gary V. Vaughan [Mon, 28 Jan 2008 07:34:25 +0000 (07:34 +0000)] 
* libtoolize.m4sh (func_check_macros): Correct typo with
'$opt_quiet ||' where '$opt_quiet &&' that was preventing
func_check_macros from running!

17 years ago* libtoolize.m4sh: Set opt_ltdl whenever seen_ltdl is set
Gary V. Vaughan [Mon, 28 Jan 2008 05:39:26 +0000 (05:39 +0000)] 
* libtoolize.m4sh: Set opt_ltdl whenever seen_ltdl is set
so that libtoolize behaves as though --ltdl was passed even
if it wasn't as long as LTDL_INIT (or equivalent) was seen
in configure.ac.  Adjust redundant '$opt_ltdl || $seen_ltdl'
to simply '$opt_ltdl'.
Reported by Eric Blake <ebb9@byu.net>

17 years ago* libtoolize.m4sh (func_check_macros): Check opt_quiet
Gary V. Vaughan [Mon, 28 Jan 2008 05:12:23 +0000 (05:12 +0000)] 
* libtoolize.m4sh (func_check_macros): Check opt_quiet
in the function itself to simplify calling it.  Also move
the definition of the function.

17 years ago* libtoolize.m4sh (func_scan_files): Be sure to set the
Gary V. Vaughan [Mon, 28 Jan 2008 05:04:51 +0000 (05:04 +0000)] 
* libtoolize.m4sh (func_scan_files): Be sure to set the
default libltdl mode to 'subproject' when libtoolize is
executed before configure.ac has been updated.

17 years ago* libtoolize.m4sh (func_install_pkgconfig_files)
Gary V. Vaughan [Sun, 27 Jan 2008 16:35:36 +0000 (16:35 +0000)] 
* libtoolize.m4sh (func_install_pkgconfig_files)
(func_install_pkgmacro_files, func_install_pkgltdl_files):
Factored out from the 'Main' section of the file.

17 years ago* libtoolize.m4sh (subproject_auxdir, subproject_macrodir):
Gary V. Vaughan [Sun, 27 Jan 2008 15:44:04 +0000 (15:44 +0000)] 
* libtoolize.m4sh (subproject_auxdir, subproject_macrodir):
New variables to hold the default locations for auxfiles
and macrofiles in a subproject libltdl.
(ac_auxdir, ac_macrodir): New variables to hold the values
passed by AC_CONFIG_AUX_DIR and AC_CONFIG_MACRO_DIR resp.
(auxdir, macrodir): Adjust to contain the values to be
used by libtoolize at runtime.

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.