Use common memory infrastructure and introduce device tree support
[external/binutils.git] / sim / moxie / configure.ac
index 78ef414..4617349 100644 (file)
@@ -3,12 +3,20 @@ AC_PREREQ(2.59)dnl
 AC_INIT(Makefile.in)
 AC_CONFIG_HEADER(config.h:config.in)
 
+AC_CHECK_TOOL(DTC, dtc)
+
 sinclude(../common/aclocal.m4)
 
 # Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
 # it by inlining the macro's contents.
 sinclude(../common/common.m4)
 
+SIM_AC_OPTION_ENDIAN(BIG_ENDIAN)
+SIM_AC_OPTION_ALIGNMENT(STRICT_ALIGNMENT)
+SIM_AC_OPTION_HOSTENDIAN
+SIM_AC_OPTION_ENVIRONMENT
+SIM_AC_OPTION_INLINE()
+
 AC_CHECK_HEADERS(unistd.h)
 
 SIM_AC_OUTPUT