* configure.in: Only build the V850 simulator if
authorJeff Law <law@redhat.com>
Sat, 12 Oct 1996 03:14:54 +0000 (03:14 +0000)
committerJeff Law <law@redhat.com>
Sat, 12 Oct 1996 03:14:54 +0000 (03:14 +0000)
        we are using gcc.
        * configure: Rebuild.
So builds with "cc" don't die in the v850 simulator directory.

sim/ChangeLog
sim/configure
sim/configure.in

index 1d186627bf3f51fe52c71dccb90074f957bf4f92..5711f573eaaaa632a377006ee559aa592658e318 100644 (file)
@@ -1,3 +1,14 @@
+Fri Oct 11 21:13:43 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * configure.in: Only build the V850 simulator if
+       we are using gcc.
+       * configure: Rebuild.
+
+Sun Sep  8 17:22:50 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.in: Do build erc32 for DOS and Windows hosts.
+       * configure: Rebuild.
+
 Wed Sep  4 18:11:27 1996  Stu Grossman  (grossman@critters.cygnus.com)
 
        * Makefile.in erc32/Makefile.in:  Don't set srcroot.  This should
index cd997d12e7c51d6304bba8b27d10106206c172a1..8f854dd17c4e98001f7add6879a356ebf2476bb3 100755 (executable)
@@ -1215,16 +1215,19 @@ case "${target}" in
   powerpc*-*-eabi* | powerpc*-*-solaris* | powerpc*-*-sysv4* | powerpc*-*-elf* )
                        if test x"$powerpc_sim" = x"yes"; then sim_target=ppc; fi ;;
 # start-sanitize-v850
-  v850-*-*)            sim_target=v850 ;;
+  v850-*-*)
+                               # The V850 simulator can only be compiled
+                               # by gcc.
+                               if test "${GCC}" = "yes"; then
+                                 sim_target=v850
+                               else
+                                 sim_target=none
+                               fi
+                               ;;
 # end-sanitize-v850
   w65-*-*)             sim_target=w65 ;;
   z8k*-*-*)            sim_target=z8k ;;
-  sparc*-*-*)          case "${host}" in       # don't build for non Unix systems
-                         *-*-go32)     sim_target=none ;;
-                         *-*-winnt)    sim_target=none ;;
-                         *-*-cygwin32) sim_target=none ;;
-                         *)
-                               # The SPARC simulator can only be compiled
+  sparc*-*-*)                  # The SPARC simulator can only be compiled
                                # by gcc.
                                if test "${GCC}" = "yes"; then
                                  sim_target=erc32
@@ -1232,7 +1235,6 @@ case "${target}" in
                                  sim_target=none
                                fi
                                ;;
-                       esac ;;
   *)                   sim_target=none ;;
 esac
 
index 02a98f7512a5a71e5ea30234924a873bd3f34c4a..4400b69d686b6dfd4d450d2f5af5c85c622c4e7f 100644 (file)
@@ -63,7 +63,15 @@ case "${target}" in
   powerpc*-*-eabi* | powerpc*-*-solaris* | powerpc*-*-sysv4* | powerpc*-*-elf* )
                        if test x"$powerpc_sim" = x"yes"; then sim_target=ppc; fi ;;
 # start-sanitize-v850
-  v850-*-*)            sim_target=v850 ;;
+  v850-*-*)
+                               # The V850 simulator can only be compiled
+                               # by gcc.
+                               if test "${GCC}" = "yes"; then
+                                 sim_target=v850
+                               else
+                                 sim_target=none
+                               fi
+                               ;;
 # end-sanitize-v850
   w65-*-*)             sim_target=w65 ;;
   z8k*-*-*)            sim_target=z8k ;;