Commit 64a9e191 authored by Alastair McKinstry's avatar Alastair McKinstry

Patch from Lazlo (Laca) Peter to set MSGFMT_FLAGS according to OS,

so that iso-codes builds correctly on Solaris.
parent 0b8664aa
......@@ -32,7 +32,15 @@ AC_PROG_INSTALL
AC_PROG_MAKE_SET
AC_PATH_PROG([MSGFMT],[msgfmt])
AC_MSG_CHECKING([if $MSGFMT is GNU msgfmt])
gnu_msgfmt=no
MSGFMT_FLAGS=
if $MSGFMT --version 2>&1 | grep GNU > /dev/null; then
gnu_msgfmt=yes
MSGFMT_FLAGS="--verbose --check"
fi
AC_MSG_RESULT($gnu_msgfmt)
AC_SUBST(MSGFMT_FLAGS)
DOMAINS="iso_3166 iso_639 iso_4217 iso_3166_2 iso_639_3"
AC_SUBST([DOMAINS])
......
%.mo: %.po
$(MSGFMT) --verbose --check $< -o $@
$(MSGFMT) $(MSGFMT_FLAGS) -o $@ $<
.PHONY: check-content
check-content:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment