Enlightenment CVS committal

Author  : mej
Project : eterm
Module  : Eterm

Dir     : eterm/Eterm


Modified Files:
        ChangeLog configure.in 


Log Message:
Wed Apr 27 14:46:41 2005                        Michael Jennings (mej)

Disable MMX on x86_64 for now.
----------------------------------------------------------------------

===================================================================
RCS file: /cvsroot/enlightenment/eterm/Eterm/ChangeLog,v
retrieving revision 1.412
retrieving revision 1.413
diff -u -3 -r1.412 -r1.413
--- ChangeLog   26 Apr 2005 18:40:12 -0000      1.412
+++ ChangeLog   27 Apr 2005 18:48:30 -0000      1.413
@@ -5367,3 +5367,7 @@
 Patch from Bryan Kadzban <[EMAIL PROTECTED]> to fix unsetting
 of bold/blink attribute.
 ----------------------------------------------------------------------
+Wed Apr 27 14:46:41 2005                        Michael Jennings (mej)
+
+Disable MMX on x86_64 for now.
+----------------------------------------------------------------------
===================================================================
RCS file: /cvsroot/enlightenment/eterm/Eterm/configure.in,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -3 -r1.90 -r1.91
--- configure.in        25 Apr 2005 19:37:20 -0000      1.90
+++ configure.in        27 Apr 2005 18:48:31 -0000      1.91
@@ -1,4 +1,4 @@
-dnl# $Id: configure.in,v 1.90 2005/04/25 19:37:20 mej Exp $
+dnl# $Id: configure.in,v 1.91 2005/04/27 18:48:31 mej Exp $
 
 
PATH=$PATH:/usr/bin:/bin:/usr/local/bin:/usr/ccs/bin:/usr/contrib/bin:/usr/ucb/bin
 export PATH
@@ -74,6 +74,9 @@
 AC_DEFINE_UNQUOTED(UTMP_IDENT, "`grep '$''Id:' $srcdir/src/utmp.c | sed 
's/^.*\$''Id: //;s/ \$.*$//;s/.v / /;s/ Exp//'`", [utmp.c RCS ID])
 AC_DEFINE_UNQUOTED(WINDOWS_IDENT, "`grep '$''Id:' $srcdir/src/windows.c | sed 
's/^.*\$''Id: //;s/ \$.*$//;s/.v / /;s/ Exp//'`", [windows.c RCS ID])
 
+dnl# Check for build/host/target system types
+AC_CANONICAL_TARGET
+
 dnl# Supply default CFLAGS, if not specified by `CFLAGS=flags ./configure'
 if test ! -z "${CFLAGS}" -o ! -z "${CCOPTS}"; then
   CFLAGS_GIVEN=1
@@ -149,9 +152,6 @@
 AC_SUBST(CCASFLAGS)
 AC_SUBST(CCAS)
 
-dnl# Check for host system type
-AC_CANONICAL_HOST
-
 dnl# Check the sanity of what we've done so far
 AM_SANITY_CHECK
 
@@ -502,19 +502,30 @@
 
 AC_MSG_CHECKING(for MMX support)
 HAVE_MMX=""
+HAVE_MMX_64=""
 AC_ARG_ENABLE(mmx, [  --enable-mmx            enable MMX assembly routines], [
-               test "x$enableval" = "xyes" && HAVE_MMX="yes"
+                  test "x$enableval" = "xyes" && HAVE_MMX="yes"
               ], [
-               if test x$build_os = xlinux-gnu; then
-                 grep mmx /proc/cpuinfo >/dev/null 2>&1 && HAVE_MMX="yes"
-               fi
+                  case $target_cpu in
+                      i*86)
+                          grep mmx /proc/cpuinfo >/dev/null 2>&1 && 
HAVE_MMX="yes"
+                          ;;
+                      x86_64)
+                          grep mmx /proc/cpuinfo >/dev/null 2>&1 && 
HAVE_MMX_64="yes"
+                          ;;
+                  esac
               ])
 if test "x$HAVE_MMX" = "xyes"; then
-  AC_MSG_RESULT(yes)
-  AC_DEFINE(HAVE_MMX, , [Define for MMX support.])
+    AC_MSG_RESULT([yes (32-bit)])
+    AC_DEFINE(HAVE_MMX, , [Define for 32-bit MMX support.])
+elif test "x$HAVE_MMX_64" = "xyes"; then
+    dnl# AC_MSG_RESULT([yes (64-bit)])
+    dnl# AC_DEFINE(HAVE_MMX_64, , [Define for 64-bit MMX support.])
+    AC_MSG_RESULT([no (64-bit MMX not yet supported)])
 else
-  AC_MSG_RESULT(no)
+    AC_MSG_RESULT([no (no MMX detected)])
 fi
+dnl# AM_CONDITIONAL(HAVE_MMX, test "x$HAVE_MMX" = "xyes" -o "x$HAVE_MMX_64" = 
"xyes")
 AM_CONDITIONAL(HAVE_MMX, test "x$HAVE_MMX" = "xyes")
 
 dnl#




-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to