aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-11-16 16:13:01 +0000
committerMike Frysinger <vapier@gentoo.org>2008-11-16 16:13:01 +0000
commit31599d72d7bdb0cccef5d446d3761759bd06f6bb (patch)
treecf5ecfdf1de547d4e63ccfc160b83baade9211ea /configure.ac
parenttests: execute sb_printf (diff)
downloadsandbox-31599d72d7bdb0cccef5d446d3761759bd06f6bb.tar.gz
sandbox-31599d72d7bdb0cccef5d446d3761759bd06f6bb.tar.bz2
sandbox-31599d72d7bdb0cccef5d446d3761759bd06f6bb.zip
tests: add test case for libsigsegv
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 6 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 66c1ce1..ee2534c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -44,6 +44,7 @@ AC_CHECK_HEADERS_ONCE([ \
limits.h \
memory.h \
signal.h \
+ sigsegv.h \
stdarg.h \
stdbool.h \
stddef.h \
@@ -88,6 +89,7 @@ AC_CHECK_FUNCS_ONCE([ \
mkdir \
pathconf \
realpath \
+ remove \
rmdir \
setenv \
strcasecmp \
@@ -100,8 +102,10 @@ AC_CHECK_FUNCS_ONCE([ \
strstr \
strtok_r \
])
-dnl For librcutil
-AC_CHECK_FUNCS([remove])
+AC_CHECK_LIB([sigsegv], [stackoverflow_install_handler],
+ [HAVE_LIBSIGSEGV=true],
+ [HAVE_LIBSIGSEGV=false])
+AM_CONDITIONAL(HAVE_LIBSIGSEGV, $HAVE_LIBSIGSEGV)
dnl Check if gcc provides va_copy or __va_copy (for librcutil)
AC_MSG_CHECKING([for va_copy])