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

Francois Gouget fgouget at codeweavers.com
Fri Oct 30 03:47:08 PDT 2015


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

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
-- 
2.6.1


More information about the Spice-devel mailing list