configure.in
changeset 4428 68dfd6df47da
parent 4426 1bceff8f008f
child 4454 be387681d876
equal deleted inserted replaced
4426:1bceff8f008f 4428:68dfd6df47da
  2380                 AC_DEFINE(SDL_AUDIO_DRIVER_DSOUND)
  2380                 AC_DEFINE(SDL_AUDIO_DRIVER_DSOUND)
  2381                 SOURCES="$SOURCES $srcdir/src/audio/windx5/*.c"
  2381                 SOURCES="$SOURCES $srcdir/src/audio/windx5/*.c"
  2382             fi
  2382             fi
  2383             have_audio=yes
  2383             have_audio=yes
  2384         fi
  2384         fi
       
  2385         # Set up files for the atomic operations library
       
  2386         if test x$enable_atomic = xyes; then
       
  2387             AC_DEFINE(SDL_ATOMIC_WIN32)
       
  2388             SOURCES="$SOURCES $srcdir/src/atomic/win32/*.c"
       
  2389             have_atomic=yes
       
  2390         fi
  2385         # Set up files for the thread library
  2391         # Set up files for the thread library
  2386         if test x$enable_threads = xyes; then
  2392         if test x$enable_threads = xyes; then
  2387             AC_DEFINE(SDL_THREAD_WIN32)
  2393             AC_DEFINE(SDL_THREAD_WIN32)
  2388             SOURCES="$SOURCES $srcdir/src/thread/win32/SDL_sysmutex.c"
  2394             SOURCES="$SOURCES $srcdir/src/thread/win32/SDL_sysmutex.c"
  2389             SOURCES="$SOURCES $srcdir/src/thread/win32/SDL_syssem.c"
  2395             SOURCES="$SOURCES $srcdir/src/thread/win32/SDL_syssem.c"
  2400         # Set up files for the shared object loading library
  2406         # Set up files for the shared object loading library
  2401         if test x$enable_loadso = xyes; then
  2407         if test x$enable_loadso = xyes; then
  2402             AC_DEFINE(SDL_LOADSO_WIN32)
  2408             AC_DEFINE(SDL_LOADSO_WIN32)
  2403             SOURCES="$SOURCES $srcdir/src/loadso/win32/*.c"
  2409             SOURCES="$SOURCES $srcdir/src/loadso/win32/*.c"
  2404             have_loadso=yes
  2410             have_loadso=yes
  2405         fi
       
  2406         # Set up files for the system power library
       
  2407         if test x$enable_power = xyes; then
       
  2408             AC_DEFINE(SDL_POWER_WINDOWS)
       
  2409             SOURCES="$SOURCES $srcdir/src/power/windows/*.c"
       
  2410             have_power=yes
       
  2411         fi
  2411         fi
  2412         # Set up the system libraries we need
  2412         # Set up the system libraries we need
  2413         EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lcoredll -lcommctrl -lmmtimer"
  2413         EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lcoredll -lcommctrl -lmmtimer"
  2414         # The Win32 platform requires special setup
  2414         # The Win32 platform requires special setup
  2415         SDLMAIN_SOURCES="$srcdir/src/main/win32/*.c"
  2415         SDLMAIN_SOURCES="$srcdir/src/main/win32/*.c"