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
This commit is contained in:
Robert Schiele 2014-07-31 14:18:59 +02:00 committed by Zbigniew Jędrzejewski-Szmek
parent 0dae31d468
commit a59f16ce4a
1 changed files with 1 additions and 1 deletions

View File

@ -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])
])