Detect clang in cc version.

This commit is contained in:
Mark Adler 2016-12-30 18:58:46 -08:00
parent 50dca6d127
commit f12d3dc367

1
configure vendored
View File

@ -175,6 +175,7 @@ case "$cc" in
esac esac
case `$cc -v 2>&1` in case `$cc -v 2>&1` in
*gcc*) gcc=1 ;; *gcc*) gcc=1 ;;
*clang*) gcc=1 ;;
esac esac
show $cc -c $test.c show $cc -c $test.c