Skip to content

Commit

Permalink
build: disable D-Bus on Android by default
Browse files Browse the repository at this point in the history
Android uses a different notification system and doesn't support D-Bus
  • Loading branch information
icota committed Aug 16, 2020
1 parent 3ab2582 commit cf06811
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion build-aux/m4/bitcoin_qt.m4
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,19 @@ AC_DEFUN([BITCOIN_QT_INIT],[
AC_ARG_WITH([qtdbus],
[AS_HELP_STRING([--with-qtdbus],
[enable DBus support (default is yes if qt is enabled and QtDBus is found)])],
[enable DBus support (default is yes if qt is enabled and QtDBus is found, except on Android)])],
[use_dbus=$withval],
[use_dbus=auto])
dnl Android doesn't support D-Bus and certainly doesn't use it for notifications
case $host in
*android*)
if test "x$use_dbus" != xyes; then
use_dbus=no
fi
;;
esac
AC_SUBST(QT_TRANSLATION_DIR,$qt_translation_path)
])

Expand Down

0 comments on commit cf06811

Please sign in to comment.