aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-02-19 12:36:27 +0000
committerAndreas Jaeger <aj@suse.de>2001-02-19 12:36:27 +0000
commit9317ba7c6bbc48d45376bb57339fc2a00911bd32 (patch)
tree938c53c5074c575d1a646176d12328130194e396
parentcf61f83f7857aae4a6af294d685d01af7db063c8 (diff)
downloadglibc-9317ba7c6bbc48d45376bb57339fc2a00911bd32.tar
glibc-9317ba7c6bbc48d45376bb57339fc2a00911bd32.tar.gz
glibc-9317ba7c6bbc48d45376bb57339fc2a00911bd32.tar.bz2
glibc-9317ba7c6bbc48d45376bb57339fc2a00911bd32.zip
* malloc/Makefile (tests): Run mtrace only when perl is available.
Reported by Achim Gottinger <achim@gentoo.org>.
-rw-r--r--malloc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/malloc/Makefile b/malloc/Makefile
index 84324ca563..7ef298e53a 100644
--- a/malloc/Makefile
+++ b/malloc/Makefile
@@ -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