diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-07-26 18:44:11 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-07-26 18:44:11 +0000 |
commit | d7c9b4c143a73bf69a71f36f162c98bbbbc3df0b (patch) | |
tree | 2f153be45922d17bc5bb0a5852e47d6bfa8d2456 /configure | |
parent | ffd3655df2d5fbed3b2a7c5ed54482ac78ebe5d2 (diff) | |
download | gcc-d7c9b4c143a73bf69a71f36f162c98bbbbc3df0b.tar.gz |
* configure.ac: Set have_compiler based on whether gcc directory
exists, rather than on whether gcc is in configdirs.
* configure: Rebuild.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176800 138bc75d-0d04-0410-961f-82ee72b054a4
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) ;; |