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