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.
This commit is contained in:
Christophe de Dinechin 2018-04-13 15:19:18 +02:00 committed by Christophe de Dinechin
parent 5cda3e208b
commit c691f04167
1 changed files with 8 additions and 0 deletions

8
config/check_sigaction.c Normal file
View File

@ -0,0 +1,8 @@
#include <signal.h>
int main()
{
struct sigaction sa;
sigaction(11, &sa, NULL);
return 0;
}