Mesa (amdgpu): configure.ac: rename LLVM_VERSION_PATCH to avoid conflict with llvm-config.h

Marek Olšák mareko at kemper.freedesktop.org
Mon Jun 22 22:47:04 UTC 2015


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

Author: Marek Olšák <marek.olsak at amd.com>
Date:   Sat Jun  6 13:24:11 2015 +0200

configure.ac: rename LLVM_VERSION_PATCH to avoid conflict with llvm-config.h

Reviewed-by: Tom Stellard <thomas.stellard at amd.com>

---

 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 6e52d43..51c245d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1930,7 +1930,7 @@ if test "x$enable_gallium_llvm" = xyes; then
             LLVM_COMPONENTS="${LLVM_COMPONENTS} all-targets ipo linker instrumentation"
             LLVM_COMPONENTS="${LLVM_COMPONENTS} irreader option objcarcopts profiledata"
         fi
-        DEFINES="${DEFINES} -DHAVE_LLVM=0x0$LLVM_VERSION_INT -DLLVM_VERSION_PATCH=$LLVM_VERSION_PATCH"
+        DEFINES="${DEFINES} -DHAVE_LLVM=0x0$LLVM_VERSION_INT -DMESA_LLVM_VERSION_PATCH=$LLVM_VERSION_PATCH"
         MESA_LLVM=1
 
         dnl Check for Clang internal headers




More information about the mesa-commit mailing list