[Spice-commits] configure.ac
Marc-André Lureau
elmarco at kemper.freedesktop.org
Mon Jan 23 03:17:08 PST 2012
configure.ac | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit c5cf7fb3bc4b48ee10c8128d4f2670f870fedad8
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date: Mon Jan 23 00:54:42 2012 +0100
build: use AM_GLIB_GNU_GETTEXT
For some unknown reason, this set DATADIRNAME='share' on Windows,
which is what is expected.
Although some people say only IT_PROG_INTLTOOL is necessary, it gets
the path wrong in this case too.
diff --git a/configure.ac b/configure.ac
index 2dd9e9d..d7dd1c0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -12,11 +12,11 @@ LT_INIT
AM_MAINTAINER_MODE
IT_PROG_INTLTOOL([0.40.0])
-AM_GNU_GETTEXT_VERSION([0.17])
-AM_GNU_GETTEXT([external])
+GETTEXT_PACKAGE=spice-gtk
+AC_SUBST(GETTEXT_PACKAGE)
+AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],"$GETTEXT_PACKAGE", [GETTEXT package name])
+AM_GLIB_GNU_GETTEXT
-AC_SUBST([GETTEXT_PACKAGE], [spice-gtk])
-AC_DEFINE([GETTEXT_PACKAGE], [PACKAGE_TARNAME], [Define to the gettext package name.])
SPICE_GTK_LOCALEDIR=[${datadir}/locale]
AC_SUBST(SPICE_GTK_LOCALEDIR)
More information about the Spice-commits
mailing list