aboutsummaryrefslogtreecommitdiff
path: root/src/mm-port.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-09-05 19:51:18 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-09-05 20:02:31 +0200
commit4804c376049ad5746eb054ab5ed08bc4d8f9fedf (patch)
treed712208bb3797e2a66bcc8a7505a35fe2373947a /src/mm-port.h
parentbf1da3faea4605a9a1305993b04e9db425561b1d (diff)
build: new `--without-qmi' configure option
For those who don't care about the QMI support through libqmi-glib, or if you're stuck with glib 2.30 (libqmi-glib requires 2.32), this configure switch allows disabling the QMI support completely. The logic to detect cdc-wdm ports is still in place, but the QMI probing is never launched at them. Also, all QMI-related objects won't be compiled.
Diffstat (limited to 'src/mm-port.h')
-rw-r--r--src/mm-port.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-port.h b/src/mm-port.h
index 182dd230..19514823 100644
--- a/src/mm-port.h
+++ b/src/mm-port.h
@@ -16,6 +16,7 @@
#ifndef MM_PORT_H
#define MM_PORT_H
+#include <config.h>
#include <glib.h>
#include <glib-object.h>
@@ -36,7 +37,6 @@ typedef enum { /*< underscore_name=mm_port_type >*/
MM_PORT_TYPE_QCDM,
MM_PORT_TYPE_GPS,
MM_PORT_TYPE_QMI,
-
MM_PORT_TYPE_LAST = MM_PORT_TYPE_QMI /*< skip >*/
} MMPortType;