From 67284efecff827e5efaa012a528d0f532164b6df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Fri, 27 Jan 2012 14:51:35 +0100 Subject: [PATCH] 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 3473c4bb49adc0caca58dc1a8b6ce81c6870558a 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. --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index e47d60a..905ec66 100644 --- a/configure.ac +++ b/configure.ac @@ -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])