libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PATCH: propagate --quiet into recursive libtool --finish


From: Alexander Dupuy
Subject: PATCH: propagate --quiet into recursive libtool --finish
Date: Thu, 05 Jun 2003 17:06:52 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030314

Running libtool --install --quiet will invoke a recursive libtool --finish, but the quiet mode setting is lost. While not serious, it's a little annoying not to be able to suppress the finish message on installs.

Attached is a patch to libtool-1.5 to pass --quiet through to recursive invocations of libtool. (Line numbers are relative to the no-undefined patch I just sent, but the change is simple enough that it should be clear).

@alex
--
mailto:address@hidden
Index: ltmain.in
===================================================================
RCS file: /src/cvs/libtool/ltmain.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ltmain.in   31 May 2003 07:06:25 -0000      1.2
+++ ltmain.in   1 Jun 2003 12:20:42 -0000       1.3
@@ -5679,6 +5679,8 @@
     if test -n "$current_libdirs"; then
       # Maybe just do a dry run.
       test -n "$run" && current_libdirs=" -n$current_libdirs"
+      # pass --quiet recursively if set in this libtool invocation
+      test "$show" = ":" && current_libdirs=" --quiet$current_libdirs"
       exec_cmd='$SHELL $0 --finish$current_libdirs'
     else
       exit 0

reply via email to

[Prev in Thread] Current Thread [Next in Thread]