From 81cdd79417faff2eb36b6b0b1b0b7660976de444 Mon Sep 17 00:00:00 2001 From: Chow Loong Jin Date: Sat, 29 Mar 2014 03:35:04 +0800 Subject: Drop manual endian.h header check AC_C_BIGENDIAN should do its job already. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index e0d1705..a149dd9 100644 --- a/configure.ac +++ b/configure.ac @@ -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])]) -- cgit v1.1-32-gdbae