diff options
author | Mike Frysinger <vapier@gentoo.org> | 2013-03-31 00:39:35 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2013-03-31 00:39:35 +0000 |
commit | 73e76d20031e4c59fa47e9c0dca449f8351a3657 (patch) | |
tree | bf28326eb37d7fdc262c1bc88b6eeb5eed7b002b /sim/m32r/configure | |
parent | 37cf6fc12167035748c548a6258d2e5de85e7980 (diff) | |
download | gdb-73e76d20031e4c59fa47e9c0dca449f8351a3657.zip gdb-73e76d20031e4c59fa47e9c0dca449f8351a3657.tar.gz gdb-73e76d20031e4c59fa47e9c0dca449f8351a3657.tar.bz2 |
sim: frv/m32r: back out hard failure when dv-sockser is not available
These sims have optional support for the dv-sockser model, so do not make
them hard failures. The Makefile made it seem like they didn't actually
support things dynamically, but a further code dive into the source and
the Makefile shows that things work out.
Diffstat (limited to 'sim/m32r/configure')
-rwxr-xr-x | sim/m32r/configure | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/sim/m32r/configure b/sim/m32r/configure index 376acfb..7f0c05a 100755 --- a/sim/m32r/configure +++ b/sim/m32r/configure @@ -601,6 +601,7 @@ ac_includes_default="\ ac_subst_vars='LTLIBOBJS LIBOBJS cgen_breaks +m32r_extra_objs SIM_DV_SOCKSER_O sim_extra_cflags traps_obj @@ -12279,7 +12280,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12282 "configure" +#line 12283 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12385,7 +12386,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12388 "configure" +#line 12389 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13354,7 +13355,7 @@ fi -if test x"always" != x"no"; then +if test x"yes" != x"no"; then enable_sim_hardware=yes else enable_sim_hardware=no @@ -13385,7 +13386,7 @@ case ${enable_sim_hardware} in esac if test "$sim_hw_p" != yes; then - if test "always" = "always"; then + if test "yes" = "always"; then as_fn_error "Sorry, but this simulator requires that hardware support be enabled. Please configure without --disable-hw-support." "$LINENO" 5 fi @@ -13468,12 +13469,7 @@ fi esac fi - -if test -z "$SIM_DV_SOCKSER_O"; then - as_fn_error "Sorry, but hardware support in this simulator unconditionally -relies on dv-sockser.o which is unavailable for your host. Please fix this -simulator." "$LINENO" 5 -fi +m32r_extra_objs="$SIM_DV_SOCKSER_O" |