From bf03b9ffeca63804bbdaafe308279b42caa0e2be Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 26 Jul 2011 18:44:11 +0000 Subject: 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 --- configure.ac | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index e64e577..4cf1160 100644 --- a/configure.ac +++ b/configure.ac @@ -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) ;; -- cgit v1.1