[Spice-devel] [client 05/11] build-sys: Use SPICE_WARNING() to issue the DBus warning

Francois Gouget fgouget at codeweavers.com
Tue Nov 3 04:06:02 PST 2015


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 configure.ac | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

This patch only depends on [common 01/11].

diff --git a/configure.ac b/configure.ac
index 7033cbb..db2891f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -671,6 +671,8 @@ have_dbus=no
 if test "x$enable_dbus" != "xno"; then
   AC_DEFINE([USE_GDBUS], [1], [Define if supporting gdbus])
   have_dbus=yes
+else
+  SPICE_WARNING([No D-Bus support, desktop integration and USB redirection may not work properly])
 fi
 
 SPICE_CHECK_LZ4
@@ -750,6 +752,4 @@ AC_MSG_NOTICE([
         Now type 'make' to build $PACKAGE
 
 ])
-if test "x$have_dbus" = "xno"; then
-  AC_MSG_WARN([No D-Bus support, desktop integration and USB redirection may not work properly])
-fi
+SPICE_PRINT_MESSAGES
-- 
2.6.1



More information about the Spice-devel mailing list