[vlc-commits] configure: don't enable kwallet if dbus is disabled
Thomas Guillem
git at videolan.org
Tue Oct 4 09:29:27 CEST 2016
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Oct 4 09:26:58 2016 +0200| [3f38668303dcbfa81ac8ee70fd52077a5e2070f0] | committer: Thomas Guillem
configure: don't enable kwallet if dbus is disabled
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3f38668303dcbfa81ac8ee70fd52077a5e2070f0
---
configure.ac | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 2e6eb2b..8080e76 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4107,7 +4107,12 @@ PKG_ENABLE_MODULES_VLC([SECRET], [], [libsecret-1 >= 0.18], [use libsecret for k
dnl
dnl kwallet
dnl
-PKG_ENABLE_MODULES_VLC([KWALLET], [], [dbus-1 >= 1.6.0], [use kwallet for keystore], [auto])
+AC_ARG_ENABLE(kwallet,
+ [AS_HELP_STRING([--enable-kwallet],
+ [use kwallet (via D-Bus) for keystore (default enabled)])])
+AS_IF([test "${enable_kwallet}" != "no" -a "${have_dbus}" = "yes"], [
+ VLC_ADD_PLUGIN([kwallet])
+])
dnl
dnl Developers helper modules (should be hidden from configure help)
More information about the vlc-commits
mailing list