configure: Support parsing weird clang versions

Seems some distributions will change the clang version output to be
something like 'Ubuntu clang version
12.0.1-++20210918042554+fed41342a82f-1~exp1~20210918143322.141'. Fix the
version parsing in configure to not barf on such weird version strings.

Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
This commit is contained in:
Toke Høiland-Jørgensen
2021-10-11 14:23:52 +02:00
parent 457a9c99bf
commit a5765295ac
2 changed files with 3 additions and 3 deletions