Signed-off-by: Erlon R. Cruz <[email protected]>
Signed-off-by: Fabiano FidĂȘncio <Fabiano.FidĂȘ[email protected]>
Signed-off-by: Rafael F. Santos <[email protected]>

---
 configure.ac |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index bed0464..c26829f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -56,7 +56,7 @@ 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 powerpc64 platform)
 case $host_cpu in
   i386|i486|i586|i686|i786|k6|k7|arm|armv7)
        variant=32
@@ -64,13 +64,19 @@ case $host_cpu in
   x86_64)
        variant=64
        ;;
+  powerpc64)
+       variant=ppc64
+       AC_DEFINE_UNQUOTED([WORDS_BIGENDIAN], 1,
+       [Set on powerpc hosts])
+       ;;
   *)
        AC_MSG_RESULT(no)
-       echo Only x86 and x86-64 are supported
+       echo Only x86,x86-64 and powerpc64 are supported
        exit 1
 esac
 AC_MSG_RESULT($variant bit)
 AM_CONDITIONAL([X86_64], [test "$variant" = 64])
+AM_CONDITIONAL([PPC64], [test "$variant" = ppc64])
 
 AC_MSG_CHECKING([for native Win32])
 case "$host" in
-- 
1.7.4.1

_______________________________________________
Spice-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to