Recognize clang as gcc.

This commit is contained in:
Mark Adler 2012-03-14 23:14:13 -07:00
parent da32fd2892
commit a3881cc745

1
configure vendored
View File

@ -161,6 +161,7 @@ cflags=${CFLAGS-"-O3"}
# to force the asm version use: CFLAGS="-O3 -DASMV" ./configure
case "$cc" in
*gcc*) gcc=1 ;;
*clang*) gcc=1 ;;
esac
case `$cc -v 2>&1` in
*gcc*) gcc=1 ;;