[PATCH] configure: Check if version of msgfmt (from gettext) is recent enough by checking features (try 2).

Francois Gouget fgouget at free.fr
Wed Mar 7 04:08:33 CST 2012

On Mon, 5 Mar 2012, Christian Costa wrote:
> +dnl Check the msgfmt version
> +if test "$MSGFMT" = "msgfmt"
> +then
> +  AC_MSG_CHECKING([whether msgfmt (from gettext) is recent enough])

The comment and message should be more something like 'checking for 
msgfmt message context support'.

> +  cat >conftest.po <<EOF
> +# comment
> +msgctxt "ctxt"
> +msgid "id"
> +msgstr "str"
> +EOF

I believe you are 'leaking' the conftest.po file (unless the configure 
script automatically cleans up every file that starts with 'conftest').

Francois Gouget <fgouget at free.fr>              http://fgouget.free.fr/
May your Tongue stick to the Roof of your Mouth with the Force of a Thousand Caramels.

More information about the wine-patches mailing list