From: Diego Elio 'Flameeyes' Pettenò Date: Sat, 4 Jul 2009 11:12:32 +0000 (+0200) Subject: Check for the library containing the backtrace() function. X-Git-Tag: v0.98-dev~271^2~27^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ff252cb48d9bd827d262eb2633fecaff47c6fe5c;p=platform%2Fupstream%2Fpulseaudio.git 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. --- diff --git a/configure.ac b/configure.ac index 00121f8..9c96d1c 100644 --- a/configure.ac +++ b/configure.ac @@ -388,6 +388,7 @@ AC_SEARCH_LIBS([timer_create], [rt]) # BSD AC_SEARCH_LIBS([connect], [socket]) +AC_SEARCH_LIBS([backtrace], [execinfo]) # Non-standard