1 --- autoconf-2.59/bin/autoreconf.in 2004-05-06 00:27:34.000000000 -0400
2 +++ autoconf-2.59.new/bin/autoreconf.in 2004-05-06 00:27:46.000000000 -0400
4 -f, --force consider all files obsolete
5 -i, --install copy missing auxiliary files
6 -s, --symlink with -i, install symbolic links instead of copies
7 + -x, --exclude=STEPS steps we should not run
8 -m, --make when applicable, re-run ./configure && make
9 -W, --warnings=CATEGORY report the warnings falling in CATEGORY [syntax]
12 # Rerun `./configure && make'?
26 'B|prepend-include=s' => \@prepend_include,
27 'i|install' => \$install,
28 's|symlink' => \$symlink,
29 + 'x|exclude=s' => \@exclude,
32 # Split the warnings as a list of elements instead of a list of
35 parse_warnings '--warnings', @warning;
37 + @exclude = map { split /,/ } @exclude;
39 # Even if the user specified a configure.ac, trim to get the
40 # directory, and look for configure.ac again. Because (i) the code
41 # is simpler, and (ii) we are still able to diagnose simultaneous
44 my ($aclocal, $flags) = @_;
46 + @ex = grep (/^aclocal$/, @exclude);
51 # aclocal 1.8+ does all this for free. It can be recognized by its
53 if ($aclocal_supports_force)
58 - xsystem "$autopoint";
59 + @ex = grep (/^autopoint$/, @exclude);
61 + xsystem ("$autopoint");
70 - xsystem ($libtoolize);
71 + @ex = grep (/^libtoolize$/, @exclude);
73 + xsystem ("$libtoolize");
79 # latter runs the former, and (ii) autoconf is stricter than
80 # autoheader. So all in all, autoconf should give better error
82 - xsystem ($autoconf);
83 + @ex = grep (/^autoconf$/, @exclude);
85 + xsystem ("$autoconf");
89 # -------------------- #
94 - xsystem ($autoheader);
95 + @ex = grep (/^autoheader$/, @exclude);
97 + xsystem ("$autoheader");
103 # We should always run automake, and let it decide whether it shall
104 # update the file or not. In fact, the effect of `$force' is already
105 # included in `$automake' via `--no-force'.
106 - xsystem ($automake);
107 + @ex = grep (/^automake$/, @exclude);
109 + xsystem ("$automake");
119 + @ex = grep (/^make$/, @exclude);