aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorBrian Pepple <bpepple@fedoraproject.org>2009-11-28 05:56:22 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-30 19:22:44 +0800
commit3d8a5d2b45d490142b021b43fb4ef1b232ed7910 (patch)
tree497dfbf70f11f7f151a352115f86b13a1ca38e93 /configure.ac
parentad74851368bf2a5b355696f4ad8f55f184070179 (diff)
downloadgsoc2013-empathy-3d8a5d2b45d490142b021b43fb4ef1b232ed7910.tar
gsoc2013-empathy-3d8a5d2b45d490142b021b43fb4ef1b232ed7910.tar.gz
gsoc2013-empathy-3d8a5d2b45d490142b021b43fb4ef1b232ed7910.tar.bz2
gsoc2013-empathy-3d8a5d2b45d490142b021b43fb4ef1b232ed7910.tar.lz
gsoc2013-empathy-3d8a5d2b45d490142b021b43fb4ef1b232ed7910.tar.xz
gsoc2013-empathy-3d8a5d2b45d490142b021b43fb4ef1b232ed7910.tar.zst
gsoc2013-empathy-3d8a5d2b45d490142b021b43fb4ef1b232ed7910.zip
Add check for new NetworkManager-glib pkgconfig file.
Fixes bug #599315.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a72c6f7ad..241fedfdc 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