summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorStephen Webb <swebb@blackberry.com>2022-07-06 11:01:47 -0400
committerStephen M. Webb <stephen.webb@bregmasoft.ca>2022-07-26 21:44:50 -0400
commitd3e137a8008f3261f0a21406212264330c519703 (patch)
tree0c6123df54073419899a5f19a5734a5de01e75e3 /configure.ac
parente96db56e586ad7a1c8d27593382b365f775a398f (diff)
downloadlibunwind-d3e137a8008f3261f0a21406212264330c519703.tar.gz
Make `sigaltstack()` optional
Some (older) OSes do not support this POSIX function. Make it optional. Fixes #379.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index cf908365..63f1ea74 100644
--- a/configure.ac
+++ b/configure.ac
@@ -69,7 +69,7 @@ PT_STEP, PT_SYSCALL], [], [],
dnl Checks for library functions.
AC_CHECK_FUNCS(dl_iterate_phdr dl_phdr_removals_counter dlmodinfo getunwind \
- ttrace mincore pipe2)
+ ttrace mincore pipe2 sigaltstack)
AC_MSG_CHECKING([if building with AltiVec])
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[