Mesa (8.0): configure.ac: Don' t use $CLANG since it will collide with the static analyzer.

Jeremy Huddleston jeremyhu at kemper.freedesktop.org
Fri Jan 27 17:05:33 UTC 2012


Module: Mesa
Branch: 8.0
Commit: e406659b8bed4dd8450935e2f3ee697b99d278cf
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e406659b8bed4dd8450935e2f3ee697b99d278cf

Author: Jeremy Huddleston <jeremyhu at apple.com>
Date:   Thu May  5 14:08:57 2011 -0700

configure.ac: Don't use $CLANG since it will collide with the static analyzer.

We just prefix the $CLANG environment variable in configure.ac with acv_mesa_

Found by: tinderbox
Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
(cherry picked from commit b728eefb06c26e4b5a25db31bbda9fcf4d015e17)

---

 configure.ac |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 7c50e3c..1fcfdbc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -88,13 +88,13 @@ AC_COMPILE_IFELSE(
        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.
-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




More information about the mesa-commit mailing list