llvm.org GIT mirror llvm / 3c1e805
config.h.*: Rework r210144. Don't edit config.h.in manually. - Generate #include in configure.ac. - Resurrect the copy of llvm-config.h.cmake into config.h.cmake. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239987 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 4 years ago
3 changed file(s) with 101 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
21712171 dnl files can be updated automatically when their *.in sources change.
21722172 AC_CONFIG_HEADERS([include/llvm/Config/config.h include/llvm/Config/llvm-config.h])
21732173 AH_TOP([#ifndef CONFIG_H
2174 #define CONFIG_H])
2174 #define CONFIG_H
2175
2176 /* Exported configuration */
2177 #include "llvm/Config/llvm-config.h"])
21752178 AH_BOTTOM([#endif])
21762179
21772180 AC_CONFIG_FILES([include/llvm/Config/Targets.def])
410410 /* Have host's ___chkstk_ms */
411411 #cmakedefine HAVE____CHKSTK_MS ${HAVE____CHKSTK_MS}
412412
413 /* Linker version detected at compile time. */
414 #undef HOST_LINK_VERSION
415
416 /* Installation directory for binary executables */
417 #cmakedefine LLVM_BINDIR "${LLVM_BINDIR}"
418
419 /* Time at which LLVM was configured */
420 #cmakedefine LLVM_CONFIGTIME "${LLVM_CONFIGTIME}"
421
422 /* Installation directory for data files */
423 #cmakedefine LLVM_DATADIR "${LLVM_DATADIR}"
424
425 /* Target triple LLVM will generate code for by default */
426 #cmakedefine LLVM_DEFAULT_TARGET_TRIPLE "${LLVM_DEFAULT_TARGET_TRIPLE}"
427
428 /* Installation directory for documentation */
429 #cmakedefine LLVM_DOCSDIR "${LLVM_DOCSDIR}"
430
431 /* Define if LLVM is built with asserts and checks that change the layout of
432 client-visible data structures. */
433 #cmakedefine LLVM_ENABLE_ABI_BREAKING_CHECKS
434
435 /* Define if threads enabled */
436 #cmakedefine01 LLVM_ENABLE_THREADS
437
438 /* Define if zlib compression is available */
439 #cmakedefine01 LLVM_ENABLE_ZLIB
440
441 /* Installation directory for config files */
442 #cmakedefine LLVM_ETCDIR "${LLVM_ETCDIR}"
443
444 /* Has gcc/MSVC atomic intrinsics */
445 #cmakedefine01 LLVM_HAS_ATOMICS
446
447 /* Host triple LLVM will be executed on */
448 #cmakedefine LLVM_HOST_TRIPLE "${LLVM_HOST_TRIPLE}"
449
450 /* Installation directory for include files */
451 #cmakedefine LLVM_INCLUDEDIR "${LLVM_INCLUDEDIR}"
452
453 /* Installation directory for .info files */
454 #cmakedefine LLVM_INFODIR "${LLVM_INFODIR}"
455
456 /* Installation directory for man pages */
457 #cmakedefine LLVM_MANDIR "${LLVM_MANDIR}"
458
459 /* LLVM architecture name for the native architecture, if available */
460 #cmakedefine LLVM_NATIVE_ARCH ${LLVM_NATIVE_ARCH}
461
462 /* LLVM name for the native AsmParser init function, if available */
463 #cmakedefine LLVM_NATIVE_ASMPARSER LLVMInitialize${LLVM_NATIVE_ARCH}AsmParser
464
465 /* LLVM name for the native AsmPrinter init function, if available */
466 #cmakedefine LLVM_NATIVE_ASMPRINTER LLVMInitialize${LLVM_NATIVE_ARCH}AsmPrinter
467
468 /* LLVM name for the native Disassembler init function, if available */
469 #cmakedefine LLVM_NATIVE_DISASSEMBLER LLVMInitialize${LLVM_NATIVE_ARCH}Disassembler
470
471 /* LLVM name for the native Target init function, if available */
472 #cmakedefine LLVM_NATIVE_TARGET LLVMInitialize${LLVM_NATIVE_ARCH}Target
473
474 /* LLVM name for the native TargetInfo init function, if available */
475 #cmakedefine LLVM_NATIVE_TARGETINFO LLVMInitialize${LLVM_NATIVE_ARCH}TargetInfo
476
477 /* LLVM name for the native target MC init function, if available */
478 #cmakedefine LLVM_NATIVE_TARGETMC LLVMInitialize${LLVM_NATIVE_ARCH}TargetMC
479
480 /* Define if this is Unixish platform */
481 #cmakedefine LLVM_ON_UNIX ${LLVM_ON_UNIX}
482
483 /* Define if this is Win32ish platform */
484 #cmakedefine LLVM_ON_WIN32 ${LLVM_ON_WIN32}
485
486 /* Installation prefix directory */
487 #cmakedefine LLVM_PREFIX "${LLVM_PREFIX}"
488
489 /* Define if we have the Intel JIT API runtime support library */
490 #cmakedefine LLVM_USE_INTEL_JITEVENTS 1
491
492 /* Define if we have the oprofile JIT-support library */
493 #cmakedefine LLVM_USE_OPROFILE 1
494
495 /* Major version of the LLVM API */
496 #define LLVM_VERSION_MAJOR ${LLVM_VERSION_MAJOR}
497
498 /* Minor version of the LLVM API */
499 #define LLVM_VERSION_MINOR ${LLVM_VERSION_MINOR}
500
501 /* Patch version of the LLVM API */
502 #define LLVM_VERSION_PATCH ${LLVM_VERSION_PATCH}
503
504 /* LLVM version string */
505 #define LLVM_VERSION_STRING "${PACKAGE_VERSION}"
506
413507 /* Define if we link Polly to the tools */
414508 #cmakedefine LINK_POLLY_INTO_TOOLS
415
416 /* Define if zlib compression is available */
417 #cmakedefine01 LLVM_ENABLE_ZLIB
418509
419510 /* Define if the OS needs help to load dependent libraries for dlopen(). */
420511 #cmakedefine LTDL_DLOPEN_DEPLIBS ${LTDL_DLOPEN_DEPLIBS}
11
22 #ifndef CONFIG_H
33 #define CONFIG_H
4
5 /* Exported configuration */
6 #include "llvm/Config/llvm-config.h"
47
58 /* Bug report URL. */
69 #undef BUG_REPORT_URL