* configure.in (sparc*): Configure sparc subdir if --with-cgen or
authorDoug Evans <dje@google.com>
Wed, 10 Feb 1999 08:56:15 +0000 (08:56 +0000)
committerDoug Evans <dje@google.com>
Wed, 10 Feb 1999 08:56:15 +0000 (08:56 +0000)
--with-cgen-sim.
* configure: Rebuild.

sim/configure.in

index db35e31907e7b27d1fcae2da6fe267218deffb4f..2322071c0464b99f45b1fa9f080d1a1d4517c4a1 100644 (file)
@@ -118,7 +118,7 @@ case "${target}" in
   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
@@ -128,7 +128,7 @@ case "${target}" in
   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
@@ -138,7 +138,7 @@ case "${target}" in
   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