]> Git Repo - qemu.git/commitdiff
check if specified compiler exists
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 23 Apr 2006 14:35:23 +0000 (14:35 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 23 Apr 2006 14:35:23 +0000 (14:35 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1826 c046a42c-6fe2-441c-8c8c-71466251a162

configure

index 6e5073b6f94d60cb860354875aece6ce9b1224be..356461775912acdebc763130cc413b61d1bc98b2 100755 (executable)
--- 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"
This page took 0.031252 seconds and 4 git commands to generate.