mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-05 14:06:27 -05:00
build: disable D-Bus on Android by default
Android uses a different notification system and doesn't support D-Bus
This commit is contained in:
parent
3ab2582c7f
commit
cf0681133a
1 changed files with 10 additions and 1 deletions
|
@ -72,10 +72,19 @@ AC_DEFUN([BITCOIN_QT_INIT],[
|
||||||
|
|
||||||
AC_ARG_WITH([qtdbus],
|
AC_ARG_WITH([qtdbus],
|
||||||
[AS_HELP_STRING([--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=$withval],
|
||||||
[use_dbus=auto])
|
[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)
|
AC_SUBST(QT_TRANSLATION_DIR,$qt_translation_path)
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue