[llvm-commits] CVS: llvm/autoconf/configure.ac
Reid Spencer
reid at x10sys.com
Thu Jun 1 09:56:13 PDT 2006
Changes in directory llvm/autoconf:
configure.ac updated: 1.227 -> 1.228
---
Log message:
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.
---
Diffs of the changes: (+5 -0)
configure.ac | 5 +++++
1 files changed, 5 insertions(+)
Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.227 llvm/autoconf/configure.ac:1.228
--- llvm/autoconf/configure.ac:1.227 Sun May 21 05:40:20 2006
+++ llvm/autoconf/configure.ac Thu Jun 1 11:55:59 2006
@@ -486,6 +486,11 @@
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],
More information about the llvm-commits
mailing list