summaryrefslogtreecommitdiff
path: root/autoconf
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-06-22 21:01:04 +0000
committerEric Christopher <echristo@apple.com>2010-06-22 21:01:04 +0000
commit654dee487555a3cf21bcbca38ef5a2687fd18ea7 (patch)
treeeca3923eedcb512a7e58d801803b21c5bef4ff58 /autoconf
parentcda351e1b34cce22ecc96c2cbe3c1b40adcc4008 (diff)
downloadllvm-654dee487555a3cf21bcbca38ef5a2687fd18ea7.tar.gz
llvm-654dee487555a3cf21bcbca38ef5a2687fd18ea7.tar.bz2
llvm-654dee487555a3cf21bcbca38ef5a2687fd18ea7.tar.xz
Look for and use a different darwin crash reporter library.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106576 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
-rw-r--r--autoconf/configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index 66f5383091..9977f3f53a 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -1248,6 +1248,10 @@ AC_ARG_WITH(oprofile,
AC_DEFINE_UNQUOTED([USE_OPROFILE],$USE_OPROFILE,
[Define if we have the oprofile JIT-support library])
+dnl gCRAnnotations isn't the function we care about, but it's the only
+dnl thing exported.
+AC_CHECK_LIB(CrashReporterClient, gCRAnnotations)
+
dnl===-----------------------------------------------------------------------===
dnl===
dnl=== SECTION 6: Check for header files
@@ -1284,6 +1288,9 @@ if test "$llvm_cv_enable_libffi" = "yes" ; then
AC_CHECK_HEADERS([ffi.h ffi/ffi.h])
fi
+dnl Try to find Darwin specific crash reporting library.
+AC_CHECK_HEADERS([CrashReporterClient.h])
+
dnl===-----------------------------------------------------------------------===
dnl===
dnl=== SECTION 7: Check for types and structures