Index: sim/mn10300/configure.ac |
diff --git a/sim/mn10300/configure.ac b/sim/mn10300/configure.ac |
index 8916c85f7cc73845e1c952fcafa7e38acb9cced8..d4449beaaa61285759b68060c53b2ae1a98d9c29 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 |