From a70ff185dd0c7d4c1b9dbb144029c2b58959ca56 Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Mon, 30 Dec 2002 21:52:26 +0000 Subject: [PATCH] Endian detection. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@609 --- configure.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.in b/configure.in index 9417a9d6..22562502 100644 --- a/configure.in +++ b/configure.in @@ -43,6 +43,8 @@ AC_MSG_CHECKING(if compiler allows __attribute__) AC_TRY_COMPILE([], [typedef struct { } __attribute__ ((packed)) junk;], [ AC_MSG_RESULT(yes);AC_DEFINE(C_HAS_ATTRIBUTE)],AC_MSG_RESULT(no)) +#Check for big endian machine, should #define WORD_BIGENDIAN if so +AC_C_BIGENDIAN AC_OUTPUT([ Makefile