diff options
-rw-r--r-- | configure.ac | 6 |
1 files changed, 4 insertions, 2 deletions
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 |