Mercurial > mplayer.hg
comparison configure @ 6129:b6de6a3e682d
catching SIGILL instead of dumping core - patch by Steven M. Schultz <sms@2BSD.COM>
author | arpi |
---|---|
date | Mon, 20 May 2002 00:01:14 +0000 |
parents | 1c12a0bc4d0b |
children | 523014df7d32 |
comparison
equal
deleted
inserted
replaced
6128:6a7e3b69e4cf | 6129:b6de6a3e682d |
---|---|
720 if x86 && test "$_runtime_cpudetection" = no ; then | 720 if x86 && test "$_runtime_cpudetection" = no ; then |
721 extcheck() { | 721 extcheck() { |
722 if test "$1" = yes ; then | 722 if test "$1" = yes ; then |
723 echocheck "kernel support of $2" | 723 echocheck "kernel support of $2" |
724 cat > $TMPC <<EOF | 724 cat > $TMPC <<EOF |
725 int main(void){__asm__ __volatile__ ("$3":::"memory");return(0);} | 725 #include <signal.h> |
726 void catch() { exit(1); } | |
727 int main(void){ | |
728 signal(SIGILL, catch); | |
729 __asm__ __volatile__ ("$3":::"memory");return(0); | |
730 } | |
726 EOF | 731 EOF |
727 | 732 |
728 if ( cc_check && $TMPO ) > /dev/null 2>&1 ; then | 733 if ( cc_check && $TMPO ) > /dev/null 2>&1 ; then |
729 echores "yes" | 734 echores "yes" |
730 _optimizing="$_optimizing $2" | 735 _optimizing="$_optimizing $2" |