--- configure.orig Sun May 7 20:14:23 2006 +++ configure Sun May 7 20:16:58 2006 @@ -293,8 +293,14 @@ ar="${cross_prefix}${ar}" strip="${cross_prefix}${strip}" -if [ ! -x "`which $cc`" ] ; then - echo "Compiler $cc could not be found" +# check that gcc is able to compile +cat > $TMPC </dev/null ; then + echo "Compiler $cc either does not exist or does not work" exit fi