Skip to content

Commit 147503b

Browse files
committed
---
yaml --- r: 218912 b: refs/heads/snap-stage3 c: 5b56d73 h: refs/heads/master v: v3
1 parent 6ffcb0c commit 147503b

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: c044791d80ea0dc5c4b57b6030a67b69f8510239
3-
refs/heads/snap-stage3: e490c17eb5d85d6b968d91b2ca93f3607934e78d
3+
refs/heads/snap-stage3: 5b56d73dc0e8b988f91c44fd9f9e40331451796b
44
refs/heads/try: b53c0f93eedcdedd4fd89bccc5a3a09d1c5cd23e
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/snap-stage3/configure

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -969,8 +969,8 @@ fi
969969

970970
if [ ! -z "$CFG_ENABLE_CLANG" ]
971971
then
972-
if [ -z "$CC" ] || [[ $CC == *clang ]]
973-
then
972+
case "$CC" in
973+
(''|*clang)
974974
CFG_CLANG_VERSION=$($CFG_CC \
975975
--version \
976976
| grep version \
@@ -990,9 +990,11 @@ then
990990
err "bad CLANG version: $CFG_CLANG_VERSION, need >=3.0svn"
991991
;;
992992
esac
993-
else
993+
;;
994+
(*)
994995
msg "skipping CFG_ENABLE_CLANG version check; provided CC=$CC"
995-
fi
996+
;;
997+
esac
996998
fi
997999

9981000
if [ ! -z "$CFG_ENABLE_CCACHE" ]

0 commit comments

Comments
 (0)