configure.ac: rename LLVM_VERSION_PATCH to avoid conflict with llvm-config.h
authorMarek Olšák <marek.olsak@amd.com>
Sat, 6 Jun 2015 11:24:11 +0000 (13:24 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 16 Jun 2015 13:47:02 +0000 (15:47 +0200)
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
configure.ac

index 34d1ac988f6797b8587003935e7cbf2a3783295d..e6d947e5fc3274883bfd3015d2bf7e8643e87e5d 100644 (file)
@@ -1929,7 +1929,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