changeset 33860:e6e45359f24f

Abort configure if the binutils version is too old and cannot compile MPlayer (FFmpeg cabac to be specific) for x86_64. This is the case with the default binutils version of FreeBSD which is 7 years old.
author reimar
date Sat, 30 Jul 2011 18:40:20 +0000
parents 4554f15a42cb
children bf10aa37e4f5
files configure
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sat Jul 30 18:29:09 2011 +0000
+++ b/configure	Sat Jul 30 18:40:20 2011 +0000
@@ -2665,6 +2665,10 @@
 def_ebx_available='#define HAVE_EBX_AVAILABLE 0'
 def_xmm_clobbers='#define HAVE_XMM_CLOBBERS 0'
 
+if x86_64 ; then
+inline_asm_check '"mov (%eax), %eax"' || die "Your binutils version is too old and not supported"
+fi
+
 if x86 ; then
 
 echocheck ".align is a power of two"