* intl/Makefile: Run gettext-test only if msgfmt is available.
authoraj <aj>
Wed, 24 May 2000 09:31:17 +0000 (09:31 +0000)
committeraj <aj>
Wed, 24 May 2000 09:31:17 +0000 (09:31 +0000)
intl/Makefile

index c9385ad..a0278f2 100644 (file)
@@ -46,12 +46,14 @@ include ../Rules
 
 ifeq (no,$(cross-compiling))
 ifeq (yes,$(build-shared))
+ifneq ($(strip $(MSGFMT)),:)
 .PHONY: do-gettext-test
 tests: do-gettext-test
 do-gettext-test: tst-gettext.sh $(objpfx)tst-gettext
        $(SHELL) -e $< $(common-objpfx) $(objpfx)
 endif
 endif
+endif
 
 $(objpfx)msgs.h: po2test.sed ../po/de.po
        $(make-target-directory)