aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1997-02-05 21:29:32 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1997-02-05 21:29:32 +0000
commit2a2eda4daf3664678cd1ded37b6f6c5af5ed3e0b (patch)
tree9eff33b8c36946e86d2ac59f5cfeb04541ca51df /sim
parent5b61a02aaeda30009ec393373e859b2a6819dd8b (diff)
downloadgdb-2a2eda4daf3664678cd1ded37b6f6c5af5ed3e0b.zip
gdb-2a2eda4daf3664678cd1ded37b6f6c5af5ed3e0b.tar.gz
gdb-2a2eda4daf3664678cd1ded37b6f6c5af5ed3e0b.tar.bz2
* configure.in: Don't configure any subdirs if no simulator
is being built. Don't use erc32 for sparc64. * configure: Regenerated.
Diffstat (limited to 'sim')
-rwxr-xr-xsim/configure8
-rw-r--r--sim/configure.in8
2 files changed, 12 insertions, 4 deletions
diff --git a/sim/configure b/sim/configure
index 9a43a90..9911f23 100755
--- a/sim/configure
+++ b/sim/configure
@@ -1318,6 +1318,8 @@ case "${target}" in
# end-sanitize-v850
w65-*-*) sim_target=w65 ;;
z8k*-*-*) sim_target=z8k ;;
+ sparc64-*-*)
+ ;; # Don't build erc32 if sparc64.
sparc*-*-*)
# The SPARC simulator can only be compiled by gcc.
sim_target=erc32
@@ -1345,9 +1347,11 @@ yes)
;;
esac
-configdirs="common ${sim_target}"
-subdirs="$configdirs"
+if test x"${sim_target}" != x ; then
+ configdirs="common ${sim_target}"
+ subdirs="$configdirs"
+fi
trap '' 1 2 15
cat > confcache <<\EOF
diff --git a/sim/configure.in b/sim/configure.in
index 826d699..370d828 100644
--- a/sim/configure.in
+++ b/sim/configure.in
@@ -83,6 +83,8 @@ case "${target}" in
# end-sanitize-v850
w65-*-*) sim_target=w65 ;;
z8k*-*-*) sim_target=z8k ;;
+ sparc64-*-*)
+ ;; # Don't build erc32 if sparc64.
sparc*-*-*)
# The SPARC simulator can only be compiled by gcc.
sim_target=erc32
@@ -110,8 +112,10 @@ yes)
;;
esac
-configdirs="common ${sim_target}"
-AC_CONFIG_SUBDIRS($configdirs)
+if test x"${sim_target}" != x ; then
+ configdirs="common ${sim_target}"
+ AC_CONFIG_SUBDIRS($configdirs)
+fi
AC_OUTPUT(Makefile)