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

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

Details

Message ID alpine.DEB.2.20.1511031259470.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.
Note that spice-deps.m4 now provides the AS_VAR_APPEND() fallback.

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

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

Patch hide | download patch | download mbox

diff --git a/configure.ac b/configure.ac
index ad76467..c8cce47 100644
--- a/configure.ac
+++ b/configure.ac
@@ -57,17 +57,12 @@  AC_FUNC_ALLOCA
 SPICE_LT_VERSION=m4_format("%d:%d:%d", SPICE_CURRENT, SPICE_REVISION, SPICE_AGE)
 AC_SUBST(SPICE_LT_VERSION)
 
-# For autoconf < 2.63
-m4_ifndef([AS_VAR_APPEND],
-          AC_DEFUN([AS_VAR_APPEND], $1=$$1$2))
-
 # 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 +303,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