summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorArun Raghavan <arun.raghavan@collabora.co.uk>2011-12-19 10:20:30 +0530
committerArun Raghavan <arun.raghavan@collabora.co.uk>2011-12-19 10:20:30 +0530
commitc3d83b17ea146ede76be4b9b4802117f77c5d3e4 (patch)
tree2bf3dc61216848962d50b5ac9e239ce0d909a7a3 /configure.ac
parent5c4012482b15bd9ae32143b1563f43587116e8dd (diff)
build-sys: Fix po/ build with --disable-nls
We can't call IT_PROG_INTLTOOL because it requires intltool even with --disable-nls, but it provides USE_NLS which is required for the po/ build. This might take a while to get fixed upstream, so working around this in our build system for now.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index b67b329ac..5e9cebcbf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -104,6 +104,11 @@ AM_GLIB_GNU_GETTEXT
pulselocaledir='${prefix}/${DATADIRNAME}/locale'
AX_DEFINE_DIR(PULSE_LOCALEDIR, pulselocaledir, [Gettext locale dir])
+else
+# workaround till an intltool m4 bug is fixed upstream
+# (https://bugs.launchpad.net/intltool/+bug/904647)
+USE_NLS=no
+AC_SUBST(USE_NLS)
fi