mirror of
git://git.sv.gnu.org/autoconf
synced 2025-01-30 11:01:45 +08:00
autoreconf: impement -vv
This commit is contained in:
parent
552d9e9636
commit
70c31ba6dc
@ -1,3 +1,10 @@
|
||||
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.
|
||||
|
@ -216,13 +216,18 @@ sub parse_args ()
|
||||
$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;
|
||||
|
@ -1501,8 +1501,9 @@ Print a summary of the command line options and exit.
|
||||
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
|
||||
|
@ -273,9 +273,9 @@ sub getopt (%)
|
||||
%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);
|
||||
|
Loading…
Reference in New Issue
Block a user