[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Ileana Dumitrescu |
Date: |
Fri, 6 Dec 2024 09:46:19 -0500 (EST) |
branch: development
commit 416ff25e14c900ba9cc220f1df0f2ee672cad4c9
Author: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
AuthorDate: Fri Dec 6 16:28:02 2024 +0200
ltmain.in: Replace old warnings with documentation
Without the ability to disable these old warnings individually, they
are migrating to the relevant section of the documentation to inform
new users that may not know. These warnings have been present for
two decades, so existing users should be aware of this functionality.
* build-aux/ltmain.in: Remove old warnings.
* doc/libtool.texi: Document contents of warning messages.
---
build-aux/ltmain.in | 2 --
doc/libtool.texi | 5 ++++-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index fa157775..9139086b 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -5375,8 +5375,6 @@ func_mode_link ()
*-*-cygwin* | *-*-mingw* | *-*-windows* | *-*-pw32* | *-*-os2* |
*-*-darwin* | *-cegcc*)
# The PATH hackery in wrapper scripts is required on Windows
# and Darwin in order for the loader to find any dlls it needs.
- func_warning "'-no-install' is ignored for $host"
- func_warning "assuming '-no-fast-install' instead"
fast_install=no
;;
*) no_install=yes ;;
diff --git a/doc/libtool.texi b/doc/libtool.texi
index be824eec..8dae9407 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -1587,7 +1587,10 @@ if the program won't be necessarily installed.
Link an executable @var{output-file} that can't be installed and
therefore doesn't need a wrapper script on systems that allow hardcoding
of library paths. Useful if the program is only used in the build tree,
-e.g., for testing or generating other files.
+e.g., for testing or generating other files. For Windows and Darwin hosts,
+@option{-no-install} is ignored, and @option{-no-fast-install} is assumed.
+@footnote{The PATH hackery in wrapper scripts is required on Windows and
+Darwin in order for the loader to find any dlls it needs.}
@item -no-undefined
Declare that @var{output-file} does not depend on any libraries other