lang/clang

This commit is contained in:
Ben Gras 2014-07-02 16:13:22 +00:00 committed by Lionel Sambuc
parent 67a86b1fcb
commit 622531ef80
11 changed files with 1038 additions and 196 deletions

View File

@ -3,12 +3,12 @@
DISTNAME= clang-3.4 DISTNAME= clang-3.4
PKGREVISION= 1 PKGREVISION= 1
CATEGORIES= lang CATEGORIES= lang
MASTER_SITES= http://llvm.org/releases/${PKGVERSION_NOREV}/ MASTER_SITES= ${MASTER_SITE_MINIX}
DISTFILES= llvm-${PKGVERSION_NOREV}.src.tar.gz \ DISTFILES= llvm-${PKGVERSION_NOREV}.minix.src.tar.gz \
libcxx-${PKGVERSION_NOREV}.src.tar.gz \ libcxx-${PKGVERSION_NOREV}.minix.src.tar.gz \
clang-${PKGVERSION_NOREV}.src.tar.gz clang-${PKGVERSION_NOREV}.minix.src.tar.gz
MAINTAINER= adam.hoka@gmail.com MAINTAINER= ben@minix3.org
HOMEPAGE= http://llvm.org/ HOMEPAGE= http://llvm.org/
COMMENT= Low Level Virtual Machine compiler infrastructure COMMENT= Low Level Virtual Machine compiler infrastructure
LICENSE= modified-bsd LICENSE= modified-bsd
@ -90,6 +90,41 @@ post-extract:
${ECHO} "int sun_ld_needs_a_symbol=0;" >> ${WRKSRC}/lib/Target/NVPTX/InstPrinter/NVPTXInstPrinter.cpp ${ECHO} "int sun_ld_needs_a_symbol=0;" >> ${WRKSRC}/lib/Target/NVPTX/InstPrinter/NVPTXInstPrinter.cpp
.endif .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 "../../lang/python/tool.mk"
.include "../../textproc/libxml2/buildlink3.mk" .include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk" .include "../../mk/bsd.pkg.mk"

View File

@ -1,6 +1,8 @@
@comment $NetBSD: PLIST,v 1.12 2014/02/27 17:35:35 adam Exp $ @comment $NetBSD: PLIST,v 1.12 2014/02/27 17:35:35 adam Exp $
bin/bugpoint bin/bugpoint
bin/c++-analyzer
bin/c-index-test bin/c-index-test
bin/ccc-analyzer
bin/clang bin/clang
bin/clang++ bin/clang++
bin/clang-check bin/clang-check
@ -134,6 +136,20 @@ include/c++/v1/unordered_set
include/c++/v1/utility include/c++/v1/utility
include/c++/v1/valarray include/c++/v1/valarray
include/c++/v1/vector include/c++/v1/vector
bin/scan-build
bin/scan-build.1
bin/scan-build.bat
bin/scan-view
bin/scanview.css
bin/set-xcode-analyzer
bin/sorttable.js
docs/llvm/html.tar.gz
docs/llvm/html/Dummy.html
docs/llvm/html/LibASTMatchersReference.html
docs/llvm/html/clang/clang.html
docs/llvm/html/clang/manpage.css
docs/llvm/html/doxygen.css
docs/llvm/ps/clang.ps
include/clang-c/CXCompilationDatabase.h include/clang-c/CXCompilationDatabase.h
include/clang-c/CXString.h include/clang-c/CXString.h
include/clang-c/Index.h include/clang-c/Index.h
@ -1113,6 +1129,7 @@ include/llvm/Transforms/Utils/ValueMapper.h
include/llvm/Transforms/Vectorize.h include/llvm/Transforms/Vectorize.h
lib/BugpointPasses.${SOEXT} lib/BugpointPasses.${SOEXT}
lib/LLVMHello.${SOEXT} lib/LLVMHello.${SOEXT}
lib/LLVMgold.${SOEXT}
lib/clang/${PKGVERSION}/include/Intrin.h lib/clang/${PKGVERSION}/include/Intrin.h
lib/clang/${PKGVERSION}/include/__wmmintrin_aes.h lib/clang/${PKGVERSION}/include/__wmmintrin_aes.h
lib/clang/${PKGVERSION}/include/__wmmintrin_pclmul.h lib/clang/${PKGVERSION}/include/__wmmintrin_pclmul.h
@ -1283,11 +1300,7 @@ lib/libclangStaticAnalyzerCheckers.a
lib/libclangStaticAnalyzerCore.a lib/libclangStaticAnalyzerCore.a
lib/libclangStaticAnalyzerFrontend.a lib/libclangStaticAnalyzerFrontend.a
lib/libclangTooling.a lib/libclangTooling.a
man/man1/clang.1 share/man/man1/clang.1
share/doc/llvm/html.tar.gz share/scanview.css
share/doc/llvm/html/Dummy.html share/sorttable.js
share/doc/llvm/html/LibASTMatchersReference.html @pkgdir docs/llvm/html/img
share/doc/llvm/html/clang/clang.html
share/doc/llvm/html/clang/manpage.css
share/doc/llvm/html/doxygen.css
share/doc/llvm/ps/clang.ps

View File

@ -1,18 +1,12 @@
$NetBSD: distinfo,v 1.23 2014/02/27 17:35:35 adam Exp $ $NetBSD$
SHA1 (clang-3.4.src.tar.gz) = a6a3c815dd045e9c13c7ae37d2cfefe65607860d SHA1 (clang-3.4.minix.src.tar.gz) = 2699f8c9c14df34cccdca39bd59e529a0936ba9a
RMD160 (clang-3.4.src.tar.gz) = 4fbd7e735edc96e224a82ebe2277c69efc488e6b RMD160 (clang-3.4.minix.src.tar.gz) = bf583a5162e6d180710f7488c10afc8f19cf6798
Size (clang-3.4.src.tar.gz) = 10619607 bytes Size (clang-3.4.minix.src.tar.gz) = 10504447 bytes
SHA1 (libcxx-3.4.src.tar.gz) = c45333dce3e6bdac2583682417c03b6bb149ceb0 SHA1 (libcxx-3.4.minix.src.tar.gz) = 2faa2707aa7cdba79fe2b96482a0bb2c4b931e13
RMD160 (libcxx-3.4.src.tar.gz) = 146a49dc0ae9635f87b13038d36ad816b7245666 RMD160 (libcxx-3.4.minix.src.tar.gz) = 6b0aac1ad775af71c2d13c4cc558e4bd2cd9bcae
Size (libcxx-3.4.src.tar.gz) = 1377487 bytes Size (libcxx-3.4.minix.src.tar.gz) = 1376365 bytes
SHA1 (llvm-3.4.src.tar.gz) = 10b1fd085b45d8b19adb9a628353ce347bc136b8 SHA1 (llvm-3.4.minix.src.tar.gz) = f52c8a7ea7ee531118499631e88ef552b5ea0a24
RMD160 (llvm-3.4.src.tar.gz) = 67e3f7baa679ca95d944b9cc3528d1ffbe3cdee0 RMD160 (llvm-3.4.minix.src.tar.gz) = 48768a541e4e3bdd10215c4360272db39d1bf7c1
Size (llvm-3.4.src.tar.gz) = 15920544 bytes Size (llvm-3.4.minix.src.tar.gz) = 15750428 bytes
SHA1 (patch-ab) = 8dd0da6d47a57ac25eea358996cf874dd3289e08 SHA1 (patch-include_llvm_Config_config.h.in) = c963d3b44a8e1fcdaf49d5a5c3cceb4fa4133a0a
SHA1 (patch-ac) = 0f0cc98d443ec957fc5374fb491809d27e4f9d4e
SHA1 (patch-ad) = ad1f6720e4c73e57fce10ba968b03637a133602d
SHA1 (patch-include_llvm_Support_Host.h) = 545f9542cd2aaa6cea58d3653902b4e1a9e7189a
SHA1 (patch-projects_libcxx_lib_buildit) = f19a6346099b9047f8b5c3739458fd11ea9e3e33
SHA1 (patch-utils_lit_utils_check-coverage) = aec7c140d5b9e8cc38a0022533a5848d6b1ff0b8
SHA1 (patch-utils_lit_utils_check-sdist) = df63c41b07f7531e787b54f6994458869023b66c

View File

@ -1,17 +0,0 @@
$NetBSD: patch-ab,v 1.3 2013/01/03 15:19:53 adam Exp $
--- docs/Makefile.orig 2012-12-22 12:26:15.000000000 +0000
+++ docs/Makefile
@@ -52,11 +52,10 @@ endif
# 'make generated BUILD_FOR_WEBSITE=1'
generated:: $(generated_targets)
-install-html: $(PROJ_OBJ_DIR)/html.tar.gz
+install-html:
$(Echo) Installing HTML documentation
$(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/html
$(Verb) $(DataInstall) $(HTML) $(DESTDIR)$(PROJ_docsdir)/html
- $(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/html.tar.gz $(DESTDIR)$(PROJ_docsdir)
$(PROJ_OBJ_DIR)/html.tar.gz: $(HTML)
$(Echo) Packaging HTML documentation

View File

@ -1,34 +0,0 @@
$NetBSD: patch-ac,v 1.9 2014/01/19 14:06:41 ryoon Exp $
--- Makefile.rules.orig 2013-11-14 23:51:29.000000000 +0000
+++ Makefile.rules
@@ -808,9 +808,6 @@ endif
# in the file so they get built before dependencies
#---------------------------------------------------------
-$(DESTDIR)$(PROJ_bindir) $(DESTDIR)$(PROJ_libdir) $(DESTDIR)$(PROJ_includedir) $(DESTDIR)$(PROJ_etcdir)::
- $(Verb) $(MKDIR) $@
-
# To create other directories, as needed, and timestamp their creation
%/.dir:
$(Verb) $(MKDIR) $* > /dev/null
@@ -954,7 +951,9 @@ install-local::
uninstall-local::
$(Echo) UnInstall circumvented with NO_INSTALL
else
-install-local:: $(DESTDIR)$(PROJ_etcdir) $(CONFIG_FILES)
+PROJ_etcdir=${PREFIX}/share/examples/llvm
+install-local:: $(CONFIG_FILES)
+ $(MKDIR) ${PROJ_etcdir}
$(Echo) Installing Configuration Files To $(DESTDIR)$(PROJ_etcdir)
$(Verb)for file in $(CONFIG_FILES); do \
if test -f $(PROJ_OBJ_DIR)/$${file} ; then \
@@ -1248,7 +1247,7 @@ install-local:: $(DestArchiveLib)
$(DestArchiveLib): $(LibName.A) $(DESTDIR)$(PROJ_libdir)
$(Echo) Installing $(BuildMode) Archive Library $(DestArchiveLib)
$(Verb) $(MKDIR) $(DESTDIR)$(PROJ_libdir)
- $(Verb) $(INSTALL) $(LibName.A) $(DestArchiveLib)
+ $(Verb) $(DataInstall) $(LibName.A) $(DestArchiveLib)
uninstall-local::
$(Echo) Uninstalling $(BuildMode) Archive Library $(DestArchiveLib)

View File

@ -1,18 +0,0 @@
$NetBSD: patch-ad,v 1.6 2013/05/22 20:51:16 sbd Exp $
--- Makefile.config.in.orig 2012-10-01 18:40:32.000000000 +0000
+++ Makefile.config.in
@@ -97,11 +97,11 @@ endif
PROJ_bindir := $(PROJ_prefix)/bin
PROJ_libdir := $(PROJ_prefix)/lib
PROJ_datadir := $(PROJ_prefix)/share
-PROJ_docsdir := $(PROJ_prefix)/docs/llvm
+PROJ_docsdir := $(PROJ_prefix)/share/doc/llvm
PROJ_etcdir := $(PROJ_prefix)/etc/llvm
PROJ_includedir := $(PROJ_prefix)/include
PROJ_infodir := $(PROJ_prefix)/info
-PROJ_mandir := $(PROJ_prefix)/share/man
+PROJ_mandir := $(PROJ_prefix)/${PKGMANDIR}
# Determine if we're on a unix type operating system
LLVM_ON_UNIX:=@LLVM_ON_UNIX@

View File

@ -0,0 +1,966 @@
$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

@ -1,28 +0,0 @@
$NetBSD: patch-include_llvm_Support_Host.h,v 1.2 2014/01/19 14:06:41 ryoon Exp $
Fix lack of machine/endian.h on solaris
http://permalink.gmane.org/gmane.comp.compilers.llvm.devel/63225
--- include/llvm/Support/Host.h.orig 2013-06-05 09:17:26.000000000 +0000
+++ include/llvm/Support/Host.h
@@ -18,6 +18,20 @@
#if defined(__linux__) || defined(__GNU__)
#include <endian.h>
+#elif defined(__sun) & defined(__SVR4)
+# ifndef BYTE_ORDER
+# define LITTLE_ENDIAN 1234
+# define BIG_ENDIAN 4321
+# if defined(__sun) & defined(__SVR4)
+# include <sys/isa_defs.h>
+# ifdef _LITTLE_ENDIAN
+# define BYTE_ORDER LITTLE_ENDIAN
+# endif
+# ifdef _BIG_ENDIAN
+# define BYTE_ORDER BIG_ENDIAN
+# endif
+# endif /* sun */
+# endif /* BYTE_ORDER */
#else
#if !defined(BYTE_ORDER) && !defined(LLVM_ON_WIN32)
#include <machine/endian.h>

View File

@ -1,33 +0,0 @@
$NetBSD: patch-projects_libcxx_lib_buildit,v 1.1 2014/02/27 17:35:35 adam Exp $
Portability fix.
--- projects/libcxx/lib/buildit.orig 2013-12-27 14:42:54.000000000 +0000
+++ projects/libcxx/lib/buildit
@@ -45,7 +45,7 @@ case $TRIPLE in
RC_CFLAGS="-arch i386 -arch x86_64"
fi
SOEXT=dylib
- if [ "$MACOSX_DEPLOYMENT_TARGET" == "10.6" ]
+ if [ "$MACOSX_DEPLOYMENT_TARGET" = "10.6" ]
then
EXTRA_FLAGS="-nostdinc++ -std=c++11 -U__STRICT_ANSI__"
LDSHARED_FLAGS="-o libc++.1.dylib \
@@ -101,7 +101,7 @@ case $TRIPLE in
hostOS=`echo $hostOS | sed -e "s/\s+$//"`
hostOS=`echo $hostOS | tr '[A-Z]' '[a-z]'`
- if [ $hostOS == "linux" ]
+ if [ $hostOS = "linux" ]
then
LDSHARED_FLAGS="-o libc++.so.1 \
-qmkshrobj -Wl,-soname,libc++.so.1 \
@@ -153,7 +153,7 @@ case $TRIPLE in
*-*-mingw*)
;;
*-ibm-*)
- if [ $hostOS == "linux" ]
+ if [ $hostOS = "linux" ]
then
rm -f libc++.so
ln -s libc++.so.1 libc++.so

View File

@ -1,22 +0,0 @@
$NetBSD: patch-utils_lit_utils_check-coverage,v 1.1 2013/07/02 10:33:02 adam Exp $
Portability fix.
--- utils/lit/utils/check-coverage.orig 2013-06-05 10:33:06.000000000 +0000
+++ utils/lit/utils/check-coverage
@@ -9,13 +9,13 @@ if [ ! -f setup.py ] || [ ! -d lit ]; th
fi
# Parse command line arguments.
-if [ "$1" == "--generate-html" ]; then
+if [ "$1" = "--generate-html" ]; then
GENERATE_HTML=1
shift
fi
# If invoked with no arguments, run all the tests.
-if [ $# == "0" ]; then
+if [ $# = "0" ]; then
set -- "tests"
fi

View File

@ -1,14 +0,0 @@
$NetBSD: patch-utils_lit_utils_check-sdist,v 1.1 2013/07/02 10:33:02 adam Exp $
Portability fix.
--- utils/lit/utils/check-sdist.orig 2013-06-05 10:35:39.000000000 +0000
+++ utils/lit/utils/check-sdist
@@ -1,6 +1,6 @@
#!/bin/sh
-if [ $# == 1 ]; then
+if [ $# = 1 ]; then
cd $1
fi