--- 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