llvm.org GIT mirror llvm / 7fe0e03
capitalize project name, reference bugzilla And fix the double-[]. It was including the [] as part of the project name somehow, resulting in PACKAGE_TARNAME "-llvm-" and a strange docdir default: ./configure --help | grep docdir --docdir=DIR documentation root [DATAROOTDIR/doc/-llvm-] git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146849 91177308-0d34-0410-b5e6-96231b3b80d8 Dylan Noblesmith 7 years ago
3 changed file(s) with 6 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
2222 add_version_info_from_vcs(PACKAGE_VERSION)
2323 endif()
2424
25 set(PACKAGE_NAME llvm)
25 set(PACKAGE_NAME LLVM)
2626 set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}")
27 set(PACKAGE_BUGREPORT "llvmbugs@cs.uiuc.edu")
27 set(PACKAGE_BUGREPORT "http://llvm.org/bugs/")
2828
2929 # Sanity check our source directory to make sure that we are not trying to
3030 # generate an in-tree build (unless on MSVC_IDE, where it is ok), and to make
1212 #===------------------------------------------------------------------------===#
1313
1414 # Define LLVM specific info and directories based on the autoconf variables
15 LLVMPackageName := @PACKAGE_NAME@
15 LLVMPackageName := @PACKAGE_TARNAME@
1616 LLVMVersion := @PACKAGE_VERSION@
1717 LLVM_CONFIGTIME := @LLVM_CONFIGTIME@
1818
4747
4848 CLANG_SRC_ROOT := @CLANG_SRC_ROOT@
4949
50 ifeq ($(PROJECT_NAME),llvm)
50 ifeq ($(PROJECT_NAME),$(LLVMPackageName))
5151 LLVM_SRC_ROOT := $(call realpath, @abs_top_srcdir@)
5252 LLVM_OBJ_ROOT := $(call realpath, @abs_top_builddir@)
5353 PROJ_SRC_ROOT := $(LLVM_SRC_ROOT)
2929 dnl===
3030 dnl===-----------------------------------------------------------------------===
3131 dnl Initialize autoconf and define the package name, version number and
32 dnl email address for reporting bugs.
33 AC_INIT([[llvm]],[[3.1svn]],[llvmbugs@cs.uiuc.edu])
32 dnl address for reporting bugs.
33 AC_INIT([LLVM],[3.1svn],[http://llvm.org/bugs/])
3434
3535 dnl Provide a copyright substitution and ensure the copyright notice is included
3636 dnl in the output of --version option of the generated configure script.