git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d674e3
)
FreeBSD configure check for backtrace_symbols
author
Dan Sledz
<dsledz@isilon.com>
Sat, 15 Nov 2008 02:41:17 +0000
(18:41 -0800)
committer
Tim Prouty
<tprouty@samba.org>
Sat, 22 Nov 2008 00:37:43 +0000
(16:37 -0800)
On FreeBSD backtrace_symbols is defined in libexecinfo.so.1. Look for it
there as well.
source3/configure.in
patch
|
blob
|
history
diff --git
a/source3/configure.in
b/source3/configure.in
index 1adb56ad91e2a88acb6d51664c47bdf9316fdc32..287189f09380e545f65dc44e5927071f935197ba 100644
(file)
--- 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)