[Spice-devel] [spice-common 2/2] ppc: build-sys: Add big-endian support

Christophe Fergeau cfergeau at redhat.com
Mon Dec 15 03:14:58 PST 2014


From: Erlon Cruz <erlon.cruz at br.flextronics.com>

A few files (the generated marshalling code and pixman-related utils)
make use of WORDS_BIGENDIAN in order to do the right thing depending on
endianness. configure.ac must call AC_C_BIGENDIAN for it to be defined.

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>
---
 m4/spice-deps.m4 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/m4/spice-deps.m4 b/m4/spice-deps.m4
index e5eb7fd..2477dbc 100644
--- a/m4/spice-deps.m4
+++ b/m4/spice-deps.m4
@@ -3,6 +3,7 @@
 # Checks for header files and library functions needed by spice-common.
 # ---------------------
 AC_DEFUN([SPICE_CHECK_SYSDEPS], [
+    AC_C_BIGENDIAN
     AC_FUNC_ALLOCA
     AC_CHECK_HEADERS([arpa/inet.h malloc.h netinet/in.h stddef.h stdint.h stdlib.h string.h sys/socket.h unistd.h])
 
-- 
2.1.0



More information about the Spice-devel mailing list