1999-04-16 03:35:26 +02:00
|
|
|
dnl Process this file with autoconf to produce a configure script.
|
2011-10-18 02:17:24 +02:00
|
|
|
AC_PREREQ(2.64)dnl
|
1999-04-16 03:35:26 +02:00
|
|
|
AC_INIT(Makefile.in)
|
2011-10-18 02:31:00 +02:00
|
|
|
sinclude(../common/acinclude.m4)
|
1999-04-16 03:35:26 +02:00
|
|
|
|
2011-10-18 02:17:24 +02:00
|
|
|
SIM_AC_COMMON
|
2005-01-14 21:05:48 +01:00
|
|
|
|
1999-04-16 03:35:26 +02:00
|
|
|
SIM_AC_OPTION_ENDIAN(LITTLE_ENDIAN)
|
|
|
|
SIM_AC_OPTION_ALIGNMENT(NONSTRICT_ALIGNMENT)
|
|
|
|
SIM_AC_OPTION_HOSTENDIAN
|
|
|
|
SIM_AC_OPTION_WARNINGS
|
|
|
|
SIM_AC_OPTION_RESERVED_BITS
|
|
|
|
SIM_AC_OPTION_BITSIZE(32,31)
|
|
|
|
SIM_AC_OPTION_INLINE()
|
|
|
|
SIM_AC_OPTION_HARDWARE(yes,,mn103cpu mn103int mn103tim mn103ser mn103iop)
|
|
|
|
|
|
|
|
AC_CHECK_FUNCS(time chmod utime fork execve execv chown)
|
|
|
|
AC_CHECK_HEADERS(unistd.h stdlib.h string.h strings.h utime.h time.h)
|
|
|
|
|
2013-03-23 16:06:59 +01:00
|
|
|
SIM_AC_OPTION_HARDWARE(always,"","")
|
|
|
|
|
|
|
|
if test -z "$SIM_DV_SOCKSER_O"; then
|
|
|
|
AC_MSG_ERROR([Sorry, but hardware support in this simulator
|
|
|
|
unconditionally relies on dv-sockser.o which is unavailable for your host.
|
|
|
|
Please fix this simulator.])
|
|
|
|
fi
|
|
|
|
|
1999-04-16 03:35:26 +02:00
|
|
|
SIM_AC_OUTPUT
|