aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2008-03-08 18:33:07 +0000
committerMåns Rullgård <mans@mansr.com>2008-03-08 18:33:07 +0000
commit6bd859d67ea940dce5e675b86635f2d3739299c1 (patch)
treefdaa36203f45056f6cc19e27bbb2ed3fcfebcd77 /configure
parenta73cbf9709cb19b4bb4bc778dd5d28cb355fdfde (diff)
downloadffmpeg-6bd859d67ea940dce5e675b86635f2d3739299c1.tar.gz
check for x86 bswap instruction
Originally committed as revision 12375 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 52a31f5d44..097cb35f9b 100755
--- a/configure
+++ b/configure
@@ -708,6 +708,7 @@ HAVE_LIST="
$THREADS_LIST
altivec_h
arpa_inet_h
+ bswap
byteswap_h
closesocket
cmov
@@ -1504,6 +1505,8 @@ EOF
# check whether binutils is new enough to compile SSSE3
enabled ssse3 && check_asm ssse3 '"pabsw %xmm0, %xmm0"'
+
+ check_asm bswap '"bswap %%eax" ::: "%eax"'
fi
# check for assembler specific support
@@ -1989,9 +1992,6 @@ if enabled bigendian; then
echo "WORDS_BIGENDIAN=yes" >> config.mak
echo "#define WORDS_BIGENDIAN 1" >> $TMPH
fi
-if enabled mmx; then
- echo "#define __CPU__ 586" >> $TMPH
-fi
if enabled sdl; then
echo "SDL_LIBS=`"${SDL_CONFIG}" --libs`" >> config.mak