| 1 |
# libsigsegv.m4 |
| 2 |
# serial 4 |
| 3 |
dnl Copyright (C) 2002-2003, 2008-2025 Free Software Foundation, Inc. |
| 4 |
dnl This file is free software; the Free Software Foundation |
| 5 |
dnl gives unlimited permission to copy and/or distribute it, |
| 6 |
dnl with or without modifications, as long as this notice is preserved. |
| 7 |
dnl This file is offered as-is, without any warranty. |
| 8 |
|
| 9 |
dnl From Bruno Haible, Sam Steingold. |
| 10 |
|
| 11 |
AC_DEFUN([gl_LIBSIGSEGV], |
| 12 |
[ |
| 13 |
AC_LIB_HAVE_LINKFLAGS([sigsegv], [], |
| 14 |
[#include <sigsegv.h>], [sigsegv_deinstall_handler();], |
| 15 |
[no, consider installing GNU libsigsegv]) |
| 16 |
dnl Some other autoconf macros and clisp's configure use this variable. |
| 17 |
gl_cv_lib_sigsegv="$ac_cv_libsigsegv" |
| 18 |
]) |