Christian Walther fixed bug #530
authorSam Lantinga <slouken@libsdl.org>
Sat, 29 Dec 2007 22:13:47 +0000
changeset 2290 323a5af2924b
parent 2289 f629d566ec6b
child 2291 dc3dd3a0bf02
Christian Walther fixed bug #530
configure.in
--- 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"