build: catch clang that identifies itself as "$VENDOR clang"
commitf32c5d37161f8444afe016e20be2c6ce6479d793
authorJunio C Hamano <gitster@pobox.com>
Fri, 6 Aug 2021 20:35:37 +0000 (6 13:35 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 6 Aug 2021 20:35:37 +0000 (6 13:35 -0700)
treee039cddbee77abff1cb13959c48226e7d0b79e2b
parent33f13ad7c5cfffdcd446a02dd8ef4b77bc70affe
build: catch clang that identifies itself as "$VENDOR clang"

The case statement in detect-compiler notices 'clang', 'FreeBSD
clang' and 'Apple clang', but there are other platforms that follow
the '$VENDOR clang' pattern (e.g. Debian).

Generalize the pattern to catch them.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
detect-compiler