5 printf "checking for c compiler... "
7 -if [ "${CROSSBUILD}" = 1 ]; then
8 - (command -v ${HOST}-${CC} >/dev/null 2>&1)
9 - if [ $? = 0 ]; then CC="${HOST}-${CC}"; fi
11 echo "int main(int argc, char **argv){return 0;}" > test.c
12 (exec ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} test.c >/dev/null 2>&1)
13 if [ $? = 0 ]; then echo ${CC}; else