changeset 23976:f5faf254159b

Don't check for NetworkManager support when we find out we're not building with D-Bus support (ie D-Bus not found, but with --disable-missing-dependencies specified). References #6903.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Tue, 02 Sep 2008 04:37:33 +0000
parents e2a610871476
children 3273b22b6a7b
files configure.ac
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Tue Sep 02 01:26:58 2008 +0000
+++ b/configure.ac	Tue Sep 02 04:37:33 2008 +0000
@@ -1246,8 +1246,10 @@
 Use --disable-dbus if you do not need D-Bus support.
 ])
 	fi])
+fi
 
 dnl Check for NetworkManager.h; if we don't have it, oh well
+if test "x$enable_dbus" = "xyes" ; then
 	if test "x$enable_nm" = "xyes" ; then
 		PKG_CHECK_MODULES(NETWORKMANAGER, [NetworkManager], [
 			AC_SUBST(NETWORKMANAGER_CFLAGS)
@@ -1261,8 +1263,6 @@
 ])
 			fi])
 	fi
-else
-	enable_nm=no
 fi
 
 dnl #######################################################################