* malloc/Makefile (tests): Run mtrace only when perl is available.
authorAndreas Jaeger <aj@suse.de>
Mon, 19 Feb 2001 12:36:27 +0000 (12:36 +0000)
committerAndreas Jaeger <aj@suse.de>
Mon, 19 Feb 2001 12:36:27 +0000 (12:36 +0000)
Reported by Achim Gottinger <achim@gentoo.org>.

malloc/Makefile

index 84324ca..7ef298e 100644 (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