Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
This check in updates SDL_atomic.h to reflect the new set of atomic o…
Browse files Browse the repository at this point in the history
…perations in 32 and 64 bit form.

It also update configure.in to compile the linux version of the library. The three versions are all dummies
implementations that do nothing. They are being checked in as place holders. Mostly, I just wanted to get
place holders and the configure.in checked in.
  • Loading branch information
pendletonrc committed Jun 24, 2009
1 parent 6af9ae3 commit 321174d
Show file tree
Hide file tree
Showing 6 changed files with 811 additions and 663 deletions.
16 changes: 16 additions & 0 deletions configure.in
Expand Up @@ -217,6 +217,12 @@ SOURCES="$SOURCES $srcdir/src/video/*.c"

dnl Enable/disable various subsystems of the SDL library

AC_ARG_ENABLE(atomic,
AC_HELP_STRING([--enable-atomic], [Enable the atomic operations subsystem [[default=yes]]]),
, enable_atomic=yes)
if test x$enable_atomic != xyes; then
AC_DEFINE(SDL_ATOMIC_DISABLED)
fi
AC_ARG_ENABLE(audio,
AC_HELP_STRING([--enable-audio], [Enable the audio subsystem [[default=yes]]]),
, enable_audio=yes)
Expand Down Expand Up @@ -2433,6 +2439,16 @@ case "$host" in
;;
esac
fi
# Set up files for the atomic operations library
if test x$enable_atomic = xyes; then
case $ARCH in
linux)
AC_DEFINE(SDL_ATOMIC_LINUX)
SOURCES="$SOURCES $srcdir/src/atomic/linux/*.c"
have_atomic=yes
;;
esac
fi
# Set up files for the joystick library
if test x$enable_joystick = xyes; then
case $ARCH in
Expand Down

0 comments on commit 321174d

Please sign in to comment.