[gnome-control-center] Fix build against NetworkManager on Debian
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] Fix build against NetworkManager on Debian
- Date: Fri, 1 Apr 2011 00:18:30 +0000 (UTC)
commit 36f91a8073203e3331bcc5a11eed6e361c852cac
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Mar 31 20:16:41 2011 -0400
Fix build against NetworkManager on Debian
Add more complete list of dependencies for the network panel.
https://bugzilla.gnome.org/show_bug.cgi?id=646349
configure.ac | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index df6d870..5cd954f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -124,8 +124,10 @@ GDESKTOP_PREFIX=`$PKG_CONFIG --variable prefix gsettings-desktop-schemas`
AC_SUBST(GDESKTOP_PREFIX)
# Check for NetworkManager ~0.9
-PKG_CHECK_MODULES(NETWORK_MANAGER, libnm-glib >= $NETWORK_MANAGER_REQUIRED_VERSION,
- [have_networkmanager=yes], have_networkmanager=no)
+PKG_CHECK_MODULES(NETWORK_MANAGER, NetworkManager >= $NETWORK_MANAGER_REQUIRED_VERSION
+ libnm-glib >= $NETWORK_MANAGER_REQUIRED_VERSION
+ libnm-util >= $NETWORK_MANAGER_REQUIRED_VERSION,
+ [have_networkmanager=yes], have_networkmanager=no)
if test "x$have_networkmanager" = xno ; then
AC_MSG_WARN(*** Network panel will not be built (NetworkManager ~0.9 or newer not found) ***)
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]