automake
[Top][All Lists]
Advanced

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

FYI: fixing output of aclocal --verbose


From: Pavel Roskin
Subject: FYI: fixing output of aclocal --verbose
Date: Thu, 1 Feb 2001 18:51:29 -0500 (EST)

Hello!

Aclocal didn't follow the GNU standard for the output of non-interactive
programs. Now all messages printed by "aclocal --verbose" will start with
"aclocal: " to make it easier to find them in the autoreconf output.

Regards,
Pavel Roskin

_____________________________________
--- ChangeLog
+++ ChangeLog
@@ -1,5 +1,10 @@
 2001-02-01  Pavel Roskin  <address@hidden>

+       * aclocal.in: Rename "verbosity" to "verbose". Always prepend
+       "aclocal: " to the verbose output.
+
+2001-02-01  Pavel Roskin  <address@hidden>
+
        * automake.in: Remove all debugging messages.

 2001-01-31  Akim Demaille  <address@hidden>
--- aclocal.in
+++ aclocal.in
@@ -61,7 +61,7 @@
 %file_contents = ();

 # How much to say.
-$verbosity = 0;
+$verbose = 0;

 # Map from obsolete macros to hints for new macros.
 # If you change this, change the corresponding list in automake.in.
@@ -177,7 +177,7 @@
        }
        elsif ($arglist[0] eq '--verbose')
        {
-           ++$verbosity;
+           ++$verbose;
        }
        elsif ($arglist[0] eq '--version')
        {
@@ -354,7 +354,7 @@
        return;
     }

-    print STDERR "saw macro $macro\n" if $verbosity;
+    print STDERR "aclocal: saw macro $macro\n" if $verbose;
     $macro_seen{$macro} = 1;
     &add_file ($map{$macro});
 }
@@ -430,7 +430,7 @@
                warn "aclocal: $file: $.: duplicated macro \`$1'\n";
                $exit_status = 1;
            }
-           print STDERR "Found macro $1 in $file: $.\n" if $verbosity;
+           print STDERR "aclocal: found macro $1 in $file: $.\n" if $verbose;
        }
     }
     close (FILE);
@@ -445,7 +445,7 @@
 {
     return if ! length ($output);

-    print STDERR "Writing $output_file\n" if $verbosity;
+    print STDERR "aclocal: writing $output_file\n" if $verbose;

     open (ACLOCAL, "> " . $output_file)
        || die "aclocal: couldn't open \`$output_file' for writing: $!\n";
_____________________________________





reply via email to

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