diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/configure b/configure index facf3e4781e..5366d713e0b 100755 --- 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) ;; |