Mercurial > hg > nginx
diff auto/cc/name @ 5187:f1daa0356a1d
Configure: fixed detection of newer Apple clang compilers.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 29 Apr 2013 18:07:22 +0400 |
parents | 182aee3b1bf5 |
children | 78f8ac479735 |
line wrap: on
line diff
--- a/auto/cc/name +++ b/auto/cc/name @@ -67,7 +67,7 @@ elif `$CC -v 2>&1 | grep 'gcc version' > NGX_CC_NAME=gcc echo " + using GNU C compiler" -elif `$CC -v 2>&1 | grep 'clang version' >/dev/null 2>&1`; then +elif `$CC -v 2>&1 | grep '\(clang\|LLVM\) version' >/dev/null 2>&1`; then NGX_CC_NAME=clang echo " + using Clang C compiler"