summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodney Dawes <dobey@gnome.org>2008-09-05 11:13:49 -0400
committerRodney Dawes <dobey@gnome.org>2008-09-05 11:13:49 -0400
commit316fc5351b4f1d542bc3c369baf559d003fc8f74 (patch)
treef8486230a42b20b69e6dde148bf01608886d3778
parent9bdc9b9688195b901b1879e2d784be16296b9f0e (diff)
2008-09-05 Rodney Dawes <dobey.pwns@gmail.com>
* configure.ac: Add the necessary bits for setting up translations
-rw-r--r--configure.ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 6a95ff3..8621f6e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -10,6 +10,17 @@ AM_INIT_AUTOMAKE([1.9 tar-ustar])
PKG_PROG_PKG_CONFIG([0.19])
IT_PROG_INTLTOOL([0.40.0])
+GETTEXT_PACKAGE="${PACKAGE}"
+AC_SUBST(GETTEXT_PACKAGE)
+
+ALL_LINGUAS=""
+AM_GLIB_GNU_GETTEXT
+
+# AM_GLIB_GNU_GETTEXT above subst. $DATADIRNAME
+# this is the directory where the *.{mo,gmo} files are installed
+localedir='${prefix}/${DATADIRNAME}/locale'
+AC_SUBST(localedir)
+
# Workaround to make aclocal get the right flags
AC_SUBST(ACLOCAL_AMFLAGS, "\${ACLOCAL_FLAGS}")