From c23a6dc3ec4f9a5ea5ab4f8cb9cd62aa6cacc3a4 Mon Sep 17 00:00:00 2001 From: Dan Sledz Date: Fri, 14 Nov 2008 18:41:17 -0800 Subject: FreeBSD configure check for backtrace_symbols On FreeBSD backtrace_symbols is defined in libexecinfo.so.1. Look for it there as well. --- source3/configure.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3') 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) -- cgit