blob: 17aff48ac7a081c402a9cb814cecf892a3074731 [file] [log] [blame]
# -*- autoconf -*-
#########################################
##
# Miscellaneous checks
##
#########################################
##
# Compilation characteristics
##
# Byte order
#
if test "$with_endianness" = "big"; then
ac_cv_c_bigendian=yes
elif test "$with_endianness" = "little" ; then
ac_cv_c_bigendian=no
fi
AC_C_BIGENDIAN(,,
[AC_MSG_ERROR([Failed to figure out host endianness, please use --with-endianness to specify it.])])