1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Make sure that when checking for MINGW32 libraries we ask for windows.h

llvm-svn: 28631
This commit is contained in:
Reid Spencer 2006-06-01 17:16:20 +00:00
parent ac3d91f023
commit 88f7fe4aae
2 changed files with 3 additions and 2 deletions

View File

@ -487,7 +487,7 @@ 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_HEADERS([windows.h imagehlp.h psapi.h])
AC_CHECK_LIB(imagehlp,[SymGetOptions])
AC_CHECK_LIB(psapi,[GetProcessMemoryInfo])
fi

3
configure vendored
View File

@ -25148,7 +25148,8 @@ fi
if test "$llvm_cv_os_type" == "MingW" ; then
for ac_header in imagehlp.h psapi.h
for ac_header in windows.h imagehlp.h psapi.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then