* tests/gcj2.test: Likewise.
2001-05-12 Tom Tromey <tromey@redhat.com>
+ * tests/gcj.test: Updated for gcj dependency tracking.
+ * tests/gcj2.test: Likewise.
+
Fixes PR automake/169.
* m4/depend.m4 (AM_DEPENDENCIES): Handle GCJ. Don't assume gcc
style for OBJC.
. $srcdir/defs || exit 1
-echo 'AC_SUBST(GCJ)' >> configure.in
+cat >> configure.in << 'END'
+AM_DEPENDENCIES(GCJ)
+AC_SUBST(GCJ)
+END
cat > Makefile.am << 'END'
bin_PROGRAMS = convert
convert_SOURCES = x/y/convert.java
END
+$ACLOCAL || exit 1
$AUTOMAKE || exit 1
grep '^x/y/convert' Makefile.in
. $srcdir/defs || exit 1
-echo 'AC_SUBST(GCJ)' >> configure.in
+cat >> configure.in << 'END'
+AM_DEPENDENCIES(GCJ)
+AC_SUBST(GCJ)
+END
cat > Makefile.am << 'END'
bin_PROGRAMS = convert