# HG changeset patch # User diego # Date 1147613992 0 # Node ID eca613999d6c12317ef1c4321d1342882b183e21 # Parent abf8944d7db1b1045dff2ba7a1be538865349076 Don't just check for the existence of xmmintrin.h, also verify it will compile. patch by Zuxy Meng zuxy[[.]]meng[[@]]gmail[[.]]com diff -r abf8944d7db1 -r eca613999d6c configure --- a/configure Sun May 14 12:27:11 2006 +0000 +++ b/configure Sun May 14 13:39:52 2006 +0000 @@ -1486,7 +1486,7 @@ echocheck "xmmintrin.h" cat > $TMPC << EOF #include -int main() { _mm_sfence ; return 0; } +int main() { _mm_sfence(); return 0; } EOF _builtin_vector=no cc_check -msse && _builtin_vector=yes