* intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
	available.
	Reported by Achim Gottinger <achim@gentoo.org>.
This commit is contained in:
Andreas Jaeger 2001-02-26 12:16:10 +00:00
parent 5af65d0ecc
commit 89e89345bc
2 changed files with 9 additions and 3 deletions

View File

@ -2,6 +2,10 @@
* iconvdata/Makefile (tests): Fix typo in last patch.
* intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
available.
Reported by Achim Gottinger <achim@gentoo.org>.
2001-02-25 Andreas Jaeger <aj@suse.de>
* intl/Makefile (plural.c): Reorder rules so that they work if

View 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