newer automake doesn't allow redefining variables, so handle

CHECK_LOCAL in the check-local target


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10995 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2002-05-19 18:32:54 +00:00
parent c54e88117b
commit 01dcc1e9b7

View File

@@ -7,10 +7,10 @@ SUFFIXES += .x
.x.c:
@cmp -s $< $@ 2> /dev/null || cp $< $@
CHECK_LOCAL = $(PROGRAMS)
check-local::
@foo='$(CHECK_LOCAL)'; \
@if test '$(CHECK_LOCAL)'; then \
foo='$(CHECK_LOCAL)'; else \
foo='$(PROGRAMS)'; fi; \
if test "$$foo"; then \
failed=0; all=0; \
for i in $$foo; do \