[asterisk-commits] rizzo: branch rizzo/astobj2 r47346 - in
/team/rizzo/astobj2: ./ main/
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Wed Nov 8 16:08:02 MST 2006
Author: rizzo
Date: Wed Nov 8 17:08:01 2006
New Revision: 47346
URL: http://svn.digium.com/view/asterisk?rev=47346&view=rev
Log:
support for execinfo/backtrace
(detection should be done better, but this is
my testing branch anyways)
Modified:
team/rizzo/astobj2/configure.ac
team/rizzo/astobj2/main/Makefile
team/rizzo/astobj2/makeopts.in
Modified: team/rizzo/astobj2/configure.ac
URL: http://svn.digium.com/view/asterisk/team/rizzo/astobj2/configure.ac?rev=47346&r1=47345&r2=47346&view=diff
==============================================================================
--- team/rizzo/astobj2/configure.ac (original)
+++ team/rizzo/astobj2/configure.ac Wed Nov 8 17:08:01 2006
@@ -168,7 +168,9 @@
# package option names should be in alphabetical order
# by the --with option name, to make things easier for the users :-)
+# AST_EXT_LIB_SETUP([identifier], [description], [library]
AST_EXT_LIB_SETUP([ALSA], [Advanced Linux Sound Architecture], [asound])
+AST_EXT_LIB_SETUP([BKTR], [Stack Backtrace support], [execinfo])
AST_EXT_LIB_SETUP([CAP], [POSIX 1.e capabilities], [cap])
AST_EXT_LIB_SETUP([CURL], [cURL], [curl])
AST_EXT_LIB_SETUP([CURSES], [curses], [curses])
@@ -616,6 +618,9 @@
AST_EXT_LIB_CHECK([OSPTK], [osptk], [OSPPCryptoDecrypt], [osp/osp.h], [-lcrypto -lssl])
+# AST_EXT_LIB_CHECK([BKTR], [execinfo], [backtrace], [execinfo.h])
+AST_EXT_LIB_CHECK([BKTR], [execinfo], [backtrace], [execinfo.h], [-lexecinfo])
+
# possible places for oss definitions
AST_EXT_LIB_CHECK([OSS], [ossaudio], [], [linux/soundcard.h])
AST_EXT_LIB_CHECK([OSS], [ossaudio], [], [sys/soundcard.h])
Modified: team/rizzo/astobj2/main/Makefile
URL: http://svn.digium.com/view/asterisk/team/rizzo/astobj2/main/Makefile?rev=47346&r1=47345&r2=47346&view=diff
==============================================================================
--- team/rizzo/astobj2/main/Makefile (original)
+++ team/rizzo/astobj2/main/Makefile Wed Nov 8 17:08:01 2006
@@ -39,6 +39,7 @@
OBJS+=say.o
AST_LIBS += $(SSL_LIB)
+AST_LIBS += $(BKTR_LIB)
ifneq ($(findstring darwin,$(OSARCH)),)
OBJS+=poll.o
Modified: team/rizzo/astobj2/makeopts.in
URL: http://svn.digium.com/view/asterisk/team/rizzo/astobj2/makeopts.in?rev=47346&r1=47345&r2=47346&view=diff
==============================================================================
--- team/rizzo/astobj2/makeopts.in (original)
+++ team/rizzo/astobj2/makeopts.in Wed Nov 8 17:08:01 2006
@@ -66,6 +66,8 @@
EDITLINE_LIB=@EDITLINE_LIB@
+BKTR_INCLUDE=@BKTR_INCLUDE@
+BKTR_LIB=@BKTR_LIB@
FREETDS_INCLUDE=@FREETDS_INCLUDE@
FREETDS_LIB=@FREETDS_LIB@
More information about the asterisk-commits
mailing list