]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Detect clang in cc version.
authorMark Adler <madler@alumni.caltech.edu>
Sat, 31 Dec 2016 02:58:46 +0000 (18:58 -0800)
committerHans Kristian Rosbach <hk-git@circlestorm.org>
Mon, 6 Feb 2017 13:53:18 +0000 (14:53 +0100)
configure

index 215dd392ccec80a781f3e8ce64d6732901a7b483..1f49eff5c2937a1378a68b41badb898866799261 100755 (executable)
--- a/configure
+++ b/configure
@@ -201,6 +201,7 @@ case "$cc" in
 esac
 case `$cc -v 2>&1` in
   *gcc*) gcc=1 ;;
+  *clang*) gcc=1 ;;
 esac
 
 show $cc -c $test.c