Tom Tromey <[EMAIL PROTECTED]> writes:
>
> Thanks, I finally checked this in.
Excellent.
I find though that I got it wrong for the case where automake isn't
automatically generating any suffixes, but rather there's only
user-supplied ones with $(SUFFIXES). This comes up in autoconf I
think.
The one liner below is the amendment. If it can't be considered part
of the original change, then a log entry might be,
* automake.in (handle_footer): Correction to last change, for
case where there's no automake suffixes only user $(SUFFIXES).
Index: automake.in
===================================================================
RCS file: /cvs/automake/automake/automake.in,v
retrieving revision 1.808
diff -u -r1.808 automake.in
--- automake.in 2000/12/21 06:07:14 1.808
+++ automake.in 2000/12/21 20:06:35
@@ -3661,7 +3661,7 @@
# before .SUFFIXES. So we make sure that .SUFFIXES appears before
# anything else, by sticking it right after the default: target.
$output_header .= ".SUFFIXES:\n";
- if (@suffixes)
+ if (@suffixes || &variable_defined ('SUFFIXES'))
{
# Make sure suffixes has unique elements. Sort them to ensure