This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: doco hpux ia64 make trailing backslash
- From: bob at proulx dot com (Bob Proulx)
- To: automake at gnu dot org
- Date: Sat, 20 Jul 2002 18:25:08 -0600
- Subject: Re: doco hpux ia64 make trailing backslash
- References: <877kjvs3d4.fsf@zip.com.au> <mv44reypxee.fsf@nostromo.lrde.epita.fr>
> | This is very possibly a bug on the part of HP, but it might be worth
> | mentioning. It doesn't happen on a hppa hpux 11.00 I tried.
I will verify that that bug exists at least up through 10.20. Between
10.20 and 11.0 HP changed their make program somewhat. I could test
on ia64 with 11.23 but when GNU make is available why bother using
anything less?
> | +@item Trailing backslash in macro
> | +HP-UX 11.20 on IA-64 will read multiple newlines following a
> | +backslash, continuing to the next non-empty line. For example,
I am reasonably certain that the original program used a fscanf("%s")
call to read the line. That "%s" will skip anything that it believes
to be whitespace, including newlines. See a backslash line
continuation, call fscanf("%s") again. That is a guess.
Another feature of that bug is that if the next line contains a
makefile comment then the comment is included as part of the previous
continuation as well. When reading the continuated line any
non-whitespace character is read.
I think I filed that as a bug against hpux make in hpux 8.0. I had
just gotten used to it after all of this time.
Bob