Commit 81cdd794 authored by Chow Loong Jin's avatar Chow Loong Jin Committed by Nikias Bassen

Drop manual endian.h header check

AC_C_BIGENDIAN should do its job already.
parent bd73598e
......@@ -48,7 +48,7 @@ AC_TYPE_UINT8_T
# Checks for library functions.
AC_CHECK_FUNCS([asprintf strcasecmp strdup strerror strndup stpcpy vasprintf])
AC_CHECK_HEADER(endian.h, [ac_cv_have_endian_h="yes"], [ac_cv_have_endian_h="no"])
# Checking endianness
AC_C_BIGENDIAN([AC_DEFINE([__BIG_ENDIAN__], [1], [big endian])],
[AC_DEFINE([__LITTLE_ENDIAN__], [1], [little endian])])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment