laforge submitted this change.
Abort configure run on big endian hosts
Change-Id: I9bf16113acbbc1e100fd928446a91b927d3c6cbc
---
M configure.ac
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
index 7863624..c8b2f1e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -66,6 +66,11 @@
AC_SUBST(LTLDFLAGS_OSMOCORE)
AC_SUBST(LTLDFLAGS_OSMOCTRL)
+AC_C_BIGENDIAN(
+ [AC_MSG_ERROR([Unfortunately, big endian hosts are currently not supported anymore due to lack of development resources. Contributions welcome.])],
+ [],
+ [AC_MSG_WARN([Byte order could not be determined. Strange.])])
+
dnl checks for header files
AC_HEADER_STDC
AC_CHECK_HEADERS(execinfo.h poll.h sys/select.h sys/socket.h sys/signalfd.h sys/eventfd.h sys/timerfd.h syslog.h ctype.h netinet/tcp.h netinet/in.h)
To view, visit change 40014. To unsubscribe, or for help writing mail filters, visit settings.