Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/imlib2

Dir     : e17/libs/imlib2


Modified Files:
        configure.in 


Log Message:


bettter detect for mmx (same as evas now)

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/imlib2/configure.in,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -3 -r1.94 -r1.95
--- configure.in        22 Mar 2005 10:54:17 -0000      1.94
+++ configure.in        28 Mar 2005 02:25:08 -0000      1.95
@@ -90,7 +90,12 @@
 requirements="freetype2"
 
 mmx=no
-AC_ARG_ENABLE(mmx,[  --disable-mmx           attempt compiling using mmx 
assembly [default=yes]],
+case $target_cpu in
+  i*86)
+    mmx="yes"
+    ;;
+esac
+AC_ARG_ENABLE(mmx,[  --enable-mmx           attempt compiling using mmx 
assembly [default=auto]],
 [
   if test x$enableval = xyes; then
     mmx=yes
@@ -99,30 +104,6 @@
     mmx=no
     AC_MSG_RESULT(disabling mmx support)
   fi
-],
-[
-if test x$target_os = xlinux-gnu -o x$target_os = xlinux; then
-  if test x$target_cpu = x$host_cpu; then
-    mmx=`cat /proc/cpuinfo | grep mmx`
-    if test -n "$mmx"; then
-      mmx=yes
-      echo "You appear to be compiling on a "$target_cpu/$target_os" system; 
using MMX."
-    fi
-  else
-    echo ""
-    echo "You are cross-compiling on a "$host_cpu" machine for a 
"$target_cpu/$target_os" machine."
-    echo "If this target supports mmx, please enable mmx with --enable-mmx as 
a"
-    echo "configure option."
-    echo ""
-  fi
-else
-  echo ""
-  echo "You are not running Linux - This script cannot auto-detect mmx 
assembly."
-  echo "(You appear to be running $target_os.)"
-  echo "You will have to enable the mmx assembly (which gives anywhere from 
10%"
-  echo "to 300% speedups) by adding --enable-mmx on the configure 
command-line."
-  echo ""
-fi
 ]
 )
 if test x$mmx = xyes; then




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to