aboutsummaryrefslogtreecommitdiffstats
path: root/m4/sig2str.m4
blob: d49e363f3ae96690f0001e3bfb1a1dc0148b85e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# sig2str.m4
# serial 8
dnl Copyright (C) 2002, 2005-2006, 2009-2025 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 This file is offered as-is, without any warranty.

AC_DEFUN([gl_FUNC_SIG2STR],
[
  AC_REQUIRE([gl_SIGNAL_H_DEFAULTS])
  AC_CHECK_FUNCS([sig2str str2sig])
  if test $ac_cv_func_sig2str = no; then
    HAVE_SIG2STR=0
  fi
  if test $ac_cv_func_str2sig = no; then
    HAVE_STR2SIG=0
  fi
])

# Prerequisites of lib/sig2str.c.
AC_DEFUN([gl_PREREQ_SIG2STR], [
  :
])