[Spice-devel,4/5] build-sys: Use SPICE_WARNING() to issue the architecture warning

Submitted by Francois Gouget on Oct. 30, 2015, 10:47 a.m.

Details

Message ID alpine.DEB.2.20.1510301131070.28564@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 Oct. 30, 2015, 10:47 a.m.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
---
 configure.ac | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

Patch hide | download patch | download mbox

diff --git a/configure.ac b/configure.ac
index ad76467..95e35a4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -64,10 +64,9 @@  m4_ifndef([AS_VAR_APPEND],
 # Check for the CPU we are using
 case $host_cpu in
   x86_64)
-        arch_warn=""
         ;;
   *)
-        arch_warn="spice-server on non-x86_64 architectures hasn't been extensively tested"
+        SPICE_WARNING([spice-server on non-x86_64 architectures hasn't been extensively tested])
 esac
 
 dnl =========================================================================
@@ -308,8 +307,4 @@  AC_MSG_NOTICE([
 
         Now type 'make' to build $PACKAGE
 ])
-
-if test x"$arch_warn" != x; then
-        AC_MSG_WARN([$arch_warn])
-        echo ""
-fi
+SPICE_PRINT_MESSAGES