configure.in
changeset 4428 68dfd6df47da
parent 4426 1bceff8f008f
child 4454 be387681d876
     1.1 --- a/configure.in	Wed Mar 10 15:02:58 2010 +0000
     1.2 +++ b/configure.in	Wed Mar 10 15:07:20 2010 +0000
     1.3 @@ -2382,6 +2382,12 @@
     1.4              fi
     1.5              have_audio=yes
     1.6          fi
     1.7 +        # Set up files for the atomic operations library
     1.8 +        if test x$enable_atomic = xyes; then
     1.9 +            AC_DEFINE(SDL_ATOMIC_WIN32)
    1.10 +            SOURCES="$SOURCES $srcdir/src/atomic/win32/*.c"
    1.11 +            have_atomic=yes
    1.12 +        fi
    1.13          # Set up files for the thread library
    1.14          if test x$enable_threads = xyes; then
    1.15              AC_DEFINE(SDL_THREAD_WIN32)
    1.16 @@ -2403,12 +2409,6 @@
    1.17              SOURCES="$SOURCES $srcdir/src/loadso/win32/*.c"
    1.18              have_loadso=yes
    1.19          fi
    1.20 -        # Set up files for the system power library
    1.21 -        if test x$enable_power = xyes; then
    1.22 -            AC_DEFINE(SDL_POWER_WINDOWS)
    1.23 -            SOURCES="$SOURCES $srcdir/src/power/windows/*.c"
    1.24 -            have_power=yes
    1.25 -        fi
    1.26          # Set up the system libraries we need
    1.27          EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lcoredll -lcommctrl -lmmtimer"
    1.28          # The Win32 platform requires special setup