summaryrefslogtreecommitdiff
path: root/Makefile.config.in
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2009-02-04 06:26:47 +0000
committerNick Lewycky <nicholas@mxc.ca>2009-02-04 06:26:47 +0000
commitf9c5c5c7a25a3c549cbbc523bf2c8f4e895c20b6 (patch)
treef82420872cbc648dab7c2c983b0b163655b62dc3 /Makefile.config.in
parentfe9388ccb4d2449e8e6a62053479a0ba74ae0b2d (diff)
downloadllvm-f9c5c5c7a25a3c549cbbc523bf2c8f4e895c20b6.tar.gz
llvm-f9c5c5c7a25a3c549cbbc523bf2c8f4e895c20b6.tar.bz2
llvm-f9c5c5c7a25a3c549cbbc523bf2c8f4e895c20b6.tar.xz
Reapply patch from r62553, with a fix to avoid looking for an ffi.h that isn't
there. This changes the interpreter to use libffi. After this patch, the interpreter will barely be able to call any external functions if built on a system without libffi installed (just enough to pass 'make check' really). But with libffi, we can now call any function that isn't variadic or taking a struct or vector parameter (but pointer to struct is fine). Patch by Alexei Svitkine! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63723 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.config.in')
-rw-r--r--Makefile.config.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.config.in b/Makefile.config.in
index 90d1a13132..96dab45611 100644
--- a/Makefile.config.in
+++ b/Makefile.config.in
@@ -286,3 +286,6 @@ endif
# Location of the plugin header file for gold.
BINUTILS_INCDIR := @BINUTILS_INCDIR@
+
+# Can we use libFFI for the interpreter?
+HAVE_FFI := @HAVE_FFI@