diff options
author | Robert Schiele <rschiele@gmail.com> | 2014-07-31 14:18:59 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-07-31 09:14:52 -0400 |
commit | a59f16ce4a11c440cb2136ad3d5e3184714c545e (patch) | |
tree | abe3a61829431c59b006f408741cd8d952186825 /configure.ac | |
parent | 0dae31d468b1a0e22d98921f7b0dbd92fd217167 (diff) |
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
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 43b6eef780..0802cfcc98 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]) ]) |