* malloc/Makefile (tests): Run mtrace only when perl is available.

Reported by Achim Gottinger <achim@gentoo.org>.
This commit is contained in:
Andreas Jaeger 2001-02-19 12:36:27 +00:00
parent cf61f83f78
commit 9317ba7c6b

View File

@ -100,11 +100,13 @@ lib: $(objpfx)libmcheck.a
ifeq (no,$(cross-compiling))
ifeq (yes,$(build-shared))
ifneq ($(PERL),no)
tests: $(objpfx)tst-mtrace.out
$(objpfx)tst-mtrace.out: tst-mtrace.sh $(objpfx)tst-mtrace
$(SHELL) -e $< $(common-objpfx)
endif
endif
endif
# Uncomment this for test releases. For public releases it is too expensive.
#CPPFLAGS-malloc.o += -DMALLOC_DEBUG