From 3e2987bc0d65a6cbd29bd7a0ff96d3ce0926ddcd Mon Sep 17 00:00:00 2001 From: ticktock35 Date: Mon, 15 Dec 2008 00:02:31 -0500 Subject: =?utf-8?q?opkg:=20Fix=20md5=20sum=20on=20big=20endian=20systems. =20=20=20=20=20=20=20Patch=20from=20Jeremy=20Lain=C3=A9=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit git-svn-id: http://opkg.googlecode.com/svn/trunk@58 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 117253b..d6818b5 100644 --- a/configure.ac +++ b/configure.ac @@ -93,6 +93,10 @@ AC_TYPE_PID_T AC_TYPE_SIZE_T AC_CHECK_MEMBERS([struct stat.st_rdev]) +# Checks endianness +AC_C_BIGENDIAN(ENDIAN_CFLAGS="-DWORDS_BIGENDIAN=1",) +AC_SUBST(BIGENDIAN_CFLAGS) + # Don't do annoying tests that don't work when cross-compiling, just trust them. # The AC_FUNC_MEMCMP test doesn't work during a cross-compile, disable. # AC_FUNC_MEMCMP -- cgit v0.9.1