summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2011-07-11 17:01:28 +0100
committerLennart Poettering <lennart@poettering.net>2011-07-11 21:10:33 +0200
commit1c7dde3e475978c569a982d65fd86d4b4e3caad8 (patch)
tree7f7fe24a323c73d2575d1ae9f853977f6d70ad5b /configure.ac
parent2376ce132bdba049f015b22b2db3a77c570aa154 (diff)
build-sys: Add i18n support through intltool
And put the PolicyKit policy files up for translation.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac11
1 files changed, 10 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 58296b9cf0..bc7ab429e7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -43,6 +43,15 @@ AS_IF([test "x$STOW" = "xyes" && test -d /usr/local/stow], [
ac_default_prefix="/usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION}"
])
+# i18n stuff for the PolicyKit policy files
+IT_PROG_INTLTOOL([0.40.0])
+
+GETTEXT_PACKAGE=systemd
+AC_SUBST(GETTEXT_PACKAGE)
+
+AM_GNU_GETTEXT([external])
+AM_GNU_GETTEXT_VERSION([0.18.1])
+
AC_PROG_MKDIR_P
AC_PROG_LN_S
AC_PROG_SED
@@ -523,7 +532,7 @@ AC_SUBST([udevrulesdir], [$with_udevrulesdir])
AC_SUBST([pamlibdir], [$with_pamlibdir])
AC_SUBST([rootdir], [$with_rootdir])
-AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([Makefile po/Makefile.in])
AC_OUTPUT
echo "