* bin/autoconf.in: Use it.
+2001-08-17 Akim Demaille <akim@epita.fr>
+
+ * bin/autom4te.in: --normalize is a new option.
+ * bin/autoconf.in: Use it.
+
2001-08-17 Akim Demaille <akim@epita.fr>
* bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
`$verbose "--verbose "`\
`$debug && echo "--debug "`\
`$force && echo "--force "`\
+"--normalize "\
"--include $autoconf_dir --include $localdir "\
"--warning syntax,$warnings "\
"$preselect"\
my $output = '-';
+# Should we normalize the output?
+my $normalize = 0;
+
# Autom4te's default warnings, and the actual list of warnings.
my @my_warning = ('syntax');
my @warning;
-v, --verbose verbosely report processing
-d, --debug don\'t remove temporary files
-o, --output=FILE save output in FILE (defaults to \`-\', stdout)
+ --normalize smash successive empty lines
-f, --force don\'t rely on cached values
-W, --warnings=CATEGORY report the warnings falling in CATEGORY
while ($_ = $in->getline)
{
s/\s+$//;
- if (/^$/)
+ if ($normalize && /^$/)
{
$separate = 1;
next;
\fB\-o\fR, \fB\-\-output\fR=\fIFILE\fR
save output in FILE (defaults to `-', stdout)
.TP
+\fB\-\-normalize\fR
+smash successive empty lines
+.TP
\fB\-f\fR, \fB\-\-force\fR
don't rely on cached values
.TP