summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-07-14 10:50:49 +0300
committerAlon Levy <alevy@redhat.com>2011-07-19 20:33:25 +0300
commita3cde2d971227ba2ca96de710993dc3c0b7b28df (patch)
tree17416e31d0f7d1eca96e1e998c245f0f3a68b320 /configure.ac
parent70135614623d573def52d062ccce34ffc42a5d0f (diff)
downloadspice-a3cde2d971227ba2ca96de710993dc3c0b7b28df.tar.gz
spice-a3cde2d971227ba2ca96de710993dc3c0b7b28df.tar.xz
spice-a3cde2d971227ba2ca96de710993dc3c0b7b28df.zip
common: add backtrace via gstack or glibc backtrace
Add a backtrace printing function copied from xserver os/backtrace.c that uses gstack, and if that isn't found then glibc's backtrace. Used in ASSERT, tested on F15.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index c058eddc..3268df6a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -27,6 +27,7 @@ AC_C_BIGENDIAN
AC_PATH_PROGS(PYTHON, python2 python)
AC_CHECK_HEADERS([sys/time.h])
+AC_CHECK_HEADERS([execinfo.h])
AC_FUNC_ALLOCA
SPICE_LT_VERSION=m4_format("%d:%d:%d", 1, 0, 2)