Make the name of the project consistent with that specified in the
[oota-llvm.git] / Makefile.config.in
index 4252148e47a783c4b55b5c6a4423f588b1f2714a..c72390681b2969eef12868f5a9bd6393340b38d8 100644 (file)
@@ -36,13 +36,13 @@ LLVM_CONFIGTIME   := @LLVM_CONFIGTIME@
 PWD := @BINPWD@
 # Set the project name to LLVM if its not defined
 ifndef PROJECT_NAME
-PROJECT_NAME := LLVM
+PROJECT_NAME := $(LLVMPackageName)
 endif
 
 PROJ_OBJ_DIR  := $(shell $(PWD))
 PROJ_OBJ_ROOT := $(shell cd $(PROJ_OBJ_DIR)/$(LEVEL); $(PWD))
 
-ifeq ($(PROJECT_NAME),LLVM)
+ifeq ($(PROJECT_NAME),llvm)
 LLVM_SRC_ROOT   := $(shell cd @abs_top_srcdir@; $(PWD))
 LLVM_OBJ_ROOT   := $(shell cd @abs_top_builddir@; $(PWD))
 PROJ_SRC_ROOT   := $(shell cd $(LLVM_SRC_ROOT); $(PWD))