diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-10-22 00:10:29 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-10-22 01:51:29 +0200 |
commit | d000c5ae7e375ddf45215c550e9b2b815d3677af (patch) | |
tree | 54a50e2641cfed40efce97797acee51003cf5ff7 /configure | |
parent | 1e09d9085d30f4cdf6db88aecd401ca1bfa44329 (diff) | |
download | ffmpeg-d000c5ae7e375ddf45215c550e9b2b815d3677af.tar.gz |
configure: move code out of main of check_exec_crash()
Tested-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 } |