summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-03-26 21:56:56 +0000
committerEric Christopher <echristo@apple.com>2012-03-26 21:56:56 +0000
commitc4b2271d4aa5c98417d6582b4f0b69fbe5e61cb9 (patch)
tree7abfdfd3651ae8fa374f9d9a254bee444d555f42 /configure
parent11641d308a560f5bdcd17e13c808e1abf66f5404 (diff)
downloadllvm-c4b2271d4aa5c98417d6582b4f0b69fbe5e61cb9.tar.gz
llvm-c4b2271d4aa5c98417d6582b4f0b69fbe5e61cb9.tar.bz2
llvm-c4b2271d4aa5c98417d6582b4f0b69fbe5e61cb9.tar.xz
Add InitializeNativeTargetDisassembler function.
Patch by Ojab. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153476 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure12
1 files changed, 11 insertions, 1 deletions
diff --git a/configure b/configure
index 2dfd66d77b..f4c5670de6 100755
--- a/configure
+++ b/configure
@@ -5365,6 +5365,9 @@ _ACEOF
if test -f ${srcdir}/lib/Target/${LLVM_NATIVE_ARCH}/AsmParser/Makefile ; then
LLVM_NATIVE_ASMPARSER="LLVMInitialize${LLVM_NATIVE_ARCH}AsmParser"
fi
+ if test -f ${srcdir}/lib/Target/${LLVM_NATIVE_ARCH}/Disassembler/Makefile ; then
+ LLVM_NATIVE_DISASSEMBLER="LLVMInitialize${LLVM_NATIVE_ARCH}Disassembler"
+ fi
cat >>confdefs.h <<_ACEOF
#define LLVM_NATIVE_TARGET $LLVM_NATIVE_TARGET
@@ -5392,6 +5395,13 @@ cat >>confdefs.h <<_ACEOF
_ACEOF
fi
+ if test -f ${srcdir}/lib/Target/${LLVM_NATIVE_ARCH}/Disassembler/Makefile ; then
+
+cat >>confdefs.h <<_ACEOF
+#define LLVM_NATIVE_DISASSEMBLER $LLVM_NATIVE_DISASSEMBLER
+_ACEOF
+
+ fi
fi
done
@@ -10374,7 +10384,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 10377 "configure"
+#line 10387 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H