changeset 2290:323a5af2924b

Christian Walther fixed bug #530
author Sam Lantinga <slouken@libsdl.org>
date Sat, 29 Dec 2007 22:13:47 +0000
parents f629d566ec6b
children dc3dd3a0bf02
files configure.in
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Sat Dec 29 21:36:17 2007 +0000
+++ b/configure.in	Sat Dec 29 22:13:47 2007 +0000
@@ -298,6 +298,7 @@
         have_gcc_mmx=yes
         ])
         AC_MSG_RESULT($have_gcc_mmx)
+        CFLAGS="$save_CFLAGS"
 
         if test x$have_gcc_mmx = xyes; then
             EXTRA_CFLAGS="$EXTRA_CFLAGS $mmx_CFLAGS"
@@ -324,6 +325,7 @@
         have_gcc_3dnow=yes
         ])
         AC_MSG_RESULT($have_gcc_3dnow)
+        CFLAGS="$save_CFLAGS"
 
         if test x$have_gcc_3dnow = xyes; then
             EXTRA_CFLAGS="$EXTRA_CFLAGS $amd3dnow_CFLAGS"
@@ -350,6 +352,7 @@
         have_gcc_sse=yes
         ])
         AC_MSG_RESULT($have_gcc_sse)
+        CFLAGS="$save_CFLAGS"
 
         if test x$have_gcc_sse = xyes; then
             EXTRA_CFLAGS="$EXTRA_CFLAGS $sse_CFLAGS"
@@ -376,6 +379,7 @@
         have_gcc_sse2=yes
         ])
         AC_MSG_RESULT($have_gcc_sse2)
+        CFLAGS="$save_CFLAGS"
 
         if test x$have_gcc_sse2 = xyes; then
             EXTRA_CFLAGS="$EXTRA_CFLAGS $sse2_CFLAGS"