summaryrefslogtreecommitdiff
path: root/m4/libsigsegv.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/libsigsegv.m4')
-rw-r--r--m4/libsigsegv.m416
1 files changed, 16 insertions, 0 deletions
diff --git a/m4/libsigsegv.m4 b/m4/libsigsegv.m4
new file mode 100644
index 0000000..4156400
--- /dev/null
+++ b/m4/libsigsegv.m4
@@ -0,0 +1,16 @@
+# libsigsegv.m4 serial 4
+dnl Copyright (C) 2002-2003, 2008-2011 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"
+])