diff options
Diffstat (limited to 'bin/automake.in')
-rw-r--r-- | bin/automake.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/automake.in b/bin/automake.in index 67b729045..a88b835a5 100644 --- a/bin/automake.in +++ b/bin/automake.in @@ -5249,6 +5249,11 @@ sub scan_autoconf_traces sinclude => 1, ); + # Suppress all warnings from this invocation of autoconf. + # The user is presumably about to run autoconf themselves + # and will see its warnings then. + local $ENV{WARNINGS} = 'none'; + my $traces = ($ENV{AUTOCONF} || '@am_AUTOCONF@') . " "; # Use a separator unlikely to be used, not ':', the default, which @@ -5257,8 +5262,8 @@ sub scan_autoconf_traces map { "--trace=$_" . ':\$f:\$l::\$d::\$n::\${::}%' } (keys %traced)); + verb "running WARNINGS=$ENV{WARNINGS} $traces"; my $tracefh = new Automake::XFile ("$traces $filename |"); - verb "reading $traces"; @cond_stack = (); my $where; |