1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-18 04:51:52 +00:00

Don't just check for the existence of xmmintrin.h, also verify it will compile.

patch by Zuxy Meng zuxy[[.]]meng[[@]]gmail[[.]]com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18505 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2006-05-14 13:39:52 +00:00
parent 4aba8650aa
commit 7c2a7f9282

2
configure vendored
View File

@ -1486,7 +1486,7 @@ if test "$_sse" = yes ; then
echocheck "xmmintrin.h"
cat > $TMPC << EOF
#include <xmmintrin.h>
int main() { _mm_sfence ; return 0; }
int main() { _mm_sfence(); return 0; }
EOF
_builtin_vector=no
cc_check -msse && _builtin_vector=yes