aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-09-27 20:42:19 +0800
committerChristian Persch <chpe@src.gnome.org>2004-09-27 20:42:19 +0800
commit8656e7d44895631c82053c9630139015cb95ef57 (patch)
treed0403d962793a15754a1c7bb60792ac43ed8561b /configure.ac
parent8b94ac9b3e071f2813e495c64d15c8af72300176 (diff)
downloadgsoc2013-epiphany-8656e7d44895631c82053c9630139015cb95ef57.tar.gz
gsoc2013-epiphany-8656e7d44895631c82053c9630139015cb95ef57.tar.zst
gsoc2013-epiphany-8656e7d44895631c82053c9630139015cb95ef57.zip
Improved debugging support. Fixes bug #153805.
2004-09-27 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * lib/ephy-debug.c: (trap_handler), (ephy_debug_init): Improved debugging support. Fixes bug #153805.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac14
1 files changed, 14 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 56b3c2d28..c392c3044 100644
--- a/configure.ac
+++ b/configure.ac
@@ -364,6 +364,20 @@ AC_DEFINE([GTKMOZEMBED_BROKEN_RELOAD],[1],[Define if GtkMozEmbed has broken relo
AC_MSG_RESULT([couldn't autodetect, assuming yes])
+dnl check if mozilla's stack walker is accessible
+
+AC_MSG_CHECKING([for DumpStackToFile])
+
+AC_LINK_IFELSE(
+ AC_LANG_PROGRAM(
+ [[#include <stdio.h>]],
+ [[extern void _Z15DumpStackToFileP8_IO_FILE (FILE *f);]]),
+ [AC_DEFINE([HAVE_DUMPSTACKTOFILE], [1], [Define if DumpStackToFile is found]) result=yes],
+ [result=no])
+
+AC_MSG_RESULT([$result])
+
+dnl restore flags
CXXFLAGS=$_SAVE_CXXFLAGS
AC_LANG_POP(C++)