On system with the uClibc, it can be into the libubacktrace.
---
configure.ac | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
index 3bffbb9..98d9e67 100644
--- a/configure.ac
+++ b/configure.ac
@@ -67,6 +67,10 @@ AC_CHECK_FUNC(signalfd, dummy=yes,
AC_CHECK_LIB(dl, dlopen, dummy=yes,
AC_MSG_ERROR(dynamic linking loader is required))
+AC_SEARCH_LIBS([backtrace], [execinfo ubacktrace], [], [
+ AC_MSG_ERROR(backtrace support is required)
+])
+
PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.22, dummy=yes,
AC_MSG_ERROR(GLib >= 2.22 is required))
AC_SUBST(GLIB_CFLAGS)
--
1.7.2.5
Show replies by date