Mercurial > mplayer.hg
comparison configure @ 29701:ab2def5a960f
Extend EBX_AVAILABLE check in a way that works for both OpenBSD/Haiku
and 64 bit OSX.
author | reimar |
---|---|
date | Wed, 30 Sep 2009 18:45:02 +0000 |
parents | 3ed1dc05c83b |
children | e426da101145 |
comparison
equal
deleted
inserted
replaced
29700:cd5b4ddc9546 | 29701:ab2def5a960f |
---|---|
2569 "xor %0, %0" | 2569 "xor %0, %0" |
2570 :"=b"(x) | 2570 :"=b"(x) |
2571 // just adding ebx to clobber list seems unreliable with some | 2571 // just adding ebx to clobber list seems unreliable with some |
2572 // compilers, e.g. Haiku's gcc 2.95 | 2572 // compilers, e.g. Haiku's gcc 2.95 |
2573 ); | 2573 ); |
2574 // and the above check does not work for OSX 64 bit... | |
2575 __asm__ volatile("":::"%ebx"); | |
2574 return 0; | 2576 return 0; |
2575 } | 2577 } |
2576 EOF | 2578 EOF |
2577 cc_check && ebx_available=yes && def_ebx_available='#define HAVE_EBX_AVAILABLE 1' | 2579 cc_check && ebx_available=yes && def_ebx_available='#define HAVE_EBX_AVAILABLE 1' |
2578 echores $ebx_available | 2580 echores $ebx_available |