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