From aac160d2bb10d0fc7f2fee1e48e080f61786e2a8 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 24 Jun 1996 18:20:52 +0000 Subject: * configure.in: Only configure erc32 if using gcc. --- sim/configure.in | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'sim/configure.in') diff --git a/sim/configure.in b/sim/configure.in index 3553ff2..2773119 100644 --- a/sim/configure.in +++ b/sim/configure.in @@ -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 -- cgit v1.1