diff configure.in @ 4428:68dfd6df47da

Fixed bug #968 Andrey 2010-03-07 07:57:14 PST mingw32ce-build small fix
author Sam Lantinga <slouken@libsdl.org>
date Wed, 10 Mar 2010 15:07:20 +0000
parents 1bceff8f008f
children be387681d876
line wrap: on
line diff
--- a/configure.in	Wed Mar 10 15:02:58 2010 +0000
+++ b/configure.in	Wed Mar 10 15:07:20 2010 +0000
@@ -2382,6 +2382,12 @@
             fi
             have_audio=yes
         fi
+        # Set up files for the atomic operations library
+        if test x$enable_atomic = xyes; then
+            AC_DEFINE(SDL_ATOMIC_WIN32)
+            SOURCES="$SOURCES $srcdir/src/atomic/win32/*.c"
+            have_atomic=yes
+        fi
         # Set up files for the thread library
         if test x$enable_threads = xyes; then
             AC_DEFINE(SDL_THREAD_WIN32)
@@ -2403,12 +2409,6 @@
             SOURCES="$SOURCES $srcdir/src/loadso/win32/*.c"
             have_loadso=yes
         fi
-        # Set up files for the system power library
-        if test x$enable_power = xyes; then
-            AC_DEFINE(SDL_POWER_WINDOWS)
-            SOURCES="$SOURCES $srcdir/src/power/windows/*.c"
-            have_power=yes
-        fi
         # Set up the system libraries we need
         EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lcoredll -lcommctrl -lmmtimer"
         # The Win32 platform requires special setup