From fe385087e32ac8a30d15f14f4356424a89760daa Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Sun, 26 Oct 2008 16:29:54 +0100 Subject: [PATCH] No uniquifying for fatal, prog_error, and verbose messages. There is no point in dropping critical messages, even if they are duplicates (unlikely to happen unless they have been sent as non-critical messages before), and verbose messages should enable to show progress, even using duplicate statements. * lib/Automake/ChannelDefs.pm (fatal, automake, verb): Set `uniq_part' to `UP_NONE' when registering these channels. Signed-off-by: Ralf Wildenhues --- ChangeLog | 8 ++++++++ lib/Automake/ChannelDefs.pm | 9 +++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 44645494a..9b6a312e7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,13 @@ 2008-10-26 Ralf Wildenhues + No uniquifying for fatal, prog_error, and verbose messages. + There is no point in dropping critical messages, even if they + are duplicates (unlikely to happen unless they have been sent + as non-critical messages before), and verbose messages should + enable to show progress, even using duplicate statements. + * lib/Automake/ChannelDefs.pm (fatal, automake, verb): Set + `uniq_part' to `UP_NONE' when registering these channels. + Fix 'config.status --file=... depfiles' with new Autoconf. * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Eval $CONFIG_STATUS contents if we detect the quoting used by diff --git a/lib/Automake/ChannelDefs.pm b/lib/Automake/ChannelDefs.pm index 898b1ea4e..eff5d5297 100644 --- a/lib/Automake/ChannelDefs.pm +++ b/lib/Automake/ChannelDefs.pm @@ -1,4 +1,4 @@ -# Copyright (C) 2002, 2003, 2006 Free Software Foundation, Inc. +# Copyright (C) 2002, 2003, 2006, 2008 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -129,7 +129,7 @@ Informative messages. # Do not forget to update &usage and the manual # if you add or change a warning channel. -register_channel 'fatal', type => 'fatal'; +register_channel 'fatal', type => 'fatal', uniq_part => UP_NONE; register_channel 'error', type => 'error'; register_channel 'error-gnu', type => 'error'; register_channel 'error-gnu/warn', type => 'error'; @@ -138,7 +138,8 @@ register_channel 'automake', type => 'fatal', backtrace => 1, header => ("####################\n" . "## Internal Error ##\n" . "####################\n"), - footer => "\nPlease contact ."; + footer => "\nPlease contact .", + uniq_part => UP_NONE; register_channel 'gnu', type => 'warning'; register_channel 'obsolete', type => 'warning', silent => 1; @@ -147,7 +148,7 @@ register_channel 'portability', type => 'warning', silent => 1; register_channel 'syntax', type => 'warning'; register_channel 'unsupported', type => 'warning'; -register_channel 'verb', type => 'debug', silent => 1; +register_channel 'verb', type => 'debug', silent => 1, uniq_part => UP_NONE; register_channel 'note', type => 'debug', silent => 0; =head2 FUNCTIONS -- 2.47.2