opkg: fix configure check for big-endian systems
authorticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Mon, 15 Dec 2008 05:02:48 +0000 (05:02 +0000)
committerticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Mon, 15 Dec 2008 05:02:48 +0000 (05:02 +0000)
git-svn-id: http://opkg.googlecode.com/svn/trunk@60 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

configure.ac

index d6818b500b67aba35b045b1b44a826fb05b9dbc2..51c17bb11755635a7363c330dac66146ea098bf5 100644 (file)
@@ -94,7 +94,7 @@ AC_TYPE_SIZE_T
 AC_CHECK_MEMBERS([struct stat.st_rdev])
 
 # Checks endianness
-AC_C_BIGENDIAN(ENDIAN_CFLAGS="-DWORDS_BIGENDIAN=1",)
+AC_C_BIGENDIAN(BIGENDIAN_CFLAGS="-DWORDS_BIGENDIAN=1",)
 AC_SUBST(BIGENDIAN_CFLAGS)
 
 # Don't do annoying tests that don't work when cross-compiling, just trust them.