aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-02-24 13:06:55 -0500
committerNick Mathewson <nickm@torproject.org>2014-02-24 13:06:55 -0500
commit0efa2821c7e1865d8f515df735fd8ad0db5ff467 (patch)
treeb2638be905fdf366342770626618c481278526be /configure.ac
parent9bd77019cafcd9b8f4b76c875103093f5b4594e1 (diff)
parent68ed4878ca97902c8b909d88dd855d71e6647376 (diff)
downloadtor-0efa2821c7e1865d8f515df735fd8ad0db5ff467.tar
tor-0efa2821c7e1865d8f515df735fd8ad0db5ff467.tar.gz
Merge branch 'bug11047'
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ee78d6018..c11cf842d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -649,6 +649,13 @@ CFLAGS="$saved_CFLAGS"
AC_SUBST(F_OMIT_FRAME_POINTER)
dnl ------------------------------------------------------
+dnl If we are adding -fomit-frame-pointer (or if the compiler's doing it
+dnl for us, as GCC 4.6 and later do at many optimization levels), then
+dnl we should try to add -fasynchronous-unwind-tables so that our backtrace
+dnl code will work.
+TOR_CHECK_CFLAGS(-fasynchronous-unwind-tables)
+
+dnl ------------------------------------------------------
dnl Where do you live, libnatpmp? And how do we call you?
dnl There are no packages for Debian or Redhat as of this patch