We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 134b61a commit 7341055Copy full SHA for 7341055
configure
@@ -274,6 +274,23 @@ case $CFG_LLVM_VERSION in
274
;;
275
esac
276
277
+if [ ! -z "$CFG_CLANG" ]
278
+then
279
+ CFG_CLANG_VERSION=$("$CFG_CLANG" \
280
+ --version \
281
+ | grep version \
282
+ | cut -d ' ' -f 3)
283
+
284
+ case $CFG_CLANG_VERSION in
285
+ (3.0svn | 3.0)
286
+ step_msg "found ok version of CLANG: $CFG_CLANG_VERSION"
287
+ ;;
288
+ (*)
289
+ err "bad CLANG version: $CFG_CLANG_VERSION, need >=3.0svn"
290
291
+ esac
292
+fi
293
294
putvar CFG_LLVM_ROOT
295
putvar CFG_LLVM_INCDIR
296
putvar CFG_LLVM_BINDIR
0 commit comments