summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit56079c1e72861cf03c7d85e50d14a8a2f1b6cdd4 (patch)
tree8cfb35c40f8ec74049507fc2bb85481ee94c4bd2 /llvm/configure
parentf62744bb0d226e39f02c2f2a010152335a0512ff (diff)
downloadbcm5719-llvm-56079c1e72861cf03c7d85e50d14a8a2f1b6cdd4.tar.gz
bcm5719-llvm-56079c1e72861cf03c7d85e50d14a8a2f1b6cdd4.zip
Add InitializeNativeTargetDisassembler function.
Patch by Ojab. llvm-svn: 153476
Diffstat (limited to 'llvm/configure')
-rwxr-xr-xllvm/configure12
1 files changed, 11 insertions, 1 deletions
diff --git a/llvm/configure b/llvm/configure
index 2dfd66d77b9..f4c5670de6e 100755
--- a/llvm/configure
+++ b/llvm/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
OpenPOWER on IntegriCloud