+2006-04-01 Noah Misch <noah@cs.caltech.edu>
+
+ * bin/autoreconf.in (parse_args): Multiple -v send --verbose to
+ subordinate tools.
+ * lib/Autom4te/General.pm (getopt): Make -v and -d incremental.
+ * doc/autoconf.texi (autoreconf Invocation): Document it.
+
2006-04-01 Noah Misch <noah@cs.caltech.edu>
* doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently.
$automake .= ' --no-force'
if $aclocal_supports_force;
}
- # --debug;
- if ($debug)
+ # --verbose --verbose or --debug;
+ if ($verbose > 1 || $debug)
{
- $autoconf .= ' --verbose --debug';
- $autoheader .= ' --verbose --debug';
+ $autoconf .= ' --verbose';
+ $autoheader .= ' --verbose';
$automake .= ' --verbose';
$aclocal .= ' --verbose';
+ }
+ if ($debug)
+ {
+ $autoconf .= ' --debug';
+ $autoheader .= ' --debug';
$libtoolize .= ' --debug';
}
# --warnings;
Print the version number of Autoconf and exit.
@item --verbose
-Print the name of each directory where @command{autoreconf} runs
-@command{autoconf} (and @command{autoheader}, if appropriate).
+Print the name of each directory @command{autoreconf} examines and the
+commands it runs. If given two or more times, pass @option{--verbose}
+to subordinate tools that support it.
@item --debug
@itemx -d
%option = ("h|help" => sub { print $help; exit 0 },
"V|version" => sub { print $version; exit 0 },
- "v|verbose" => \$verbose,
- "d|debug" => \$debug,
- 'f|force' => \$force,
+ "v|verbose" => sub { ++$verbose },
+ "d|debug" => sub { ++$debug },
+ 'f|force' => \$force,
# User options last, so that they have precedence.
%option);