summaryrefslogtreecommitdiffstats
path: root/patches/systemd-230/0005-HACK-configure.ac-disable-NLS-to-avoid-unnecessary-d.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/systemd-230/0005-HACK-configure.ac-disable-NLS-to-avoid-unnecessary-d.patch')
-rw-r--r--patches/systemd-230/0005-HACK-configure.ac-disable-NLS-to-avoid-unnecessary-d.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/patches/systemd-230/0005-HACK-configure.ac-disable-NLS-to-avoid-unnecessary-d.patch b/patches/systemd-230/0005-HACK-configure.ac-disable-NLS-to-avoid-unnecessary-d.patch
new file mode 100644
index 000000000..2cbf4cf8a
--- /dev/null
+++ b/patches/systemd-230/0005-HACK-configure.ac-disable-NLS-to-avoid-unnecessary-d.patch
@@ -0,0 +1,35 @@
+From: Michael Olbrich <m.olbrich@pengutronix.de>
+Date: Tue, 7 Jul 2015 09:58:21 +0200
+Subject: [PATCH] HACK: configure.ac: disable NLS to avoid unnecessary
+ dependencies during autogen.sh
+
+Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
+---
+ configure.ac | 7 +++++++
+ 1 file changed, 7 insertions(+)
+
+diff --git a/configure.ac b/configure.ac
+index 329861a291d2..35f96228f06a 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -59,6 +59,7 @@ SET_ARCH(IA32, i*86*)
+ SET_ARCH(MIPS, mips*)
+ SET_ARCH(AARCH64, aarch64*)
+
++m4_ifdef([AM_NLS__DISABLED], [
+ # i18n stuff for the PolicyKit policy files, heck whether intltool can be found, disable NLS otherwise
+ AC_CHECK_PROG(intltool_found, [intltool-merge], [yes], [no])
+ AS_IF([test x"$intltool_found" != xyes],
+@@ -81,6 +82,12 @@ AS_IF([test -z "$INTLTOOL_POLICY_RULE"], [
+ INTLTOOL_POLICY_RULE='%.policy: %.policy.in ; @echo " ITMRG " $@ && echo "*** intltool support required to build target $@" && false'
+ AC_SUBST(INTLTOOL_POLICY_RULE)
+ ])
++],[
++touch `dirname $0`/po/Makefile.in.in
++echo -e 'all:\ninstall:\n' > `dirname $0`/po/Makefile
++INTLTOOL_POLICY_RULE=
++AC_SUBST(INTLTOOL_POLICY_RULE)
++])
+
+ GETTEXT_PACKAGE=systemd
+ AC_SUBST(GETTEXT_PACKAGE)