configure.in
changeset 5225 5d01d426f2ea
parent 5199 164f20ba08eb
child 5226 710d00cb3a6a
     1.1 --- a/configure.in	Mon Feb 07 20:06:26 2011 -0800
     1.2 +++ b/configure.in	Mon Feb 07 22:57:33 2011 -0800
     1.3 @@ -422,6 +422,12 @@
     1.4  if test x$enable_cpuinfo != xyes; then
     1.5      AC_DEFINE(SDL_CPUINFO_DISABLED)
     1.6  fi
     1.7 +AC_ARG_ENABLE(atomic,
     1.8 +AC_HELP_STRING([--enable-atomic], [Enable the atomic operations [[default=yes]]]),
     1.9 +              , enable_atomic=yes)
    1.10 +if test x$enable_atomic != xyes; then
    1.11 +    AC_DEFINE(SDL_ATOMIC_DISABLED)
    1.12 +fi
    1.13  AC_ARG_ENABLE(assembly,
    1.14  AC_HELP_STRING([--enable-assembly], [Enable assembly routines [[default=yes]]]),
    1.15                , enable_assembly=yes)