build-sys: Update warning message

arch_warn was set to 1 only if architecture is not x86, x64 or arm.
Update the message as we actually mainly test x64.
Define the warning message and do the architecture checks in the
same place so that they are easier to keep in sync.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Christophe Fergeau <cfergeau@redhat.com>
This commit is contained in:
Frediano Ziglio 2015-09-04 11:22:01 +01:00
parent 1804b8bb85
commit 434c6e1007

View File

@ -63,10 +63,11 @@ m4_ifndef([AS_VAR_APPEND],
# Check for the CPU we are using
case $host_cpu in
i386|i486|i586|i686|i786|k6|k7|x86_64|armv6|armv6l|armv6hl|armv7|armv7l|armv7hl)
x86_64)
arch_warn=""
;;
*)
arch_warn=1
arch_warn="spice-server on non-x86_64 architectures hasn't been extensively tested"
esac
dnl =========================================================================
@ -322,8 +323,8 @@ echo "
Manual: ${have_asciidoc}
"
if test x"$arch_warn" = x1; then
AC_MSG_WARN([spice-server on non-x86/x86_64 architectures hasn't been extensively tested])
if test x"$arch_warn" != x; then
AC_MSG_WARN([$arch_warn])
echo ""
fi