diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2019-06-01 10:23:15 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2019-06-01 10:27:57 +0200 |
commit | c78ba5ea0ad37dcff4c2a5ca3b7bca21526eba08 (patch) | |
tree | 4df1649a98c0e7364c22dd8483ce41b498dd55cc /configure.ac | |
parent | 8ec9789e3c611f8156e0a95ce7b8306862b3030b (diff) |
build: allow unconditionally enabling Modem.Command() method
If ModemManager is being used in a custom system, make it easy to
unconditionally enable the Modem.Command() method, in case the modem
needs to be configured in some way that is not supported via standard
modem interfaces.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index a6ebfd62..d3c9beba 100644 --- a/configure.ac +++ b/configure.ac @@ -314,6 +314,23 @@ fi AM_CONDITIONAL(WITH_POLKIT, [test "x$with_polkit" != "xno"]) dnl----------------------------------------------------------------------------- +dnl AT command via DBus support (disabled by default unless running in --debug) +dnl +dnl It is suggested that this option is only enabled in custom built systems and +dnl only if truly required. +dnl + +AC_ARG_WITH(at_command_via_dbus, + AS_HELP_STRING([--with-at-command-via-dbus], + [Build with Modem.Command() interface enabled always]), + [], + [with_at_command_via_dbus=no]) + +if test "x$with_at_command_via_dbus" = "xyes"; then + AC_DEFINE(WITH_AT_COMMAND_VIA_DBUS, 1, [Define if you want to enable AT commands via DBus]) +fi + +dnl----------------------------------------------------------------------------- dnl MBIM support (enabled by default) dnl @@ -444,6 +461,7 @@ echo " qmi: ${with_qmi} systemd suspend/resume: ${with_systemd_suspend_resume} systemd journal: ${with_systemd_journal} + at command via dbus: ${with_at_command_via_dbus} Miscellaneous: gobject introspection: ${found_introspection} |