chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dae31d
)
build-sys: check for intltool also when polkit is enabled
author
Robert Schiele
<rschiele@gmail.com>
Thu, 31 Jul 2014 12:18:59 +0000
(14:18 +0200)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Thu, 31 Jul 2014 13:14:52 +0000
(09:14 -0400)
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
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 43b6eef780af9b8e881c9fb9c9901688649df5c3..0802cfcc9846e617d41e2c9d71011681b54c3621 100644
(file)
--- 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])
])