From c691f041670e39f814170314d660498f4b5aa9e7 Mon Sep 17 00:00:00 2001 From: Christophe de Dinechin Date: Fri, 13 Apr 2018 15:19:18 +0200 Subject: [PATCH] Add check for the 'sigaction' function This check is easier to get in autoconf than a test for struct sigaction. It's also more complete, since the recorder actually needs the function. --- config/check_sigaction.c | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 config/check_sigaction.c diff --git a/config/check_sigaction.c b/config/check_sigaction.c new file mode 100644 index 0000000..4538bce --- /dev/null +++ b/config/check_sigaction.c @@ -0,0 +1,8 @@ +#include + +int main() +{ + struct sigaction sa; + sigaction(11, &sa, NULL); + return 0; +}