2009-05-01 11:03:41 +08:00
|
|
|
dnl Process this file with autoconf to produce a configure script.
|
|
|
|
AC_PREREQ(2.59)dnl
|
|
|
|
AC_INIT(Makefile.in)
|
|
|
|
AC_CONFIG_HEADER(config.h:config.in)
|
|
|
|
|
2009-09-11 05:57:03 +08:00
|
|
|
AC_CHECK_TOOL(DTC, dtc)
|
|
|
|
|
2009-05-01 11:03:41 +08:00
|
|
|
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)
|
|
|
|
|
2009-09-11 05:57:03 +08:00
|
|
|
SIM_AC_OPTION_ENDIAN(BIG_ENDIAN)
|
|
|
|
SIM_AC_OPTION_ALIGNMENT(STRICT_ALIGNMENT)
|
|
|
|
SIM_AC_OPTION_HOSTENDIAN
|
|
|
|
SIM_AC_OPTION_ENVIRONMENT
|
|
|
|
SIM_AC_OPTION_INLINE()
|
|
|
|
|
2009-05-01 11:03:41 +08:00
|
|
|
AC_CHECK_HEADERS(unistd.h)
|
|
|
|
|
|
|
|
SIM_AC_OUTPUT
|