configure.ac: Don't use $CLANG since it will collide with the static analyzer.
authorJeremy Huddleston <jeremyhu@apple.com>
Thu, 5 May 2011 21:08:57 +0000 (14:08 -0700)
committerJeremy Huddleston <jeremyhu@apple.com>
Fri, 27 Jan 2012 17:04:13 +0000 (09:04 -0800)
We just prefix the $CLANG environment variable in configure.ac with acv_mesa_

Found by: tinderbox
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
configure.ac

index 507cfff768059bdb36b61cf6e96fccce83115f3a..06d400f159ec9d94f377eb01501e26bce11745e6 100644 (file)
@@ -97,13 +97,13 @@ AC_COMPILE_IFELSE(
        not clang
 #endif
 ]])],
        not clang
 #endif
 ]])],
-[CLANG=yes], [CLANG=no])
+[acv_mesa_CLANG=yes], [acv_mesa_CLANG=no])
 
 
-AC_MSG_RESULT([$CLANG])
+AC_MSG_RESULT([$acv_mesa_CLANG])
 
 dnl If we're using GCC, make sure that it is at least version 3.3.0.  Older
 dnl versions are explictly not supported.
 
 dnl If we're using GCC, make sure that it is at least version 3.3.0.  Older
 dnl versions are explictly not supported.
-if test "x$GCC" = xyes -a "x$CLANG" = xno; then
+if test "x$GCC" = xyes -a "x$acv_mesa_CLANG" = xno; then
     AC_MSG_CHECKING([whether gcc version is sufficient])
     major=0
     minor=0
     AC_MSG_CHECKING([whether gcc version is sufficient])
     major=0
     minor=0