Enlightenment CVS committal Author : mej Project : eterm Module : Eterm
Dir : eterm/Eterm Modified Files: ChangeLog configure.in Log Message: Tue Jun 14 15:36:09 2005 Michael Jennings (mej) Added SSE2 support patch thanks to Tres Melton <[EMAIL PROTECTED]> and John Ellson <[EMAIL PROTECTED]>. ---------------------------------------------------------------------- =================================================================== RCS file: /cvsroot/enlightenment/eterm/Eterm/ChangeLog,v retrieving revision 1.419 retrieving revision 1.420 diff -u -3 -r1.419 -r1.420 --- ChangeLog 13 Jun 2005 23:28:46 -0000 1.419 +++ ChangeLog 14 Jun 2005 19:39:00 -0000 1.420 @@ -5398,3 +5398,8 @@ Cleanups and optimizations from Tres Melton <[EMAIL PROTECTED]>. ---------------------------------------------------------------------- +Tue Jun 14 15:36:09 2005 Michael Jennings (mej) + +Added SSE2 support patch thanks to Tres Melton <[EMAIL PROTECTED]> +and John Ellson <[EMAIL PROTECTED]>. +---------------------------------------------------------------------- =================================================================== RCS file: /cvsroot/enlightenment/eterm/Eterm/configure.in,v retrieving revision 1.92 retrieving revision 1.93 diff -u -3 -r1.92 -r1.93 --- configure.in 1 May 2005 07:16:51 -0000 1.92 +++ configure.in 14 Jun 2005 19:39:00 -0000 1.93 @@ -1,4 +1,4 @@ -dnl# $Id: configure.in,v 1.92 2005/05/01 07:16:51 vapier Exp $ +dnl# $Id: configure.in,v 1.93 2005/06/14 19:39:00 mej Exp $ PATH=$PATH:/usr/bin:/bin:/usr/local/bin:/usr/ccs/bin:/usr/contrib/bin:/usr/ucb/bin export PATH @@ -220,7 +220,13 @@ seteuid memmove putenv strsep setresuid setresgid \ memmem usleep snprintf strcasestr strcasechr \ strcasepbrk strrev nl_langinfo) + +# NOTE: The following line is NOT NOT NOT NOT NOT a typo! +# If you are having problems with it, libast.m4 is not installed +# or aclocal couldn't find it. Hence the problem is on YOUR end. dps_snprintf_oflow() + +dnl# Check for math lib. AC_CHECK_LIB(m, pow) dnl# Portability checks for various functions @@ -500,9 +506,11 @@ AC_DEFINE(PIXMAP_OFFSET, , [Define for pseudo-transparency support.]) ]) +dnl# +dnl# MMX support +dnl# 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" ], [ @@ -510,25 +518,39 @@ 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 (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 (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# +dnl# SSE2 support +dnl# +AC_MSG_CHECKING(for SSE2 support) +HAVE_SSE2="" +AC_ARG_ENABLE(sse2, [ --enable-sse2 enable SSE2 assembly routines], [ + test "x$enableval" = "xyes" && HAVE_SSE2="yes" + ], [ + case $host_cpu in + x86_64) + grep sse2 /proc/cpuinfo >/dev/null 2>&1 && HAVE_SSE2="yes" + ;; + esac + ]) +if test "x$HAVE_SSE2" = "xyes"; then + AC_MSG_RESULT([yes]) + AC_DEFINE(HAVE_SSE2, , [Define for 64-bit SSE2 support.]) +else + AC_MSG_RESULT([no (no SSE2 detected)]) +fi +AM_CONDITIONAL(HAVE_SSE2, test "x$HAVE_SSE2" = "xyes") + +dnl# dnl# LibAST dnl# LIBAST_MIN=5 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs