Revert "Step 2: base tools: lang/clang"

This reverts commit f5c35536fcd8604dc467e186c285aa5ab12631c7.
This commit is contained in:
2016-11-29 23:20:11 +01:00
parent 5a7198b193
commit 03b9ac2254
7 changed files with 249 additions and 1945 deletions

View File

@@ -1,130 +1,17 @@
# $NetBSD: Makefile,v 1.26 2014/02/27 17:35:35 adam Exp $
# $NetBSD: Makefile,v 1.43 2016/03/10 15:01:52 tnn Exp $
DISTNAME= clang-3.4
PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_MINIX}
DISTFILES= llvm-${PKGVERSION_NOREV}.minix.src.tar.gz \
libcxx-${PKGVERSION_NOREV}.minix.src.tar.gz \
clang-${PKGVERSION_NOREV}.minix.src.tar.gz
PKGNAME= ${DISTNAME:S/.src//:S/cfe/clang/}
PYTHON_FOR_BUILD_ONLY= yes
MAINTAINER= ben@minix3.org
HOMEPAGE= http://llvm.org/
COMMENT= Low Level Virtual Machine compiler infrastructure
LICENSE= modified-bsd
CMAKE_ARGS+= -DCLANG_ENABLE_STATIC_ANALYZER=OFF
WRKSRC= ${WRKDIR}/llvm-${PKGVERSION_NOREV}
# There are some contrib utilities written in python here.
# We don't want to add a python runtime dependency for that.
CHECK_INTERPRETER_SKIP+= share/clang/*
USE_LANGUAGES= c c++
USE_TOOLS+= chown gmake groff pod2html pod2man
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-assertions
CONFIGURE_ARGS+= --disable-bindings # disable OCaml
CONFIGURE_ARGS+= --disable-timestamps
CONFIGURE_ARGS+= --enable-optimized
#CONFIGURE_ARGS+= --enable-shared
.PHONY: install-clang-cpp
post-install: install-clang-cpp
install-clang-cpp:
${LN} -s clang ${DESTDIR}${PREFIX}/bin/clang-cpp
MAKE_DIRS+= etc/llvm
INSTALLATION_DIRS= bin lib libexec
CHECK_PORTABILITY_SKIP= utils/buildit/build_llvm
TEST_TARGET= check unittests
.include "../../mk/bsd.prefs.mk"
.if ${_OPSYS_SHLIB_TYPE} == "dylib"
PLIST_SUBST+= SOEXT="dylib"
.else
PLIST_SUBST+= SOEXT="so"
.endif
.include "../../mk/compiler.mk"
.if ${OPSYS} == "SunOS" && !empty(PKGSRC_COMPILER:Mgcc)
# This should probably be in hacks, but since clang hardcodes gcc paths
# put this here so it can be removed when clang matures.
# cxa_finalize.o is no longer necessary with libc.so >= ILLUMOS_0.5
TEST_ILLUMOS_3849!=\
if /usr/bin/elfdump -v /lib/libc.so |\
${GREP} -q 'ILLUMOS_0.5' ; then \
${ECHO} 1; \
else ${ECHO} 0; \
fi
#doesn't seem to be needed anymore, but may be dependent on
#a recent version of solaris (illumos) ld.
#
#CFLAGS.SunOS+= -mimpure-text
SUBST_CLASSES+= fix-paths
SUBST_STAGE.fix-paths= pre-configure
SUBST_MESSAGE.fix-paths= Fixing absolute gcc paths for SunOS.
SUBST_FILES.fix-paths= tools/clang/lib/Driver/Tools.cpp
. if defined(_GCC_ARCHDIR)
SUBST_SED.fix-paths= -e 's,/usr/gcc/4.5/lib/gcc/,${_GCC_ARCHDIR}/,g'
. else
LIBGCCDIR!= ${CC} -print-libgcc-file-name
ARCHDIR:= ${LIBGCCDIR:H}
SUBST_SED.fix-paths= -e 's,/usr/gcc/4.5/lib/gcc/,${ARCHDIR}/,g'
. endif
SUBST_SED.fix-paths+= -e '/^.*i386.*getVendorName.*$$/{d;}'
SUBST_SED.fix-paths+= -e '/^.*GCCLibPath +=$$/d'
SUBST_SED.fix-paths+= -e 's,/4.5.2/amd64/,amd64/,g'
SUBST_SED.fix-paths+= -e 's,"as","gas",g'
. if exists(/usr/bin/ld)
SUBST_SED.fix-paths+= -e 's,getToolChain().GetProgramPath("ld"),"/usr/bin/ld",g'
. else
SUBST_SED.fix-paths+= -e 's,getToolChain().GetProgramPath("ld"),"/usr/ccs/bin/ld",g'
. endif
. if ${TEST_ILLUMOS_3849}
SUBST_SED.fix-paths+= -e 's,^.*cxa_finalize.*$$, ; //cxa_finalize.o,g'
. endif
.endif
post-extract:
mv ${WRKDIR}/libcxx-${PKGVERSION_NOREV} ${WRKSRC}/projects/libcxx
mv ${WRKDIR}/clang-${PKGVERSION_NOREV} ${WRKSRC}/tools/clang
.if ${OPSYS} == "SunOS"
${ECHO} "int sun_ld_needs_a_symbol=0;" >> ${WRKSRC}/lib/Target/NVPTX/InstPrinter/NVPTXInstPrinter.cpp
.endif
.if ${OPSYS} == "NetBSD" && ${OS_VARIANT} == "Minix"
. if ${PKGSRC_COMPILER} == "clang"
# Can't build libc++ with GCC45
# Seems it is not installed, so for now just skip it, and go with the defaults.
#CONFIGURE_ARGS+= --enable-libcpp
. endif
CONFIGURE_ARGS+= --disable-threads
CONFIGURE_ARGS+= --with-binutils-include=${LOCALBASE}/include/
CONFIGURE_ENV+= ac_cv_func_getrusage=no ac_cv_func_setrlimit=no
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/tools/clang/tools/scan-build/* ${DESTDIR}${PREFIX}/bin/
${INSTALL_SCRIPT} ${WRKSRC}/tools/clang/tools/scan-build/ccc-analyzer \
${WRKSRC}/tools/clang/tools/scan-build/c++-analyzer \
${WRKSRC}/tools/clang/tools/scan-build/scan-build \
${WRKSRC}/tools/clang/tools/scan-view/scan-view \
${DESTDIR}${PREFIX}/bin
${MKDIR} ${DESTDIR}${PYSITELIB}
${MKDIR} ${DESTDIR}${PYSITELIB}/Resources
${INSTALL_SCRIPT} ${WRKSRC}/tools/clang/tools/scan-view/*.py \
${DESTDIR}${PYSITELIB}
${INSTALL_SCRIPT} ${WRKSRC}/tools/clang/tools/scan-view/Resources/* \
${DESTDIR}${PYSITELIB}/Resources
${MKDIR} ${DESTDIR}${PREFIX}/share
${INSTALL_DATA} ${WRKSRC}/tools/clang/tools/scan-build/scanview.css ${DESTDIR}${PREFIX}/share
${INSTALL_DATA} ${WRKSRC}/tools/clang/tools/scan-build/sorttable.js ${DESTDIR}${PREFIX}/share
. if ${PKGSRC_COMPILER} == "gcc"
# When the package is compiled using GCC we depend on libstdc++
# Requires changes in the package to symlink libstdc++.so* in /usr/pkg/lib
#.include "../../lang/gcc45/buildlink3.mk"
. endif
.include "../../devel/binutils/buildlink3.mk"
.endif # ${OPSYS} == "NetBSD" && ${OS_VARIANT} == "Minix"
.include "../../lang/python/tool.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
.include "../../lang/clang/Makefile.common"

124
lang/clang/Makefile.common Normal file
View File

@@ -0,0 +1,124 @@
# $NetBSD: Makefile.common,v 1.14 2016/07/26 12:43:51 wiz Exp $
# used by lang/clang/Makefile
# used by lang/clang-static-analyzer/Makefile
DISTNAME= cfe-3.8.1.src
CATEGORIES= lang devel
MASTER_SITES= http://llvm.org/releases/${PKGVERSION_NOREV}/
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://clang.llvm.org/
COMMENT= C language family frontend for LLVM
LICENSE= modified-bsd
DISTINFO_FILE= ${.CURDIR}/../../lang/clang/distinfo
PATCHDIR= ${.CURDIR}/../../lang/clang/patches
CONFIGURE_DIRS= ${WRKDIR}/build
CMAKE_ARG_PATH= ${WRKSRC}
USE_LANGUAGES= c c++
USE_CMAKE= yes
GCC_REQD+= 4.8
CMAKE_ARGS+= -DLLVM_CONFIG=${LLVM_CONFIG_PATH}
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
CMAKE_ARGS+= -DCMAKE_C_COMPILER=gcc
CMAKE_ARGS+= -DCMAKE_CXX_COMPILER=g++
# XXX can't disable static-analyzer without also disabling ARCMT
CMAKE_ARGS+= -DCLANG_ENABLE_ARCMT=OFF
REPLACE_PERL+= test/make_test_dirs.pl
REPLACE_PERL+= tools/scan-build/bin/scan-build
REPLACE_PERL+= tools/scan-build/libexec/c++-analyzer
REPLACE_PERL+= tools/scan-build/libexec/ccc-analyzer
REPLACE_PERL+= utils/TestUtils/pch-test.pl
REPLACE_PERL+= utils/analyzer/reducer.pl
REPLACE_PERL+= utils/analyzer/update_plist_test.pl
REPLACE_PERL+= www/demo/index.cgi
REPLACE_PYTHON+= bindings/python/examples/cindex/cindex-dump.py
REPLACE_PYTHON+= bindings/python/examples/cindex/cindex-includes.py
REPLACE_PYTHON+= docs/tools/dump_ast_matchers.py
REPLACE_PYTHON+= docs/tools/dump_format_style.py
REPLACE_PYTHON+= tools/clang-format/clang-format-diff.py
REPLACE_PYTHON+= tools/clang-format/git-clang-format
REPLACE_PYTHON+= tools/scan-build/bin/set-xcode-analyzer
REPLACE_PYTHON+= tools/scan-view/bin/scan-view
REPLACE_PYTHON+= utils/ABITest/ABITestGen.py
REPLACE_PYTHON+= utils/CIndex/completion_logger_server.py
REPLACE_PYTHON+= utils/CaptureCmd
REPLACE_PYTHON+= utils/CmpDriver
REPLACE_PYTHON+= utils/FindSpecRefs
REPLACE_PYTHON+= utils/FuzzTest
REPLACE_PYTHON+= utils/TestUtils/deep-stack.py
REPLACE_PYTHON+= utils/analyzer/CmpRuns.py
REPLACE_PYTHON+= utils/analyzer/SATestAdd.py
REPLACE_PYTHON+= utils/analyzer/SATestBuild.py
REPLACE_PYTHON+= utils/analyzer/SumTimerInfo.py
REPLACE_PYTHON+= utils/analyzer/ubiviz
REPLACE_PYTHON+= utils/check_cfc/check_cfc.py
REPLACE_PYTHON+= utils/check_cfc/obj_diff.py
REPLACE_PYTHON+= utils/check_cfc/test_check_cfc.py
REPLACE_PYTHON+= utils/token-delta.py
REPLACE_PYTHON+= www/builtins.py
.include "../../mk/compiler.mk"
.if ${OPSYS} == "NetBSD" && !empty(PKGSRC_COMPILER:Mclang)
# command to check if clang is using libc++ or libstdc++
LIBCPP_CHECK_SH= printf "\#include <ciso646>\n\#ifdef _LIBCPP_VERSION\nYES\n\#endif" | ${CLANGBASE}/bin/clang++ -x c++ -E - 2>&1 | grep YES || true
.else
LIBCPP_CHECK_SH= echo NO
.endif
# patch NetBSD::GetCXXStdlibType
.if ${OPSYS} == "NetBSD" && empty(LIBCPP_CHECK_SH:sh:MYES)
SUBST_CLASSES+= libcxx
SUBST_STAGE.libcxx= pre-configure
SUBST_MESSAGE.libcxx= Patching toolchain to use libstdc++ (matching the host compiler)
SUBST_FILES.libcxx= lib/Driver/ToolChains.cpp
SUBST_FILES.libcxx+= lib/Driver/Tools.cpp
SUBST_SED.libcxx= -e 's,(Major >= 7 || (Major == 6 && Minor == 99 && Micro >= 49) || Major == 0),(false),'
CMAKE_ARGS+= -DCLANG_DEFAULT_CXX_STDLIB:STRING="libstdc++"
.endif
# 3.8.0 -> 3.8
LLVM_MAJOR= ${PKGVERSION_NOREV:C/^([0-9]+\.[0-9]+)\..*$/\1/}
PLIST_SUBST+= LLVM_MAJOR=${LLVM_MAJOR}
PLIST_VARS+= notdylib
.if ${_OPSYS_SHLIB_TYPE} == "dylib"
SOEXT= dylib
.else
SOEXT= so
PLIST.notdylib= yes
.endif
PLIST_SUBST+= SOEXT=${SOEXT}
PKG_OPTIONS_VAR= PKG_OPTIONS.clang
PKG_SUPPORTED_OPTIONS= tests
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mtests)
CMAKE_ARGS+= -DLLVM_INCLUDE_TESTS=ON
CMAKE_ARGS+= -DCLANG_INCLUDE_TESTS=ON
TEST_TARGET= clang-test
TEST_ENV+= LD_LIBRARY_PATH=${WRKDIR}/build/lib
.include "../../devel/googletest/buildlink3.mk"
.else
CMAKE_ARGS+= -DLLVM_INCLUDE_TESTS=OFF
CMAKE_ARGS+= -DCLANG_INCLUDE_TESTS=OFF
.endif
post-extract:
${RUN} mkdir -p ${WRKDIR}/build
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../lang/python/tool.mk"
DEPENDS+= llvm-${PKGVERSION_NOREV}{,nb*}:../../lang/llvm
.include "../../lang/llvm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

File diff suppressed because it is too large Load Diff

View File

@@ -1,13 +1,16 @@
# $NetBSD: buildlink3.mk,v 1.1 2010/02/13 16:13:52 tnn Exp $
# $NetBSD: buildlink3.mk,v 1.4 2016/03/10 15:01:52 tnn Exp $
BUILDLINK_TREE+= clang
.if !defined(CLANG_BUILDLINK3_MK)
CLANG_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.clang+= clang>=2.6nb2
BUILDLINK_API_DEPENDS.clang+= clang>=3.8.0
BUILDLINK_PKGSRCDIR.clang?= ../../lang/clang
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../lang/llvm/buildlink3.mk"
.endif # CLANG_BUILDLINK3_MK
BUILDLINK_TREE+= -clang

View File

@@ -1,12 +1,7 @@
$NetBSD$
$NetBSD: distinfo,v 1.42 2016/07/26 12:43:51 wiz Exp $
SHA1 (clang-3.4.minix.src.tar.gz) = 2699f8c9c14df34cccdca39bd59e529a0936ba9a
RMD160 (clang-3.4.minix.src.tar.gz) = bf583a5162e6d180710f7488c10afc8f19cf6798
Size (clang-3.4.minix.src.tar.gz) = 10504447 bytes
SHA1 (libcxx-3.4.minix.src.tar.gz) = 2faa2707aa7cdba79fe2b96482a0bb2c4b931e13
RMD160 (libcxx-3.4.minix.src.tar.gz) = 6b0aac1ad775af71c2d13c4cc558e4bd2cd9bcae
Size (libcxx-3.4.minix.src.tar.gz) = 1376365 bytes
SHA1 (llvm-3.4.minix.src.tar.gz) = f52c8a7ea7ee531118499631e88ef552b5ea0a24
RMD160 (llvm-3.4.minix.src.tar.gz) = 48768a541e4e3bdd10215c4360272db39d1bf7c1
Size (llvm-3.4.minix.src.tar.gz) = 15750428 bytes
SHA1 (patch-include_llvm_Config_config.h.in) = c963d3b44a8e1fcdaf49d5a5c3cceb4fa4133a0a
SHA1 (cfe-3.8.1.src.tar.xz) = b5ff24dc6ad8f84654f4859389990bace1cfb6d5
RMD160 (cfe-3.8.1.src.tar.xz) = a280504a3ba3aa59274120305f68fc8f8b3aca9c
SHA512 (cfe-3.8.1.src.tar.xz) = 72d23a410271b50f97371b13dd7a6c6c5c0a993e35df436ab716ece8521d83406aa3d4bf8fdecd8154139f39fd5e011e480d405225d8c3ff152d0a2ac4573e04
Size (cfe-3.8.1.src.tar.xz) = 9605548 bytes
SHA1 (patch-tools_clang-format_CMakeLists.txt) = a1052c71728467625a40234719580cb34688a568

View File

@@ -1,966 +0,0 @@
$NetBSD$
--- include/llvm/Config/config.h.in.orig Mon Jun 30 13:14:38 2014
+++ include/llvm/Config/config.h.in
@@ -1,727 +1,712 @@
+/* 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
-/* Define if building universal (internal helper macro) */
-#undef AC_APPLE_UNIVERSAL_BUILD
-
/* Bug report URL. */
-#undef BUG_REPORT_URL
+#define BUG_REPORT_URL "http://llvm.org/bugs/"
/* Define if we have libxml2 */
-#undef CLANG_HAVE_LIBXML
+/* #undef CLANG_HAVE_LIBXML */
/* Relative directory for resource files */
-#undef CLANG_RESOURCE_DIR
+#define CLANG_RESOURCE_DIR ""
/* Directories clang will search for headers */
-#undef C_INCLUDE_DIRS
+#define C_INCLUDE_DIRS "/usr/include/clang-3.4:/usr/include"
/* Default <path> to all compiler invocations for --sysroot=<path>. */
-#undef DEFAULT_SYSROOT
+#define DEFAULT_SYSROOT ""
/* Define if you want backtraces on crash */
-#undef ENABLE_BACKTRACES
+#define ENABLE_BACKTRACES 1
/* Define to enable crash handling overrides */
-#undef ENABLE_CRASH_OVERRIDES
+#define ENABLE_CRASH_OVERRIDES 1
/* Define if position independent code is enabled */
-#undef ENABLE_PIC
+#define ENABLE_PIC 1
/* Define if timestamp information (e.g., __DATE__) is allowed */
-#undef ENABLE_TIMESTAMPS
+#define ENABLE_TIMESTAMPS 0
/* Directory where gcc is installed. */
-#undef GCC_INSTALL_PREFIX
+#define GCC_INSTALL_PREFIX ""
/* Define to 1 if you have the `arc4random' function. */
-#undef HAVE_ARC4RANDOM
+#define HAVE_ARC4RANDOM 1
/* Define to 1 if you have the `argz_append' function. */
-#undef HAVE_ARGZ_APPEND
+/* #undef HAVE_ARGZ_APPEND */
/* Define to 1 if you have the `argz_create_sep' function. */
-#undef HAVE_ARGZ_CREATE_SEP
+/* #undef HAVE_ARGZ_CREATE_SEP */
/* Define to 1 if you have the <argz.h> header file. */
-#undef HAVE_ARGZ_H
+/* #undef HAVE_ARGZ_H */
/* Define to 1 if you have the `argz_insert' function. */
-#undef HAVE_ARGZ_INSERT
+/* #undef HAVE_ARGZ_INSERT */
/* Define to 1 if you have the `argz_next' function. */
-#undef HAVE_ARGZ_NEXT
+/* #undef HAVE_ARGZ_NEXT */
/* Define to 1 if you have the `argz_stringify' function. */
-#undef HAVE_ARGZ_STRINGIFY
+/* #undef HAVE_ARGZ_STRINGIFY */
/* Define to 1 if you have the `backtrace' function. */
-#undef HAVE_BACKTRACE
+/* #undef HAVE_BACKTRACE */
/* Define to 1 if you have the `ceilf' function. */
-#undef HAVE_CEILF
+#define HAVE_CEILF 1
/* Define if the neat program is available */
-#undef HAVE_CIRCO
+/* #undef HAVE_CIRCO */
/* Define to 1 if you have the `closedir' function. */
-#undef HAVE_CLOSEDIR
+#define HAVE_CLOSEDIR 1
/* Define to 1 if you have the <CrashReporterClient.h> header file. */
-#undef HAVE_CRASHREPORTERCLIENT_H
+/* #undef HAVE_CRASHREPORTERCLIENT_H */
/* can use __crashreporter_info__ */
-#undef HAVE_CRASHREPORTER_INFO
+#define HAVE_CRASHREPORTER_INFO 0
/* Define to 1 if you have the <cxxabi.h> header file. */
-#undef HAVE_CXXABI_H
+#define HAVE_CXXABI_H 1
/* Define to 1 if you have the declaration of `FE_ALL_EXCEPT', and to 0 if you
don't. */
-#undef HAVE_DECL_FE_ALL_EXCEPT
+#define HAVE_DECL_FE_ALL_EXCEPT 1
/* Define to 1 if you have the declaration of `FE_INEXACT', and to 0 if you
don't. */
-#undef HAVE_DECL_FE_INEXACT
+#define HAVE_DECL_FE_INEXACT 1
/* Define to 1 if you have the declaration of `strerror_s', and to 0 if you
don't. */
-#undef HAVE_DECL_STRERROR_S
+#define HAVE_DECL_STRERROR_S 0
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
*/
-#undef HAVE_DIRENT_H
+#define HAVE_DIRENT_H 1
/* Define if you have the GNU dld library. */
-#undef HAVE_DLD
+/* #undef HAVE_DLD */
/* Define to 1 if you have the `dlerror' function. */
-#undef HAVE_DLERROR
+#define HAVE_DLERROR 1
/* Define to 1 if you have the <dlfcn.h> header file. */
-#undef HAVE_DLFCN_H
+#define HAVE_DLFCN_H 1
/* Define if dlopen() is available on this platform. */
-#undef HAVE_DLOPEN
+#define HAVE_DLOPEN 1
/* Define if the dot program is available */
-#undef HAVE_DOT
+/* #undef HAVE_DOT */
/* Define if the dotty program is available */
-#undef HAVE_DOTTY
+/* #undef HAVE_DOTTY */
/* Define if you have the _dyld_func_lookup function. */
-#undef HAVE_DYLD
+/* #undef HAVE_DYLD */
/* Define to 1 if you have the <errno.h> header file. */
-#undef HAVE_ERRNO_H
+#define HAVE_ERRNO_H 1
/* Define to 1 if the system has the type `error_t'. */
-#undef HAVE_ERROR_T
+/* #undef HAVE_ERROR_T */
/* Define to 1 if you have the <execinfo.h> header file. */
-#undef HAVE_EXECINFO_H
+#define HAVE_EXECINFO_H 1
/* Define to 1 if you have the `exp' function. */
-#undef HAVE_EXP
+#define HAVE_EXP 1
/* Define to 1 if you have the `exp2' function. */
-#undef HAVE_EXP2
+#define HAVE_EXP2 1
/* Define to 1 if you have the <fcntl.h> header file. */
-#undef HAVE_FCNTL_H
+#define HAVE_FCNTL_H 1
/* Define if the neat program is available */
-#undef HAVE_FDP
+/* #undef HAVE_FDP */
/* Define to 1 if you have the <fenv.h> header file. */
-#undef HAVE_FENV_H
+ #ifndef __ppc__
+#define HAVE_FENV_H 1
+ #endif
/* Define if libffi is available on this platform. */
-#undef HAVE_FFI_CALL
+/* #undef HAVE_FFI_CALL */
/* Define to 1 if you have the <ffi/ffi.h> header file. */
-#undef HAVE_FFI_FFI_H
+/* #undef HAVE_FFI_FFI_H */
/* Define to 1 if you have the <ffi.h> header file. */
-#undef HAVE_FFI_H
+/* #undef HAVE_FFI_H */
/* Set to 1 if the finite function is found in <ieeefp.h> */
-#undef HAVE_FINITE_IN_IEEEFP_H
+/* #undef HAVE_FINITE_IN_IEEEFP_H */
/* Define to 1 if you have the `floorf' function. */
-#undef HAVE_FLOORF
+#define HAVE_FLOORF 1
/* Define to 1 if you have the `fmodf' function. */
-#undef HAVE_FMODF
+#define HAVE_FMODF 1
/* Define to 1 if you have the `futimens' function. */
-#undef HAVE_FUTIMENS
+#define HAVE_FUTIMENS 1
/* Define to 1 if you have the `futimes' function. */
-#undef HAVE_FUTIMES
+#define HAVE_FUTIMES 1
/* Define to 1 if you have the `getcwd' function. */
-#undef HAVE_GETCWD
+#define HAVE_GETCWD 1
/* Define to 1 if you have the `getpagesize' function. */
-#undef HAVE_GETPAGESIZE
+#define HAVE_GETPAGESIZE 1
/* Define to 1 if you have the `getrlimit' function. */
-#undef HAVE_GETRLIMIT
+#define HAVE_GETRLIMIT 1
/* Define to 1 if you have the `getrusage' function. */
-#undef HAVE_GETRUSAGE
+#define HAVE_GETRUSAGE 1
/* Define to 1 if you have the `gettimeofday' function. */
-#undef HAVE_GETTIMEOFDAY
+#define HAVE_GETTIMEOFDAY 1
/* Define if the Graphviz program is available */
-#undef HAVE_GRAPHVIZ
+/* #undef HAVE_GRAPHVIZ */
/* Define if the gv program is available */
-#undef HAVE_GV
+/* #undef HAVE_GV */
/* Define to 1 if the system has the type `int64_t'. */
-#undef HAVE_INT64_T
+#define HAVE_INT64_T 1
/* Define to 1 if you have the <inttypes.h> header file. */
-#undef HAVE_INTTYPES_H
+#define HAVE_INTTYPES_H 1
/* Define to 1 if you have the `isatty' function. */
-#undef HAVE_ISATTY
+#define HAVE_ISATTY 1
/* Set to 1 if the isinf function is found in <cmath> */
-#undef HAVE_ISINF_IN_CMATH
+#define HAVE_ISINF_IN_CMATH 1
/* Set to 1 if the isinf function is found in <math.h> */
-#undef HAVE_ISINF_IN_MATH_H
+#define HAVE_ISINF_IN_MATH_H 1
/* Set to 1 if the isnan function is found in <cmath> */
-#undef HAVE_ISNAN_IN_CMATH
+#define HAVE_ISNAN_IN_CMATH 1
/* Set to 1 if the isnan function is found in <math.h> */
-#undef HAVE_ISNAN_IN_MATH_H
+#define HAVE_ISNAN_IN_MATH_H 1
/* Define if you have the libdl library or equivalent. */
-#undef HAVE_LIBDL
+#define HAVE_LIBDL 1
/* Define to 1 if you have the `imagehlp' library (-limagehlp). */
-#undef HAVE_LIBIMAGEHLP
+/* #undef HAVE_LIBIMAGEHLP */
/* Define to 1 if you have the `m' library (-lm). */
-#undef HAVE_LIBM
+#define HAVE_LIBM 1
/* Define to 1 if you have the `psapi' library (-lpsapi). */
-#undef HAVE_LIBPSAPI
+/* #undef HAVE_LIBPSAPI */
/* Define to 1 if you have the `pthread' library (-lpthread). */
-#undef HAVE_LIBPTHREAD
+/* MINIX: #define HAVE_LIBPTHREAD 1 */
/* Define to 1 if you have the `shell32' library (-lshell32). */
-#undef HAVE_LIBSHELL32
+/* #undef HAVE_LIBSHELL32 */
/* Define to 1 if you have the `udis86' library (-ludis86). */
-#undef HAVE_LIBUDIS86
+/* #undef HAVE_LIBUDIS86 */
/* Define to 1 if you have the `z' library (-lz). */
-#undef HAVE_LIBZ
+#define HAVE_LIBZ 1
/* Define if you can use -rdynamic. */
-#undef HAVE_LINK_EXPORT_DYNAMIC
+#define HAVE_LINK_EXPORT_DYNAMIC 1
/* Define to 1 if you have the <link.h> header file. */
-#undef HAVE_LINK_H
+#define HAVE_LINK_H 1
/* Define if you can use -Wl,-R. to pass -R. to the linker, in order to add
the current directory to the dynamic linker search path. */
-#undef HAVE_LINK_R
+#define HAVE_LINK_R 1
/* Define to 1 if you have the `log' function. */
-#undef HAVE_LOG
+#define HAVE_LOG 1
/* Define to 1 if you have the `log10' function. */
-#undef HAVE_LOG10
+#define HAVE_LOG10 1
/* Define to 1 if you have the `log2' function. */
-#undef HAVE_LOG2
+#define HAVE_LOG2 1
/* Define to 1 if you have the `longjmp' function. */
-#undef HAVE_LONGJMP
+/* #undef HAVE_LONGJMP */
/* Define to 1 if you have the <mach/mach.h> header file. */
-#undef HAVE_MACH_MACH_H
+/* #undef HAVE_MACH_MACH_H */
/* Define to 1 if you have the <mach-o/dyld.h> header file. */
-#undef HAVE_MACH_O_DYLD_H
+/* #undef HAVE_MACH_O_DYLD_H */
/* Define if mallinfo() is available on this platform. */
-#undef HAVE_MALLINFO
+/* #undef HAVE_MALLINFO */
/* Define to 1 if you have the <malloc.h> header file. */
-#undef HAVE_MALLOC_H
+#define HAVE_MALLOC_H 1
/* Define to 1 if you have the <malloc/malloc.h> header file. */
-#undef HAVE_MALLOC_MALLOC_H
+/* #undef HAVE_MALLOC_MALLOC_H */
/* Define to 1 if you have the `malloc_zone_statistics' function. */
-#undef HAVE_MALLOC_ZONE_STATISTICS
+/* #undef HAVE_MALLOC_ZONE_STATISTICS */
/* Define to 1 if you have the <memory.h> header file. */
-#undef HAVE_MEMORY_H
+#define HAVE_MEMORY_H 1
/* Define to 1 if you have the `mkdtemp' function. */
-#undef HAVE_MKDTEMP
+#define HAVE_MKDTEMP 1
/* Define to 1 if you have the `mkstemp' function. */
-#undef HAVE_MKSTEMP
+#define HAVE_MKSTEMP 1
/* Define to 1 if you have the `mktemp' function. */
-#undef HAVE_MKTEMP
+#define HAVE_MKTEMP 1
/* Define to 1 if you have a working `mmap' system call. */
-#undef HAVE_MMAP
+#define HAVE_MMAP 1
/* Define if mmap() uses MAP_ANONYMOUS to map anonymous pages, or undefine if
it uses MAP_ANON */
-#undef HAVE_MMAP_ANONYMOUS
+/* #undef HAVE_MMAP_ANONYMOUS */
/* Define if mmap() can map files into memory */
-#undef HAVE_MMAP_FILE
+#define HAVE_MMAP_FILE 1
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
-#undef HAVE_NDIR_H
+/* #undef HAVE_NDIR_H */
/* Define to 1 if you have the `nearbyintf' function. */
-#undef HAVE_NEARBYINTF
+#define HAVE_NEARBYINTF 1
/* Define if the neat program is available */
-#undef HAVE_NEATO
+/* #undef HAVE_NEATO */
/* Define to 1 if you have the `opendir' function. */
-#undef HAVE_OPENDIR
+#define HAVE_OPENDIR 1
/* Define to 1 if you have the `posix_spawn' function. */
-#undef HAVE_POSIX_SPAWN
+/* MINIX: #define HAVE_POSIX_SPAWN 1 */
/* Define to 1 if you have the `powf' function. */
-#undef HAVE_POWF
+#define HAVE_POWF 1
/* Define to 1 if you have the `pread' function. */
-#undef HAVE_PREAD
+#define HAVE_PREAD 1
/* Define if libtool can extract symbol lists from object files. */
-#undef HAVE_PRELOADED_SYMBOLS
+#define HAVE_PRELOADED_SYMBOLS 1
/* Define to have the %a format string */
-#undef HAVE_PRINTF_A
+#define HAVE_PRINTF_A 1
/* Have pthread_getspecific */
-#undef HAVE_PTHREAD_GETSPECIFIC
+/* MINIX: #define HAVE_PTHREAD_GETSPECIFIC 1 */
/* Define to 1 if you have the <pthread.h> header file. */
-#undef HAVE_PTHREAD_H
+/* MINIX: #define HAVE_PTHREAD_H 1 */
/* Have pthread_mutex_lock */
-#undef HAVE_PTHREAD_MUTEX_LOCK
+/* MINIX: #define HAVE_PTHREAD_MUTEX_LOCK 1 */
/* Have pthread_rwlock_init */
-#undef HAVE_PTHREAD_RWLOCK_INIT
+/* MINIX: #define HAVE_PTHREAD_RWLOCK_INIT 1 */
/* Define to 1 if srand48/lrand48/drand48 exist in <stdlib.h> */
-#undef HAVE_RAND48
+#define HAVE_RAND48 1
/* Define to 1 if you have the `readdir' function. */
-#undef HAVE_READDIR
+#define HAVE_READDIR 1
/* Define to 1 if you have the `realpath' function. */
-#undef HAVE_REALPATH
+#define HAVE_REALPATH 1
/* Define to 1 if you have the `rintf' function. */
-#undef HAVE_RINTF
+#define HAVE_RINTF 1
/* Define to 1 if you have the `round' function. */
-#undef HAVE_ROUND
+#define HAVE_ROUND 1
/* Define to 1 if you have the `roundf' function. */
-#undef HAVE_ROUNDF
+#define HAVE_ROUNDF 1
/* Define to 1 if you have the `sbrk' function. */
-#undef HAVE_SBRK
+#define HAVE_SBRK 1
/* Define to 1 if you have the `setenv' function. */
-#undef HAVE_SETENV
+#define HAVE_SETENV 1
/* Define to 1 if you have the `setjmp' function. */
-#undef HAVE_SETJMP
+/* #undef HAVE_SETJMP */
/* Define to 1 if you have the <setjmp.h> header file. */
-#undef HAVE_SETJMP_H
+#define HAVE_SETJMP_H 1
/* Define to 1 if you have the `setrlimit' function. */
-#undef HAVE_SETRLIMIT
+/* MINIX: #define HAVE_SETRLIMIT 1 */
/* Define if you have the shl_load function. */
-#undef HAVE_SHL_LOAD
+/* #undef HAVE_SHL_LOAD */
/* Define to 1 if you have the `siglongjmp' function. */
-#undef HAVE_SIGLONGJMP
+/* #undef HAVE_SIGLONGJMP */
/* Define to 1 if you have the <signal.h> header file. */
-#undef HAVE_SIGNAL_H
+#define HAVE_SIGNAL_H 1
/* Define to 1 if you have the `sigsetjmp' function. */
-#undef HAVE_SIGSETJMP
+/* #undef HAVE_SIGSETJMP */
/* Define to 1 if you have the <stdint.h> header file. */
-#undef HAVE_STDINT_H
+#define HAVE_STDINT_H 1
/* Define to 1 if you have the <stdlib.h> header file. */
-#undef HAVE_STDLIB_H
+#define HAVE_STDLIB_H 1
/* Set to 1 if the std::isinf function is found in <cmath> */
-#undef HAVE_STD_ISINF_IN_CMATH
+#define HAVE_STD_ISINF_IN_CMATH 1
/* Set to 1 if the std::isnan function is found in <cmath> */
-#undef HAVE_STD_ISNAN_IN_CMATH
+#define HAVE_STD_ISNAN_IN_CMATH 1
/* Define to 1 if you have the `strerror' function. */
-#undef HAVE_STRERROR
+#define HAVE_STRERROR 1
/* Define to 1 if you have the `strerror_r' function. */
-#undef HAVE_STRERROR_R
+#define HAVE_STRERROR_R 1
/* Define to 1 if you have the <strings.h> header file. */
-#undef HAVE_STRINGS_H
+#define HAVE_STRINGS_H 1
/* Define to 1 if you have the <string.h> header file. */
-#undef HAVE_STRING_H
+#define HAVE_STRING_H 1
/* Define to 1 if you have the `strtof' function. */
-#undef HAVE_STRTOF
+#define HAVE_STRTOF 1
/* Define to 1 if you have the `strtoll' function. */
-#undef HAVE_STRTOLL
+#define HAVE_STRTOLL 1
/* Define to 1 if you have the `strtoq' function. */
-#undef HAVE_STRTOQ
+#define HAVE_STRTOQ 1
/* Define to 1 if you have the `sysconf' function. */
-#undef HAVE_SYSCONF
+/* #define HAVE_SYSCONF 1 */
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
*/
-#undef HAVE_SYS_DIR_H
+/* #undef HAVE_SYS_DIR_H */
/* Define to 1 if you have the <sys/ioctl.h> header file. */
-#undef HAVE_SYS_IOCTL_H
+#define HAVE_SYS_IOCTL_H 1
/* Define to 1 if you have the <sys/mman.h> header file. */
-#undef HAVE_SYS_MMAN_H
+#define HAVE_SYS_MMAN_H 1
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
*/
-#undef HAVE_SYS_NDIR_H
+/* #undef HAVE_SYS_NDIR_H */
/* Define to 1 if you have the <sys/param.h> header file. */
-#undef HAVE_SYS_PARAM_H
+#define HAVE_SYS_PARAM_H 1
/* Define to 1 if you have the <sys/resource.h> header file. */
-#undef HAVE_SYS_RESOURCE_H
+#define HAVE_SYS_RESOURCE_H 1
/* Define to 1 if you have the <sys/stat.h> header file. */
-#undef HAVE_SYS_STAT_H
+#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/time.h> header file. */
-#undef HAVE_SYS_TIME_H
+#define HAVE_SYS_TIME_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
-#undef HAVE_SYS_TYPES_H
+#define HAVE_SYS_TYPES_H 1
/* Define to 1 if you have the <sys/uio.h> header file. */
-#undef HAVE_SYS_UIO_H
+#define HAVE_SYS_UIO_H 1
/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
-#undef HAVE_SYS_WAIT_H
+#define HAVE_SYS_WAIT_H 1
/* Define if the setupterm() function is supported this platform. */
-#undef HAVE_TERMINFO
+#define HAVE_TERMINFO 1
/* Define to 1 if you have the <termios.h> header file. */
-#undef HAVE_TERMIOS_H
+#define HAVE_TERMIOS_H 1
/* Define if the neat program is available */
-#undef HAVE_TWOPI
+/* #undef HAVE_TWOPI */
/* Define to 1 if the system has the type `uint64_t'. */
-#undef HAVE_UINT64_T
+#define HAVE_UINT64_T 1
/* Define to 1 if you have the <unistd.h> header file. */
-#undef HAVE_UNISTD_H
+#define HAVE_UNISTD_H 1
/* Define to 1 if you have the <utime.h> header file. */
-#undef HAVE_UTIME_H
+#define HAVE_UTIME_H 1
/* Define to 1 if the system has the type `u_int64_t'. */
-#undef HAVE_U_INT64_T
+/* #undef HAVE_U_INT64_T */
/* Define to 1 if you have the <valgrind/valgrind.h> header file. */
-#undef HAVE_VALGRIND_VALGRIND_H
+/* #undef HAVE_VALGRIND_VALGRIND_H */
/* Define to 1 if you have the `writev' function. */
-#undef HAVE_WRITEV
+#define HAVE_WRITEV 1
/* Define if the xdot program is available */
-#undef HAVE_XDOT
+/* #undef HAVE_XDOT */
/* Define to 1 if you have the <zlib.h> header file. */
-#undef HAVE_ZLIB_H
+#define HAVE_ZLIB_H 1
/* Have host's _alloca */
-#undef HAVE__ALLOCA
+/* #undef HAVE__ALLOCA */
/* Have host's __alloca */
-#undef HAVE___ALLOCA
+/* #undef HAVE___ALLOCA */
/* Have host's __ashldi3 */
-#undef HAVE___ASHLDI3
+/* #undef HAVE___ASHLDI3 */
/* Have host's __ashrdi3 */
-#undef HAVE___ASHRDI3
+/* #undef HAVE___ASHRDI3 */
/* Have host's __chkstk */
-#undef HAVE___CHKSTK
+/* #undef HAVE___CHKSTK */
/* Have host's __cmpdi2 */
-#undef HAVE___CMPDI2
+/* #undef HAVE___CMPDI2 */
/* Have host's __divdi3 */
-#undef HAVE___DIVDI3
+/* #undef HAVE___DIVDI3 */
/* Define to 1 if you have the `__dso_handle' function. */
-#undef HAVE___DSO_HANDLE
+#define HAVE___DSO_HANDLE 1
/* Have host's __fixdfdi */
-#undef HAVE___FIXDFDI
+/* #undef HAVE___FIXDFDI */
/* Have host's __fixsfdi */
-#undef HAVE___FIXSFDI
+/* #undef HAVE___FIXSFDI */
/* Have host's __floatdidf */
-#undef HAVE___FLOATDIDF
+/* #undef HAVE___FLOATDIDF */
/* Have host's __lshrdi3 */
-#undef HAVE___LSHRDI3
+/* #undef HAVE___LSHRDI3 */
/* Have host's __main */
-#undef HAVE___MAIN
+/* #undef HAVE___MAIN */
/* Have host's __moddi3 */
-#undef HAVE___MODDI3
+/* #undef HAVE___MODDI3 */
/* Have host's __udivdi3 */
-#undef HAVE___UDIVDI3
+/* #undef HAVE___UDIVDI3 */
/* Have host's __umoddi3 */
-#undef HAVE___UMODDI3
+/* #undef HAVE___UMODDI3 */
/* Have host's ___chkstk */
-#undef HAVE____CHKSTK
+/* #undef HAVE____CHKSTK */
/* Linker version detected at compile time. */
-#undef HOST_LINK_VERSION
+#define HOST_LINK_VERSION "2.23.2"
/* Installation directory for binary executables */
-#undef LLVM_BINDIR
+#define LLVM_BINDIR "/usr/bin"
/* Time at which LLVM was configured */
-#undef LLVM_CONFIGTIME
+#define LLVM_CONFIGTIME "(timestamp not enabled)"
/* Installation directory for data files */
-#undef LLVM_DATADIR
+#define LLVM_DATADIR "/usr/share/llvm"
/* Target triple LLVM will generate code for by default */
-#undef LLVM_DEFAULT_TARGET_TRIPLE
+#define LLVM_DEFAULT_TARGET_TRIPLE "i586-elf32-minix"
/* Installation directory for documentation */
-#undef LLVM_DOCSDIR
+#define LLVM_DOCSDIR "/usr/share/doc/llvm"
/* Define if threads enabled */
-#undef LLVM_ENABLE_THREADS
+/* MINIX: #define LLVM_ENABLE_THREADS 1 */
/* Define if zlib is enabled */
-#undef LLVM_ENABLE_ZLIB
+#define LLVM_ENABLE_ZLIB 1
/* Installation directory for config files */
-#undef LLVM_ETCDIR
+#define LLVM_ETCDIR "/usr/etc/llvm"
/* Has gcc/MSVC atomic intrinsics */
-#undef LLVM_HAS_ATOMICS
+#define LLVM_HAS_ATOMICS 1
/* Host triple LLVM will be executed on */
-#undef LLVM_HOST_TRIPLE
+#define LLVM_HOST_TRIPLE "i586-elf32-minix"
/* Installation directory for include files */
-#undef LLVM_INCLUDEDIR
+#define LLVM_INCLUDEDIR "/usr/include"
/* Installation directory for .info files */
-#undef LLVM_INFODIR
+#define LLVM_INFODIR "/usr/info"
/* Installation directory for man pages */
-#undef LLVM_MANDIR
+#define LLVM_MANDIR "/usr/man"
/* LLVM architecture name for the native architecture, if available */
-#undef LLVM_NATIVE_ARCH
+#define LLVM_NATIVE_ARCH X86
/* LLVM name for the native AsmParser init function, if available */
-#undef LLVM_NATIVE_ASMPARSER
+#define LLVM_NATIVE_ASMPARSER LLVMInitializeX86AsmParser
/* LLVM name for the native AsmPrinter init function, if available */
-#undef LLVM_NATIVE_ASMPRINTER
+#define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter
/* LLVM name for the native Disassembler init function, if available */
-#undef LLVM_NATIVE_DISASSEMBLER
+#define LLVM_NATIVE_DISASSEMBLER LLVMInitializeX86Disassembler
/* LLVM name for the native Target init function, if available */
-#undef LLVM_NATIVE_TARGET
+#define LLVM_NATIVE_TARGET LLVMInitializeX86Target
/* LLVM name for the native TargetInfo init function, if available */
-#undef LLVM_NATIVE_TARGETINFO
+#define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo
/* LLVM name for the native target MC init function, if available */
-#undef LLVM_NATIVE_TARGETMC
+#define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC
/* Define if this is Unixish platform */
-#undef LLVM_ON_UNIX
+#define LLVM_ON_UNIX 1
/* Define if this is Win32ish platform */
-#undef LLVM_ON_WIN32
+/* #undef LLVM_ON_WIN32 */
/* Define to path to circo program if found or 'echo circo' otherwise */
-#undef LLVM_PATH_CIRCO
+/* #undef LLVM_PATH_CIRCO */
/* Define to path to dot program if found or 'echo dot' otherwise */
-#undef LLVM_PATH_DOT
+/* #undef LLVM_PATH_DOT */
/* Define to path to dotty program if found or 'echo dotty' otherwise */
-#undef LLVM_PATH_DOTTY
+/* #undef LLVM_PATH_DOTTY */
/* Define to path to fdp program if found or 'echo fdp' otherwise */
-#undef LLVM_PATH_FDP
+/* #undef LLVM_PATH_FDP */
/* Define to path to Graphviz program if found or 'echo Graphviz' otherwise */
-#undef LLVM_PATH_GRAPHVIZ
+/* #undef LLVM_PATH_GRAPHVIZ */
/* Define to path to gv program if found or 'echo gv' otherwise */
-#undef LLVM_PATH_GV
+/* #undef LLVM_PATH_GV */
/* Define to path to neato program if found or 'echo neato' otherwise */
-#undef LLVM_PATH_NEATO
+/* #undef LLVM_PATH_NEATO */
/* Define to path to twopi program if found or 'echo twopi' otherwise */
-#undef LLVM_PATH_TWOPI
+/* #undef LLVM_PATH_TWOPI */
/* Define to path to xdot program if found or 'echo xdot' otherwise */
-#undef LLVM_PATH_XDOT
+/* #undef LLVM_PATH_XDOT */
/* Installation prefix directory */
-#undef LLVM_PREFIX
+#define LLVM_PREFIX "/usr"
/* Define if we have the Intel JIT API runtime support library */
-#undef LLVM_USE_INTEL_JITEVENTS
+#define LLVM_USE_INTEL_JITEVENTS 0
/* Define if we have the oprofile JIT-support library */
-#undef LLVM_USE_OPROFILE
+#define LLVM_USE_OPROFILE 0
/* Major version of the LLVM API */
-#undef LLVM_VERSION_MAJOR
+#define LLVM_VERSION_MAJOR 3
/* Minor version of the LLVM API */
-#undef LLVM_VERSION_MINOR
+#define LLVM_VERSION_MINOR 4
/* Define if the OS needs help to load dependent libraries for dlopen(). */
-#undef LTDL_DLOPEN_DEPLIBS
+/* #undef LTDL_DLOPEN_DEPLIBS */
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
-#undef LTDL_OBJDIR
+#define LTDL_OBJDIR ".libs/"
/* Define to the extension used for shared libraries, say, ".so". */
-#undef LTDL_SHLIB_EXT
+#define LTDL_SHLIB_EXT ".so"
/* Define to the system default library search path. */
-#undef LTDL_SYSSEARCHPATH
+#define LTDL_SYSSEARCHPATH "/lib:/usr/lib"
/* Define if /dev/zero should be used when mapping RWX memory, or undefine if
its not necessary */
-#undef NEED_DEV_ZERO_FOR_MMAP
+/* #undef NEED_DEV_ZERO_FOR_MMAP */
/* Define if dlsym() requires a leading underscore in symbol names. */
-#undef NEED_USCORE
+/* #undef NEED_USCORE */
/* Define to the address where bug reports for this package should be sent. */
-#undef PACKAGE_BUGREPORT
+#define PACKAGE_BUGREPORT "http://llvm.org/bugs/"
/* Define to the full name of this package. */
-#undef PACKAGE_NAME
+#define PACKAGE_NAME "LLVM"
/* Define to the full name and version of this package. */
-#undef PACKAGE_STRING
+#define PACKAGE_STRING "LLVM 3.4svn"
/* Define to the one symbol short name of this package. */
-#undef PACKAGE_TARNAME
+#define PACKAGE_TARNAME "llvm"
-/* Define to the home page for this package. */
-#undef PACKAGE_URL
-
/* Define to the version of this package. */
-#undef PACKAGE_VERSION
+#define PACKAGE_VERSION "3.4svn"
/* Define as the return type of signal handlers (`int' or `void'). */
-#undef RETSIGTYPE
+#define RETSIGTYPE void
/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
-#undef STAT_MACROS_BROKEN
+/* #undef STAT_MACROS_BROKEN */
/* Define to 1 if you have the ANSI C header files. */
-#undef STDC_HEADERS
+#define STDC_HEADERS 1
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
-#undef TIME_WITH_SYS_TIME
+#define TIME_WITH_SYS_TIME 1
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
-#undef TM_IN_SYS_TIME
+/* #undef TM_IN_SYS_TIME */
/* Define if use udis86 library */
-#undef USE_UDIS86
+#define USE_UDIS86 0
/* Type of 1st arg on ELM Callback */
-#undef WIN32_ELMCB_PCSTR
+/* #undef WIN32_ELMCB_PCSTR */
-/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
- significant byte first (like Motorola and SPARC, unlike Intel). */
-#if defined AC_APPLE_UNIVERSAL_BUILD
-# if defined __BIG_ENDIAN__
-# define WORDS_BIGENDIAN 1
-# endif
-#else
-# ifndef WORDS_BIGENDIAN
-# undef WORDS_BIGENDIAN
-# endif
-#endif
-
/* Define to empty if `const' does not conform to ANSI C. */
-#undef const
+/* #undef const */
/* Define to a type to use for `error_t' if it is not otherwise available. */
-#undef error_t
+#define error_t int
/* Define to `int' if <sys/types.h> does not define. */
-#undef pid_t
+/* #undef pid_t */
/* Define to `unsigned int' if <sys/types.h> does not define. */
-#undef size_t
+/* #undef size_t */
#endif

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-tools_clang-format_CMakeLists.txt,v 1.1 2016/03/10 15:01:52 tnn Exp $
git-clang-format is a git integration for clang-format,
written in python. It could be moved to a separate package
to avoid a python runtime dependency here, but for now I just opted
to move it to share/clang and skip the interpreter check.
--- tools/clang-format/CMakeLists.txt.orig 2016-02-21 01:22:56.000000000 +0000
+++ tools/clang-format/CMakeLists.txt
@@ -25,4 +25,4 @@ install(PROGRAMS clang-format-diff.py DE
install(PROGRAMS clang-format-sublime.py DESTINATION share/clang)
install(PROGRAMS clang-format.el DESTINATION share/clang)
install(PROGRAMS clang-format.py DESTINATION share/clang)
-install(PROGRAMS git-clang-format DESTINATION bin)
+install(PROGRAMS git-clang-format DESTINATION share/clang)