diff --git a/configure b/configure index 6e5073b6f9..3564617759 100755 --- a/configure +++ b/configure @@ -283,6 +283,11 @@ cc="${cross_prefix}${cc}" ar="${cross_prefix}${ar}" strip="${cross_prefix}${strip}" +if [ -z `which $cc` ] ; then + echo "Compiler $cc could not be found" + exit +fi + if test "$mingw32" = "yes" ; then linux="no" EXESUF=".exe"