From edc30f0273f38e61167fcbec7da3d0fb8db03b04 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Tue, 19 Mar 2013 18:33:36 +0100 Subject: configure.ac: Fix broken byte order detection for platforms without endian.h This could ultimatively lead to broken AFC communication with a device on affected platforms due to bad byte order in the AFC protocol header. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 97604e4..cf644a8 100644 --- a/configure.ac +++ b/configure.ac @@ -56,7 +56,7 @@ if test "x$have_vasprintf" = "xyes"; then fi AC_CHECK_HEADER(endian.h, [ac_cv_have_endian_h="yes"], [ac_cv_have_endian_h="no"]) -if test "x$ac_cv_have_endian" = "xno"; then +if test "x$ac_cv_have_endian_h" = "xno"; then AC_DEFINE(__LITTLE_ENDIAN,1234,[little endian]) AC_DEFINE(__BIG_ENDIAN,4321,[big endian]) AC_C_BIGENDIAN([ac_cv_c_bigendian="yes"], [ac_cv_c_bigendian="no"], [], []) -- cgit v1.1-32-gdbae