Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/imlib2

Dir     : e17/libs/imlib2


Modified Files:
        configure.in 


Log Message:


amd64 asm patches

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/imlib2/configure.in,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -3 -r1.96 -r1.97
--- configure.in        30 Mar 2005 07:59:59 -0000      1.96
+++ configure.in        9 Apr 2005 00:08:57 -0000       1.97
@@ -90,11 +90,16 @@
 requirements="freetype2"
 
 mmx=no
+amd64=no
 case $target_cpu in
   i*86)
     mmx="yes"
     ;;
+  x86_64)
+    amd64="yes"
+    ;;
 esac
+
 AC_ARG_ENABLE(mmx,[  --enable-mmx           attempt compiling using mmx 
assembly [default=auto]],
 [
   if test x$enableval = xyes; then
@@ -106,6 +111,21 @@
   fi
 ]
 )
+
+AC_ARG_ENABLE(amd64,[  --enable-amd64           attempt compiling using amd64 
assembly [default=auto]],
+[
+  if test x$enableval = xyes; then
+    amd64=yes
+    # Cannot compile with both options enabled
+    mmx=no
+    AC_MSG_RESULT(enabling amd64 support)
+  else
+    amd64=no
+    AC_MSG_RESULT(disabling amd64 support)
+  fi
+]
+)
+
 if test x$mmx = xyes; then
   AC_DEFINE(DO_MMX_ASM, 1, [enabling MMX Assembly])
   AC_MSG_RESULT(enabled mmx support)
@@ -113,6 +133,13 @@
   AC_MSG_RESULT(disabled mmx support)
 fi
 AM_CONDITIONAL(BUILD_MMX, test x$mmx = xyes)
+if test x$amd64 = xyes; then
+  AC_DEFINE(DO_AMD64_ASM, 1, [enabling AMD64 Assembly])
+  AC_MSG_RESULT(enabled amd64 support)
+else
+  AC_MSG_RESULT(disabled amd64 support)
+fi
+AM_CONDITIONAL(BUILD_AMD64, test x$amd64 = xyes)
 
 # check for freetype
 AC_ARG_WITH(freetype-config, [  --with-freetype-config=FREETYPE_CONFIG    use 
freetype-config specified ],
@@ -386,6 +413,7 @@
 echo
 echo
 echo "Use MMX for extra speed...: $mmx"
+echo "Use AMD64 for extra speed.: $amd64"
 echo
 echo
 echo "Installation Path.........: $prefix"




-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to