mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-09-01 02:35:05 +00:00
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:
committed by
Zbigniew Jędrzejewski-Szmek
parent
0dae31d468
commit
a59f16ce4a
+1
-1
@@ -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])
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user