diff options
Diffstat (limited to 'lib/clang/include/llvm/Config')
-rw-r--r-- | lib/clang/include/llvm/Config/config.h | 19 | ||||
-rw-r--r-- | lib/clang/include/llvm/Config/llvm-config.h | 63 |
2 files changed, 81 insertions, 1 deletions
diff --git a/lib/clang/include/llvm/Config/config.h b/lib/clang/include/llvm/Config/config.h index 6f222d5..0b2a9d4 100644 --- a/lib/clang/include/llvm/Config/config.h +++ b/lib/clang/include/llvm/Config/config.h @@ -2,6 +2,9 @@ /* include/llvm/Config/config.h. Generated from config.h.in by configure. */ /* include/llvm/Config/config.h.in. Generated from autoconf/configure.ac by autoheader. */ +#ifndef CONFIG_H +#define CONFIG_H + /* 32 bit multilib directory. */ #define CXX_INCLUDE_32BIT_DIR "" @@ -65,6 +68,9 @@ /* Define to 1 if you have the `closedir' function. */ #define HAVE_CLOSEDIR 1 +/* Define to 1 if you have the <CrashReporterClient.h> header file. */ +/* #undef HAVE_CRASHREPORTERCLIENT_H */ + /* Define to 1 if you have the <ctype.h> header file. */ #define HAVE_CTYPE_H 1 @@ -144,6 +150,9 @@ /* Define to 1 if you have the `getrusage' function. */ #define HAVE_GETRUSAGE 1 +/* Have Darwin getsect() support */ +/* #undef HAVE_GETSECT */ + /* Define to 1 if you have the `gettimeofday' function. */ #define HAVE_GETTIMEOFDAY 1 @@ -217,6 +226,9 @@ /* Define to 1 if you have the <mach-o/dyld.h> header file. */ /* #undef HAVE_MACH_O_DYLD_H */ +/* Define to 1 if you have the <mach-o/getsect.h> header file. */ +/* #undef HAVE_MACH_O_GETSECT_H */ + /* Define if mallinfo() is available on this platform. */ /* #undef HAVE_MALLINFO */ @@ -463,6 +475,9 @@ /* LLVM architecture name for the native architecture, if available */ #define LLVM_NATIVE_ARCH X86Target +/* Short LLVM architecture name for the native architecture, if available */ +#define LLVM_NATIVE_ARCHNAME X86 + /* Define if this is Unixish platform */ #define LLVM_ON_UNIX 1 @@ -494,7 +509,7 @@ /* #undef LLVM_PATH_TWOPI */ /* Installation prefix directory */ -#define LLVM_PREFIX "/usr/local" +#define LLVM_PREFIX "/usr" /* Define if the OS needs help to load dependent libraries for dlopen(). */ #define LTDL_DLOPEN_DEPLIBS 1 @@ -567,3 +582,5 @@ /* Define to `unsigned int' if <sys/types.h> does not define. */ /* #undef size_t */ + +#endif diff --git a/lib/clang/include/llvm/Config/llvm-config.h b/lib/clang/include/llvm/Config/llvm-config.h new file mode 100644 index 0000000..1e11aab --- /dev/null +++ b/lib/clang/include/llvm/Config/llvm-config.h @@ -0,0 +1,63 @@ +/* $FreeBSD$ */ +/* include/llvm/Config/llvm-config.h. Generated from llvm-config.h.in by configure. */ +/*===-- llvm/config/llvm-config.h - llvm configure variable -------*- C -*-===*/ +/* */ +/* The LLVM Compiler Infrastructure */ +/* */ +/* This file is distributed under the University of Illinois Open Source */ +/* License. See LICENSE.TXT for details. */ +/* */ +/*===----------------------------------------------------------------------===*/ + +/* This file enumerates all of the llvm variables from configure so that + they can be in exported headers and won't override package specific + directives. This is a C file so we can include it in the llvm-c headers. */ + +/* To avoid multiple inclusions of these variables when we include the exported + headers and config.h, conditionally include these. */ +/* TODO: This is a bit of a hack. */ +#ifndef CONFIG_H + +/* Build multithreading support into LLVM */ +/* #undef LLVM_MULTITHREADED */ + +/* LLVM architecture name for the native architecture, if available */ +#define LLVM_NATIVE_ARCH X86Target + +/* Short LLVM architecture name for the native architecture, if available */ +#define LLVM_NATIVE_ARCHNAME X86 + +/* Define if this is Unixish platform */ +#define LLVM_ON_UNIX 1 + +/* Define if this is Win32ish platform */ +/* #undef LLVM_ON_WIN32 */ + +/* Define to path to circo program if found or 'echo circo' otherwise */ +/* #undef LLVM_PATH_CIRCO */ + +/* Define to path to dot program if found or 'echo dot' otherwise */ +/* #undef LLVM_PATH_DOT */ + +/* Define to path to dotty program if found or 'echo dotty' otherwise */ +/* #undef LLVM_PATH_DOTTY */ + +/* Define to path to fdp program if found or 'echo fdp' otherwise */ +/* #undef LLVM_PATH_FDP */ + +/* Define to path to Graphviz program if found or 'echo Graphviz' otherwise */ +/* #undef LLVM_PATH_GRAPHVIZ */ + +/* Define to path to gv program if found or 'echo gv' otherwise */ +/* #undef LLVM_PATH_GV */ + +/* Define to path to neato program if found or 'echo neato' otherwise */ +/* #undef LLVM_PATH_NEATO */ + +/* Define to path to twopi program if found or 'echo twopi' otherwise */ +/* #undef LLVM_PATH_TWOPI */ + +/* Installation prefix directory */ +#define LLVM_PREFIX "/usr" + +#endif |