Author: reimar Date: Sat Jul 30 20:40:20 2011 New Revision: 33948 Log: 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. Modified: trunk/configure Modified: trunk/configure ============================================================================== --- trunk/configure Sat Jul 30 20:29:09 2011 (r33947) +++ trunk/configure Sat Jul 30 20:40:20 2011 (r33948) @@ -2665,6 +2665,10 @@ def_bswap='#define HAVE_BSWAP 0' 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"
participants (1)
-
reimar