auto detect llvm version

This commit is contained in:
Chris Li 2010-03-22 13:27:32 -07:00 committed by Chris Li
parent e9a25089f9
commit d4b103e031

View file

@ -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