* t/subobj-c.sh: Remove the 'compile' script automatically brought in by
'test-init.sh', so that we can ensure "automake --add-missing" correctly
installs it. While at it, make grepping of automake output slightly
stricter.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
}
END
+rm -f compile # We want to check '--add-missing' installs this.
+
$ACLOCAL
$AUTOMAKE --add-missing 2>stderr || { cat stderr >&2; exit 1; }
cat stderr >&2
# Make sure compile is installed, and that Automake says so.
-grep 'install.*compile' stderr
+grep '^configure\.ac:4:.*install.*compile' stderr
test -f compile
$EGREP '[^/](a|b|foo)\.\$(OBJEXT)' Makefile.in && exit 1