changeset 28371:42747b184527

Add bswap check, needed for FFmpeg.
author diego
date Sat, 31 Jan 2009 22:34:52 +0000
parents f60cabb2ff8a
children 48a33df51c5f
files configure
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sat Jan 31 21:16:54 2009 +0000
+++ b/configure	Sat Jan 31 22:34:52 2009 +0000
@@ -2495,6 +2495,12 @@
   _have_yasm="no"
   echores "no"
 fi
+
+echocheck "bswap"
+def_bswap='#define HAVE_BSWAP 0'
+echo 'bswap %eax' > $TMPS
+$_as $TMPS -o $TMPEXE > /dev/null 2>&1 && def_bswap='#define HAVE_BSWAP 1' && bswap=yes || bswap=no
+echores "$bswap"
 fi #if x86
 
 
@@ -8577,6 +8583,7 @@
 $_def_libswscale_a
 $_def_libswscale_so
 
+$def_bswap
 $_def_dcbzl
 $def_fast_64bit
 $_def_fast_unaligned