diff --git a/gb.jit/configure.ac b/gb.jit/configure.ac index 833c12337..b3f833851 100644 --- a/gb.jit/configure.ac +++ b/gb.jit/configure.ac @@ -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])