* configure.in: Don't configure any subdirs if no simulator
authorDavid Edelsohn <dje.gcc@gmail.com>
Wed, 5 Feb 1997 21:29:32 +0000 (21:29 +0000)
committerDavid Edelsohn <dje.gcc@gmail.com>
Wed, 5 Feb 1997 21:29:32 +0000 (21:29 +0000)
is being built.  Don't use erc32 for sparc64.
* configure: Regenerated.

sim/configure
sim/configure.in

index 9a43a90293b9a5571fd308221482a55d91456fce..9911f23347219725ac2cb4ac49c5c8dd91e9a29d 100755 (executable)
@@ -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
index 826d69991885bbb9e42376ee999bd6ad2b368244..370d8284fdabac3836ac6221e170efbda6a9a193 100644 (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)