Fix a small problem with msgfmt -c detection

svn path=/branches/glib-2-12/; revision=5607
This commit is contained in:
Matthias Clasen 2007-07-09 05:22:36 +00:00
parent b300bf53b2
commit 57c0dcfd9e
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2007-07-09 Matthias Clasen <mclasen@redhat.com>
Merge from trunk:
* m4macros/glib-gettext.m4: Fix a small problem with
msgfmt -c detection. (#341988, Laszlo Peter)
2007-07-07 Matthias Clasen <mclasen@redhat.com>
Merge from trunk:

View File

@ -208,7 +208,7 @@ glib_DEFUN([GLIB_WITH_NLS],
AC_CHECK_FUNCS(dcgettext)
MSGFMT_OPTS=
AC_MSG_CHECKING([if msgfmt accepts -c])
GLIB_RUN_PROG([msgfmt -c -o /dev/null],[
GLIB_RUN_PROG([$MSGFMT -c -o /dev/null],[
msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"