Update of /cvsroot/mplayer/main In directory mail:/var/tmp.root/cvs-serv12823 Modified Files: configure Log Message: catching SIGILL instead of dumping core - patch by Steven M. Schultz <sms@2BSD.COM> Index: configure =================================================================== RCS file: /cvsroot/mplayer/main/configure,v retrieving revision 1.474 retrieving revision 1.475 diff -u -r1.474 -r1.475 --- configure 18 May 2002 17:45:26 -0000 1.474 +++ configure 20 May 2002 00:01:14 -0000 1.475 @@ -722,7 +722,12 @@ if test "$1" = yes ; then echocheck "kernel support of $2" cat > $TMPC <<EOF -int main(void){__asm__ __volatile__ ("$3":::"memory");return(0);} +#include <signal.h> +void catch() { exit(1); } +int main(void){ + signal(SIGILL, catch); + __asm__ __volatile__ ("$3":::"memory");return(0); +} EOF if ( cc_check && $TMPO ) > /dev/null 2>&1 ; then
participants (1)
-
Arpi of Ize