projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New target "hc08" for the Motorola 68hc08 family of micros
[fw/sdcc]
/
sim
/
ucsim
/
configure.in
diff --git
a/sim/ucsim/configure.in
b/sim/ucsim/configure.in
index 4ec7f55faf8b343630367e256868e4ceec91e056..9f25ae00e102ba942a50faec9914ab0b65f0963c 100644
(file)
--- a/
sim/ucsim/configure.in
+++ b/
sim/ucsim/configure.in
@@
-58,6
+58,12
@@
if test $enable_z80 != "no"; then
enable_z80="yes"
fi,
enable_z80="no")
enable_z80="yes"
fi,
enable_z80="no")
+AC_ARG_ENABLE(hc08,
+[ --enable-hc08 compile simulator for hc08],
+if test $enable_hc08 != "no"; then
+ enable_hc08="yes"
+fi,
+enable_hc08="yes")
AC_ARG_ENABLE(xa,
[ --enable-xa compile simulator for XA],
if test $enable_xa != "no"; then
AC_ARG_ENABLE(xa,
[ --enable-xa compile simulator for XA],
if test $enable_xa != "no"; then
@@
-75,19
+81,36
@@
AC_SUBST(enable_dlso)
AC_SUBST(enable_51)
AC_SUBST(enable_avr)
AC_SUBST(enable_z80)
AC_SUBST(enable_51)
AC_SUBST(enable_avr)
AC_SUBST(enable_z80)
+AC_SUBST(enable_hc08)
AC_SUBST(enable_xa)
AC_SUBST(enable_serio)
AC_SUBST(enable_xa)
AC_SUBST(enable_serio)
+AC_ARG_ENABLE(statistic,
+[ --enable-statistic compile statistical features (slower simulation)],
+if test $enable_statistic != "no"; then
+ enable_statistic="yes"
+fi,
+enable_statistic="no")
+AC_DEFINE_UNQUOTED(STATISTIC, $enable_statistic)
+
+
# Required programs
#-------------------
AC_PROG_CXX
AC_PROG_CXXCPP
AC_PROG_INSTALL
AC_PROG_RANLIB
# Required programs
#-------------------
AC_PROG_CXX
AC_PROG_CXXCPP
AC_PROG_INSTALL
AC_PROG_RANLIB
-AC_LANG_CPLUSPLUS
+
dnl
AC_LANG_CPLUSPLUS
AC_CHECK_PROG(STRIP, strip, strip, :)
AC_CHECK_PROG(STRIP, strip, strip, :)
+AC_LIBTOOL_DLOPEN
+dnl AC_LIBTOOL_WIN32_DLL
+AC_PROG_LIBTOOL
+AC_SUBST(LIBTOOL_DEPS)
+
+AC_LANG_CPLUSPLUS
+
# Checking for header files.
# ===========================================================================
# Checking for header files.
# ===========================================================================
@@
-293,7
+316,7
@@
if test "$CC" = "i586-mingw32msvc-gcc"; then
ac_cv_sizeof_long_long=4
fi
ac_cv_sizeof_long_long=4
fi
-if test "$cross_compiling" =
=
"no"
+if test "$cross_compiling" = "no"
then
AC_C_BIGENDIAN
else
then
AC_C_BIGENDIAN
else
@@
-454,6
+477,7
@@
cmd.src/Makefile
s51.src/Makefile
avr.src/Makefile
z80.src/Makefile
s51.src/Makefile
avr.src/Makefile
z80.src/Makefile
+hc08.src/Makefile
xa.src/Makefile
gui.src/Makefile
gui.src/serio.src/Makefile
xa.src/Makefile
gui.src/Makefile
gui.src/serio.src/Makefile