about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-02-26 12:16:10 +0000
committerAndreas Jaeger <aj@suse.de>2001-02-26 12:16:10 +0000
commit89e89345bc62c52c586a5c3bf7a0c04fd139f2ef (patch)
tree205298ed3a2e2c871613c54106128fc85dd67ac0
parent5af65d0eccd3d9aa4ce54090fa66620b0810aefe (diff)
downloadglibc-89e89345bc62c52c586a5c3bf7a0c04fd139f2ef.tar.gz
glibc-89e89345bc62c52c586a5c3bf7a0c04fd139f2ef.tar.xz
glibc-89e89345bc62c52c586a5c3bf7a0c04fd139f2ef.zip
Update.
	* intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
	available.
	Reported by Achim Gottinger <achim@gentoo.org>.
-rw-r--r--ChangeLog4
-rw-r--r--intl/Makefile8
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 1f3cf6a319..46b00f92ba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/intl/Makefile b/intl/Makefile
index 4546b715f8..0536c37beb 100644
--- a/intl/Makefile
+++ b/intl/Makefile
@@ -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