summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 3718d272c6..a621814700 100644
--- a/configure.ac
+++ b/configure.ac
@@ -952,6 +952,10 @@ else
AC_SUBST([Cabal64bit],[False])
fi
AC_SUBST(TargetWordSize)
+
+AC_C_BIGENDIAN([TargetWordBigEndian=YES],[TargetWordBigEndian=NO])
+AC_SUBST(TargetWordBigEndian)
+
FP_CHECK_FUNC([WinExec],
[@%:@include <windows.h>], [WinExec("",0)])