From: Tom Tromey Date: Thu, 17 May 2001 06:32:14 +0000 (+0000) Subject: Fix for PR automake/174: X-Git-Tag: Release-1-4f~15 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=c45b8fc174d0c6aca32938ef2eb513695705ca70;p=automake.git Fix for PR automake/174: * tests/Makefile.am (XFAIL_TESTS): Removed comment3.test. * automake.in (read_am_file): Warn if `#' is at start of rule. --- diff --git a/ChangeLog b/ChangeLog index 73b3580d..a82e8604 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-05-17 Tom Tromey + + Fix for PR automake/174: + * tests/Makefile.am (XFAIL_TESTS): Removed comment3.test. + * automake.in (read_am_file): Warn if `#' is at start of rule. + 2001-05-16 Tom Tromey For PR automake/174: diff --git a/automake.in b/automake.in index 370f021f..87a3a1dd 100755 --- a/automake.in +++ b/automake.in @@ -6509,6 +6509,8 @@ sub read_am_file $output_trailer .= &make_condition (@cond_stack); $output_trailer .= $_; $comment = $spacing = ''; + &am_line_error ($., "`#' comment at start of rule is unportable") + if $_ =~ /^\t\s*\#/; } $saw_bk = $new_saw_bk; diff --git a/tests/Makefile.am b/tests/Makefile.am index d7728172..b85c670a 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -2,7 +2,7 @@ AUTOMAKE_OPTIONS = gnits -XFAIL_TESTS = subdir5.test comment3.test +XFAIL_TESTS = subdir5.test TESTS = \ acinclude.test \ diff --git a/tests/Makefile.in b/tests/Makefile.in index c4f1c489..53d1a398 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -70,7 +70,7 @@ install_sh = @install_sh@ AUTOMAKE_OPTIONS = gnits -XFAIL_TESTS = subdir5.test comment3.test +XFAIL_TESTS = subdir5.test TESTS = \ acinclude.test \