Ignore:
Timestamp:
31/08/2010 14:59:29 (21 months ago)
Author:
chris
Message:

Fix demangled logging of backtraces on OSX by using dladdr to get function
names rather than trying to parse the results of backtrace_strings().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/configure.ac

    r2719 r2727  
    153153 
    154154AC_SEARCH_LIBS([dlsym], ["dl"]) 
     155AC_CHECK_FUNCS([dlsym dladdr]) 
    155156 
    156157### Checks for typedefs, structures, and compiler characteristics. 
     
    264265 
    265266## Find out how to do file locking 
    266 AC_CHECK_FUNCS([flock]) 
     267AC_CHECK_FUNCS([flock fcntl]) 
    267268AC_CHECK_DECLS([O_EXLOCK],,, [[#include <fcntl.h>]]) 
    268269AC_CHECK_DECLS([F_SETLK],,, [[#include <fcntl.h>]]) 
     
    400401 
    401402# Write summary of important info 
    402 cat <<EOC 
     403cat | tee config.log.features <<EOC 
    403404A summary of the build configuration is below. Box Backup will function 
    404405without these features, but will work better where they are present. Refer 
     
    410411Readline:            $have_libreadline 
    411412Extended attributes: $ac_cv_header_sys_xattr_h 
    412 EOC | tee config.log.features 
     413EOC 
    413414 
    414415 
Note: See TracChangeset for help on using the changeset viewer.