From: Robert Schiele Date: Thu, 31 Jul 2014 12:18:59 +0000 (+0200) Subject: build-sys: check for intltool also when polkit is enabled X-Git-Tag: v216~337 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=a59f16ce4a11c440cb2136ad3d5e3184714c545e;ds=sidebyside build-sys: check for intltool also when polkit is enabled intltool is needed for nls _and_ polkit, thus the check needs to be changed to do the test whenever one of them is enables. Without this build fails when configured with --disable-nls --enable-polkit --- diff --git a/configure.ac b/configure.ac index 43b6eef78..0802cfcc9 100644 --- a/configure.ac +++ b/configure.ac @@ -62,7 +62,7 @@ AS_IF([test x"$intltool_found" != xyes], ]) AM_NLS -AS_IF([test x"$enable_nls" != xno], [ +AS_IF([test x"$enable_nls" != xno -o "x$enable_polkit" != xno], [ # intltoolize greps for '^(AC|IT)_PROG_INTLTOOL', so it needs to be on its own line IT_PROG_INTLTOOL([0.40.0]) ])