mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03: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:
parent
0dae31d468
commit
a59f16ce4a
@ -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])
|
||||
])
|
||||
|
Loading…
Reference in New Issue
Block a user