gettext-test shouldn't run if !msgfmt
Andreas Jaeger
aj@suse.de
Wed May 24 02:32:00 GMT 2000
On a machine without msgfmt I got the following error running the testsuite:
[...]
bin/sh -e tst-gettext.sh /var/home/aj/build-glibc/20000523/ /var/home/aj/build-glibc/20000523/intl/
tst-gettext.sh: msgfmt: command not found
make[2]: *** [do-gettext-test] Error 127
make[2]: Leaving directory `/var/home/aj/libc/intl'
make[1]: *** [intl/tests] Error 2
make[1]: Leaving directory `/var/home/aj/libc'
make: *** [check] Error 2
[mq:ttyp0] /var/home/aj/build-glibc/20000523
$ grep -i msgfmt config.make
MSGFMT = :
FYI: I've committed the appended patch.
Andreas
2000-05-24 Andreas Jaeger <aj@suse.de>
* intl/Makefile: Run gettext-test only if msgfmt is available.
============================================================
Index: intl/Makefile
--- intl/Makefile 2000/04/09 22:50:08 1.23
+++ intl/Makefile 2000/05/24 09:30:52
@@ -46,10 +46,12 @@
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
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
More information about the Libc-hacker
mailing list