aboutsummaryrefslogtreecommitdiff
path: root/sim/configure.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-06-24 18:20:52 +0000
committerIan Lance Taylor <ian@airs.com>1996-06-24 18:20:52 +0000
commitaac160d2bb10d0fc7f2fee1e48e080f61786e2a8 (patch)
tree600a58e32202fd333389c4fea95bc69ef905935c /sim/configure.in
parent30b9d933e87b0252aa4a1f393828f475b9ed6237 (diff)
downloadgdb-aac160d2bb10d0fc7f2fee1e48e080f61786e2a8.zip
gdb-aac160d2bb10d0fc7f2fee1e48e080f61786e2a8.tar.gz
gdb-aac160d2bb10d0fc7f2fee1e48e080f61786e2a8.tar.bz2
* configure.in: Only configure erc32 if using gcc.
Diffstat (limited to 'sim/configure.in')
-rw-r--r--sim/configure.in11
1 files changed, 10 insertions, 1 deletions
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