Skip to content
Snippets Groups Projects
Commit d000c5ae authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

configure: move code out of main of check_exec_crash()

parent 1e09d908
No related branches found
No related tags found
No related merge requests found
......@@ -845,6 +845,9 @@ check_exec_crash(){
static void sighandler(int sig){
raise(SIGTERM);
}
int func(void){
$code
}
int main(void){
signal(SIGILL, sighandler);
signal(SIGFPE, sighandler);
......@@ -852,7 +855,7 @@ int main(void){
#ifdef SIGBUS
signal(SIGBUS, sighandler);
#endif
{ $code }
return func();
}
EOF
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment