diff options
author | Richard Hughes <richard@hughsie.com> | 2011-02-21 10:05:22 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2011-02-21 12:57:22 +0000 |
commit | c9a7f998180531135725b98389192304aa406584 (patch) | |
tree | 4abcc22c0145902b3760505060314c85f50d15a4 /configure.ac | |
parent | 21683ab85e9ce065a0f50efdd0e13d8a326cc1b0 (diff) | |
download | gnome-control-center-c9a7f998180531135725b98389192304aa406584.tar.gz |
network: port to the rm-userset branch of NetworkManager
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index d28ae3193..54f7f7517 100644 --- a/configure.ac +++ b/configure.ac @@ -78,6 +78,7 @@ CANBERRA_REQUIRED_VERSION=0.13 GDKPIXBUF_REQUIRED_VERSION=2.23.0 POLKIT_REQUIRED_VERSION=0.97 GSD_REQUIRED_VERSION=2.91.9 +NETWORK_MANAGER_REQUIRED_VERSION=0.8.992 COMMON_MODULES="gtk+-3.0 >= $GTK_REQUIRED_VERSION glib-2.0 >= $GLIB_REQUIRED_VERSION @@ -118,6 +119,14 @@ PKG_CHECK_MODULES(USER_ACCOUNTS_PANEL, $COMMON_MODULES dbus-glib-1 gnome-desktop-3.0 gdk-pixbuf-2.0 >= $GDKPIXBUF_REQUIRED_VERSION) +# Check for NetworkManager ~0.9 +PKG_CHECK_MODULES(NETWORK_MANAGER, libnm-glib >= $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 +AM_CONDITIONAL(BUILD_NETWORK, [test x$have_networkmanager = xyes]) + # Check for CUPS 1.4 or newer AC_PATH_PROG(CUPS_CONFIG, cups-config, no) if test "x$CUPS_CONFIG" != "xno"; then |