#! /bin/sh
-# From configure.ac Revision: 89472 .
+# From configure.ac Revision: 89475 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61.
#
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lexecinfo ${pbxlibdir} -lexecinfo $LIBS"
+LIBS="-lexecinfo ${pbxlibdir} $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
# now check for the header.
if test "${AST_BKTR_FOUND}" = "yes"; then
- BKTR_LIB="${pbxlibdir} -lexecinfo -lexecinfo"
+ BKTR_LIB="${pbxlibdir} -lexecinfo "
# if --with-BKTR=DIR has been specified, use it.
if test "x${BKTR_DIR}" != "x"; then
BKTR_INCLUDE="-I${BKTR_DIR}/include"
AST_EXT_LIB_CHECK([OGG], [ogg], [ogg_sync_init], [])
-AST_EXT_LIB_CHECK([BKTR], [execinfo], [backtrace], [execinfo.h], [-lexecinfo])
+AST_EXT_LIB_CHECK([BKTR], [execinfo], [backtrace], [execinfo.h])
# possible places for oss definitions
AST_EXT_LIB_CHECK([OSS], [ossaudio], [], [linux/soundcard.h])
ALL_UTILS:=astman smsq stereorize streamplayer aelparse muted check_expr conf2ael hashtest2 hashtest
UTILS:=$(ALL_UTILS)
+LIBS += $(BKTR_LIB) # astobj2 with devmode uses backtrace
+
include $(ASTTOPDIR)/Makefile.rules
ifeq ($(OSARCH),SunOS)