aboutsummaryrefslogtreecommitdiff
path: root/sim/mn10300
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-03-23 22:19:41 -0400
committerMike Frysinger <vapier@gentoo.org>2015-03-24 00:13:57 -0400
commit30452bbe7e68581cdb0cd5004e6c4d4d5c9536e8 (patch)
treea52d39c1a9b5466475a60418a6ca495a74307cf2 /sim/mn10300
parent64dd13dfc267b1d13f42519f220e89a4386591fd (diff)
downloadgdb-30452bbe7e68581cdb0cd5004e6c4d4d5c9536e8.zip
gdb-30452bbe7e68581cdb0cd5004e6c4d4d5c9536e8.tar.gz
gdb-30452bbe7e68581cdb0cd5004e6c4d4d5c9536e8.tar.bz2
sim: fix sim-hardware configure option
The current default handling for the --enable-sim-hardware option ends up forcing the value to whatever is set as the first argument when calling the macro (by virtue of how autoconf works). Relocate the setup code to the 4th parameter of the AC_ARG_ENABLE macro to fix it. This was caused by the simplification work in 1517bd274290e06af498ef7e49. Reported-by: Hans-Peter Nilsson <hans-peter.nilsson@axis.com>
Diffstat (limited to 'sim/mn10300')
-rw-r--r--sim/mn10300/ChangeLog4
-rwxr-xr-xsim/mn10300/configure8
2 files changed, 6 insertions, 6 deletions
diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog
index d188dda..cf8a025 100644
--- a/sim/mn10300/ChangeLog
+++ b/sim/mn10300/ChangeLog
@@ -1,3 +1,7 @@
+2015-03-24 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2015-03-23 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (MN10300_OBJS): Delete dv-sockser.o.
diff --git a/sim/mn10300/configure b/sim/mn10300/configure
index 5c0327a..d539b06 100755
--- a/sim/mn10300/configure
+++ b/sim/mn10300/configure
@@ -13535,12 +13535,6 @@ fi
fi
-if test x"yes" != x"no"; then
- enable_sim_hardware=yes
-else
- enable_sim_hardware=no
-fi
-
if test ""; then
hardware=""
else
@@ -13555,6 +13549,8 @@ sim_hw_objs="\$(SIM_COMMON_HW_OBJS) `echo $sim_hw | sed -e 's/\([^ ][^ ]*\)/dv-\
# Check whether --enable-sim-hardware was given.
if test "${enable_sim_hardware+set}" = set; then :
enableval=$enable_sim_hardware;
+else
+ enable_sim_hardware="yes"
fi
case ${enable_sim_hardware} in