]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
ltmain.in: Replace old warnings with documentation
authorIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Fri, 6 Dec 2024 14:28:02 +0000 (16:28 +0200)
committerIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Thu, 13 Feb 2025 14:56:40 +0000 (16:56 +0200)
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
doc/libtool.texi

index 534f1763cdbc83b1254eb654af3d8a56bf55a6f7..8c48f14bff5820c3d6a3b8281f3feaf8eb641a74 100644 (file)
@@ -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 ;;
index e78dbeb891385c1270b1eaac04526343650a70d9..6fd164ac8997733bd90570014790324282ec68b4 100644 (file)
@@ -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