* tests/suffix-chain.test: Fix various blunders that were causing
this test to fail spuriously: append to `configure.in', not to
`configure.ac'; add a `;' character after the `return' statement
in an input file; use tabs, not spaces, to indent Makefile recipes;
and use more uncommon suffixes that don't trigger built-in recipes
with FreeBSD make.
+2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
+
+ tests: fix various blunders in 'suffix-chain.test'
+ * tests/suffix-chain.test: Fix various blunders that were causing
+ this test to fail spuriously: append to `configure.in', not to
+ `configure.ac'; add a `;' character after the `return' statement
+ in an input file; use tabs, not spaces, to indent Makefile recipes;
+ and use more uncommon suffixes that don't trigger built-in recipes
+ with FreeBSD make.
+
2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
tests: don't let a known Solaris make bug poison too many tests
. ./defs || Exit 1
-cat >> configure.ac <<'END'
+cat >> configure.in <<'END'
AC_PROG_CC
AC_OUTPUT
END
cat > Makefile.am <<'END'
bin_PROGRAMS = foo
-foo_SOURCES = foo.e
-.e.d:
- (echo 'int main (void)' && echo '{' && cat $<) > $@
-.d.c:
- (cat $< && echo '}') > $@
-CLEANFILES = foo.d foo.c
+foo_SOURCES = foo.c1
+.c1.c0:
+ (echo 'int main (void)' && echo '{' && cat $<) > $@
+.c0.c:
+ (cat $< && echo '}') > $@
+CLEANFILES = foo.c0 foo.c
END
-echo 'return 0' > foo.e
+echo 'return 0;' > foo.c1
$ACLOCAL
$AUTOMAKE
$MAKE clean
cat >> Makefile <<'END'
-foo.c: foo.d
-foo.d: foo.e
+foo.c: foo.c0
+foo.c0: foo.c1
END
$MAKE