summaryrefslogtreecommitdiffstats
path: root/configs/autoconf.in
diff options
context:
space:
mode:
Diffstat (limited to 'configs/autoconf.in')
-rw-r--r--configs/autoconf.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/configs/autoconf.in b/configs/autoconf.in
index 2235abe73f8..eeb99780bec 100644
--- a/configs/autoconf.in
+++ b/configs/autoconf.in
@@ -28,6 +28,10 @@ INTEL_LIBS = @INTEL_LIBS@
INTEL_CFLAGS = @INTEL_CFLAGS@
X11_LIBS = @X11_LIBS@
X11_CFLAGS = @X11_CFLAGS@
+LLVM_CFLAGS = @LLVM_CFLAGS@
+LLVM_LDFLAGS = @LLVM_LDFLAGS@
+LLVM_LIBS = @LLVM_LIBS@
+
# Assembler
MESA_ASM_SOURCES = @MESA_ASM_SOURCES@
@@ -169,3 +173,11 @@ GLESv2_PC_LIB_PRIV = @GLESv2_PC_LIB_PRIV@
EGL_DRI2_CFLAGS = @EGL_DRI2_CFLAGS@
EGL_DRI2_LIBS = @EGL_DRI2_LIBS@
+
+MESA_LLVM = @MESA_LLVM@
+
+LLVM_VERSION = @LLVM_VERSION@
+ifneq ($(LLVM_VERSION),)
+ HAVE_LLVM := 0x0$(subst .,0,$(LLVM_VERSION:svn=))
+ DEFINES += -DHAVE_LLVM=$(HAVE_LLVM)
+endif