build: use WITH_QRTR exclusively to check for QRTR support

The user may request to disable QRTR support using `--without-qrtr`
even if libqmi has QRTR support.
This commit is contained in:
Aleksander Morgado
2021-08-31 15:33:15 +02:00
parent d6dafe5cb4
commit 7177eeea99
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -30,7 +30,7 @@
#include "mm-context.h"
#include "mm-base-modem.h"
#if defined WITH_QMI && QMI_QRTR_SUPPORTED
#if defined WITH_QRTR
#include "mm-kernel-device-qrtr.h"
#endif