aboutsummaryrefslogtreecommitdiff
path: root/sim/common
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common')
-rw-r--r--sim/common/ChangeLog5
-rw-r--r--sim/common/aclocal.m42
2 files changed, 6 insertions, 1 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 1caff73..dd7eddc 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,8 @@
+2001-01-12 Chris Demetriou <cgd@sibyte.com>
+
+ * aclocal.m4 (SIM_AC_OPTION_SCACHE): Properly
+ handle the case where a numeric value is supplied.
+
2001-01-06 Ben Elliston <bje@redhat.com>
* cgen.sh: Allow extrafiles to include the semantics files when
diff --git a/sim/common/aclocal.m4 b/sim/common/aclocal.m4
index 30934b2..a1c797a 100644
--- a/sim/common/aclocal.m4
+++ b/sim/common/aclocal.m4
@@ -529,7 +529,7 @@ AC_ARG_ENABLE(sim-scache,
[case "${enableval}" in
yes) sim_scache="-DWITH_SCACHE=${default_sim_scache}";;
no) sim_scache="-DWITH_SCACHE=0" ;;
- [[0-9]]*) sim_cache=${enableval};;
+ [[0-9]]*) sim_scache="-DWITH_SCACHE=${enableval}";;
*) AC_MSG_ERROR("Bad value $enableval passed to --enable-sim-scache");
sim_scache="";;
esac