From 94c63d78f6c4d0a10c1b4e42a16994d1c89998af Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sat, 23 Mar 2013 15:07:30 +0000 Subject: 2013-03-23 Joel Sherrill * configure.ac: Fail if dv-sockser.o not available. Error when --disable-sim-hardware is specified. * configure: Regenerated. --- sim/frv/configure.ac | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sim/frv/configure.ac') diff --git a/sim/frv/configure.ac b/sim/frv/configure.ac index 7f2b7ed..68487ab 100644 --- a/sim/frv/configure.ac +++ b/sim/frv/configure.ac @@ -28,4 +28,12 @@ if test x"$silent" != x"yes" && test x"$sim_trapdump" != x""; then fi],[sim_trapdump=""])dnl AC_SUBST(sim_trapdump) +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 -- cgit v1.1