=?utf-8?q?opkg:=20Fix=20md5=20sum=20on=20big=20endian=20systems.
[oweals/opkg-lede.git] / configure.ac
index e36b66486d428344ca8af9e3aff5c9d4e2407e85..d6818b500b67aba35b045b1b44a826fb05b9dbc2 100644 (file)
@@ -93,6 +93,10 @@ AC_TYPE_PID_T
 AC_TYPE_SIZE_T
 AC_CHECK_MEMBERS([struct stat.st_rdev])
 
 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
 # 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
@@ -131,11 +135,6 @@ AC_OUTPUT(
     libopkg/Makefile
     tests/Makefile
     src/Makefile
     libopkg/Makefile
     tests/Makefile
     src/Makefile
-    familiar/Makefile
-    familiar/control
-    familiar/control-unstripped
-    familiar/libopkg-control
-    familiar/libopkg-dev-control
     libbb/Makefile
     libopkg.pc
     opkg.h)
     libbb/Makefile
     libopkg.pc
     opkg.h)