autoconf-patches
[Top][All Lists]
Advanced

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

autoscan - make missing macro output more readable


From: Paul Martinolich
Subject: autoscan - make missing macro output more readable
Date: Mon, 19 Feb 2001 08:33:18 -0600

Index: ChangeLog
from Paul Martinolich <address@hidden>

        * autoscan.pl (check_configure_ac):  Pretty missing macro warnings
output.


Index: autoscan.pl
--- autoscan.pl.orig       Fri Feb 16 09:40:31 2001
+++ autoscan.pl    Fri Feb 16 09:51:36 2001
@@ -600,6 +600,7 @@
   my ($trace_option) = '';
   my ($word);
   my ($macro);
+  my ($need);
 
   foreach $macro (sort keys %needed_macros)
     {
@@ -640,6 +641,10 @@
 
   foreach $macro (sort keys %needed_macros)
     {
-      print STDERR "warning: missing $macro wanted by:
@{$needed_macros{$macro}}\n";
+      print STDERR "warning: missing $macro wanted by: \n";
+      foreach $need (@{$needed_macros{$macro}})
+        {
+          print STDERR "\t$need\n";
+        }
     }
 }



reply via email to

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