]> git.ipfire.org Git - thirdparty/libtool.git/commit
libtoolize: refactor $opt_quiet, func_echo and func_echo_once.
authorGary V. Vaughan <gary@gnu.org>
Wed, 9 Nov 2011 09:14:13 +0000 (16:14 +0700)
committerGary V. Vaughan <gary@gnu.org>
Mon, 14 Nov 2011 10:17:54 +0000 (17:17 +0700)
commit6beb2026137c9731f2734a5ef8f644ea23e91233
tree81b25aec5ddf05627d78d524743e23dce83c57be
parentd2be6922339775ceb8a18922a88386518a1f47df
libtoolize: refactor $opt_quiet, func_echo and func_echo_once.

Instead of long sequences checking for setting of $opt_quiet,
followed by one or more func_echo variations, add and use a new
function func_whisper - the complement of func_verbose.
* libtoolize.m4sh (func_whisper): New function. Adjust all
callers previously using `$opt_quiet || func_echo ...'.
(func_whisper_once): Ditto, for `$opt_quiet || func_echo_once
...'.
(func_whisper_hdr): New function, adjust all callers previously
using `func_whisper_once ...; func_whisper ...'.
(func_whisper_error_header): Ditto, but calling func_error.
(func_echo_once): Remove.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
libtoolize.m4sh