configure.in
changeset 4944 921637675f2c
parent 4894 ac19d74e2a47
child 5003 3a95a2b93eb3
--- a/configure.in	Sat Jan 01 19:46:36 2011 -0800
+++ b/configure.in	Sat Jan 01 19:50:50 2011 -0800
@@ -2826,6 +2826,12 @@
     fi
     SOURCES="$SOURCES $srcdir/src/loadso/dummy/*.c"
 fi
+if test x$have_atomic != xyes; then
+    if test x$enable_atomic = xyes; then
+        AC_DEFINE(SDL_ATOMIC_DISABLED)
+    fi
+    SOURCES="$SOURCES $srcdir/src/atomic/dummy/*.c"
+fi
 if test x$SDLMAIN_SOURCES = x; then
     SDLMAIN_SOURCES="$srcdir/src/main/dummy/*.c"
 fi