Skip to content

Commit

Permalink
build: fix explicit --disable-qt-dbus
Browse files Browse the repository at this point in the history
It worked in the auto/yes cases, but an explicit disable actually forced
it on.

Rebased-From: a22e9a3
  • Loading branch information
theuni authored and laanwj committed Mar 16, 2014
1 parent 75f0bbe commit 92d25e4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/m4/bitcoin_qt.m4
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,12 @@ AC_DEFUN([BITCOIN_QT_CONFIGURE],[
if test x$have_qt_test = xno; then
bitcoin_enable_qt_test=no
fi
bitcoin_enable_qt_dbus=yes
if test x$have_qt_dbus = xno; then
bitcoin_enable_qt_dbus=no
if test x$use_dbus = xyes; then
AC_MSG_ERROR("libQtDBus not found. Install libQtDBus or remove --with-qtdbus.")
fi
bitcoin_enable_qt_dbus=no
if test x$use_dbus != xno && test x$have_qt_dbus = xyes; then
bitcoin_enable_qt_dbus=yes
fi
if test x$use_dbus = xyes && test x$have_qt_dbus = xno; then
AC_MSG_ERROR("libQtDBus not found. Install libQtDBus or remove --with-qtdbus.")
fi
if test x$LUPDATE == x; then
AC_MSG_WARN("lupdate is required to update qt translations")
Expand Down

0 comments on commit 92d25e4

Please sign in to comment.