From: Akim Demaille Date: Sun, 23 Sep 2001 17:16:28 +0000 (+0000) Subject: * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'. X-Git-Tag: AUTOCONF-2.52f~107 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f69035452dcb1e042ef4e9970b52c9ee4b7be3c7;p=thirdparty%2Fautoconf.git * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'. --- diff --git a/ChangeLog b/ChangeLog index 7996584c7..5b1487143 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 30b14a5d0..287528eab 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.