Fix SHA1 calculation on big-endian systems
Add the AC_C_BIGENDIAN macro to determine endianness and set WORDS_BIGENDIAN accordingly. Fixes GitHub issue #397. Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
This commit is contained in:
@@ -19,6 +19,7 @@ AC_CANONICAL_HOST
|
||||
# Checks for programs
|
||||
#-------------------------------------------------------------------------------
|
||||
AC_PROG_CC
|
||||
AC_C_BIGENDIAN
|
||||
#-------------------------------------------------------------------------------
|
||||
# Checks for header files
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user