diff options
author | Eric Christopher <echristo@apple.com> | 2012-03-26 21:56:56 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-03-26 21:56:56 +0000 |
commit | c4b2271d4aa5c98417d6582b4f0b69fbe5e61cb9 (patch) | |
tree | 7abfdfd3651ae8fa374f9d9a254bee444d555f42 /configure | |
parent | 11641d308a560f5bdcd17e13c808e1abf66f5404 (diff) | |
download | external_llvm-c4b2271d4aa5c98417d6582b4f0b69fbe5e61cb9.zip external_llvm-c4b2271d4aa5c98417d6582b4f0b69fbe5e61cb9.tar.gz external_llvm-c4b2271d4aa5c98417d6582b4f0b69fbe5e61cb9.tar.bz2 |
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-x | configure | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -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 |