* configure.in: Only configure erc32 if using gcc.
authorIan Lance Taylor <ian@airs.com>
Mon, 24 Jun 1996 18:20:52 +0000 (18:20 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 24 Jun 1996 18:20:52 +0000 (18:20 +0000)
sim/ChangeLog
sim/configure.in

index 7e165cda897fb9ee19863e0f85573c0e8d381b61..89edb717afbe4f3c2ed63cd445183cf6ff35ff28 100644 (file)
@@ -1,3 +1,13 @@
+Mon Jun 24 14:18:26 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.in: Only configure erc32 if using gcc.
+
+Tue Jun  4 09:24:21 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * configure.in (sim_target): Build PowerPC simulator for powerpc
+       System V.4, Solaris, and Elf targets.
+       * configure: Regenerate with autoconf 2.10.
+
 Wed May 22 12:10:49 1996  Rob Savoye  <rob@chinadoll>
 
        * configure.in: Only built erc32 simulator on Unix hosts as it
index 3553ff2ed39ede8c4aa17d5c888fbbe7911bb3c2..27731192cd75089852664b6d74ff676bb326df7d 100644 (file)
@@ -56,7 +56,16 @@ case "${target}" in
                          *-*-go32)     sim_target=none ;;
                          *-*-winnt)    sim_target=none ;;
                          *-*-cygwin32) sim_target=none ;;
-                         *)            sim_target=erc32 ;;
+                         *)
+                               # The SPARC simulator can only be compiled
+                               # by gcc.  Highly bogus, but just skip
+                               # building it for now.
+                               if test "${GCC}" = "yes"; then
+                                 sim_target=erc32
+                               else
+                                 sim_target=non
+                               fi
+                               ;;
                        esac ;;
   *)                   sim_target=none ;;
 esac