automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FYI: fix for PR/379


From: Alexandre Duret-Lutz
Subject: Re: FYI: fix for PR/379
Date: Wed, 04 Dec 2002 08:28:27 +0100
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/20.7 (i386-debian-linux-gnu)

>>> "Kevin" == Kevin Ryde <address@hidden> writes:

 Kevin> 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.

 Kevin> Umm, the stupid HP make which eats blank lines after a backslash also
 Kevin> does it to a backslash at the end of a comment line.

Thanks, I forgot about this.  Anyway, I had already reverted the patch.

[...]

 Kevin> Backslashes at the end of comments are a bit of a trap really, since
 Kevin> they eat the following line (both gnu and hp make), eg.

 Kevin> -------------------------
 Kevin> # comment \
 Kevin> more comment
 Kevin> -------------------------

This is mandated by POSIX, so it seems fine to support.  I've
seen people using this to feature to comment an entire variable
declaration as in

# A = foo \
      bar \
      baz

However this doesn't work with BSD make, hence Automake will
rewrite this automatically as

# A = foo \
#      bar \
#      baz

-- 
Alexandre Duret-Lutz





reply via email to

[Prev in Thread] Current Thread [Next in Thread]