--- a/configure
+++ b/configure
@@ -932,7 +932,7 @@
 fi
 
 printf "checking for C compiler... "
-cccheck
+cc=$CC
 if [ $? -ne 0 ] ; then
   echo "not found"
   echo "Please install a C compiler and re-run configure."
