[asterisk-commits] tilghman: branch tilghman/better_backtrace_1.4 r298094 - in /team/tilghman/be...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Dec 10 12:33:52 CST 2010


Author: tilghman
Date: Fri Dec 10 12:33:47 2010
New Revision: 298094

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=298094
Log:
Also depend upon DLADDR in menuselect, since it's possible for e.g. BSD to have libbfd without dladdr.

Modified:
    team/tilghman/better_backtrace_1.4/build_tools/cflags-devmode.xml
    team/tilghman/better_backtrace_1.4/build_tools/menuselect-deps.in
    team/tilghman/better_backtrace_1.4/configure
    team/tilghman/better_backtrace_1.4/configure.ac

Modified: team/tilghman/better_backtrace_1.4/build_tools/cflags-devmode.xml
URL: http://svnview.digium.com/svn/asterisk/team/tilghman/better_backtrace_1.4/build_tools/cflags-devmode.xml?view=diff&rev=298094&r1=298093&r2=298094
==============================================================================
--- team/tilghman/better_backtrace_1.4/build_tools/cflags-devmode.xml (original)
+++ team/tilghman/better_backtrace_1.4/build_tools/cflags-devmode.xml Fri Dec 10 12:33:47 2010
@@ -16,6 +16,7 @@
 		</member>
 		<member name="BETTER_BACKTRACES" displayname="Use libbfd to generate better inline backtraces">
 			<depend>BFD</depend>
+			<depend>DLADDR</depend>
 			<defaultenabled>no</defaultenabled>
 		</member>
 	</category>

Modified: team/tilghman/better_backtrace_1.4/build_tools/menuselect-deps.in
URL: http://svnview.digium.com/svn/asterisk/team/tilghman/better_backtrace_1.4/build_tools/menuselect-deps.in?view=diff&rev=298094&r1=298093&r2=298094
==============================================================================
--- team/tilghman/better_backtrace_1.4/build_tools/menuselect-deps.in (original)
+++ team/tilghman/better_backtrace_1.4/build_tools/menuselect-deps.in Fri Dec 10 12:33:47 2010
@@ -4,6 +4,7 @@
 CURL=@PBX_CURL@
 DAHDI=@PBX_DAHDI@
 DAHDI_TRANSCODE=@PBX_DAHDI_TRANSCODE@
+DLADDR=@PBX_DLADDR@
 FLEX=@PBX_FLEX@
 FREETDS=@PBX_FREETDS@
 GSM=@PBX_GSM@

Modified: team/tilghman/better_backtrace_1.4/configure.ac
URL: http://svnview.digium.com/svn/asterisk/team/tilghman/better_backtrace_1.4/configure.ac?view=diff&rev=298094&r1=298093&r2=298094
==============================================================================
--- team/tilghman/better_backtrace_1.4/configure.ac (original)
+++ team/tilghman/better_backtrace_1.4/configure.ac Fri Dec 10 12:33:47 2010
@@ -675,6 +675,7 @@
 fi ; fi ; fi
 
 AC_MSG_CHECKING(for dladdr in dlfcn.h)
+PBX_DLADDR=0
 old_LIBS=${LIBS}
 LIBS="${LIBS} -ldl"
 AC_LINK_IFELSE(
@@ -683,6 +684,8 @@
 		[dladdr((void *)0, (void *)0)]
 	),
 	AC_MSG_RESULT(yes)
+	PBX_DLADDR=1
+	AC_SUBST([PBX_DLADDR])
 	AC_DEFINE([HAVE_DLADDR], 1, [Define to 1 if your system has the dladdr() GNU extension]),
 	AC_MSG_RESULT(no)
 )




More information about the asterisk-commits mailing list