--- configure.orig	2017-06-28 04:32:27 UTC
+++ configure
@@ -714,8 +714,8 @@ not support #{name} compiler, please ema
     check_tool_version @cc, '-dumpversion', [4, 1]
     check_tool_version @cxx, '-dumpversion', [4, 1]
 
-    supported_compiler "clang C" unless @cc =~ /clang|ccc-analyzer/
-    supported_compiler "clang++ C++" unless @cxx =~ /clang\+\+|c\+\+\-analyzer/
+    supported_compiler "clang C" unless @cc == "%%CC%%"
+    supported_compiler "clang++ C++" unless @cxx == "%%CXX%%"
 
     if File.exist? @build_bin
       if !File.directory? @build_bin
