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