]> 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>
Fri, 6 Dec 2024 14:28:02 +0000 (16:28 +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 fa157775d13b53d6fe3b305aee6f0ddb99fa1492..9139086b066be729f08e8c59b484a5910d9b5d55 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 be824eece22d0d71ae03bef2d8435b360eb5c7a3..8dae94072ab903fe0cbaf0da73edfc0506898cd3 100644 (file)
@@ -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