summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAliaksey Kandratsenka <alk@tut.by>2014-02-22 12:14:11 -0800
committerAliaksey Kandratsenka <alk@tut.by>2014-02-22 12:14:11 -0800
commit7be2edfe7f09e7e8c123e958742815784a718880 (patch)
treea902df3f0c78475b24a4775bbeacb56ead0054f1
parent7e24b6ca2aa2c15a24504c02fad09f47e1ece8b5 (diff)
downloadgperftools-7be2edfe7f09e7e8c123e958742815784a718880.tar.gz
issue-525: only warn if --enable-frame-pointers are not given
This fixes issue when frame pointers warning is given even if frame pointers are enabled
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index ab0c31a..8f7ea5f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -470,5 +470,5 @@ AC_CONFIG_FILES([Makefile
src/gperftools/tcmalloc.h src/windows/gperftools/tcmalloc.h])
AC_OUTPUT
-AS_IF([test "$x86_no_fp_by_default" = yes && test "x$UNWIND_LIBS" = x],
+AS_IF([test "$x86_no_fp_by_default" = yes && test "x$enable_frame_pointers" != xyes && test "x$UNWIND_LIBS" = x],
[AC_MSG_WARN([No frame pointers and no libunwind. Expect backtrace capturing and unittests to fail])])