Message ID | mcrbowmvnu5.fsf@coign.corp.google.com |
---|---|
State | New |
Headers | show |
Index: configure.ac =================================================================== --- configure.ac (revision 176515) +++ configure.ac (working copy) @@ -1139,10 +1139,11 @@ AC_ARG_ENABLE([bootstrap], enable_bootstrap=default) # 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) ;;