[PATCH] build: fix reporting of modemmanager-1 compilation status
- From: Aleksander Morgado <aleksander lanedo com>
- To: networkmanager-list gnome org
- Cc: Aleksander Morgado <aleksander lanedo com>
- Subject: [PATCH] build: fix reporting of modemmanager-1 compilation status
- Date: Wed, 8 May 2013 10:32:05 +0200
When --with-modem-manager-1=yes not explicitly specified (i.e. 'auto' mode), and
libmm-glib is not found, we should not report:
Features:
...
modemmanager-1: auto
Instead, better report:
Features:
...
modemmanager-1: no
---
configure.ac | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configure.ac b/configure.ac
index 235eccf..5e8a3e7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -484,6 +484,8 @@ if (test "${with_modem_manager_1}" != "no"); then
if (test "${have_libmm_glib}" = "no"); then
if (test "${with_modem_manager_1}" = "yes"); then
AC_MSG_ERROR([Couldn't find libmm-glib])
+ else
+ with_modem_manager_1="no"
fi
else
with_modem_manager_1="yes"
--
1.8.2.1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]