[Spice-devel] [PATCH v2 1/7] spice-ppc: adds powerpc compilation support

Erlon Cruz erlon.cruz at br.flextronics.com
Mon Aug 13 07:14:27 PDT 2012


Signed-off-by: Erlon R. Cruz <erlon.cruz at br.flextronics.com>
Signed-off-by: Rafael F. Santos <fonsecasantos.rafael at gmail.com>
Signed-off-by: Fabiano Fidêncio <Fabiano.Fidêncio at fit-tecnologia.org.br>
---
 configure.ac |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index bed0464..c549211 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,9 +64,14 @@ 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)
-- 
1.7.4.1



More information about the Spice-devel mailing list