]> git.ipfire.org Git - thirdparty/libtool.git/log
thirdparty/libtool.git
16 years agoMerge branch 'pr-changelog-libtool-ar' into pr-msvc-support
Peter Rosin [Fri, 23 Jan 2009 13:10:57 +0000 (14:10 +0100)] 
Merge branch 'pr-changelog-libtool-ar' into pr-msvc-support

16 years agoAdd ChangeLog for the libtool-ar patch.
Peter Rosin [Fri, 23 Jan 2009 13:09:02 +0000 (14:09 +0100)] 
Add ChangeLog for the libtool-ar patch.

16 years agoMerge branch 'pr-changelog-embed-manifest-exeext' into pr-msvc-support
Peter Rosin [Fri, 23 Jan 2009 12:48:48 +0000 (13:48 +0100)] 
Merge branch 'pr-changelog-embed-manifest-exeext' into pr-msvc-support

16 years agoAdd ChangeLog for the embed-manifest-exeext patch.
Peter Rosin [Fri, 23 Jan 2009 12:45:49 +0000 (13:45 +0100)] 
Add ChangeLog for the embed-manifest-exeext patch.

16 years agoMerge branch 'pr-changelog-msvc-documentation' into pr-msvc-support
Peter Rosin [Fri, 23 Jan 2009 12:42:43 +0000 (13:42 +0100)] 
Merge branch 'pr-changelog-msvc-documentation' into pr-msvc-support

16 years agoAdd ChangeLog for the msvc-documentation patch.
Peter Rosin [Fri, 23 Jan 2009 12:40:35 +0000 (13:40 +0100)] 
Add ChangeLog for the msvc-documentation patch.

16 years agoMerge branch 'pr-changelog-skip-on-no-reload' into pr-msvc-support
Peter Rosin [Fri, 23 Jan 2009 12:33:38 +0000 (13:33 +0100)] 
Merge branch 'pr-changelog-skip-on-no-reload' into pr-msvc-support

16 years agoAdd ChangeLog for the skip-on-no-reload patch.
Peter Rosin [Fri, 23 Jan 2009 12:32:13 +0000 (13:32 +0100)] 
Add ChangeLog for the skip-on-no-reload patch.

16 years agoMerge branch 'pr-tests-newline-fixes' into pr-msvc-support
Peter Rosin [Thu, 22 Jan 2009 22:44:00 +0000 (23:44 +0100)] 
Merge branch 'pr-tests-newline-fixes' into pr-msvc-support

16 years agoUnify line endings in localization test.
Peter Rosin [Thu, 22 Jan 2009 22:41:06 +0000 (23:41 +0100)] 
Unify line endings in localization test.

* tests/testsuite.at: Update copyright year.
(LT_AT_UNIFY_NL): Add macro that unifies line endings on
platforms that suffer from such confusion.
* tests/localization.at: Use it. Update copyright year. Fixes
the test on MSYS/MSVC.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agopatch libtool-ar.patch
Peter Rosin [Thu, 8 Nov 1984 08:20:00 +0000 (10:20 +0200)] 
patch libtool-ar.patch

16 years agopatch embed-manifest-exeext.patch
Peter Rosin [Mon, 3 Apr 1995 02:10:00 +0000 (04:10 +0200)] 
patch embed-manifest-exeext.patch

16 years agopatch msvc-documentation.patch
Peter Rosin [Sun, 20 Sep 1998 00:06:40 +0000 (02:06 +0200)] 
patch msvc-documentation.patch

16 years agopatch skip-on-no-reload.patch
Peter Rosin [Sun, 15 May 1983 19:30:00 +0000 (21:30 +0200)] 
patch skip-on-no-reload.patch

16 years ago* .gitignore: Ignore *.obj files for MSVC (and w32).
Peter Rosin [Mon, 18 Aug 2008 12:25:55 +0000 (14:25 +0200)] 
* .gitignore: Ignore *.obj files for MSVC (and w32).

16 years agoEnable response file support for GNU nm; reorder.
Ralf Wildenhues [Sat, 16 Aug 2008 16:20:42 +0000 (18:20 +0200)] 
Enable response file support for GNU nm; reorder.

* libltdl/m4/libtool.m4 (LT_PATH_NM): Move setting of
nm_file_list_spec ...
(_LT_CMD_GLOBAL_SYMBOLS): ... here.  Also enable for GNU nm if
supported.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix ccache test for MSVC.
Ralf Wildenhues [Sat, 16 Aug 2008 16:19:43 +0000 (18:19 +0200)] 
Fix ccache test for MSVC.

* tests/static.at (ccache -all-static): Ignore compiler stderr.
Reported by Peter Rosin.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agodllimport variables for MSVC in stresstest.at
Peter Rosin [Fri, 15 Aug 2008 08:04:25 +0000 (10:04 +0200)] 
dllimport variables for MSVC in stresstest.at

* tests/stresstest.at [MSVC]: dllimport all imported
variables.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agodllimport when the lib is shared and not linking with -static
Peter Rosin [Fri, 15 Aug 2008 06:54:55 +0000 (08:54 +0200)] 
dllimport when the lib is shared and not linking with -static

* tests/stresstest.at: Link with main.lo when liba is shared
and linking main with -no-install.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoAlways dllimport the variable for MSVC in link-order.at
Peter Rosin [Fri, 15 Aug 2008 06:33:59 +0000 (08:33 +0200)] 
Always dllimport the variable for MSVC in link-order.at

* tests/link-order.at [MSVC]: Always dllimport exported
variables.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix _LT_TAGVAR errors, hide error output.
Ralf Wildenhues [Wed, 13 Aug 2008 05:13:06 +0000 (07:13 +0200)] 
Fix _LT_TAGVAR errors, hide error output.

* libltdl/m4/libtool.m4 (_LT_PROG_AR, LT_PATH_NM): Fix bogus
uses of _LT_TAGVAR.  Hide `ar' error message escape from command
line.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoSupport for response files with $NM.
Ralf Wildenhues [Wed, 13 Aug 2008 05:13:06 +0000 (07:13 +0200)] 
Support for response files with $NM.

* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) <nm_file_list_spec>:
New tag variable.
[ cygwin, mingw, cegcc ] <cl*>: Set to '@'.
(_LT_LANG_CXX_CONFIG): Likewise.
* libltdl/config/ltmain.m4sh (func_mode_link): When
nm_file_list_spec is nonempty, use it to avoid skipped_export.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Signed-off-by: Peter Rosin <peda@lysator.liu.se>
16 years agoFor MSVC, embed the manifest as a resource in the executable.
Peter Rosin [Tue, 12 Aug 2008 07:02:32 +0000 (09:02 +0200)] 
For MSVC, embed the manifest as a resource in the executable.

* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) <postlink_cmds>:
New tag variable.
[ cygwin, mingw, cegcc ] <cl*>: Embed the manifest file as a
resource.
(_LT_LANG_CXX_CONFIG): Likewise.
* libltdl/config/ltmain.m4sh (func_mode_link): After linking
a program, replace @OUTPUT@ in $postlink_cmds and then execute
the commands.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoDisable nocase handling for cross compiles.
Peter Rosin [Tue, 12 Aug 2008 06:50:11 +0000 (08:50 +0200)] 
Disable nocase handling for cross compiles.

* libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD): Disable nocase
handling for cross compiles.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years ago* tests/export.at [MSVC]: dllimport all imported variables.
Peter Rosin [Sat, 9 Aug 2008 20:48:50 +0000 (22:48 +0200)] 
* tests/export.at [MSVC]: dllimport all imported variables.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoAdd MSVC support.
Peter Rosin [Sat, 2 Aug 2008 12:54:10 +0000 (14:54 +0200)] 
Add MSVC support.

* libltdl/m4/libtool.m4: Add support for Microsoft Visual C.
* NEWS: Add note of the above.

16 years agoIndicate if the archiver supports a listing file.
Peter Rosin [Sat, 2 Aug 2008 12:54:10 +0000 (14:54 +0200)] 
Indicate if the archiver supports a listing file.

Allow the use of a file listing file if the archiver supports
it.  Add hint so that the Microsoft lib archiver uses the file
listing feature.
* libltdl/m4/libtool.m4 (_LT_PROG_AR): Indicate if the
archiver supports a listing file with the new variable
archiver_list_spec.
* libltdl/config/ltmain.m4sh: If the archiver supports
a listing file, use it when max_cmd_len is exceeded.

16 years agoMSVC doesn't support the -l option.
Peter Rosin [Sat, 2 Aug 2008 12:54:10 +0000 (14:54 +0200)] 
MSVC doesn't support the -l option.

MSVC doesn't support the -l option, instead it expects the exact
library file name. Retain the -l option as long as possible as
libtool recognizes -l internally. Then, as late as possible
transform the -l option to an exact file name (-lfoo ->
foo.lib).
* libltdl/m4/libtool.m4: Add tag variable dashl_xform which
specifies how to transform -l options for the linker.
* libltdl/config/ltmain.m4sh (func_mode_link): Transform -l
options using dashl_xform right before creating the
program or library.

16 years agoMSVC needs a hint to force it to compile either as C or C++.
Peter Rosin [Sat, 2 Aug 2008 12:54:10 +0000 (14:54 +0200)] 
MSVC needs a hint to force it to compile either as C or C++.

* libltdl/m4/libtool.m4: Add tag variable compile_tag to
enable tag specific compiler options that are bad in the
linking phase.
* libltdl/config/ltmain.m4sh: Add the tag specific options
to the compile command line.

16 years agoThe MSVC linker doesn't have a -L option.
Peter Rosin [Sat, 2 Aug 2008 12:54:10 +0000 (14:54 +0200)] 
The MSVC linker doesn't have a -L option.

The MSVC linker doesn't have a -L option, and doesn't understand
posix paths.  Move paths to an envvar with a prefix (-LIBPATH:).

* libltdl/m4/libtool.m4: Add new tag variables to specify
to what variable (dashL_envvar) -L options should be moved,
and what to prepend to the -L path (dashL_envvar_spec).
* libltdl/config/ltmain.m4sh (func_dashL_to_envvar): New
function that moves -L options to a variable.
* libltdl/config/ltmain.m4sh (func_mode_link): Prior to
linking, call above function if dashL_envvar is set.

16 years agoOn Windows, find potential libs regardless of file name case.
Peter Rosin [Sat, 2 Aug 2008 12:54:10 +0000 (14:54 +0200)] 
On Windows, find potential libs regardless of file name case.

* libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD),
libltdl/config/ltmain.m4sh (func_mode_link): On Windows,
find potential libs regardless of file name case.
* tests/nocase.at: New test, to check for regressions
of the above.
* Makefile.am: Add above new test.

16 years agoAllow Microsoft lib to be used as the archiver.
Peter Rosin [Sat, 2 Aug 2008 12:54:10 +0000 (14:54 +0200)] 
Allow Microsoft lib to be used as the archiver.

* libltdl/m4/libtool.m4 (_LT_PROG_AR): New macro, detect the
interface used by the archiver. In particular, add the AR_SEP
variable to allow archivers that does not allow a space between
the options to create an archive and the archive name and the
ar_extract_one_by_one variable which indicates if the archiver
can extract all members in one go.
* libltdl/m4/libtool.m4: Add $AR_SEP between $AR_FLAGS and the
archive file name in all $AR commands.
* libltdl/config/ltmain.m4sh (func_extract_an_archive): Add support
for archivers that only supports extracting one member at a time
and otherwise adjust to the above libtool.m4 changes. Also, add
$AR_SEP to the $AR invocations.
* Makefile.am: Pass AR, AR_FLAGS and AR_SEP through to the
testsuite.
* tests/archive-in-archive.at: Extract archive name from the .la
file instead of hardcoding the name, and allow different archivers.

16 years agoChangeLog: fix whitespace.
Eric Blake [Fri, 19 Dec 2008 13:49:03 +0000 (06:49 -0700)] 
ChangeLog: fix whitespace.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoFix copyright notice.
Akim Demaille [Fri, 19 Dec 2008 10:45:05 +0000 (11:45 +0100)] 
Fix copyright notice.

* libltdl/config/ltmain.m4sh: Add missing comma.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoAdd cache variables to link tests.
Ralf Wildenhues [Wed, 17 Dec 2008 19:41:57 +0000 (20:41 +0100)] 
Add cache variables to link tests.

* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
(_LT_LINKER_SHLIBS): Add cache variables to tests that
require the linker to work.  For shlibpath_overrides_runpath,
this also changes the semantics to let the result from the C
compiler take precedence.
* tests/no-executables.at (AC_NO_EXECUTABLES): New file.
* Makefile.am: Update.
* NEWS: Update.
Report of shlibpath_overrides_runpath issue by Mike Frysinger,
report of GCC issue by Andreas Schwab.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix inadvertent commit.
Paolo Bonzini [Fri, 28 Nov 2008 18:56:27 +0000 (19:56 +0100)] 
Fix inadvertent commit.

* bootstrap: Revert.

16 years agoFix manual typo.
Paolo Bonzini [Fri, 28 Nov 2008 15:36:47 +0000 (16:36 +0100)] 
Fix manual typo.

* doc/libtool.texi (LT_INIT): Use correct config.status
invocation.  Reported by Akim Demaille.

16 years agoDo not use $ECHO within eval-ed `...`, as %s\\n becomes %s\n.
Paolo Bonzini [Fri, 28 Nov 2008 14:53:29 +0000 (15:53 +0100)] 
Do not use $ECHO within eval-ed `...`, as %s\\n becomes %s\n.

* HACKING: Document func_echo_all.
* libltdl/m4/libtool.m4: Use it within backticks that appear in
eval-ed variables.  Reported by Akim Demaille.

16 years agoFix func_infer_tag $ECHO usage; some testsuite exposure.
Ralf Wildenhues [Mon, 24 Nov 2008 20:49:23 +0000 (21:49 +0100)] 
Fix func_infer_tag $ECHO usage; some testsuite exposure.

* libltdl/config/ltmain.m4sh (func_infer_tag): Use func_echo_all
rather than $ECHO for possibly multiple arguments.
* tests/infer-tag.at (inferred tag, CXX inferred tag)
(F77 inferred tag, FC inferred tag, GCJ inferred tag): New file,
new tests.
* Makefile.am: Adjust.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoAnother missing $EXEEXT in the new testsuite.
Ralf Wildenhues [Mon, 24 Nov 2008 06:36:29 +0000 (07:36 +0100)] 
Another missing $EXEEXT in the new testsuite.

* tests/runpath-in-lalib.at (Runpath in libtool library files):
Add $EXEEXT overlooked in patch yesterday.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix expout and experr line ending issues.
Ralf Wildenhues [Sun, 23 Nov 2008 21:58:06 +0000 (22:58 +0100)] 
Fix expout and experr line ending issues.

* tests/testsuite.at (LT_AT_HOST_DATA): Renamed from..
(_LT_AT_TRANSLATE_TEXT_OUTPUT): ..this.
(LT_AT_EXEC_CHECK, LT_AT_NOINST_EXEC_CHECK): Do not use
_LT_AT_TRANSLATE_TEXT_OUTPUT any more.
* tests/configure-iface.at: Use LT_AT_HOST_DATA instead of
AT_DATA for `expout' files.
* tests/lt_dladvise.at (lt_dlopenadvise library loading):
Likewise.
* tests/need_lib_prefix.at (enforced lib prefix): Likewise.
Report by Roumen Petrov.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoRelax link-order2 test for systems with partial wrong order.
Ralf Wildenhues [Sun, 23 Nov 2008 21:54:35 +0000 (22:54 +0100)] 
Relax link-order2 test for systems with partial wrong order.

* tests/link-order2.at (Link order of deplibs.): On w32 (and
others, e.g., AIX), the wrongly linked executable picks up only
one instance of the bad function instead of two; relax the test
to accept this; we still require the right link order with the
correctly linked executable.
Reported by Roumen Petrov and others.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoAdd $EXEEXT to all linked programs in the new testsuite.
Roumen Petrov [Sun, 23 Nov 2008 20:26:09 +0000 (21:26 +0100)] 
Add $EXEEXT to all linked programs in the new testsuite.

* tests/convenience.at, tests/ctor.at, tests/darwin.at,
tests/deplibs-ident.at, tests/duplicate_conv.at,
tests/duplicate_deps.at, tests/duplicate_members.at,
tests/export.at, tests/fail.at, tests/indirect_deps.at,
tests/inherited_flags.at, tests/link-order.at,
tests/link-order2.at, tests/lt_dladvise.at, tests/lt_dlexit.at,
tests/need_lib_prefix.at, tests/runpath-in-lalib.at,
tests/search-path.at, tests/shlibpath.at, tests/static.at,
tests/stresstest.at, tests/template.at, tests/testsuite.at:
Use $EXEEXT throughout, except in Makefile.am snippets where
automake takes care of it, and in testsuite macros that take
care of the extension.
Reports by Roumen Petrov and Alon Bar-Lev.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoAdjust executable run tests to cwrapper changes.
Ralf Wildenhues [Sun, 23 Nov 2008 21:35:58 +0000 (22:35 +0100)] 
Adjust executable run tests to cwrapper changes.

* tests/testsuite.at (LT_AT_EXEC_CHECK): Accept fifth argument
ARGS-OR-STATUS-ADJUST, for command-line arguments and/or exit
status flattening.  Rewrite to prefer the executable with the
`.exe' prefix over one without.  Test exit status against
expected exit status, not against zero, when determining whether
this may be a cross-compilation-induced result.
(LT_AT_NOINST_EXEC_CHECK): Likewise.
* tests/static.at (static linking flags for programs): Adjust
calls.
Report by Roumen Petrov.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoNo trailing period in Autotest test group names.
Ralf Wildenhues [Sun, 23 Nov 2008 20:10:23 +0000 (21:10 +0100)] 
No trailing period in Autotest test group names.

* tests/link-order.at (Link order test): Drop trailing period
from test name.
* tests/link-order2.at (Link order of deplibs): Likewise.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix func_emit_cwrapperexe_src for WinCE: no errno support.
Vincent Torri [Sun, 23 Nov 2008 19:30:33 +0000 (20:30 +0100)] 
Fix func_emit_cwrapperexe_src for WinCE: no errno support.

* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src)
[__MINGW32CE__]: Do not use errno, do not include errno.h and
remove calls related to errno when using the mingw32ce compiler.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoNo libm in WinCE.
Ralf Wildenhues [Sun, 23 Nov 2008 19:11:38 +0000 (20:11 +0100)] 
No libm in WinCE.

* libltdl/m4/libtool.m4 (LT_LIB_M) [cegcc*]: This system has
only a dummy libm, ignore.
Report by Vincent Torri.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix import library detection for WinCE.
Ralf Wildenhues [Sun, 23 Nov 2008 19:10:32 +0000 (20:10 +0100)] 
Fix import library detection for WinCE.

* libltdl/config/ltmain.m4sh (func_win32_libid): Work for
pe-arm-wince import libraries.
* NEWS: Update.
Report by Vincent Torri.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix $ECHO test to not influence other _AS_DETECT_SUGGESTED code.
Ralf Wildenhues [Sun, 23 Nov 2008 14:36:14 +0000 (15:36 +0100)] 
Fix $ECHO test to not influence other _AS_DETECT_SUGGESTED code.

* libltdl/m4/libtool.m4 (_LT_PROG_ECHO_BACKSLASH): Fix test to
not influence further tests registered with _AS_DETECT_SUGGESTED
and do not use a PATH below /tmp, to avoid influence by a third
party.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix func_win32_libid for 64-bit Windows.
Alon Bar-Lev [Sun, 23 Nov 2008 14:23:58 +0000 (15:23 +0100)] 
Fix func_win32_libid for 64-bit Windows.

* libltdl/config/ltmain.m4sh (func_win32_libid): Accept file
format 'pe-x86-64'.
* NEWS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix spacing in ChangeLog entries.
Ralf Wildenhues [Sun, 23 Nov 2008 14:23:44 +0000 (15:23 +0100)] 
Fix spacing in ChangeLog entries.

16 years agoAvoid newlines in some AT_CHECK commands.
Ralf Wildenhues [Sun, 23 Nov 2008 14:17:34 +0000 (15:17 +0100)] 
Avoid newlines in some AT_CHECK commands.

* tests/standalone.at (linking libltdl without autotools): Wrap
lines with dnl, to avoid turning off tracing of AT_CHECK.
* tests/subproject.at (linking libltdl without autotools):
Likewise.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoReplace uses of $SED $basename.
Ralf Wildenhues [Sun, 23 Nov 2008 13:52:32 +0000 (14:52 +0100)] 
Replace uses of $SED $basename.

* libltdl/config/ltmain.m4sh (func_mode_link): Replace instances
of `$ECHO ... | $SED' with calls to func_basename.
* libtoolize.m4sh (func_copy, func_serial)
(func_massage_aclocal_DATA): Likewise, replace with
func_dirname_and_basename.
* tests/defs.m4sh (func_configure_nofail, func_make, func_exec):
Likewise.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoNo need to prepend $progname with './'.
Ralf Wildenhues [Sun, 23 Nov 2008 13:49:22 +0000 (14:49 +0100)] 
No need to prepend $progname with './'.

* libltdl/config/general.m4sh (func_dirname_and_basename): $ECHO
copes with leading hyphens now, so do not mangle $progname any
more.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoRevenge of the $ECHO. Kill most uses of Xsed.
Ralf Wildenhues [Sun, 23 Nov 2008 13:38:24 +0000 (14:38 +0100)] 
Revenge of the $ECHO. Kill most uses of Xsed.

* libltdl/config/general.m4sh: Replace all uses of `$ECHO "X..."
| $Xsed' with `$ECHO "..." | $SED', and employ further trivial
simplifications.  Replace $ECHO with echo where appropriate.
(func_echo_all): New function.
* libltdl/config/getopt.m4sh: Likewise simplifications.
* libltdl/config/ltmain.m4sh: Likewise.
* libltdl/m4/libtool.m4: Likewise.
(LT_CMD_MAX_LEN): Use func_fallback_echo, to ensure that the
command line is passed through an exec* function.
* libtoolize.m4sh: Likewise simplifications.  Use func_echo_all
to implement --dry-run.
* tests/defs.m4sh: Likewise simplifications.
* tests/quote.test: Likewise simplifications.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix matching of Sun Fortran compiler on Linux.
Ralf Wildenhues [Sun, 23 Nov 2008 08:13:13 +0000 (09:13 +0100)] 
Fix matching of Sun Fortran compiler on Linux.

* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [ linux ]: Also
match `Sun Ceres Fortran' compiler; reorder with C compiler
matching.
* THANKS: Update.
Report by Ethan Mallove.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix --verbose option; add new --no-{silent|quiet|verbose} options.
Charles Wilson [Sat, 15 Nov 2008 09:40:26 +0000 (04:40 -0500)] 
Fix --verbose option; add new --no-{silent|quiet|verbose} options.

* libltdl/config/ltmain.m4sh (usage): Document
new options --no-silent/--no-quiet and --no-verbose.
(func_enable_tag): Handle new options.
Modified --verbose to actually activate opt_verbose.
New behavior: --silent disables both "normal" output and
func_verbose output.  --verbose enables both "normal"
output and func_verbose output. --no-silent enables
"normal" output, but does not affect func_verbose output.
--no-verbose disables func_verbose output, but does not
affect "normal" output.
* NEWS: announce new options --no-silent/--no-quiet, and
--no-verbose.
* doc/libtool.texi: document new options --no-silent/--no-quiet
and --no-verbose.

16 years agoFix match patterns for cegcc*.
Ralf Wildenhues [Thu, 20 Nov 2008 06:23:45 +0000 (07:23 +0100)] 
Fix match patterns for cegcc*.

* libltdl/config/ltmain.m4sh (func_mode_link): Match '*cegcc*'
instead of '*cegcc' for $host_os.
* libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD): Likewise.
* tests/lt_dladvise.at (lt_dlopenadvise library loading):
Likewise.
* libltdl/m4/ltoptions.m4 (AC_LIBTOOL_DLOPEN): Match
'*-*-cegcc*' for $host.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoEnsure $ac_aux_dir is initialized for LIBTOOL_DEPS.
Ralf Wildenhues [Thu, 20 Nov 2008 06:18:38 +0000 (07:18 +0100)] 
Ensure $ac_aux_dir is initialized for LIBTOOL_DEPS.

* libltdl/m4/libtool.m4 (LT_INIT): Require
AC_CONFIG_AUX_DIR_DEFAULT.
* tests/old-m4-iface.at (AM_PROG_LIBTOOL): Amend test to
expose this.
Report, analysis, and test example by Jakub Bogusz.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoCheck for bogus aclocal.m4 contents in bootstrap and dist-hook.
Ralf Wildenhues [Thu, 20 Nov 2008 06:13:36 +0000 (07:13 +0100)] 
Check for bogus aclocal.m4 contents in bootstrap and dist-hook.

* Makefile.am (dist-hook): Bail out if shipped aclocal.m4 files
contain LT_INIT, AC_PROG_LIBTOOL, or AM_PROG_LIBTOOL macro
definitions.  These can only come from bogus pull-ins from older
installed Libtool macro files.
* bootstrap: Likewise.
Report by Akim Demaille.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix $ECHO abuse exposed by recent patch.
Ralf Wildenhues [Sun, 16 Nov 2008 22:36:25 +0000 (23:36 +0100)] 
Fix $ECHO abuse exposed by recent patch.

* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): Require
_LT_CHECK_SHELL_FEATURES, for $lt_NL2SP.  Always quote argument
to $ECHO.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoSkip sys_lib_search_path on systems without libz.
Ralf Wildenhues [Sun, 16 Nov 2008 22:31:56 +0000 (23:31 +0100)] 
Skip sys_lib_search_path on systems without libz.

* tests/search-path.at (sys_lib_search_path): Autotest needs at
least one AT_CHECK executed in a test group.  So if we haven't
found -lz anywhere, as may happen with cross-compilers, skip the
test.
* THANKS: Update.
Report by Alon Bar-Lev.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoIgnore .exe files.
Alon Bar-Lev [Sun, 16 Nov 2008 22:29:20 +0000 (23:29 +0100)] 
Ignore .exe files.

* .gitignore: Ignore *.exe.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix execute mode test to actually expose cwrapper failures.
Ralf Wildenhues [Sun, 16 Nov 2008 17:29:34 +0000 (18:29 +0100)] 
Fix execute mode test to actually expose cwrapper failures.

* tests/execute-mode.at (execute mode): Actually also test the
cwrapper on the arguments.
Report by Bruno Haible.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoAdd func_win32_import_lib_p.
Charles Wilson [Sat, 15 Nov 2008 18:29:19 +0000 (13:29 -0500)] 
Add func_win32_import_lib_p.

* libltdl/config/ltmain.m4sh (func_win32_import_lib_p):
New function.

16 years agoFix archive_cmds for older cc on HP-UX 11.
Ralf Wildenhues [Wed, 12 Nov 2008 20:13:17 +0000 (21:13 +0100)] 
Fix archive_cmds for older cc on HP-UX 11.

* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [hp-ux11*, !GCC]
[!hppa*64*, !ia64*] <archive_cmds>: Older releases of the HP-UX
11.00 C compiler do not support -b yet; use a link test to
decide whether $LD should be used for library creation.
* THANKS: Update.
Report by Daniel Richard G.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoImplement $ECHO with print -r, printf or cat in a shell function.
Paolo Bonzini [Fri, 7 Nov 2008 08:03:35 +0000 (09:03 +0100)] 
Implement $ECHO with print -r, printf or cat in a shell function.

* configure.ac: Bump Autoconf requirement.
* libltdl/config/general.m4sh: Use $as_echo as default $ECHO.
* tests/testsuite.at: Use $as_echo as default $ECHO.

* libltdl/m4/libtool.m4 (LT_INIT): Add _LT_SHELL_INIT to
work around Autoconf <2.64 bug.
(_LT_OUTPUT_LIBTOOL_COMMANDS_INIT): Add func_fallback_echo.
Eliminate lt_ECHO requoting.
(_LT_SHELL_INIT): Use a public M4sh diversion.
(_LT_PROG_ECHO_BACKSLASH): Rewrite.
(LT_CMD_MAX_LEN): Do not use --fallback-echo.
* libltdl/config/ltmain.m4sh: Remove --no-reexec and --fallback-echo
handling.
(func_fallback_echo): New.
(func_emit_wrapper_part1): Quote ECHO.  Remove --no-reexec and
--fallback-echo handling.
(Execute mode): Do not set qecho.

16 years agoUse -no-undefined in install tests.
Ralf Wildenhues [Wed, 12 Nov 2008 06:21:20 +0000 (07:21 +0100)] 
Use -no-undefined in install tests.

* tests/install.at (Install tests): Use `-no-undefined'.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoDo not use `test ... -a ...'.
Ralf Wildenhues [Tue, 11 Nov 2008 21:55:45 +0000 (22:55 +0100)] 
Do not use `test ... -a ...'.

* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [hpux10, hpux11]:
Replace test -a with test && test.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix destdir tests in cross compile mode.
Roumen Petrov [Tue, 11 Nov 2008 21:24:25 +0000 (22:24 +0100)] 
Fix destdir tests in cross compile mode.

* tests/destdir.at (Simple DESTDIR install)
(DESTDIR with in-package deplibs): Use $EXEEXT throughout.
* THANKS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoSimplify cwrapper handling a bit.
Ralf Wildenhues [Tue, 11 Nov 2008 21:08:57 +0000 (22:08 +0100)] 
Simplify cwrapper handling a bit.

* libltdl/config/ltmain.m4sh (func_emit_wrapper_part1)
(func_emit_wrapper_part2, func_to_host_path)
(func_to_host_pathlist, func_emit_wrapper): Simplify using
default argument, func_append.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoSeparate part of _LT_SETUP into other macros, detect ECHO sooner.
Paolo Bonzini [Fri, 7 Nov 2008 13:47:19 +0000 (14:47 +0100)] 
Separate part of _LT_SETUP into other macros, detect ECHO sooner.

* libltdl/m4/libtool.m4 (_LT_PREPARE_SED_QUOTE_VARS): New macro,
extracted from...
(_LT_SETUP): ... here.  Require _LT_PROG_ECHO_BACKSLASH sooner.

16 years agoFix quoting when config.status generates libtool config.
Paolo Bonzini [Mon, 10 Nov 2008 07:27:45 +0000 (08:27 +0100)] 
Fix quoting when config.status generates libtool config.

* libltdl/m4libtool.m4 (_LT_OUTPUT_LIBTOOL_COMMANDS_INIT):
Double quote ECHO-ed variables.

16 years agoUse documented M4sh interfaces.
Paolo Bonzini [Mon, 10 Nov 2008 07:25:24 +0000 (08:25 +0100)] 
Use documented M4sh interfaces.

* clcommit.m4sh: Do not unset CDPATH, use AS_INIT and M4sh diversions.
* libltdl/config/mailnotify.m4sh: Likewise.
* libtoolize.m4sh: Likewise.
* tests/defs.m4sh: Likewise.
* tests/testsuite.at: Move AT_INIT invocation at the top.

* libltdl/m4/libtool.m4 (_LT_GENERATED_FILE_INIT): New.
(LT_OUTPUT): Use it.

* libltdl/config/general.m4sh (M4SH_IN_HEADER): New.
(progpath): Move setting before $0 could be clobbered.
* libltdl/config/ltmain.m4sh (M4SH_IN_HEADER): New.

16 years agoRun sh.test on the M4sh source.
Paolo Bonzini [Mon, 10 Nov 2008 07:22:02 +0000 (08:22 +0100)] 
Run sh.test on the M4sh source.

* tests/defs.m4sh (scripts): Point to pre-m4 sources.

16 years agoAvoid that autom4te complains about unexpanded macros.
Paolo Bonzini [Fri, 7 Nov 2008 07:58:24 +0000 (08:58 +0100)] 
Avoid that autom4te complains about unexpanded macros.

* libtoolize.m4sh: Allow occurrences of "dnl" and use quadrigraphs
to protect other m4 macros.

16 years agoFix cwrapper argument mangling on w32.
Bruno Haible [Tue, 11 Nov 2008 05:51:24 +0000 (06:51 +0100)] 
Fix cwrapper argument mangling on w32.

* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src): On
mingw, preprocess the argument vector through prepare_spawn.
* tests/execute-mode.at (execute mode): Output args
newline-separated.  Extend tests by more argument pairs that
contain special characters, where the w32 cwrapper fails.
Also test a real compiled program, linked against an uninstalled
library, to expose cwrapper issues.
* NEWS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoUpdate to GFDL 1.3.
Ralf Wildenhues [Mon, 10 Nov 2008 20:40:39 +0000 (21:40 +0100)] 
Update to GFDL 1.3.

* doc/fdl.texi: Update to GFDL 1.3.
* doc/libtool.texi: Adjust.
* NEWS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix cross compilation with wine for the case SHELL != bash.
Alexei Sheplyakov [Sun, 9 Nov 2008 19:47:38 +0000 (20:47 +0100)] 
Fix cross compilation with wine for the case SHELL != bash.

* libltdl/config/ltmain.m4sh (func_to_host_path): Avoid escape
sequence interpretation by 'echo', for w32-style paths.
* THANKS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix checks for unsupported allow_undefined_flag.
Michael Haubenwallner [Tue, 28 Oct 2008 19:47:44 +0000 (20:47 +0100)] 
Fix checks for unsupported allow_undefined_flag.

* tests/tagdemo-undef.test: Match allow_undefined_flag
correctly, for SKIPping.
* tests/cdemo-undef.test: Likewise.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoParallel make fix in testsuite.
Ralf Wildenhues [Sun, 26 Oct 2008 10:05:07 +0000 (11:05 +0100)] 
Parallel make fix in testsuite.

* tests/testsuite.at (_LTDL_PROJECT_FILES): Fix dependencies for
parallel make.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix typo in libtoolize error message.
Ralf Wildenhues [Sun, 26 Oct 2008 10:01:26 +0000 (11:01 +0100)] 
Fix typo in libtoolize error message.

* libtoolize.m4sh (func_nonemptydir_p): Fix typo in error
message.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoFix Autoconf 2.59 incompatibilty.
Ralf Wildenhues [Wed, 15 Oct 2008 21:54:45 +0000 (23:54 +0200)] 
Fix Autoconf 2.59 incompatibilty.

* libltdl/m4/ltdl.m4 (_LTDL_SETUP): m4_pattern_allow
`LT_LIBEXT'; Autoconf 2.59's AC_DEFINE* macros didn't do this
automatically yet.
* NEWS, THANKS: Update.
Report by Marcel Loose.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoAtomic shared library install permissions on HP-UX.
Ralf Wildenhues [Sun, 5 Oct 2008 10:35:27 +0000 (12:35 +0200)] 
Atomic shared library install permissions on HP-UX.

The HP-UX 11 runtime linker fails to mmap shared libraries
without execute permissions.  Fixing them with postinstall_cmds
may be too late, as ln, sed, and chmod may link against the
library being installed.

* libltdl/m4/libtool.m4 (install_override_mode): New LT_DECL.
(_LT_SYS_DYNAMIC_LINKER) [hpux9*, hpux10*, hpux11*]: Set it.
* libltdl/config/ltmain.m4sh (func_mode_install): Build a second
command line, $install_shared_prog, for the installation of the
shared library.  Override resp. set the permission mode if
install_override_mode is nonempty.
* doc/libtool.texi (libtool script contents): Document it.
* tests/install.at (Install tests): New test.
* Makefile.am (TESTSUITE_AT): Adjust.
(TESTS_ENVIRONMENT): Pass INSTALL.
Report by Bruno Haible.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoAvoid gcc warning.
Eric Blake [Fri, 26 Sep 2008 15:43:04 +0000 (09:43 -0600)] 
Avoid gcc warning.

* libltdl/loaders/loadlibrary.c (vm_open): Don't check for array
being a NULL pointer.

Signed-off-by: Eric Blake <ebb9@byu.net>
17 years agoMan pages for libtoolize and libtool, --help-all.
Ralf Wildenhues [Sat, 20 Sep 2008 06:50:50 +0000 (08:50 +0200)] 
Man pages for libtoolize and libtool, --help-all.

* Makefile.am (dist_man1_MANS, update_mans): New macros.
($(srcdir)/doc/libtool.1, $(srcdir)/doc/libtoolize.1): New
rules.  Use --help-all for libtool.
(MAINTAINERCLEANFILES): New macro.  Add dist_man1_MANS.
(BUILT_SOURCES): Add libtoolize.
* configure.ac: Check for help2man, set HELP2MAN.
* doc/libtool.texi: Add @direntry for libtool-invocation.
(Invoking libtool): Document -h, --help-all.  Reorder mode
description for consistency.
(Compile mode): Do not document -Wl,FLAG and -XCClinker here.
(Link mode): Document -Wc,FLAG here, reformat a bit.
* libtoolize.m4sh: Reformat --help output a bit, to help
help2man.
* libltdl/config/ltmain.m4sh: Likewise.  Also, set PROGRAM to
`libtool', not `ltmain.sh', so the former is used in the man
page.
New argument `--help-all'.  If given, call func_help and
func_mode_help several times, beating output in shape with sed.
(func_mode_help): Do not exit here.
* libltdl/config/getopt.m4sh (func_usage): Work with different
indentations, but require comment hash in first column, when
grepping for '-h' in usage to end short help.
(func_help): Accept optional argument to not exit.
* NEWS, THANKS: Update.
Suggestion by Karl Berry.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 years agoUse `-version-info 9:0:2' for one added iface since 2.2.4.
Gary V. Vaughan [Mon, 8 Sep 2008 06:36:26 +0000 (14:36 +0800)] 
Use `-version-info 9:0:2' for one added iface since 2.2.4.
* libltdl/Makefile.inc (LTDL_VERSION_INFO): Make the libltdl
version number match 2.2.6a rerelease.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
17 years agoAdd ./commit option for pushing tags back to origin.
Gary V. Vaughan [Mon, 8 Sep 2008 06:24:06 +0000 (14:24 +0800)] 
Add ./commit option for pushing tags back to origin.
* clcommit.m4sh (opt_tags): New --tags push option.
(func_commit): Run `$GIT push --tags' if --tags was passed.
* HACKING (Release Procedure): Note the requirement to pass
--tags to ./commit for new release tag to be push back to
origin.

17 years agoRetire gnu.org news.html in favour of savannah news.
Gary V. Vaughan [Sun, 7 Sep 2008 11:59:28 +0000 (19:59 +0800)] 
Retire gnu.org news.html in favour of savannah news.
* HACKING (Release Procedure): Add instructions for sending
a web release announcement to http://planet.gnu.org via
the savannah news manager.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
17 years agoAdd untested git push conflict testing to commit script.
Gary V. Vaughan [Sun, 7 Sep 2008 11:53:16 +0000 (19:53 +0800)] 
Add untested git push conflict testing to commit script.
* clcommit.m4sh (func_check_conflicts): Test return status
of 'git push --dry-run', and display an error on non-zero.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
17 years agoEnable release procedure to work with lzma OLDRELEASE file.
Gary V. Vaughan [Sun, 7 Sep 2008 08:17:37 +0000 (16:17 +0800)] 
Enable release procedure to work with lzma OLDRELEASE file.
* Makefile.maint (diffs, prev-tarball, new-tarball): If lzma
tarballs are present use them to generate the diffs, otherwise
use gz tarballs if they are present, or else complain if both
are missing.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
17 years agoforgot to commit NEWS file
Gary V. Vaughan [Sun, 7 Sep 2008 08:14:06 +0000 (16:14 +0800)] 
forgot to commit NEWS file

17 years agoSet SCM version number to 2.2.7a.
Gary V. Vaughan [Sun, 7 Sep 2008 07:45:23 +0000 (15:45 +0800)] 
Set SCM version number to 2.2.7a.
* configure.ac, libltdl/configure.ac (AC_INIT): Bump version
number to 2.2.7a.
* NEWS: Updated.

GNU Libtool 2.2.6 was released.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
17 years agoFix typo in Makefile.maint. v2.2.6
Gary V. Vaughan [Sat, 6 Sep 2008 21:24:28 +0000 (05:24 +0800)] 
Fix typo in Makefile.maint.
* Makefile.maint (git-news): Renamed to check-news, since it
doesn't actually run git.  Adjust all dependees.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
17 years agoRun `git commit -a' when no files are passed.
Gary V. Vaughan [Sat, 6 Sep 2008 21:19:01 +0000 (05:19 +0800)] 
Run `git commit -a' when no files are passed.
* clcommit.m4sh (func_commit): Add -a argument if necessary.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
17 years agoPrepare for next stable release.
Gary V. Vaughan [Sat, 6 Sep 2008 21:12:18 +0000 (05:12 +0800)] 
Prepare for next stable release.
* libltdl/Makefile.inc (LTDL_VERSION_INFO): Update.
* libltdl/m4/libtool.m4: Bump serial number to account for
changes since 2.2.4 release.
* INSTALL, config/config.guess, config/texinfo.tex: Updated
from canonical source.
* configure.ac (AM_INIT_AUTOMAKE): Specify dist-lzma, which
was introduced after automake-1.10 was released.
(abs_top_srcdir, abs_top_builddir): No need to substitute these
from configure anymore, since we require automake 1.10.1, which
does perform the substitutions properly.
(TIMESTAMP): Normal releases were displaying the long-form
timestamp.  Fix to show the short release timestamp as per
alpha release numbers.
* NEWS: Update with missing entries from ChangeLog.
* HACKING (Release Procedure): We release lzma tarballs now
but no xdeltas.
* Makefile.maint: Updated to match Release Procedure
instructions in HACKING.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
17 years agoConvert mailnotify headers to git.
Gary V. Vaughan [Sat, 6 Sep 2008 19:50:40 +0000 (03:50 +0800)] 
Convert mailnotify headers to git.
* clcommit.m4sh: Improve mailnotify contents.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
17 years agoMake ./commit useful again.
Gary V. Vaughan [Sat, 6 Sep 2008 18:41:39 +0000 (02:41 +0800)] 
Make ./commit useful again.
* clcommit.m4sh: Major overhaul and simplification for git.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
17 years agoFix 'DISTCHECK_CONFIGURE_FLAGS=--program-prefix=g' bug.
Gary V. Vaughan [Sat, 6 Sep 2008 14:50:15 +0000 (22:50 +0800)] 
Fix 'DISTCHECK_CONFIGURE_FLAGS=--program-prefix=g' bug.
* tests/testsuite.at (_LIBTOOLIZE_TRANSFORM): Fix test failures
with --program-prefix, where the test case output contains the
transformed name somewhere other than the beginning of a line.
* libtoolize.m4sh (func_check_macros): Be sure to always use
the transformed name in output messages.

17 years agoDo not remove .gcno files when linking.
Ralf Wildenhues [Thu, 4 Sep 2008 18:57:17 +0000 (20:57 +0200)] 
Do not remove .gcno files when linking.

* libltdl/config/ltmain.m4sh (func_mode_link): When removing
potential output files before linking, do not remove *.gcno
profile information GCC outputs next to object files in `.libs'.
Report by Vincent Torri.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>