[pulseaudio-discuss] --disable-nls?

Peter Meerwald pmeerw at pmeerw.net
Wed Dec 14 09:21:14 PST 2011


Hello,

I have issues with commit 30d6303abff107ea0661af8cf2ae4e0abad8d73e when 
using configure --disable-nls

+if test "x$enable_nls" != "xno"; then
 IT_PROG_INTLTOOL([0.35.0])
 GETTEXT_PACKAGE=pulseaudio
 AC_SUBST([GETTEXT_PACKAGE])
@@ -103,6 +104,7 @@ AM_GLIB_GNU_GETTEXT
 
 pulselocaledir='${prefix}/${DATADIRNAME}/locale'
 AX_DEFINE_DIR(PULSE_LOCALEDIR, pulselocaledir, [Gettext locale dir])
+fi

the issue is that build fails in po/Makefile as USE_NLS is not set by
configure but po/Makefile.in.in does something like 
all: all- at USE_NLS@
which ends up as
all: all-
and all- is unknown -- so USE_NLS should be either yes or no but not 
undefined

my workaround is to rework above construct to
if test "x$enable_nls" != "xno"; then
IT_PROG_INTLTOOL([0.35.0])
... as before
else
USE_NLS=no
fi


--disable-nls worked for me before; I think commit 
30d6303abff107ea0661af8cf2ae4e0abad8d73e should be reverted or fixed

regards, p.

-- 

Peter Meerwald
+43-664-2444418 (mobile)


More information about the pulseaudio-discuss mailing list