pidgin: b5850556: Report dbus/nm availability correctly

sadrul at pidgin.im sadrul at pidgin.im
Thu Sep 4 18:52:59 EDT 2008


-----------------------------------------------------------------
Revision: b5850556407753df7ee8b8fa84917779165fc58b
Ancestor: e685599ddcc769d157547685b5498df0662de8a2
Author: sadrul at pidgin.im
Date: 2008-09-04T21:57:40
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/b5850556407753df7ee8b8fa84917779165fc58b

Modified files:
        configure.ac

ChangeLog: 

Report dbus/nm availability correctly

-------------- next part --------------
============================================================
--- configure.ac	be39098ad7bbdeb8212244fd196f106e1ed72561
+++ configure.ac	91bbd9a8beea47057782b48649e4e69eabac0532
@@ -1240,6 +1240,7 @@ if test "x$enable_dbus" = "xyes" ; then
 		AC_SUBST(DBUS_LIBS)
 		enable_dbus=yes
 	], [
+	enable_dbus=no
 	if test "x$force_deps" = "xyes" ; then
 		AC_MSG_ERROR([
 D-Bus development headers not found.
@@ -1256,6 +1257,7 @@ if test "x$enable_dbus" = "xyes" ; then
 			AC_SUBST(NETWORKMANAGER_LIBS)
 			AC_DEFINE(HAVE_NETWORKMANAGER, 1, [Define if we have NetworkManager.])
 		], [
+			enable_nm=no
 			if test "x$force_deps" = "xyes" ; then
 				AC_MSG_ERROR([
 NetworkManager development headers not found.
@@ -1263,6 +1265,8 @@ Use --disable-nm if you do not need Netw
 ])
 			fi])
 	fi
+else
+	enable_nm=no
 fi
 
 dnl #######################################################################


More information about the Commits mailing list