[empathy] Add check for new NetworkManager-glib pkgconfig file.



commit 3d8a5d2b45d490142b021b43fb4ef1b232ed7910
Author: Brian Pepple <bpepple fedoraproject org>
Date:   Fri Nov 27 16:56:22 2009 -0500

    Add check for new NetworkManager-glib pkgconfig file.
    
    Fixes bug #599315.

 configure.ac |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index a72c6f7..241fedf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -233,6 +233,16 @@ else
    if test "x$have_nm" = "xyes"; then
       AC_DEFINE(HAVE_NM, 1, [Define if you have libnm-glib])
       have_connman=no
+   else
+      PKG_CHECK_MODULES(NETWORK_MANAGER,
+      [
+          libnm-glib >= $NETWORK_MANAGER_REQUIRED
+      ], have_nm="yes", have_nm="no")
+
+      if test "x$have_nm" = "xyes"; then
+      AC_DEFINE(HAVE_NM, 1, [Define if you have libnm-glib])
+      have_connman=no
+      fi
    fi
 fi
 



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