diff options
author | Jason Evans <je@fb.com> | 2011-03-23 03:44:40 (GMT) |
---|---|---|
committer | Jason Evans <je@fb.com> | 2011-03-23 03:44:40 (GMT) |
commit | 9f949f9d82e63432b99000643fe983babd6a230b (patch) | |
tree | a6d10c74d25fef31c3d1f1e9d0726aaff8597066 /jemalloc/configure.ac | |
parent | 69c0472999bd7a2ab476a68ca002fdea5ce2ee8a (diff) | |
download | jemalloc-9f949f9d82e63432b99000643fe983babd6a230b.zip jemalloc-9f949f9d82e63432b99000643fe983babd6a230b.tar.gz jemalloc-9f949f9d82e63432b99000643fe983babd6a230b.tar.bz2 |
Revert "Add support for libunwind backtrace caching."
This reverts commit adc675c8ef55b59bb2facf795a3c26411cfbf3ed.
The original commit added support for a non-standard libunwind API, so
it was not of general utility.
Diffstat (limited to 'jemalloc/configure.ac')
-rw-r--r-- | jemalloc/configure.ac | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/jemalloc/configure.ac b/jemalloc/configure.ac index 26e1c41..412d3d1 100644 --- a/jemalloc/configure.ac +++ b/jemalloc/configure.ac @@ -29,7 +29,7 @@ dnl JE_COMPILABLE(label, hcode, mcode, rvar) AC_DEFUN([JE_COMPILABLE], [ AC_MSG_CHECKING([whether $1 is compilable]) -AC_COMPILE_IFELSE([AC_LANG_PROGRAM( +AC_RUN_IFELSE([AC_LANG_PROGRAM( [$2], [$3])], AC_MSG_RESULT([yes]) [$4="yes"], @@ -454,17 +454,6 @@ if test "x$backtrace_method" = "x" -a "x$enable_prof_libunwind" = "x1" ; then if test "x${enable_prof_libunwind}" = "x1" ; then backtrace_method="libunwind" AC_DEFINE([JEMALLOC_PROF_LIBUNWIND], [ ]) - JE_COMPILABLE([libunwind frame cache], [ -#define UNW_LOCAL_ONLY -#include <libunwind.h> -], [ -unw_tdep_make_frame_cache(0, 0); -unw_tdep_free_frame_cache(0); -unw_tdep_trace(0, 0, 0, 0); -], [libunwind_cache]) - if test "x${libunwind_cache}" = "xyes" ; then - AC_DEFINE([JEMALLOC_PROF_LIBUNWIND_CACHE], [ ]) - fi fi fi |