• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1dnl SPDX-License-Identifier: GPL-2.0-or-later
2dnl Copyright (c) Cisco Systems, Inc. 2009
3dnl Author: Ngie Cooper <yaneurabeya@gmail.com>
4
5dnl LTP_CHECK_SIGNAL
6dnl --------------------------
7dnl * Check for sa_handler in struct_sigaction. The very fact that this
8dnl   definition is present or missing signifies whether or not the rt_sig*
9dnl   syscalls exist and are implemented on the target architecture, as the
10dnl   sigaction(2) call obscures this point in glibc. This doesn't signify
11dnl   whether or not the RT signals function though -- those must be proved
12dnl   through functionality tests.
13AC_DEFUN([LTP_CHECK_SIGNAL],
14[
15AC_CHECK_MEMBERS([struct sigaction.sa_sigaction],[],[],[
16#include <signal.h>
17])
18])
19