Re: [PATCH] build: fix reporting of modemmanager-1 compilation status



On Wed, 2013-05-08 at 10:32 +0200, Aleksander Morgado wrote:
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

Pushed, thanks!

---
 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"




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]