From f6106afa4f83c945892775cef0a1a3e342fdf22b Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Tue, 3 Nov 2015 13:06:26 +0100 Subject: build-sys: Use SPICE_WARNING() to issue the architecture warning Note that spice-deps.m4 now provides the AS_VAR_APPEND() fallback. Signed-off-by: Francois Gouget --- configure.ac | 13 ++----------- spice-common | 2 +- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/configure.ac b/configure.ac index ad764677..c8cce476 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 diff --git a/spice-common b/spice-common index d8c3568a..f4710224 160000 --- a/spice-common +++ b/spice-common @@ -1 +1 @@ -Subproject commit d8c3568a3160aa3dfcd1d3b7728360c33d2d6911 +Subproject commit f471022453c20e7fcfb54b865d5fbfbcf71fa6c2 -- cgit