autoconf-patches
[Top][All Lists]
Advanced

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

06-fyi-autom4te-warnings.patch


From: Akim Demaille
Subject: 06-fyi-autom4te-warnings.patch
Date: Sun, 23 Sep 2001 19:22:34 +0200

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.

Index: bin/autom4te.in
--- bin/autom4te.in Sun, 23 Sep 2001 10:43:52 +0200 akim
+++ bin/autom4te.in Sun, 23 Sep 2001 10:49:34 +0200 akim
@@ -266,8 +266,7 @@ sub load
 # 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.



reply via email to

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