]> granicus.if.org Git - curl/commit
curl-compilers.m4: fix compiler_num for clang
authorMarcel Raad <raad@teamviewer.com>
Wed, 31 May 2017 20:21:42 +0000 (22:21 +0200)
committerMarcel Raad <Marcel.Raad@teamviewer.com>
Thu, 1 Jun 2017 06:48:05 +0000 (08:48 +0200)
commit5598b0bd63f690c151074494ce47ef872f004ab4
treedb80ada6312077335cb8bad0fb6bcccd22ed9076
parentc5de7f50f73919ead96aa1b541090cb25d63b012
curl-compilers.m4: fix compiler_num for clang

"clang -dumpversion" always returns "4.2.1", the GCC version that clang
was initially compatible to. Use "clang -v" instead, which returns the
actual clang version.

Fixes https://github.com/curl/curl/issues/1522
Closes https://github.com/curl/curl/pull/1523
m4/curl-compilers.m4