mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Provide support for detecting if the Win32 imaghlp and psapi libraries
are available. These libraries are used in lib/System and should be included on the link line or if not available generate an error when building lib/System. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28628 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -486,6 +486,11 @@ dnl===-----------------------------------------------------------------------===
|
||||
dnl libelf is for sparc only; we can ignore it if we don't have it
|
||||
AC_CHECK_LIB(elf, elf_begin)
|
||||
AC_CHECK_LIB(m,sin)
|
||||
if test "$llvm_cv_os_type" == "MingW" ; then
|
||||
AC_CHECK_HEADERS([imagehlp.h psapi.h])
|
||||
AC_CHECK_LIB(imagehlp,[SymGetOptions])
|
||||
AC_CHECK_LIB(psapi,[GetProcessMemoryInfo])
|
||||
fi
|
||||
|
||||
dnl lt_dlopen may be required for plugin support.
|
||||
AC_SEARCH_LIBS(lt_dlopen,ltdl,AC_DEFINE([HAVE_LT_DLOPEN],[1],
|
||||
|
Reference in New Issue
Block a user