1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-25 16:47:38 +01:00

Skip a few tests on uCLibC

Without this, the build fails on platforms that don't implement
backtrace().
This commit is contained in:
Sven Neumann 2011-08-19 10:16:51 +02:00 committed by Arun Sharma
parent 112c927371
commit f195c9ad52
2 changed files with 7 additions and 3 deletions

View file

@ -276,6 +276,7 @@ PKG_MAINTAINER=pkg_maintainer
old_LIBS="$LIBS"
LIBS=""
AC_SEARCH_LIBS(backtrace, execinfo)
AM_CONDITIONAL(HAVE_BACKTRACE, test "x$ac_cv_search_backtrace" != xno)
BACKTRACELIB="$LIBS"
LIBS="$old_LIBS"

View file

@ -46,9 +46,12 @@ endif #ARCH_IA64
test-async-sig test-flush-cache test-init-remote \
test-mem test-setjmp test-ptrace \
Ltest-nomalloc Ltest-nocalloc rs-race
noinst_PROGRAMS_cdep = forker mapper test-ptrace-misc test-varargs \
Gperf-simple Lperf-simple \
Gperf-trace Lperf-trace
noinst_PROGRAMS_cdep = forker mapper test-ptrace-misc \
Gperf-simple Lperf-simple
if HAVE_BACKTRACE
noinst_PROGRAMS_cdep += Gperf-trace Lperf-trace test-varargs
endif
if SUPPORT_CXX_EXCEPTIONS
check_PROGRAMS_cdep += Ltest-cxx-exceptions