build: fix explicit --disable-qt-dbus

It worked in the auto/yes cases, but an explicit disable actually forced
it on.
This commit is contained in:
Cory Fields 2014-03-15 21:33:49 -04:00
parent cb0c42e7da
commit a22e9a32b3

View File

@ -124,12 +124,12 @@ AC_DEFUN([BITCOIN_QT_CONFIGURE],[
if test x$have_qt_test = xno; then if test x$have_qt_test = xno; then
bitcoin_enable_qt_test=no bitcoin_enable_qt_test=no
fi fi
bitcoin_enable_qt_dbus=yes
if test x$have_qt_dbus = xno; then
bitcoin_enable_qt_dbus=no bitcoin_enable_qt_dbus=no
if test x$use_dbus = xyes; then if test x$use_dbus != xno && test x$have_qt_dbus = xyes; then
AC_MSG_ERROR("libQtDBus not found. Install libQtDBus or remove --with-qtdbus.") bitcoin_enable_qt_dbus=yes
fi 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 fi
if test x$LUPDATE == x; then if test x$LUPDATE == x; then
AC_MSG_WARN("lupdate is required to update qt translations") AC_MSG_WARN("lupdate is required to update qt translations")