configure: fix clang-cl detection
authorAlexander Bilyak <bilyak.alexander@gmail.com>
Thu, 1 Feb 2018 10:52:24 +0000 (11:52 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 15 Apr 2018 15:37:00 +0000 (17:37 +0200)
commit9fd11e51882aad9000943a9962d10880cae6667a
tree3bc0c6e825508d6d40c9b00ade2f97c332b997cb
parent3e003a985f4b07d8685a2f251f5090f11abdfc06
configure: fix clang-cl detection

When using clang-cl it expects parameters passed in MSVC-style, so appropriate toolchain should be selected.
As soon as both clang and clang-cl report themselfs as "clang" with -v option the only chance to detect
clang-cl is passing -? option to both which is valid for clang-cl.exe and not for clang.exe.

Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
configure