aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-04-23 14:35:23 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-04-23 14:35:23 +0000
commita7350fa109d9b6d33f6a0501ed9fc45d0fba27d0 (patch)
treea500c97f04045eab7e1901943d5c06998e4de02d /configure
parent132ea32fae4857b518475f8cded52f5ace56a399 (diff)
check if specified compiler exists
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1826 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
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"