* intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
authoraj <aj>
Mon, 26 Feb 2001 12:15:24 +0000 (12:15 +0000)
committeraj <aj>
Mon, 26 Feb 2001 12:15:24 +0000 (12:15 +0000)
available.
Reported by Achim Gottinger <achim@gentoo.org>.

intl/Makefile

index 4546b71..0536c37 100644 (file)
@@ -53,9 +53,11 @@ include ../Rules
 
 ifeq (no,$(cross-compiling))
 ifeq (yes,$(build-shared))
-ifneq ($(strip $(MSGFMT)),:)
-tests: $(objpfx)mtrace-tst-gettext $(objpfx)tst-translit.out \
-       $(objpfx)tst-gettext2.out
+fneq ($(strip $(MSGFMT)),:)
+tests: $(objpfx)tst-translit.out $(objpfx)tst-gettext2.out
+ifneq (no,$(PERL))
+tests: $(objpfx)mtrace-tst-gettext
+endif
 $(objpfx)mtrace-tst-gettext: $(objpfx)tst-gettext.out
        $(common-objpfx)malloc/mtrace $(objpfx)tst-gettext.mtrace > $@
 $(objpfx)tst-gettext.out: tst-gettext.sh $(objpfx)tst-gettext