diff --git a/configure b/configure index 2e28124348a4d65162c1111e08cbffa128e688cc..7c377aa0616d70797013c03039e0293cc7ea5f15 100755 --- a/configure +++ b/configure @@ -863,6 +863,9 @@ check_exec_crash(){ static void sighandler(int sig){ raise(SIGTERM); } +int foo(void){ + $code +} int main(void){ signal(SIGILL, sighandler); signal(SIGFPE, sighandler); @@ -870,7 +873,7 @@ int main(void){ #ifdef SIGBUS signal(SIGBUS, sighandler); #endif - { $code } + foo(); } EOF }