From d4b103e031b7647012733641b8a31c19b8b852fb Mon Sep 17 00:00:00 2001 From: Chris Li Date: Mon, 22 Mar 2010 13:27:32 -0700 Subject: [PATCH] auto detect llvm version --- configs/linux-llvm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/linux-llvm b/configs/linux-llvm index 608f42d6df0..3a15f1d6d8b 100644 --- a/configs/linux-llvm +++ b/configs/linux-llvm @@ -24,6 +24,8 @@ ifeq ($(LLVM_VERSION),) MESA_LLVM=0 else MESA_LLVM=1 + HAVE_LLVM := 0x0$(subst .,0,$(LLVM_VERSION:svn=)) + DEFINES += -DHAVE_LLVM=$(HAVE_LLVM) # $(info Using LLVM version: $(LLVM_VERSION)) endif -- 2.30.2