aboutsummaryrefslogtreecommitdiffstats
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
commit189486d9303f1d48fe37ca5ffdc2fc6b90b41ce0 (patch)
treeeca3923eedcb512a7e58d801803b21c5bef4ff58 /autoconf
parent9bd152f95118e07b2a3717ab36e204dc5e4e3b3b (diff)
downloadexternal_llvm-189486d9303f1d48fe37ca5ffdc2fc6b90b41ce0.zip
external_llvm-189486d9303f1d48fe37ca5ffdc2fc6b90b41ce0.tar.gz
external_llvm-189486d9303f1d48fe37ca5ffdc2fc6b90b41ce0.tar.bz2
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 66f5383..9977f3f 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