OSDN Git Service

* configure.ac: Set have_compiler based on whether gcc directory
[pf3gnuchains/gcc-fork.git] / configure
index facf3e4..5366d71 100755 (executable)
--- a/configure
+++ b/configure
@@ -4992,10 +4992,11 @@ fi
 
 
 # Issue errors and warnings for invalid/strange bootstrap combinations.
-case "$configdirs" in
-  *gcc*) have_compiler=yes ;;
-  *) have_compiler=no ;;
-esac
+if test -r $srcdir/gcc/configure; then
+  have_compiler=yes
+else
+  have_compiler=no
+fi
 
 case "$have_compiler:$host:$target:$enable_bootstrap" in
   *:*:*:no) ;;