changeset 642:ea9f904513a4

added --disable-fastmemcpy
author arpi_esp
date Thu, 26 Apr 2001 20:23:24 +0000
parents d161307f447a
children f1301ff4b979
files configure
diffstat 1 files changed, 16 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Thu Apr 26 15:50:45 2001 +0000
+++ b/configure	Thu Apr 26 20:23:24 2001 +0000
@@ -105,6 +105,8 @@
                                 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 @@
 _lirc=no
 _css=no
 _dshow=yes
+_fastmemcpy=yes
 
 _x=1
 _y=1
@@ -612,6 +615,9 @@
   --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 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 @@
    _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 @@
 /* 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 */