summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Sledz <dsledz@isilon.com>2008-11-14 18:41:17 -0800
committerTim Prouty <tprouty@samba.org>2008-11-21 16:37:43 -0800
commitc23a6dc3ec4f9a5ea5ab4f8cb9cd62aa6cacc3a4 (patch)
tree2b07b78932fd2c03b6b7e2b53a260fbd677b74cd
parent8d674e351ada654ab79d635851ac73cef71d4753 (diff)
downloadsamba-c23a6dc3ec4f9a5ea5ab4f8cb9cd62aa6cacc3a4.tar.gz
samba-c23a6dc3ec4f9a5ea5ab4f8cb9cd62aa6cacc3a4.tar.bz2
samba-c23a6dc3ec4f9a5ea5ab4f8cb9cd62aa6cacc3a4.zip
FreeBSD configure check for backtrace_symbols
On FreeBSD backtrace_symbols is defined in libexecinfo.so.1. Look for it there as well.
-rw-r--r--source3/configure.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 1adb56ad91..287189f093 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -1033,6 +1033,8 @@ AC_CHECK_FUNCS(gettext dgettext)
# Find a method of generating a stack trace
AC_CHECK_HEADERS(execinfo.h libexc.h libunwind.h)
+# libexecinfo provides backtrace_symbols on FreeBSD
+AC_SEARCH_LIBS(backtrace_symbols, [execinfo])
AC_CHECK_FUNCS(backtrace_symbols)
AC_CHECK_LIB(exc, trace_back_stack)