aboutsummaryrefslogtreecommitdiff
path: root/sim/mn10300/configure.ac
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2013-03-23 15:06:59 +0000
committerJoel Sherrill <joel.sherrill@oarcorp.com>2013-03-23 15:06:59 +0000
commitfb61c40addb9bccbd2404d69bfac0836ce8a9462 (patch)
tree429ac9a79d8d67dcb6d9bad4f657cbe8d20103a4 /sim/mn10300/configure.ac
parent3be315168191055cbe99916ee4ee45de1ab37a85 (diff)
downloadgdb-fb61c40addb9bccbd2404d69bfac0836ce8a9462.zip
gdb-fb61c40addb9bccbd2404d69bfac0836ce8a9462.tar.gz
gdb-fb61c40addb9bccbd2404d69bfac0836ce8a9462.tar.bz2
2013-03-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Fail if dv-sockser.o not available. Error when --disable-sim-hardware is specified. * tconfig.in: Conditionalize use of dv_sockser_install. * configure: Regenerated. * config.in: Regenerated.
Diffstat (limited to 'sim/mn10300/configure.ac')
-rw-r--r--sim/mn10300/configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/sim/mn10300/configure.ac b/sim/mn10300/configure.ac
index 8916c85..d4449be 100644
--- a/sim/mn10300/configure.ac
+++ b/sim/mn10300/configure.ac
@@ -17,4 +17,12 @@ 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)
+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
+
SIM_AC_OUTPUT