build: use AM_GLIB_GNU_GETTEXT

Using intltool macro only causes build issues on exotic platforms,
such as MinGW.

As long as this bug isn't fixed, we should use AM_GLIB_GNU_GETTEXT
https://bugs.launchpad.net/intltool/+bug/398571

NB this partially reverts

  3473c4bb49

The difference is the ordering of the rules. With AM_GLIB_GNU_GETTEXT
appearing after IT_PROG_INTLTOOL, the --disable-nls arg to configure
is broken. Thus AM_GLIB_GNU_GETTEXT is called first in this change.
This commit is contained in:
Marc-André Lureau 2012-01-27 14:51:35 +01:00 committed by Daniel P. Berrange
parent 83897072b2
commit 67284efecf

View File

@ -32,6 +32,7 @@ GETTEXT_PACKAGE=virt-viewer
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
AM_GLIB_GNU_GETTEXT
IT_PROG_INTLTOOL([0.35.0])