Browse Source

Fix QtBus detection with configure.

adaptive-webui-19844
sledgehammer999 10 years ago
parent
commit
09c9968210
  1. 2
      configure
  2. 2
      m4/qbittorrent.m4

2
configure vendored

@ -4568,7 +4568,7 @@ case "x$enable_qt_dbus" in #(
"xyes") : "xyes") :
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; } $as_echo "yes" >&6; }
if test "x$x$with_qt5" == "xyes"; then : if test "x$with_qt5" == "xyes"; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt5DBus >= 5.2.0" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt5DBus >= 5.2.0" >&5
$as_echo_n "checking for Qt5DBus >= 5.2.0... " >&6; } $as_echo_n "checking for Qt5DBus >= 5.2.0... " >&6; }
if test -n "$PKG_CONFIG" && \ if test -n "$PKG_CONFIG" && \

2
m4/qbittorrent.m4

@ -49,7 +49,7 @@ AS_IF([test "x$QT_QMAKE" != "x"],
# Sets the HAVE_QTDBUS variable to true or false. # Sets the HAVE_QTDBUS variable to true or false.
# -------------------------------------- # --------------------------------------
AC_DEFUN([FIND_QTDBUS], AC_DEFUN([FIND_QTDBUS],
[AS_IF([test "x$x$with_qt5" == "xyes"], [AS_IF([test "x$with_qt5" == "xyes"],
[AC_MSG_CHECKING([for Qt5DBus >= 5.2.0]) [AC_MSG_CHECKING([for Qt5DBus >= 5.2.0])
PKG_CHECK_EXISTS([Qt5DBus >= 5.2.0], PKG_CHECK_EXISTS([Qt5DBus >= 5.2.0],
[AC_MSG_RESULT([found]) [AC_MSG_RESULT([found])

Loading…
Cancel
Save