From: Arun Raghavan Date: Mon, 19 Dec 2011 04:50:30 +0000 (+0530) Subject: build-sys: Fix po/ build with --disable-nls X-Git-Url: https://code.delx.au/pulseaudio/commitdiff_plain/c3d83b17ea146ede76be4b9b4802117f77c5d3e4 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. --- diff --git a/configure.ac b/configure.ac index b67b329a..5e9cebcb 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