z8k*-*-*) sim_target=z8k ;;
sparc64-*-*)
only_if_gcc=yes
- if test "x${with_cgen}" = xyes ; then
+ if test "x${with_cgen}" = xyes -o "x${with_cgen_sim}" = xyes ; then
sim_target=sparc
extra_subdirs="${extra_subdirs} testsuite"
else
sparclite*-*-* | sparc86x*-*-*)
# The SPARC simulator can only be compiled by gcc.
only_if_gcc=yes
- if test "x${with_cgen}" = xyes ; then
+ if test "x${with_cgen}" = xyes -o "x${with_cgen_sim}" = xyes ; then
sim_target=sparc
extra_subdirs="${extra_subdirs} testsuite"
else
sparc*-*-*)
# The SPARC simulator can only be compiled by gcc.
only_if_gcc=yes
- if test "x${with_cgen}" = xyes ; then
+ if test "x${with_cgen}" = xyes -o "x${with_cgen_sim}" = xyes ; then
sim_target=sparc
extra_subdirs="${extra_subdirs} testsuite"
else