diff options
author | Frediano Ziglio <fziglio@redhat.com> | 2015-09-04 11:22:01 +0100 |
---|---|---|
committer | Frediano Ziglio <fziglio@redhat.com> | 2015-09-07 14:55:45 +0100 |
commit | 434c6e1007dc345555d94be9f75e78f4253637a8 (patch) | |
tree | 11984add4922af6323493097f094bd8fbb6e550a /configure.ac | |
parent | 1804b8bb85560f0074afda41cfc3998b8e04795f (diff) | |
download | spice-434c6e1007dc345555d94be9f75e78f4253637a8.tar.gz spice-434c6e1007dc345555d94be9f75e78f4253637a8.tar.xz spice-434c6e1007dc345555d94be9f75e78f4253637a8.zip |
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>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index dee0a28c..61f8dcd5 100644 --- a/configure.ac +++ b/configure.ac @@ -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 |