• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1dnl SPDX-License-Identifier: GPL-2.0-or-later
2dnl Copyright (c) Red Hat Inc., 2008
3dnl Copyright (c) 2019 Fujitsu Ltd.
4dnl Author: Masatake YAMATO <yamato@redhat.com>
5
6AC_DEFUN([LTP_CHECK_SYSCALL_SIGNALFD],[
7
8AC_CHECK_FUNCS(signalfd,,)
9AC_CHECK_HEADERS([sys/signalfd.h],,)
10AC_CHECK_HEADERS([linux/signalfd.h],,)
11AC_CHECK_MEMBERS([struct signalfd_siginfo.ssi_signo],,,[
12#if defined HAVE_SYS_SIGNALFD_H
13#include <sys/signalfd.h>
14#elif defined HAVE_LINUX_SIGNALFD_H
15#include <linux/signalfd.h>
16#endif])
17])
18