diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-01-28 18:27:29 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-01-28 18:27:29 +0000 |
commit | 8fd1e10d3dca25d61a7367beca710e75d13e37cf (patch) | |
tree | 0377670ccd3c238e8bb54c763a689607fd0e3314 /configure.ac | |
parent | e9de8df2fd1894cfc018abb5f053c7066263329a (diff) |
Normalize the detection for execinfo, so that Linux (glibc) and other platforms
with libexecinfo will generate inline stack backtraces correctly.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100628 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index c48e91379..7f329c402 100644 --- a/configure.ac +++ b/configure.ac @@ -842,7 +842,10 @@ AST_EXT_LIB_CHECK([UNIXODBC], [odbc], [SQLConnect], [sql.h], []) AST_EXT_LIB_CHECK([OGG], [ogg], [ogg_sync_init], []) +# Non-glibc platforms require libexecinfo for backtrace support AST_EXT_LIB_CHECK([BKTR], [execinfo], [backtrace], [execinfo.h]) +# Linux, however, has backtrace directly in glibc +AST_EXT_LIB_CHECK([BKTR], [c], [backtrace], [execinfo.h]) # possible places for oss definitions AST_EXT_LIB_CHECK([OSS], [ossaudio], [], [linux/soundcard.h]) |