summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorGravatar Chow Loong Jin2014-03-29 03:35:04 +0800
committerGravatar Nikias Bassen2014-03-29 16:08:47 +0100
commit81cdd79417faff2eb36b6b0b1b0b7660976de444 (patch)
tree0eb43e4a3c8d5863225546c36e03478fdff122b5 /configure.ac
parentbd73598e02a1402a582c73e04fa6d515d6b56ae1 (diff)
downloadlibplist-81cdd79417faff2eb36b6b0b1b0b7660976de444.tar.gz
libplist-81cdd79417faff2eb36b6b0b1b0b7660976de444.tar.bz2
Drop manual endian.h header check
AC_C_BIGENDIAN should do its job already.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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])])