diff options
author | Chow Loong Jin | 2014-03-29 03:35:04 +0800 |
---|---|---|
committer | Nikias Bassen | 2014-03-29 16:08:47 +0100 |
commit | 81cdd79417faff2eb36b6b0b1b0b7660976de444 (patch) | |
tree | 0eb43e4a3c8d5863225546c36e03478fdff122b5 /configure.ac | |
parent | bd73598e02a1402a582c73e04fa6d515d6b56ae1 (diff) | |
download | libplist-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.ac | 2 |
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])]) |