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 /projects/sample/configure | |
parent | 11641d308a560f5bdcd17e13c808e1abf66f5404 (diff) |
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 'projects/sample/configure')
-rwxr-xr-x | projects/sample/configure | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/projects/sample/configure b/projects/sample/configure index 539e27d854..48c0c2acb7 100755 --- a/projects/sample/configure +++ b/projects/sample/configure @@ -5306,6 +5306,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 @@ -5333,6 +5336,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 @@ -10290,7 +10300,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<EOF -#line 10293 "configure" +#line 10303 "configure" #include "confdefs.h" #if HAVE_DLFCN_H |