configure.ac: Set have_compiler based on whether gcc directory exists...

* configure.ac: Set have_compiler based on whether gcc directory
	exists, rather than on whether gcc is in configdirs.
	* configure: Rebuild.

From-SVN: r176800
This commit is contained in:
Ian Lance Taylor 2011-07-26 18:44:11 +00:00 committed by Ian Lance Taylor
parent e207e41f47
commit bf03b9ffec
3 changed files with 16 additions and 8 deletions

View File

@ -1,3 +1,9 @@
2011-07-26 Ian Lance Taylor <iant@google.com>
* configure.ac: Set have_compiler based on whether gcc directory
exists, rather than on whether gcc is in configdirs.
* configure: Rebuild.
2011-07-21 Joseph Myers <joseph@codesourcery.com>
* MAINTAINERS (Global Reviewers): Add self.

9
configure vendored
View File

@ -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) ;;

View File

@ -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) ;;