Use a "b" constraint instead of ebx clobber to detect if EBX is available.

The test using clobber incorrectly indicates ebx to be available with the
default compilers on OpenBSD 4.5 and Haiku.

Originally committed as revision 20101 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Reimar Döffinger 2009-09-30 16:55:32 +00:00
parent 391dbb54a6
commit 5baaf9adaf

2
configure vendored
View File

@ -2162,7 +2162,7 @@ elif enabled x86; then
EOF
# check whether EBX is available on x86
check_asm ebx_available '"":::"%ebx"'
check_asm ebx_available '""::"b"(0)'
# check whether more than 10 operands are supported
check_cc <<EOF && enable ten_operands