(scan_autoconf_files): Ensure configure_dist_common is always
set.
* tests/defs (AUTOMAKE): Added --Werror.
+2001-05-09 Tom Tromey <tromey@redhat.com>
+
+ * automake.in (read_am_file): Correctly compute $saw_bk.
+ (scan_autoconf_files): Ensure configure_dist_common is always
+ set.
+ * tests/defs (AUTOMAKE): Added --Werror.
+
2001-05-09 Pavel Roskin <proski@gnu.org>
* automake.in (define_compiler_variable): Escape $(LIBTOOL) in
if $seen_pythondir;
# Preserve dist_common for later.
- $configure_dist_common = variable_value ('DIST_COMMON', 'TRUE');
+ $configure_dist_common = variable_value ('DIST_COMMON', 'TRUE') || '';
}
################################################################
my $last_var_name = '';
my $last_var_type = '';
my $last_var_value = '';
+ # FIXME: shouldn't use $_ in this loop; it is too big.
while ($_)
{
$_ .= "\n"
$_ =~ s/\@MAINT\@//g
unless $seen_maint_mode;
+ my $new_saw_bk = /\\$/;
+
if (/$IGNORE_PATTERN/o)
{
# Merely delete comments beginning with two hashes.
$comment = $spacing = '';
}
- $saw_bk = /\\$/;
+ $saw_bk = $new_saw_bk;
$_ = $am_file->getline;
}
if test -z "$AUTOMAKE"; then
perllibdir=$srcdir/../lib
export perllibdir
- AUTOMAKE="$PERL ../../automake --amdir=$srcdir/.. --foreign"
+ AUTOMAKE="$PERL ../../automake --amdir=$srcdir/.. --foreign --Werror"
fi
# See how aclocal should be run.