From 36f91a8073203e3331bcc5a11eed6e361c852cac Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 31 Mar 2011 20:16:41 -0400 Subject: 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 file changed, 4 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index df6d87013..5cd954fa0 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 -- cgit v1.2.1