summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErlon Cruz <erlon.cruz@br.flextronics.com>2012-08-13 11:15:14 -0300
committerChristophe Fergeau <cfergeau@redhat.com>2015-04-10 20:20:49 +0200
commitc6e6dacb30b8130a069d522054718d757eefa0db (patch)
tree37f4f236d4b1e7e43110507448e112f4a63bea01
parentd39dfbfef9484eb94f9169770ef949afc4b906b1 (diff)
ppc: build-sys: Add big-endian support
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@br.flextronics.com> Signed-off-by: Rafael F. Santos <fonsecasantos.rafael@gmail.com> Signed-off-by: Fabiano FidĂȘncio <Fabiano.FidĂȘncio@fit-tecnologia.org.br>
-rw-r--r--m4/spice-deps.m41
1 files changed, 1 insertions, 0 deletions
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])