BUG: Use another header file for configure step that is available from v3.1 to v3.3+,
so proper include path is choosed


git-svn-id: svn://localhost/gambas/trunk@5699 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Laurent Carlier 2013-06-13 11:35:45 +00:00
parent 1dac375aa8
commit 8ca73977d0

View file

@ -32,7 +32,7 @@ fi
GB_COMPONENT(
jit, JIT, gb.jit, [src],
[GB_FIND(LLVMContext.h, /usr/lib/llvm* /usr/local/lib /usr/local /usr/lib /usr `$LLVM_CONFIG --prefix`, include/llvm include/IR)],
[GB_FIND(llvm/AutoUpgrade.h, /usr/lib/llvm* /usr/local/lib /usr/local /usr/lib /usr `$LLVM_CONFIG --prefix`, include)],
[GB_FIND(libLLVM-$LLVM_VERSION.$SHLIBEXT, /usr/lib/llvm* /usr/local /usr `$LLVM_CONFIG --prefix`, lib)],
[$C_LIB `$LLVM_CONFIG --ldflags` -lLLVM-$LLVM_VERSION],
[-I../../main/gbx -I../../main/share -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS])