From f69035452dcb1e042ef4e9970b52c9ee4b7be3c7 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Sun, 23 Sep 2001 17:16:28 +0000 Subject: [PATCH] * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'. --- ChangeLog | 4 ++++ bin/autom4te.in | 6 ++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7996584c..5b148714 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-09-23 Akim Demaille + + * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'. + 2001-09-23 Akim Demaille * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell diff --git a/bin/autom4te.in b/bin/autom4te.in index 30b14a5d..287528ea 100644 --- a/bin/autom4te.in +++ b/bin/autom4te.in @@ -266,8 +266,7 @@ my %trace; # FIXME: What about `sinclude'? my @preselect = ('include', 'm4_pattern_allow', 'm4_pattern_forbid'); -# Autom4te's default warnings, and the actual list of warnings. -my @my_warning = ('syntax'); +# List of warnings. my @warning; # M4 include path. @@ -565,8 +564,7 @@ sub handle_m4 ($@) # 2. $WARNINGS, $3 command line options, in that order. # Set them in the order expected by the M4 macros: the converse. my $m4_warnings = - lc join (',', reverse (@my_warning, - split (',', ($ENV{'WARNINGS'} || '')), + lc join (',', reverse (split (',', ($ENV{'WARNINGS'} || '')), map { split /,/ } @warning)); # GNU m4 appends when using --error-output.