Make the name of the project consistent with that specified in the
authorReid Spencer <rspencer@reidspencer.com>
Mon, 7 Aug 2006 23:23:39 +0000 (23:23 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Mon, 7 Aug 2006 23:23:39 +0000 (23:23 +0000)
configure.ac file. This fixes some case-consistency issues between the name
of the tarball created by "make dist" and the tarball used for source when
building the LLVM RPM package.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29554 91177308-0d34-0410-b5e6-96231b3b80d8

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