include/llvm/Config/config.h.cmake: Reorder to follow config.h.in, and import stuff from llvm-config.h.cmake and clang/config.h.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137424 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi 2011-08-12 03:27:54 +00:00
parent 8776fa44d4
commit 1221139f10

View File

@ -5,6 +5,27 @@
#ifndef CONFIG_H #ifndef CONFIG_H
#define CONFIG_H #define CONFIG_H
/* Bug report URL. */
#define BUG_REPORT_URL "${BUG_REPORT_URL}"
/* Relative directory for resource files */
#define CLANG_RESOURCE_DIR "${CLANG_RESOURCE_DIR}"
/* 32 bit multilib directory. */
#define CXX_INCLUDE_32BIT_DIR "${CXX_INCLUDE_32BIT_DIR}"
/* 64 bit multilib directory. */
#define CXX_INCLUDE_64BIT_DIR "${CXX_INCLUDE_64BIT_DIR}"
/* Arch the libstdc++ headers. */
#define CXX_INCLUDE_ARCH "${CXX_INCLUDE_ARCH}"
/* Directory with the libstdc++ headers. */
#define CXX_INCLUDE_ROOT "${CXX_INCLUDE_ROOT}"
/* Directories clang will search for headers */
#define C_INCLUDE_DIRS "${C_INCLUDE_DIRS}"
/* Define if CBE is enabled for printf %a output */ /* Define if CBE is enabled for printf %a output */
#cmakedefine ENABLE_CBE_PRINTF_A ${ENABLE_CBE_PRINTF_A} #cmakedefine ENABLE_CBE_PRINTF_A ${ENABLE_CBE_PRINTF_A}
@ -516,34 +537,34 @@
#undef HOST_LINK_VERSION #undef HOST_LINK_VERSION
/* Installation directory for binary executables */ /* Installation directory for binary executables */
#undef LLVM_BINDIR #cmakedefine LLVM_BINDIR "${LLVM_BINDIR}"
/* Time at which LLVM was configured */ /* Time at which LLVM was configured */
#undef LLVM_CONFIGTIME #cmakedefine LLVM_CONFIGTIME "${LLVM_CONFIGTIME}"
/* Installation directory for data files */
#cmakedefine LLVM_DATADIR "${LLVM_DATADIR}"
/* Installation directory for documentation */ /* Installation directory for documentation */
#undef LLVM_DATADIR #cmakedefine LLVM_DOCSDIR "${LLVM_DOCSDIR}"
/* Installation directory for documentation */
#undef LLVM_DOCSDIR
/* Installation directory for config files */ /* Installation directory for config files */
#undef LLVM_ETCDIR #cmakedefine LLVM_ETCDIR "${LLVM_ETCDIR}"
/* Host triple we were built on */ /* Host triple we were built on */
#cmakedefine LLVM_HOSTTRIPLE "${LLVM_HOSTTRIPLE}" #cmakedefine LLVM_HOSTTRIPLE "${LLVM_HOSTTRIPLE}"
/* Installation directory for include files */ /* Installation directory for include files */
#undef LLVM_INCLUDEDIR #cmakedefine LLVM_INCLUDEDIR "${LLVM_INCLUDEDIR}"
/* Installation directory for .info files */ /* Installation directory for .info files */
#undef LLVM_INFODIR #cmakedefine LLVM_INFODIR "${LLVM_INFODIR}"
/* Installation directory for libraries */ /* Installation directory for libraries */
#undef LLVM_LIBDIR #cmakedefine LLVM_LIBDIR "${LLVM_LIBDIR}"
/* Installation directory for man pages */ /* Installation directory for man pages */
#undef LLVM_MANDIR #cmakedefine LLVM_MANDIR "${LLVM_MANDIR}"
/* Build multithreading support into LLVM */ /* Build multithreading support into LLVM */
#cmakedefine LLVM_MULTITHREADED ${LLVM_MULTITHREADED} #cmakedefine LLVM_MULTITHREADED ${LLVM_MULTITHREADED}
@ -551,18 +572,21 @@
/* LLVM architecture name for the native architecture, if available */ /* LLVM architecture name for the native architecture, if available */
#cmakedefine LLVM_NATIVE_ARCH ${LLVM_NATIVE_ARCH} #cmakedefine LLVM_NATIVE_ARCH ${LLVM_NATIVE_ARCH}
/* LLVM name for the native AsmParser init function, if available */
#cmakedefine LLVM_NATIVE_ASMPARSER LLVMInitialize${LLVM_NATIVE_ARCH}AsmParser
/* LLVM name for the native AsmPrinter init function, if available */ /* LLVM name for the native AsmPrinter init function, if available */
#cmakedefine LLVM_NATIVE_ASMPRINTER LLVMInitialize${LLVM_NATIVE_ARCH}AsmPrinter #cmakedefine LLVM_NATIVE_ASMPRINTER LLVMInitialize${LLVM_NATIVE_ARCH}AsmPrinter
/* LLVM name for the native TargetMC init function, if available */
#cmakedefine LLVM_NATIVE_TARGETMC LLVMInitialize${LLVM_NATIVE_ARCH}TargetMC
/* LLVM name for the native Target init function, if available */ /* LLVM name for the native Target init function, if available */
#cmakedefine LLVM_NATIVE_TARGET LLVMInitialize${LLVM_NATIVE_ARCH}Target #cmakedefine LLVM_NATIVE_TARGET LLVMInitialize${LLVM_NATIVE_ARCH}Target
/* LLVM name for the native TargetInfo init function, if available */ /* LLVM name for the native TargetInfo init function, if available */
#cmakedefine LLVM_NATIVE_TARGETINFO LLVMInitialize${LLVM_NATIVE_ARCH}TargetInfo #cmakedefine LLVM_NATIVE_TARGETINFO LLVMInitialize${LLVM_NATIVE_ARCH}TargetInfo
/* LLVM name for the native target MC init function, if available */
#cmakedefine LLVM_NATIVE_TARGETMC LLVMInitialize${LLVM_NATIVE_ARCH}TargetMC
/* Define if this is Unixish platform */ /* Define if this is Unixish platform */
#cmakedefine LLVM_ON_UNIX ${LLVM_ON_UNIX} #cmakedefine LLVM_ON_UNIX ${LLVM_ON_UNIX}
@ -582,7 +606,7 @@
#cmakedefine LLVM_PATH_FDP "${LLVM_PATH_FDP}" #cmakedefine LLVM_PATH_FDP "${LLVM_PATH_FDP}"
/* Define to path to Graphviz program if found or 'echo Graphviz' otherwise */ /* Define to path to Graphviz program if found or 'echo Graphviz' otherwise */
#undef LLVM_PATH_GRAPHVIZ #cmakedefine LLVM_PATH_GRAPHVIZ "${LLVM_PATH_GRAPHVIZ}"
/* Define to path to gv program if found or 'echo gv' otherwise */ /* Define to path to gv program if found or 'echo gv' otherwise */
#cmakedefine LLVM_PATH_GV "${LLVM_PATH_GV}" #cmakedefine LLVM_PATH_GV "${LLVM_PATH_GV}"