summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2012-01-23 00:54:42 +0100
committerMarc-André Lureau <marcandre.lureau@redhat.com>2012-01-23 12:15:38 +0100
commitc5cf7fb3bc4b48ee10c8128d4f2670f870fedad8 (patch)
treee91055568b7204a45d3da419ba1d9d37f343e811 /configure.ac
parent9baba9fd89433833cb45badfa2aa0e46a436ee8a (diff)
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.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 4 insertions, 4 deletions
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)