ahuemer has uploaded this change for review.

View Change

Abort configure run on big endian hosts

Change-Id: I9bf16113acbbc1e100fd928446a91b927d3c6cbc
---
M configure.ac
1 file changed, 5 insertions(+), 0 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/14/40014/1
diff --git a/configure.ac b/configure.ac
index 7863624..4647770 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. Not due to dev policy but lack of maintainer bandwidth. 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.

Gerrit-MessageType: newchange
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I9bf16113acbbc1e100fd928446a91b927d3c6cbc
Gerrit-Change-Number: 40014
Gerrit-PatchSet: 1
Gerrit-Owner: ahuemer <alexander.huemer@xx.vu>