* configure.in: Don't configure any subdirs if no simulator

is being built.  Don't use erc32 for sparc64.
	* configure: Regenerated.
This commit is contained in:
David Edelsohn 1997-02-05 21:29:32 +00:00
parent 5b61a02aae
commit 2a2eda4daf
2 changed files with 12 additions and 4 deletions

8
sim/configure vendored
View File

@ -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

View File

@ -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)