* Makefile.am (TESTS): Added pluseq3.test.
1998-11-09 Tom Tromey <tromey@cygnus.com>
+ * pluseq3.test: New file.
+ * Makefile.am (TESTS): Added pluseq3.test.
+
* pluseq2.test: New file.
* Makefile.am (TESTS): Added pluseq2.test.
mkinst2.test mkinstall.test noinst.test number.test objc.test \
obsolete.test order.test outdir.test output.test output2.test \
output3.test output4.test output5.test package.test parse.test \
-pluseq.test pluseq2.test prefix.test primary.test primary2.test \
-proginst.test ranlib.test recurs.test recurs2.test remake.test \
-remake2.test req.test rulepat.test scripts.test seenc.test \
+pluseq.test pluseq2.test pluseq3.test prefix.test primary.test \
+primary2.test proginst.test ranlib.test recurs.test recurs2.test \
+remake.test remake2.test req.test rulepat.test scripts.test seenc.test \
sinclude.test spell.test spell2.test spell3.test spelling.test \
stamph.test stdlib.test subdir.test subdir2.test subst.test \
symlink.test syntax.test tags.test tagsub.test target.test \
mkinst2.test mkinstall.test noinst.test number.test objc.test \
obsolete.test order.test outdir.test output.test output2.test \
output3.test output4.test output5.test package.test parse.test \
-pluseq.test pluseq2.test prefix.test primary.test primary2.test \
-proginst.test ranlib.test recurs.test recurs2.test remake.test \
-remake2.test req.test rulepat.test scripts.test seenc.test \
+pluseq.test pluseq2.test pluseq3.test prefix.test primary.test \
+primary2.test proginst.test ranlib.test recurs.test recurs2.test \
+remake.test remake2.test req.test rulepat.test scripts.test seenc.test \
sinclude.test spell.test spell2.test spell3.test spelling.test \
stamph.test stdlib.test subdir.test subdir2.test subst.test \
symlink.test syntax.test tags.test tagsub.test target.test \
--- /dev/null
+#! /bin/sh
+
+# Another `+=' test with conditionals.
+
+. $srcdir/defs || exit 1
+
+echo 'AM_CONDITIONAL(CHECK, true)' >> configure.in
+
+cat > Makefile.am << 'END'
+
+if CHECK
+data_DATA = zar
+endif
+
+if CHECK
+data_DATA += \
+ doz
+else
+data_DATA += dog
+endif
+
+END
+
+: > zar
+: > doz
+: > dog
+
+$AUTOMAKE || exit 1
+grep '= zar *doz' Makefile.in || exit 1
+fgrep '= dog' Makefile.in