[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FYI: fix for PR/379
From: |
Kevin Ryde |
Subject: |
Re: FYI: fix for PR/379 |
Date: |
Wed, 04 Dec 2002 09:03:57 +1000 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.1 (i386-debian-linux-gnu) |
Alexandre Duret-Lutz <address@hidden> writes:
>
> * automake.in (read_am_file): Do not complain about backslashes
> before blank lines when the backslash is in a comment.
Umm, the stupid HP make which eats blank lines after a backslash also
does it to a backslash at the end of a comment line.
For example the following makefile,
-------------------------
# comment \
FOO=hello
foo:
echo $(FOO) world
-------------------------
with gnu make will print "hello world", but with hp make prints only
"world".
Backslashes at the end of comments are a bit of a trap really, since
they eat the following line (both gnu and hp make), eg.
-------------------------
# comment \
more comment
-------------------------
As a suggestion, maybe automake could warn about this, perhaps
insisting you write
# comment \
# more comment
to keep it clear.