diff configure.in @ 3307:6fb7f38d20b6

Changed to include SDL_atomic.c in the windows version of SDL 1.3
author Bob Pendleton <bob@pendleton.com>
date Fri, 25 Sep 2009 19:20:25 +0000
parents 047c8dcf0eb0
children da1cb54d74ef
line wrap: on
line diff
--- a/configure.in	Fri Sep 25 19:17:16 2009 +0000
+++ b/configure.in	Fri Sep 25 19:20:25 2009 +0000
@@ -2498,6 +2498,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 joystick library
         if test x$enable_joystick = xyes; then
             if test x$have_dinput = xyes; then