Check for the library containing the backtrace() function.

On FreeBSD the backtrace() function as well as the execinfo.h headers are
provided by libexecinfo (an optional package). PulseAudio “automagically”
identifies execinfo.h and proceeds to use it, but then will fail to link
against the library.

Thanks to Alexis Ballier for reporting.
This commit is contained in:
Diego Elio 'Flameeyes' Pettenò 2009-07-04 13:12:32 +02:00
parent 6fdd5846b2
commit ff252cb48d

View file

@ -388,6 +388,7 @@ AC_SEARCH_LIBS([timer_create], [rt])
# BSD
AC_SEARCH_LIBS([connect], [socket])
AC_SEARCH_LIBS([backtrace], [execinfo])
# Non-standard