branch: master commit e24d6ec92bcb95e15a75bb6a66067f4b4da05b58 Author: Ileana Dumitrescu <ileanadumitresc...@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 534f1763..8c48f14b 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 e78dbeb8..6fd164ac 100644 --- a/doc/libtool.texi +++ b/doc/libtool.texi @@ -1589,7 +1589,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