aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1995-11-12 02:06:11 +0000
committerMichael Meissner <gnu@the-meissners.org>1995-11-12 02:06:11 +0000
commitc05c182dd679dd98f39e59fd567f767c679fa13f (patch)
treec64bd15a17e12e9aa619ff8b87b1be88d3b6b08f /sim
parentd587782c783376bb60e8b4402b5d56469fc8742e (diff)
downloadgdb-c05c182dd679dd98f39e59fd567f767c679fa13f.zip
gdb-c05c182dd679dd98f39e59fd567f767c679fa13f.tar.gz
gdb-c05c182dd679dd98f39e59fd567f767c679fa13f.tar.bz2
Various changes
Diffstat (limited to 'sim')
-rw-r--r--sim/ppc/configure.in19
1 files changed, 13 insertions, 6 deletions
diff --git a/sim/ppc/configure.in b/sim/ppc/configure.in
index 6ef7afe..b2a0ee4 100644
--- a/sim/ppc/configure.in
+++ b/sim/ppc/configure.in
@@ -108,11 +108,18 @@ fi])dnl
AC_ARG_ENABLE(sim-icache,
[ --enable-sim-icache=size Specify instruction cache size.],
+icache=""
[case "${enableval}" in
- yes) sim_icache="-r 1024";;
+ yes) sim_icache="-r 1024"; icache="1024";;
no) sim_icache="";;
- *) sim_icache="-r ${enableval}";;
-esac],[sim_icache="-r 1024"])dnl
+ *) sim_icache="-r ${enableval}"; icache="${enableval}";;
+esac
+if test x"$silent" != x"yes" && test x"$icache" != x""; then
+ echo "Setting instruction cache size to $icache"
+fi],[sim_icache="-r 1024"
+if test x"$silent" != x"yes"; then
+ echo "Setting instruction cache size to 1024"
+fi])dnl
AC_ARG_ENABLE(sim-inline,
[ --enable-sim-inline=inlines Specify which functions should be inlined.],
@@ -127,13 +134,13 @@ case "$enableval" in
case "$x" in
*_INLINE=*) new_flag="-D$x";;
*_INLINE) new_flag="-D$x=2";;
- *=*) new_flag=`sed -e "s/=/_INLINE=/" -e "s/^/-D/"`;;
+ *=*) new_flag=`echo "$x" | sed -e "s/=/_INLINE=/" -e "s/^/-D/"`;;
*) new_flag="-D$x""_INLINE=2";;
esac
- if x"$sim_inline" = x""; then
+ if test x"$sim_inline" = x""; then
sim_inline="$new_flag"
else
- sim_inline="$flags $new_flag"
+ sim_inline="$sim_inline $new_flag"
fi
done;;
esac