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

Submitted by Francois Gouget on Nov. 3, 2015, 12:06 p.m.

Details

Message ID alpine.DEB.2.20.1511031254400.11833@amboise
State New
Headers show
Series "Series without cover letter" ( rev: 1 ) in Spice

Not browsing as part of any series.

Commit Message

Francois Gouget Nov. 3, 2015, 12:06 p.m.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
---
 configure.ac | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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

Patch hide | download patch | download mbox

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