summaryrefslogtreecommitdiffstats
path: root/src/grep/m4/libsigsegv.m4
diff options
context:
space:
mode:
Diffstat (limited to 'src/grep/m4/libsigsegv.m4')
-rw-r--r--src/grep/m4/libsigsegv.m416
1 files changed, 16 insertions, 0 deletions
diff --git a/src/grep/m4/libsigsegv.m4 b/src/grep/m4/libsigsegv.m4
new file mode 100644
index 0000000..3255235
--- /dev/null
+++ b/src/grep/m4/libsigsegv.m4
@@ -0,0 +1,16 @@
+# libsigsegv.m4 serial 4
+dnl Copyright (C) 2002-2003, 2008-2021 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl From Bruno Haible, Sam Steingold.
+
+AC_DEFUN([gl_LIBSIGSEGV],
+[
+ AC_LIB_HAVE_LINKFLAGS([sigsegv], [],
+ [#include <sigsegv.h>], [sigsegv_deinstall_handler();],
+ [no, consider installing GNU libsigsegv])
+ dnl Some other autoconf macros and clisp's configure use this variable.
+ gl_cv_lib_sigsegv="$ac_cv_libsigsegv"
+])