[Mplayer-cvslog] CVS: main configure,1.474,1.475

Arpi of Ize arpi at mplayerhq.hu
Mon May 20 02:01:17 CEST 2002


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 at 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




More information about the MPlayer-cvslog mailing list