gitk: Disable msgfmt on MinGW.

This auto-detects whether the build takes place for the MinGW port, which
does not have msgfmt.

Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
This commit is contained in:
Johannes Sixt
2008-01-12 20:42:55 +01:00
parent 758eec41e2
commit 4c8f8c86e1

View File

@@ -18,6 +18,10 @@ TCLTK_PATH_SQ = $(subst ','\'',$(TCLTK_PATH))
## po-file creation rules
XGETTEXT ?= xgettext
uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
ifneq (,$(findstring MINGW,$(uname_S)))
NO_MSGFMT=1
endif
ifdef NO_MSGFMT
MSGFMT ?= $(TCL_PATH) po/po2msg.sh
else