]> code.delx.au - pulseaudio/commitdiff
build-sys: Fix po/ build with --disable-nls
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 19 Dec 2011 04:50:30 +0000 (10:20 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 19 Dec 2011 04:50:30 +0000 (10:20 +0530)
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.

configure.ac

index b67b329acd01021e67cdfa8976817da5ad325c74..5e9cebcbf71426c9dd5a0a560e9e1741c019e108 100644 (file)
@@ -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