From: Mark Adler Date: Thu, 15 Mar 2012 06:14:13 +0000 (-0700) Subject: Recognize clang as gcc. X-Git-Tag: v1.2.7~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3881cc745729cde05d921b3750e2d56889b5d26;p=thirdparty%2Fzlib-ng.git Recognize clang as gcc. --- diff --git a/configure b/configure index 6b7224b42..439a0326d 100755 --- a/configure +++ b/configure @@ -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 ;;