From ea9e4be269baf2ad8db3e23500315083b9cc0df0 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 31 Aug 2010 13:59:29 +0000 Subject: Fix demangled logging of backtraces on OSX by using dladdr to get function names rather than trying to parse the results of backtrace_strings(). --- configure.ac | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 2b591030..4802b139 100644 --- a/configure.ac +++ b/configure.ac @@ -152,6 +152,7 @@ else fi AC_SEARCH_LIBS([dlsym], ["dl"]) +AC_CHECK_FUNCS([dlsym dladdr]) ### Checks for typedefs, structures, and compiler characteristics. @@ -263,7 +264,7 @@ if test "x$box_cv_have_large_file_support" = "xyes"; then fi ## Find out how to do file locking -AC_CHECK_FUNCS([flock]) +AC_CHECK_FUNCS([flock fcntl]) AC_CHECK_DECLS([O_EXLOCK],,, [[#include ]]) AC_CHECK_DECLS([F_SETLK],,, [[#include ]]) @@ -399,7 +400,7 @@ cat parcels.txt | sed -e 's/#.*//' | while read cmd subdir configure_args; do done || exit $? # Write summary of important info -cat <