From 2d3fd979f953cf29fa73abc02f0fb526990e1656 Mon Sep 17 00:00:00 2001 From: arpi_esp Date: Thu, 26 Apr 2001 20:23:24 +0000 Subject: [PATCH] added --disable-fastmemcpy git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@643 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/configure b/configure index b344bbe845..32526b866f 100755 --- a/configure +++ b/configure @@ -105,6 +105,8 @@ params: C++ compiler&libs, or you've found dshow codecs slower than old VfW ones) + --disable-fastmemcpy disable 3dnow/sse/mmx optimized memcpy() + --with-x11libdir=DIR X library files are in DIR --with-win32libdir=DIR windows codec files --with-csslibdir=DIR directory contains libcss.so shared library @@ -212,6 +214,7 @@ _fbdev=yes _lirc=no _css=no _dshow=yes +_fastmemcpy=yes _x=1 _y=1 @@ -612,6 +615,9 @@ do --disable-dshow) _dshow=no ;; + --disable-fastmemcpy) + _fastmemcpy=no + ;; --with-win32libdir=*) _win32libdir=`echo $ac_option | cut -d '=' -f 2` _win32libdirnotify=no @@ -669,6 +675,7 @@ echo "Checking for FBDev ... $_fbdev" echo "Checking for DeCSS support ... $_css" echo "Checking for PNG support ... $_png" echo "Checking for DirectShow ... $_dshow" +echo "Checking for fastmemcpy ... $_fastmemcpy" # write conf files. if [ $_gl = yes ]; then @@ -703,6 +710,12 @@ else _dshow='#undef USE_DIRECTSHOW' fi +if [ $_fastmemcpy = yes ]; then + _fastmemcpy='#define USE_FASTMEMCPY' +else + _fastmemcpy='#undef USE_FASTMEMCPY' +fi + if [ $_x11 = yes ]; then if [ $_xdpms = yes ]; then _x11lib='-lX11 -lXext -lXdpms' @@ -975,6 +988,9 @@ $_css /* DirectShow support */ $_dshow +/* Use 3dnow/mmxext/sse/mmx optimized fast memcpy() [maybe buggy... signal 4]*/ +$_fastmemcpy + /* Define if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel and VAX). */ /* #define WORDS_BIGENDIAN */