* m4/c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): On MidnightBSD,
set FAULT_YIELDS_SIGBUS.
+2021-02-07 Bruno Haible <bruno@clisp.org>
+
+ c-stack: Adjust for MidnightBSD.
+ * m4/c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): On MidnightBSD,
+ set FAULT_YIELDS_SIGBUS.
+
2021-02-07 Bruno Haible <bruno@clisp.org>
relocatable-prog: Add support for MidnightBSD.
# Written by Paul Eggert.
-# serial 20
+# serial 21
AC_DEFUN([AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC],
[
dnl is accessed, or when the stack overflows.
dnl Either { SIGSEGV } or { SIGSEGV, SIGBUS }.
case "$host_os" in
- sunos4* | freebsd* | dragonfly* | openbsd* | mirbsd* | netbsd* | kfreebsd* | knetbsd*) # BSD systems
+ sunos4* | freebsd* | dragonfly* | midnightbsd* | openbsd* | mirbsd* | netbsd* | kfreebsd* | knetbsd*) # BSD systems
FAULT_YIELDS_SIGBUS=1 ;;
hpux*) # HP-UX
FAULT_YIELDS_SIGBUS=1 ;;