commit | 370d1f20e77fd0f2d7e7628c7fbd62e7f357b2a4 | [log] [tgz] |
---|---|---|
author | Ruslan Ermilov <ru@nginx.com> | Tue Apr 24 14:04:59 2018 +0300 |
committer | Ruslan Ermilov <ru@nginx.com> | Tue Apr 24 14:04:59 2018 +0300 |
tree | 43723fa7b8eabd61eff5819345eb9aa4ce4794c9 | |
parent | 14e4ddc19154da391e8a2fc5576435c7822e2f0c [diff] |
Configure: fixed clang version detection (closes #1539). While 325b3042edd6 fixed it on MINIX, it broke it on systems that output the word "version" on several lines with "cc -v". The fix is to only consider "clang version" or "LLVM version" as clang version, but this time only using sed(1).