Move feature macro declaration to build scripts

PR #18825.
This commit is contained in:
Chocobo1
2023-04-10 13:38:00 +08:00
committed by GitHub
parent 4a66d705b8
commit 5dcc14153f
12 changed files with 34 additions and 31 deletions

View File

@@ -165,7 +165,7 @@ AS_CASE(["x$enable_qt_dbus"],
FIND_QTDBUS()
AS_IF([test "x$HAVE_QTDBUS" = "xfalse"],
[AC_MSG_ERROR([Could not find QtDBus])],
[QBT_ADD_CONFIG="$QBT_ADD_CONFIG dbus"]
[QBT_ADD_CONFIG="$QBT_ADD_CONFIG dbus" QBT_ADD_DEFINES="$QBT_ADD_DEFINES QBT_USES_DBUS"]
)],
["xno"],
[AC_MSG_RESULT([no])