Enable build on armv6+

The following patch enables it to build on ARM platforms that support
atomics. Tested on an armv7hl on an ARMv7 device running Fedora 18. Using
firefox connecting to a RHEV-M instance I could launch consoles in
spice-xpi and login so basic support works!

Resolves: rhbz#613529
This commit is contained in:
Peter Robinson 2012-09-11 14:12:03 +02:00 committed by Christophe Fergeau
parent a37d440c82
commit 07426f3c4f

View File

@ -59,9 +59,9 @@ AC_SUBST(SPICE_LT_VERSION)
# Check for the CPU we are using
#
AC_MSG_CHECKING(for x86 or x86-64 platform)
AC_MSG_CHECKING(for x86, x86-64 or armv6+ platform)
case $host_cpu in
i386|i486|i586|i686|i786|k6|k7|arm|armv7)
i386|i486|i586|i686|i786|k6|k7|armv6|armv6l|armv6hl|armv7|armv7l|armv7hl)
variant=32
;;
x86_64)