From: Ileana Dumitrescu Date: Fri, 6 Dec 2024 14:28:02 +0000 (+0200) Subject: ltmain.in: Replace old warnings with documentation X-Git-Tag: v2.6.0~63 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e24d6ec92bcb95e15a75bb6a66067f4b4da05b58;p=thirdparty%2Flibtool.git 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. --- diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in index 534f1763c..8c48f14bf 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 e78dbeb89..6fd164ac8 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