summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2012-03-14 23:14:13 -0700
committerMark Adler <madler@alumni.caltech.edu>2012-03-14 23:14:13 -0700
commita3881cc745729cde05d921b3750e2d56889b5d26 (patch)
tree96583fd3baf02c654add195b7b37683df2bbc9a0 /configure
parentda32fd28927eeed480185184f1a3847f828235d1 (diff)
downloadzlib-a3881cc745729cde05d921b3750e2d56889b5d26.tar.gz
Recognize clang as gcc.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 6b7224b..439a032 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 ;;