depcomp: avoid trailing backslash in depfile for depmode=msvc7
authorPeter Rosin <peda@lysator.liu.se>
Thu, 30 May 2013 08:49:42 +0000 (10:49 +0200)
committerPeter Rosin <peda@lysator.liu.se>
Thu, 30 May 2013 08:49:42 +0000 (10:49 +0200)
commitb4bfacb65624e070a25ad0d77f1353308ddccdf2
tree163f642500f700ef2b58044c5175e5158d526997
parenteb33ae2b29f33bcf65afc036c9a92a61f77f75e3
depcomp: avoid trailing backslash in depfile for depmode=msvc7

When compiling a file without any dependencies (no #includes), the
msvc7 depmode (and consequently msvc7msys) generates a depfile
Makefile fragment with the last line ending with a backslash. This
is less robust than needed.

Fixes automake bug#14501.

* lib/depcomp (msvc7): Finish off the depfile Makefile fragment with
an empty line.
(scriptversion): Update.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
lib/depcomp