* 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 7e165cd..89edb71 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 3553ff2..2773119 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